Skip to content

dist-check: ignore inlined machine paths (the real chronic-red root cause)#6

Merged
LingSiewWin merged 1 commit into
mainfrom
plugin-first-pivot
Jun 11, 2026
Merged

dist-check: ignore inlined machine paths (the real chronic-red root cause)#6
LingSiewWin merged 1 commit into
mainfrom
plugin-first-pivot

Conversation

@LingSiewWin

Copy link
Copy Markdown
Owner

Run 27339123329 logs show the residual diff is solely bun-inlined absolute __filename/__dirname literals (/Users/... vs /home/runner/...) in the runtime bundles — impossible to be byte-identical across machines. The guard now diffs with -I over those path patterns; genuine code staleness still fails.

Root cause of the chronic red runs (found via run 27339123329 logs): bun
inlines __filename/__dirname as absolute string literals for CJS deps
(bindings, cbor-extract), so a bundle built on a Mac and CI's Linux rebuild
can never be byte-identical. git diff -I now ignores lines differing only
by those machine paths; real code changes still fail the guard.
@vercel

vercel Bot commented Jun 11, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
cortex-arkiv Ready Ready Preview, Comment Jun 11, 2026 10:04am

@LingSiewWin LingSiewWin merged commit 5b12325 into main Jun 11, 2026
1 of 2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant