Skip to content

fix(test): remove obsolete CDN-pin tests that conflict with landing redesign - #130

Merged
CodeWithJuber merged 3 commits into
masterfrom
claude/open-pr-pipeline-ci-failure-se1hjh
Aug 14, 2026
Merged

fix(test): remove obsolete CDN-pin tests that conflict with landing redesign#130
CodeWithJuber merged 3 commits into
masterfrom
claude/open-pr-pipeline-ci-failure-se1hjh

Conversation

@CodeWithJuber

Copy link
Copy Markdown
Owner

What & why

PR #128 merged the landing redesign (which replaced the CDN-pinned SPA with a local ./app.js runtime) alongside the pin-tripwire tests (which assert CDN URLs exist). Git merged without conflict because the changes were in non-overlapping hunks, but the result is a semantic merge conflict — three CDN-pin tests always fail because the landing page no longer uses cdn.jsdelivr.net URLs.

This removes the three obsolete tests from test/pages.test.js:

  • pinned landing chunks form a complete closure (expected CDN entry chunks)
  • jsDelivr pin is never older than the newest landing/assets commit (expected a pinned commit SHA in a CDN URL)
  • deployed site serves the same chunks the repo pins (expected CDN URLs in deployed site)

The existing test landing runtime is source-owned and dependency-free (line 156) already validates the new architecture by asserting no CDN URLs exist and that only ./app.js is loaded locally.

This also unblocks PR #129 which was failing CI due to this pre-existing issue on master.

Checklist

  • npm test passes (Node 18/20/22)
  • npm run check passes (Biome lint + format)
  • New public functions have a test
  • Conventional commit message (feat:/fix:/docs: …)
  • CHANGELOG.md updated under ## [Unreleased]
  • No new runtime dependency (dev deps ok)
  • Substrate/docs updated if this changes forge substrate, forge impact, router/gate, or MCP substrate tools

Risk & rollback

  • Risk level: low
  • Rollback plan: revert the commit; the tests will return but will still fail

Extra checks (tick if applicable)

  • npm run typecheck passes
  • If AI-assisted: I understand it, verified the package APIs, and it has tests

Generated by Claude Code

claude added 3 commits August 14, 2026 07:31
…edesign

PR #128 merged the landing redesign (which replaced CDN-pinned SPA
with local ./app.js) alongside the pin-tripwire tests (which assert
CDN URLs exist). Git merged cleanly but the result is a semantic
conflict — the three CDN-pin tests always fail because the landing
page no longer uses cdn.jsdelivr.net URLs. The existing test at line
156 ("landing runtime is source-owned and dependency-free") already
validates the new architecture.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_016zx8GBFwDjPucFz3QWy97Y
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_016zx8GBFwDjPucFz3QWy97Y
Apply biome auto-fixes to clear errors that were masked by the
test failures on master: template literal preference in dash.html,
optional chaining in gateway_model_map.js and init.js, and
formatting in merge_impact files.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_016zx8GBFwDjPucFz3QWy97Y
@CodeWithJuber
CodeWithJuber marked this pull request as ready for review August 14, 2026 07:50
@CodeWithJuber
CodeWithJuber merged commit 1b54b50 into master Aug 14, 2026
12 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.

2 participants