You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
mlib-migrate-tests: the promoted test program records an absolute scratch path in its Generated-by header (promotions differ by worktree) #2602
The promoted M*LIB test program test/corpora/mlib/programs/test_mbptree/test_mbptree.w begins with
// Generated by: with migrate /Users/eric/.local/with-staging/mlib-lane/out/tmp/action-scratch/mlib-migrate-tests/source-test_mbptree/test_mbptree.c
an absolute scratch path of the worktree that promoted it. Every re-promotion from another worktree (today: corpus-tests, bridge2) changes that line and nothing else, so two identical promotions differ by machine and directory (D50: key on what the output is made from). The other corpora's test programs print // Migrated from C with no path.
Expected: mlib-migrate-tests (build/mlib.w) passes with migrate a path relative to the action scratch, or the migrator prints the source name without its directory, so a promotion is byte-identical wherever it runs.
Fixed (main 2083b59): a migration's header names the source under the input directory (or its basename for a single file), never the worktree's absolute path; the contracts basic test forbids the absolute path. The promoted M*LIB test program's header changes at its next re-promotion (D112).
Activity
Fix the four bugs filed today instead of fixed: closure linkage acros…
ehartford commentedon Oct 25, 2026
Fixed (main 2083b59): a migration's header names the source under the input directory (or its basename for a single file), never the worktree's absolute path; the contracts basic test forbids the absolute path. The promoted M*LIB test program's header changes at its next re-promotion (D112).