Repository navigation
Conversation
The concurrent stand-in test expected the winning pipeline to be released synchronously with its last shell. Production intentionally routes that pipeline through late_release, so the assertion raced the deferred release and failed in no-GPU CI. Capture the deferred release deterministically, verify the winning reference, and release it before checking final counts. Assisted-by: Codex (GPT-5)
The prepared-cache settings identity accepted only an allowlist of known semantic switches. A future semantic XCL setting could therefore be omitted accidentally and reuse stale native libraries. Keep the existing identity for every known semantic and operational setting, but include unknown XCL settings until they are explicitly reviewed as cache-neutral. Tested with the full scripts/test.ps1 suite and focused settings and receipt tests. Assisted-by: Codex (GPT-5)
bmjask
force-pushed
the
shaders/cache-unknown-setting-fail-safe
branch
from
November 30, 2026 00:27
ea53304 to
c2393f8
Compare
Contributor
|
Review (head c2393f8, diff read, not a merge-check; it conflicts with main, so not built or run):
Fine: with no unknown AI review: Claude Code (Claude Opus 5.5), posted by Foniass without a human check of each point. |
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.
Stacked on #3484. Only the top cache-settings commit belongs to this PR; the prerequisite corrects a test that did not account for the existing deferred-release path.
The prepared-cache settings identity introduced by #3447 hashes an allowlist of known semantic switches. That avoids churn, but a newly added semantic
XCL_*variable could be omitted accidentally and allow stale native libraries to be reused.This follow-up keeps the exact current identity for every known semantic and operational setting. Unknown
XCL_*variables fail safe into the identity until they are explicitly reviewed and classified as cache-neutral.What is in it
shaders.rs: centralizes the existing cache-neutral setting list.XCL_*settings are included in the canonical v2 settings hash.Tested
cargo test -p xcl --lib warm_settings -- --test-threads=1: 3 passed, 0 failed, 0 ignored.cargo test -p xcl --lib warm_library -- --test-threads=4: 10 passed, 0 failed, 0 ignored.cargo test -p xcl --lib concurrent_shell_miss_reuses_winner_and_releases_loser_pipeline -- --test-threads=1: 1 passed, 0 failed, 0 ignored..\scripts\test.ps1was attempted twice onc2393f82: one run aborted in the pre-existing asynchronous PSO test harness on an invalid synthetic COM pointer; the retry completed 2,653 tests before the unrelatedhle::kernelx::tests::a_page_whose_move_fails_stays_mapped_where_it_wastest failed. The affected focused tests above pass, and Tests: account for deferred stand-in pipeline release #3484 passed the full suite before stacking: 2,793 passed, 0 failed, 49 ignored.Regression run
Base:
Head:
Not tested
XCL_*setting; synthetic settings cover the identity behavior.AI use
Codex with GPT-5 reviewed the merged cache-identity behavior, implemented the fail-safe classification and tests, rebased and stacked the prerequisite test correction, and ran the reported verification.