Skip to content

Stamp git commit hash into footer at build time#3

Merged
dseeker merged 2 commits into
mainfrom
claude/research-simulation-framework-YKcXK
Feb 21, 2026
Merged

Stamp git commit hash into footer at build time#3
dseeker merged 2 commits into
mainfrom
claude/research-simulation-framework-YKcXK

Conversation

@dseeker

@dseeker dseeker commented Feb 21, 2026

Copy link
Copy Markdown
Contributor

No description provided.

All internal hrefs were missing the /computational-relationship-dynamic
prefix, causing 404s on the deployed GitHub Pages site. Use
import.meta.env.BASE_URL (normalised to always end with /) instead of
hardcoded root-relative paths in BaseLayout, index and results pages.

Add Playwright E2E tests that assert:
- All four pages return HTTP 200 and have correct titles
- Every nav link and CTA button href starts with /computational-relationship-dynamic
- Clicking nav items navigates to the right URL
- Simulation page loads all assets without any 404 response

Add .github/workflows/e2e.yml to run the test suite on every push
to the feature branch (and main/master/PRs), uploading the Playwright
report as a workflow artifact.

https://claude.ai/code/session_016FeYSXvGM3J28cvuXcwEVs
Bakes the short SHA from `git rev-parse --short HEAD` into the footer
of every page so the deployed version is immediately visible without
opening DevTools.

https://claude.ai/code/session_016FeYSXvGM3J28cvuXcwEVs
@dseeker dseeker merged commit b38a0da into main Feb 21, 2026
3 of 4 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