Skip to content

Relax static asset routing path assertion#15

Draft
Ninglo wants to merge 1 commit into
mainfrom
ci-fix-static-asset-routing-ea308df
Draft

Relax static asset routing path assertion#15
Ninglo wants to merge 1 commit into
mainfrom
ci-fix-static-asset-routing-ea308df

Conversation

@Ninglo

@Ninglo Ninglo commented Apr 20, 2026

Copy link
Copy Markdown
Owner

Summary

  • allow test-static-asset-routing to accept either chat/icons.js or /chat/icons.js
  • keep the existing chat HTML contract unchanged while still verifying the script tag is present

Validation

  • npm run test:restart-gate
  • npm test

Context

The failed CI run for ea308dffc1d42b5b7b02819b6e014607c86f8706 was caused by a brittle assertion in tests/test-static-asset-routing.mjs. The rendered chat page still uses a <base href="/">, and the broader frontend suite already treats the split asset tags as relative paths.

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