Repository navigation
base red: subsession_trust_inherit fails over on a sign-in failure, as #27924 made the rule - #30408
Conversation
…#27924 made the rule #27924 (a1fc2c2) keeps a usage limit on the current account and fails over only on a sign-in failure; it moved its own failover fixtures to FAKE_AUTH_FAIL but not this one, so a_full_access_chat_lends_its_folder_trust _to_sub_sessions_under_it stayed on fake-full-fo (subsession_trust_inherit.rs:307, left fake-full-fo right fake-claims). Bisect on Linux: parent 38f2772 passes (169c6d2a), a1fc2c2 fails (edb316c8). The stand-in's limit: answers a sign-in failure under FAKE_AUTH_FAIL=1, as its slow-limit does.
|
cmux status (one comment, edited in place; each line is updated by the job that owns it) Review App of this head (app.zip, kept 1 day)
Shipped in:
|
|
Review (independent review subagent): SHIP at fc658f4 Scope: the 2 test files in 1. Cause: correct.
2. Fix: correct. The test still tests its claim.
3. Evidence: confirmed on the head. Each job checked out
Product code does not change, and the #27924 rule stays. I found no problems. |
|
Check classification at head fc658f4:
Fleet at the head (Linux): the test passes 3 of 3 (8cae9c69, 53158fbf, 41a6dcd2); 166 |
|
Found 8 test failures on Blacksmith runners: Failures
|
![Fix with [code]smith](https://pr-comments-assets.blacksmith.sh/codesmith/fix-with-codesmith-light-3x.png)
Summary
Base red on feat:
acpmux::subsession_trust_inherit a_full_access_chat_lends_its_folder_trust_to_sub_sessions_under_itfails at subsession_trust_inherit.rs:307 (left: "fake-full-fo",right: "fake-claims"): the failover case never fails over.Culprit. #27924 (a1fc2c2, "recover turns after limits and gateway outages"). It made a usage limit stay on the current account and wait for its reset; only a sign-in failure fails over to the fallback profile. #27924 moved its own failover fixtures to a sign-in failure (
FAKE_AUTH_FAIL,FAKE_CLAUDE_AUTH_FAIL), but this test still triggers failover with the stand-in'slimit:prompt, a usage limit. Bisect on Linux; each run compiled its commit:Fix (test only; the #27924 rule stands). The stand-in's
limit:answers a sign-in failure ("Not logged in") underFAKE_AUTH_FAIL=1, as itsslow-limitalready does. The failover profilefake-full-fosetsFAKE_AUTH_FAIL=1. Without the variable,limit:is a usage limit as before, so every other test that uses it is unchanged.Testing
*limit*(166, the otherlimit:users unchanged)Observed / Not run
Observed: the runs above. Not run: macOS (no platform code).
Changelog
none
Need help on this PR? Tag
@codesmith-botwith what you need.Summary by cubic
Fixes the
subsession_trust_inheritfailover test, which broke after #27924 made usage limits wait for a reset on the same account instead of failing over.limit:stand-in response return a sign-in failure whenFAKE_AUTH_FAIL=1, so the test's failover profile triggers a real failover.FAKE_AUTH_FAIL; all other tests usinglimit:still exercise the usage-limit path unchanged.Written for commit fc658f4. Summary will update on new commits.