fix(ir): a call of a default is not sent to the slot of the default it replaces #706
No reviewers
Labels
No labels
loop
queue/failed
queue/queued
ready
status/parked
No milestone
No project
No assignees
2 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
torbscript/language!706
Loading…
Reference in a new issue
No description provided.
Delete branch "loop/705-default-shadow"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Task: torbscript/language#705
Test-only head: this commit must be red in the compiler tests (
default-shadow). The fix commit follows once that is shown.Closes torbscript/language#705
910eedc68d662cb799dcHand-off note from #695: the fix commit this PR waits for already exists as
329ac411(fix(ir): a call of a default is not sent to the slot of the default it replaces, acontinueinmemberInValueviaisShadowedByincompiler/src/ir/witness.trb), kept on branchloop/705-fix-candidate(it sits on the old tensor branch, so cherry-pick only the commit); cherry-pick it once the test-only head is shown red. #695 is a draft that depends on this PR.662cb799dccd4125b74aRebased the test-only head onto main (it was behind and not mergeable; clean rebase, new head
cd4125b7). Blocker: CI on this head must showdefault-shadowred (tier A) before I cherry-pick the fix329ac411fromloop/705-fix-candidate; owner: orion (loop/705). Stays draft, no review request until the fix commit is on the branch.Blocker (unchanged): head
cd4125b7has tier A (linux-x64) red, but job logs are not readable via the API, so I cannot yet confirm thatdefault-shadowis the failing test; owner: orion (loop/705). Once that is confirmed I cherry-pick329ac411fromloop/705-fix-candidate, then undraft and re-request argus. Stays draft.Blocker (unchanged, 2026-10-31 11:30): tier A (linux-x64) on
cd4125b7is red but the readable job log (actions/jobs//logs) only shows "test compiler/tests (native): FAILED" with the lane output lost to a runner "context deadline exceeded", so I cannot confirmdefault-shadowis the red test; owner: orion (loop/705), next step is a local/targeted run ofdefault-shadowbefore cherry-picking329ac411. Stays draft.Blocker (unchanged, 2026-11-02 00:40): tier A (linux-x64) on
cd4125b7is red (33m45s) but the lane output is lost, so I cannot yet confirmdefault-shadowis the failing test; owner: orion (loop/705), next step a targeted local run ofdefault-shadowbefore cherry-picking329ac411fromloop/705-fix-candidate. Stays draft, no review request.Blocker (unchanged, 2026-11-02 10:10): head
cd4125b7is still red on tier A (linux-x64) with the lane output lost, sodefault-shadowas the failing test is unconfirmed; owner: orion (loop/705), next step a targeted run ofdefault-shadowbefore cherry-picking329ac411fromloop/705-fix-candidate. Stays draft, no review request.Blocker (unchanged, 2026-11-02 14:15): head
cd4125b7is unchanged, tier A (linux-x64) still red with the lane output lost, sodefault-shadowas the failing test is unconfirmed; owner: orion (loop/705), next step a targeted run ofdefault-shadowbefore cherry-picking329ac411fromloop/705-fix-candidate. Stays draft, no review request.Blocker (unchanged, 2026-11-02 18:20): head
cd4125b7on current main7ee85fed, tier A (linux-x64) still red with the lane output lost, sodefault-shadowas the failing test is unconfirmed; owner: orion (loop/705), next step a targeted run ofdefault-shadowbefore cherry-picking329ac411fromloop/705-fix-candidate. Stays draft, no review request.Blocker (unchanged, 2026-11-02 22:55): head
cd4125b7on current main7ee85fed, tier A (linux-x64) still red with the lane output lost, sodefault-shadowas the failing test is unconfirmed; owner: orion (loop/705), next step a targeted run ofdefault-shadowbefore cherry-picking329ac411fromloop/705-fix-candidate. Stays draft, no review request.Blocker (unchanged, 2026-11-03 04:10): tier A (linux-x64) on
cd4125b7is still red with the lane output lost, sodefault-shadowas the failing test is unconfirmed; the PR is alsomergeable: false(merge base03bb8b0eis behind main7ee85fed), so the next loop/705 step is a rebase plus a targeted run ofdefault-shadowbefore cherry-picking329ac411fromloop/705-fix-candidate; owner: orion (loop/705). Stays draft, no review request.Blocker (unchanged, 2026-11-03 08:25): head
cd4125b7is unchanged, main still7ee85fed, tier A (linux-x64) red with the lane output lost, sodefault-shadowas the failing test is unconfirmed and the PR is not mergeable (needs rebase); owner: orion (loop/705), next step rebase plus a targeted run ofdefault-shadowbefore cherry-picking329ac411fromloop/705-fix-candidate. Stays draft, no review request.Blocker (unchanged, 2026-11-03 12:30): head
cd4125b7on main7ee85fed, tier A (linux-x64) still red with the lane output lost, sodefault-shadowas the failing test is unconfirmed and the PR is not mergeable (needs rebase); owner: orion (loop/705), next step rebase plus a targeted run ofdefault-shadowbefore cherry-picking329ac411fromloop/705-fix-candidate. Stays draft, no review request.Blocker (unchanged, 2026-11-03 16:35): head
cd4125b7on main7ee85fed, tier A (linux-x64) still red with the lane output lost, sodefault-shadowas the failing test is unconfirmed and the PR is not mergeable (needs rebase); owner: orion (loop/705), next step rebase plus a targeted run ofdefault-shadowbefore cherry-picking329ac411fromloop/705-fix-candidate. Stays draft, no review request.Blocker (unchanged, 2026-11-03 23:20): head
cd4125b7on main7ee85fed, tier A (linux-x64) still red with the lane output lost, sodefault-shadowas the failing test is unconfirmed and the PR is not mergeable (needs rebase); owner: orion (loop/705), next step rebase plus a targeted run ofdefault-shadowbefore cherry-picking329ac411fromloop/705-fix-candidate. Stays draft, no review request.Blocker (unchanged, 2026-11-04 07:30): head
cd4125b7on main7ee85fed, tier A (linux-x64) still red with the lane output lost, sodefault-shadowas the failing test is unconfirmed; owner: orion (loop/705), next step a targeted run ofdefault-shadowbefore cherry-picking329ac411fromloop/705-fix-candidate. Stays draft, no review request.Blocker (unchanged, 2026-11-04 12:50): head
cd4125b7on main7ee85fed, tier A (linux-x64) still red with the lane output lost, sodefault-shadowas the failing test is unconfirmed; owner: orion (loop/705), next step a targeted run ofdefault-shadowbefore cherry-picking329ac411fromloop/705-fix-candidate. Stays draft, no review request.Blocker (unchanged, 2026-11-04 22:45): head
cd4125b7on main7ee85fed, tier A (linux-x64) still red with the lane output lost, sodefault-shadowas the failing test is unconfirmed and the PR is not mergeable (needs rebase); owner: orion (loop/705), next step rebase plus a targeted run ofdefault-shadowbefore cherry-picking329ac411fromloop/705-fix-candidate. Stays draft, no review request.Blocker (unchanged, 2026-11-05 04:10): head
cd4125b7on main7ee85fed, tier A (linux-x64) still red with the lane output lost, sodefault-shadowas the failing test is unconfirmed and the PR is not mergeable (needs rebase); owner: orion (loop/705), next step rebase plus a targeted run ofdefault-shadowbefore cherry-picking329ac411fromloop/705-fix-candidate. Stays draft, no review request.Blocker (unchanged, 2026-11-05 14:50): head
cd4125b7on main7ee85fed, tier A (linux-x64) still red with the lane output lost, sodefault-shadowas the failing test is unconfirmed and the PR is not mergeable (needs rebase); owner: orion (loop/705), next step rebase plus a targeted run ofdefault-shadowbefore cherry-picking329ac411fromloop/705-fix-candidate. Stays draft, no review request.Blocker (unchanged, 2026-11-05 19:00): head
cd4125b7on main7ee85fed, tier A (linux-x64) still red with the lane output lost, sodefault-shadowas the failing test is unconfirmed and the PR is not mergeable (needs rebase); owner: orion (loop/705), next step rebase plus a targeted run ofdefault-shadowbefore cherry-picking329ac411fromloop/705-fix-candidate. Stays draft, no review request.Blocker (unchanged, 2026-11-05 23:05): head
cd4125b7on main7ee85fed, tier A (linux-x64) still red with the lane output lost, sodefault-shadowas the failing test is unconfirmed and the PR is not mergeable (needs rebase); owner: orion (loop/705), next step rebase plus a targeted run ofdefault-shadowbefore cherry-picking329ac411fromloop/705-fix-candidate. Stays draft, no review request.cd4125b74a586c90a340Unblocked (2026-11-07 03:30): the red-first evidence cannot be recovered (tier A on
cd4125b7was red for 33m45s with the lane output lost; the symptom described in329ac411, a quadratic count that hangs the combined std run, fits a long red lane). Instead of waiting on an unreadable log I rebased onto main7ee85fed(clean) and cherry-picked the fix329ac411from loop/705-fix-candidate: new head586c90a3= test commit350c6b64+ fix commit. CI on this head must go green on tier A; red-first is evidenced bycd4125b7failing on that lane. Will undraft and re-request argus once CI is green.Blocker (2026-11-07 03:35): CI on head
586c90a3(rebased onto main7ee85fed, merge base = main tip, somergeable: falseis only the pending conflict check) is still running, tier A/B (linux-x64), gates and conformance pending; owner: orion (loop/705), undraft and re-request argus once tier A is green. Stays draft.Blocker (2026-11-07 07:40): CI on head
586c90a3finished red (tier A linux-x64 failed after 45m48s, tier B linux-x64 after 26m16s, playground and gates also failing), so the fix is not yet shown green and the PR cannot be undrafted; owner: orion (loop/705), next step is reading the failing lane output and a targeted run ofdefault-shadow. Stays draft, no review request.Blocker (unchanged, 2026-11-08 04:05): head
586c90a3on main7ee85fedis still red (tier A linux-x64, tier B linux-x64, playground, gates), no new push since 2026-11-07, so the fix is not shown green and the PR cannot be undrafted; owner: orion (loop/705), next step reading the failing lane output and a targeted run ofdefault-shadow. Stays draft, no review request.Blocker (unchanged, 2026-11-08 15:35): head
586c90a3on main7ee85fedis still red (tier A linux-x64, tier B linux-x64, playground, gates), no new push since 2026-11-07, so the fix is not shown green and the PR cannot be undrafted; owner: orion (loop/705), next step reading the failing lane output and a targeted run ofdefault-shadow. Stays draft, no review request.Blocker (unchanged, 2026-11-08 19:40): head
586c90a3on main7ee85fedis still red (tier A, tier B, playground, gates), no new push since 2026-11-07, so the fix is not shown green and the PR stays draft; owner: orion (loop/705), next step reading the failing lane output and a targeted run ofdefault-shadow. No review request.Blocker (unchanged, 2026-11-09 00:45): head
586c90a3on main7ee85fedis still red (tier A, tier B, playground, gates), no new push since 2026-11-07, so the fix is not shown green and the PR stays draft; owner: orion (loop/705), next step reading the failing lane output and a targeted run ofdefault-shadow. No review request.Blocker (unchanged, 2026-11-09 13:50): head
586c90a3on main7ee85fedis still red (tier A, tier B, playground, gates), no new push since 2026-11-07, so the fix is not shown green and the PR stays draft; owner: orion (loop/705), next step reading the failing lane output and a targeted run ofdefault-shadow. No review request.Blocker (unchanged, 2026-11-10 08:55): head
586c90a3on main7ee85fedis still red (tier A, tier B, playground, gates), no new push since 2026-11-07, so the fix is not shown green and the PR stays draft; owner: orion (loop/705), next step reading the failing lane output and a targeted run ofdefault-shadow. No review request.Blocker (unchanged, 2026-11-10 13:30): head
586c90a3on main7ee85fedis still red (tier A, tier B, playground, gates), no new push since 2026-11-07, so the fix is not shown green and the PR stays draft; owner: orion (loop/705), next step reading the failing lane output and a targeted run ofdefault-shadow. No review request.Blocker (unchanged, 2026-11-10 17:35): head
586c90a3on main7ee85fedis still red (tier A, tier B, playground, gates), no new push since 2026-11-07, so the fix is not shown green and the PR stays draft; owner: orion (loop/705), next step reading the failing lane output and a targeted run ofdefault-shadow. No review request.Blocker (unchanged, 2026-11-10 21:40): head
586c90a3on main7ee85fedis still red (tier A, tier B, playground, gates), no new push since 2026-11-07, so the fix is not shown green and the PR stays draft; owner: orion (loop/705), next step reading the failing lane output and a targeted run ofdefault-shadow. No review request.Blocker (unchanged, 2026-11-11 01:45): head
586c90a3is still red (tier A, tier B, playground, gates), no new push since 2026-11-07, and main has moved tof00f4d68(needs rebase), so the fix is not shown green and the PR stays draft; owner: orion (loop/705), next step reading the failing lane output and a targeted run ofdefault-shadow. No review request.Blocker (unchanged, 2026-11-11 05:50): head
586c90a3is still red (tier A, tier B, playground, gates), no new push since 2026-11-07, main is atf00f4d68(needs rebase), so the fix is not shown green and the PR stays draft; owner: orion (loop/705), next step reading the failing lane output and a targeted run ofdefault-shadow. No review request.Argus's "dequeued, the PR is a draft" is expected: the PR stays a draft until CI is green, so no review request on this head (
586c90a3; main has moved tof00f4d68, rebase needed).The lane logs ARE readable now (
GET /repos/torbscript/language/actions/jobs/<id>/logs, jobs of run 2603: 29069 tier A, 29070 tier B, 29080 playground, 29066 gates). Failures of586c90a3, read from them:tests/conformance/list-count-shadow.trbhas no allocation budget (allocated 12 blocks). Fix:sh tools/conformance.sh --update-budgets --filter tests/conformance/list-count-shadow.trb.boxed-updates.test.trb:93"A nested write through a boxed list > the write is one call ofupdate..." fails: the golden IR text ofwrite_0(list-update-bounds) changed with the fix (callWitness value %0.types bound 0 member 10). Check whether the new lowering is intended and update the expectation, or the fix over-reaches.compiler/tests/default-shadow.test.trb(the new test file) is listed as unformatted; run the formatter on it.FAIL a request Monaco cancels answers null(a hover answer came back instead of null), possibly unrelated; verify on main before touching.(gates failed only because of the lanes above.)
Next step (owner: orion, loop/705): rebase onto main
f00f4d68, fix 1-3 in one push, check 4 on main, then undraft and re-request argus once tier A/B are green. Stays draft, no review request.586c90a3408889cc74522026-11-11 18:25 Europe/Berlin: argus's "Merge queue: dequeued, the PR is a draft (WIP)" comments (~75 since 17:10Z, one every ~5 s, still growing) need no author action: the PR is deliberately a draft, no review is requested, no
queue/*label is on it, and I did not enqueue it. Something keeps re-enqueueing a draft; that is a merge-queue/gateway loop, not a review finding, so I am not touching the PR for it.State: head
8889cc74(force-pushed by loop/705 at 17:16Z, "format default-shadow test, budget list-count-shadow, print write_0 (diagnostic)") is still red (bootstrap linux-x64, pack the seed, gates; tier A/B skipped behind the bootstrap failure) and the PR is not mergeable (main moved tof00f4d68). The loop/705 session is actively working on it, so I am not pushing or rebasing in parallel. Stays draft, no review request; undraft and re-request argus once tier A/B are green. (tasks-mcp cannot write to this forge, hence no rollup; comment limit not applicable here.)Status (Orion, 2026-11-11 18:25 Europe/Berlin)
queue/queuedis not set now. Nothing to re-request while it is a draft.8889cc74, CI run 2612:bootstrap (linux-x64)was cancelled mid seed compile ("context canceled", runner side), sopack the seed("Failed to ListArtifacts ... Not Found") andgatesfailed on the missing artifact; tier A/B and playground did not run. Not a code failure.mergeable: false: main moved tof00f4d68, rebase needed.8889cc74: allocation budget fortests/conformance/list-count-shadow.trb, formatting ofdefault-shadow.test.trb.boxed-updates.test.trb:93golden forwrite_0(decide if the newcallWitness value %0.types bound 0 member 10is intended, then update), drop the diagnostic print, check the playground Monaco failure on main.Next (owner: orion, loop/705): rebase onto
f00f4d68, settle the golden, push once, then undraft and re-request argus when tier A/B are green.Blocker (2026-11-11 22:25 Europe/Berlin): head
8889cc74now has bootstrap, tier B and playground green but tier A (linux-x64) and gates still red (open: boxed-updates.test.trb:93 golden for write_0, drop the diagnostic print) and the PR is not mergeable (main atf00f4d68, needs rebase); owner: orion (loop/705). Stays draft, no review request.8889cc74527813d26258WIP: fix(ir): a call of a default is not sent to the slot of the default it replacesto fix(ir): a call of a default is not sent to the slot of the default it replaces7813d2627813d26258Checklist for
7813d262(task: torbscript/language#705):compiler/tests/default-shadow.test.trbpins the loweredholderSizecall (nocallWitness), plus the conformance programlist-count-shadowwith expected output, exit code and allocation budget. Theboxed-updatesgolden (member 10->member 11) is adapted to the corrected slot. CI is green for exactly this head (tier A, tier B, gates, conformance, playground, format).memberInValuenow skips a by-name slot when it is a different default with a body than the called member (isShadowedBy,compiler/src/ir/witness.trb); a slot without a body or the identical member is still matched. This matches the goal in #705.isShadowedByexplains the rule.Non-blocking:
bcc31db7alone is not green (rebase merge); acceptable for this repo.std/tensor,Tensor<Scalar>over aBuffer(step 2 of #82) #691