Skip to content

Main green: the elkjs warning allowed by name, the run connector without round() - #135

Merged
bmjcoding merged 2 commits into
mainfrom
claude/main-green-2
Nov 24, 2026
Merged

bmjcoding merged 2 commits into
mainfrom
claude/main-green-2

Conversation

@bmjcoding

Copy link
Copy Markdown
Owner

The last node-only failure on main, and the run connector in Chrome 123–124, as the decider ruled (DECISIONS 351, main-green/ruling.md). After this PR, all 26 node-only test files pass on main.

  • The elkjs warning (38a77880): elkjs stays byte for byte, as the owner was told it would (DECISIONS 306, 1.8 item 8.9).
    • audit-fix-c3's esbuild test lets through exactly one warning, equals-negative-zero from dist/diagram-elk.js, at most once per build. Any other warning still fails it.
    • A new test bundles that file alone and expects the warning, so it fails once an elkjs release drops the comparison and the allowance can go.
    • The README gets a note for linked and workspace builds. Its diagram row, which still said "No layout engine", now matches foundations.
  • The run connector (466d6a00): round() in StageList, StageRail, RunTimeline and the skill's runs.css becomes calc(var(--basalt-size-icon-sm) / 2 - var(--basalt-size-hairline)).
    • That is 7px, the value round() gave, so nothing moves where round() works. Chrome 123–124 now draw the connector on the marks' centre line.
    • The floor rows shrink back, and a node test holds the value at 7px.

Checks: lint (5 of 5 steps), both typechecks, the build and sizes pass (no export moved; styles.css −132 bytes from the shorter text). All 26 node-only files pass. Browser tests are paused (DECISIONS 330). No reviewer seat looked at this PR.

🤖 Generated with Claude Code

bmjcoding and others added 2 commits November 24, 2026 07:05
… still needed (DECISIONS 350)

dist/diagram-elk.js stays elkjs's file byte for byte. The consumer-build test now lets through only a
warning whose id is equals-negative-zero from dist/diagram-elk.js, at most one a build; anything else
still fails. A second test bundles diagram-elk.js alone and expects exactly that warning, so it fails
when an elkjs release drops the comparison and the allowance can go. The README's diagram row now
describes automatic layout (it said 'No layout engine, no dependency'), and a note under its table
tells a linked or workspace build about the warning and logOverride, in the ruling's words.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…() (DECISIONS 350)

StageList, StageRail at five or six, RunTimeline and the skill's runs module drew the connector's
inline start with round(), which Chrome 123 and 124 drop (the line then stood at the row's start
edge). calc(16px / 2 - 1px) is the 7px round() gave, so no pixel moves where round() is supported.
styles.test.mjs proves half the mark is a whole number of hairlines, that the calc equals the old
round(down) and is 7px, and that all four places write it. The skill's round() floor row is gone and
React's is back to the badge's dot alone. styles.css is 132 bytes shorter; no export moved.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@bmjcoding
bmjcoding merged commit b8e8451 into main Nov 24, 2026
1 of 2 checks passed
@bmjcoding
bmjcoding deleted the claude/main-green-2 branch November 24, 2026 13:08
bmjcoding added a commit that referenced this pull request Nov 24, 2026
…ble regenerated

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
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