review rules: the ruled checklist batch; preflight: 2x suite caps; docs: the hand-wired link set - #3890
Merged
Merged
Conversation
Contributor
There was a problem hiding this comment.
Pull request overview
This PR updates several rule-doc checklists, adjusts preflight suite time caps to reduce false CI failures under load, and documents the full static link set needed when embedding without CMake (addressing #3884).
Changes:
- Double
--max-file-timecaps for interpreter/AOT suites in preflight and bump the default JIT per-file cap in settings (with test update). - Amend
tests-cppandmodules/dasLLVMREVIEW checklists and add ruling-provenanceLAWS.mdsidecars. - Add/expand embedding documentation to explicitly list required libraries for hand-wired (non-CMake) builds.
Reviewed changes
Copilot reviewed 14 out of 14 changed files in this pull request and generated 1 comment.
Show a summary per file
| File | Description |
|---|---|
| utils/internal/preflight/main.das | Increase per-file time caps for interp/AOT test gates; add rationale comment. |
| utils/internal/preflight/config.das | Increase default JIT per-file cap in PreflightSettings. |
| tests/dastest/test_preflight_config.das | Update expectations for the new default JIT cap. |
| tests-cpp/small/REVIEW.md | Reword pin-rule trigger to “widens or removes”. |
| tests-cpp/small/LAWS.md | Add ruling provenance sidecar for tests-cpp/small. |
| tests-cpp/REVIEW.md | Add rule requiring PR text to name a lane/command when tests self-skip for missing artifacts. |
| tests-cpp/LAWS.md | Add ruling provenance sidecar for tests-cpp. |
| tests-cpp/big/REVIEW.md | Unscope the “big” ran-locally rule so routed tests bind it too. |
| tests-cpp/big/LAWS.md | Add ruling provenance sidecar for tests-cpp/big. |
| modules/dasLLVM/REVIEW.md | Add platform-gated-suite rule; simplify/clarify codegen-version trigger wording. |
| modules/dasLLVM/LAWS.md | Add ruling provenance sidecar for modules/dasLLVM. |
| install/README.md | Document “Embedding without CMake” full link set and Windows system libs. |
| doc/source/reference/embedding/c_api.rst | Add a “Linking” section documenting the required libraries/system libs. |
| doc/source/reference/embedding/advanced.rst | Update AOT pipeline link guidance to include libDaScript_runtime and point to the linking section. |
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
borisbat
force-pushed
the
bbatkin/rulings-and-link-docs
branch
from
August 28, 2026 02:31
903fc99 to
88e1195
Compare
…ps; docs: the hand-wired link set The PR 3889 review round left five checklist findings for a ruling; all were ruled today and land here with LAWS.md provenance in each edited folder. dasLLVM: the module-suite rule gains a platform clause (a platform-gated change runs the suite on that platform) and the test-enforced re-pin clause is deleted; the codegen- version trigger stays broad by ruling, with its [tune] tail re-mooded from an exemption to trigger-narrowing. tests-cpp: a new green-by-skip rule (a self- skipping test names the lane that runs it with its artifact present), placed tests-cpp-wide; big/'s ran-locally rule is unscoped so CMakeLists-owning strays routed from the parent bind. tests-cpp/small: the pin rule's "loosens" becomes the decidable "widens or removes"; the pinned-value arm proposed alongside it was dropped on the dragon's duplicate finding - the pin test already CI-enforces that pairing both directions. preflight: the chained --full run executes suites while other gates load the same cores, so dastest's per-file wall-clock cap trips on scheduler pressure - four of six reds in the last full run vanished standalone. The suite caps double: interp and AOT 30s -> 60s, the JIT default 60s -> 120s (config override unchanged). Fixes #3884: the daslang runtime is split out of the compiler library, and a hand-wired Visual Studio project linking libDaScript.lib alone dies on the runtime-defined ptr_ref_count statics. CMake consumers never see it - the exported DAS::libDaScript target chains libDaScript_runtime, libUriParser and the system libs. The full hand-wired link set is now documented in the bundle README ("Embedding without CMake"), the C API reference (new "Linking" section), and the AOT page's link line. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01FkBKGJisiiHXEgSsGjpqLm
borisbat
force-pushed
the
bbatkin/rulings-and-link-docs
branch
from
August 28, 2026 02:32
88e1195 to
3f857a6
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fixes #3884. Three small arcs, all ruled today.
The checklist findings from the #3889 review round land as ruled. dasLLVM: a platform-gated change now runs the module-owned suite on that platform; the test-enforced re-pin clause is deleted (the pin test carries the duty); the codegen-version trigger stays broad by ruling, its
[tune]tail re-mooded from an exemption to trigger-narrowing. tests-cpp: a new rule - a test that returns early on a missing artifact says in the PR which lane runs it with the artifact present; big/'s ran-locally rule is unscoped so CMakeLists-owning strays routed from the parent bind; small/'s pin rule trades the undecidable "loosens" for "widens or removes". Each edited folder gains a LAWS.md provenance sidecar. Two dragon passes ran; the second's two findings were applied (the proposed pinned-value arm was itself a duplicate of what the pin test CI-enforces, and was dropped with its routing line).preflight: the chained
--fullrun executes the dastest suites while other gates load the same cores, so the per-file wall-clock cap trips on scheduler pressure, not on tests - four of six reds in the last full run vanished when re-run standalone. The suite caps double: interp and AOT 30s to 60s, the JIT default 60s to 120s (the config override is unchanged).#3884: the daslang runtime is split out of the compiler library, and a hand-wired Visual Studio project linking
libDaScript.libalone dies on the runtime-definedptr_ref_countstatics. CMake consumers never see it -DAS::libDaScriptchainslibDaScript_runtime,libUriParserand the system libs. The full hand-wired link set is now in the bundle README ("Embedding without CMake"), a new "Linking" section in the C API reference, and the AOT page's link line. Verified against the actual 0.6.3 bundle: the two reported symbols are U inlibDaScript.liband defined (B) inlibDaScript_runtime.lib, and the exported target graph names exactly the documented set.Where to look:
tests-cpp/REVIEW.md(the new rule),modules/dasLLVM/REVIEW.md,install/README.md.Validation, claims, ledger
Validation
-Wclean over the RST edits, MCP format/lint/compile green on the three changed.das,tests/dastest/test_preflight_config.das8/8.v0.6.3-RC3Windows bundle with llvm-nm (symbol tables) and its shippedDASTargets.cmake(interface link graph), not from the build files alone.Claims - stated, not tested
--fullrun; the next PR's full run is the test. A break would look like the same gates red in the chain and green standalone.Not done
REVIEW.dascell surfacing self-skip sites in tests-cpp (the dragon's lint suggestion for the detectable half of the new rule) - lint candidate, not built here.🤖 Generated with Claude Code
https://claude.ai/code/session_01FkBKGJisiiHXEgSsGjpqLm