Skip to content

test: make THIRD_PARTY_NOTICES snapshot platform-stable - #29

Merged
dzianisv merged 1 commit into
mainfrom
fix/notices-snapshot-platform-stable
May 29, 2026
Merged

dzianisv merged 1 commit into
mainfrom
fix/notices-snapshot-platform-stable

Conversation

@dzianisv

Copy link
Copy Markdown
Owner

Fixes the remaining red CI check (Compile and run tests → tests/third_party_notices.test.ts).

Why it was failing

The generated THIRD_PARTY_NOTICES lists bundled deps in module-resolution order (platform/filesystem-dependent), so the raw snapshot failed across the OS matrix. The committed snapshot was also stale after a chrome-devtools-frontend bump.

Fix

Normalize before snapshotting: strip versions, split on DEPENDENCY DIVIDER, sort entries, rejoin. Verified the bundled set contains no platform-specific/binary packages, so the sorted, version-masked form is platform-independent. Snapshot regenerated.

Validated locally (passes); relying on CI matrix to confirm cross-platform.

🤖 Generated with Claude Code

The generated NOTICES file lists bundled dependencies in module-resolution
order, which varies by platform/filesystem, so snapshotting it raw failed
across the CI OS matrix even when the bundled package set was identical. The
committed snapshot was also stale after a chrome-devtools-frontend bump.

Normalize before snapshotting: strip version numbers (already done), split on
the DEPENDENCY DIVIDER into per-package entries, sort them, and rejoin. The set
of bundled packages contains no platform-specific/binary deps, so the sorted,
version-masked form is identical regardless of emission order. Snapshot
regenerated accordingly.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@dzianisv
dzianisv merged commit 2fd2b77 into main May 29, 2026
3 of 16 checks passed
@dzianisv
dzianisv deleted the fix/notices-snapshot-platform-stable branch May 29, 2026 17:09
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