Skip to content

Verify Workdays Calculator exclusive mode is actually published across four locales - #94

Merged
appdevelopsk merged 6 commits into
mainfrom
test/workdays-live-release-proof-20261114
Nov 14, 2026
Merged

appdevelopsk merged 6 commits into
mainfrom
test/workdays-live-release-proof-20261114

Conversation

@appdevelopsk

Copy link
Copy Markdown
Owner

Why

PR #93 merged the new 17-language exclusive boundary option and corrected FAQ, but source-only success does not prove the production site serves it. This adds a read-only public HTML release gate for EN, JA, ES and AR (representative searchable/non-indexed locales) without touching the existing draft PR #41.

Implementation

  • site/scripts/check-live-workdays-exclusive.mjs: fetches public /en|ja|es|ar/tools/workdays-calculator with locale-specific Accept-Language, no-cache and short timeout, rejecting wrong HTTP/locale redirects.
  • Inspects server-rendered HTML after removing scripts/styles/comments. Requires the new actual checkbox <label><input type="checkbox"> with the corresponding translated text (not merely mention in FAQ/RSC payload), the preexisting localized N-workdays mode, updated FAQ, one correct canonical and correct <html lang>.
  • For index-eligible EN/JA, rejects both meta robots noindex and HTTP X-Robots-Tag: noindex; does not incorrectly demand ES/AR indexability.
  • site/scripts/check-live-workdays-exclusive.test.mjs: 11 Node fixture test cases for successful four locales, stale FAQ, absent label/control, bad canonical, wrong HTML language, scripts/styles fake text and unexpected noindex.
  • site/package.json: scripts npm run test:live-workdays-exclusive and post-release only npm run audit:live-workdays-exclusive; these scripts do not write to the website or APIs.

Verification status

Exact changed blobs re-read on GitHub branch, 10 source invariants passed for hostname restrictions, no mutation/cookies, correct canonical and locale checks and command wiring. The Node test file has been authored, but the complete native checkout has not been installed or executed; do not state that 11 tests passed or that production is released. GitHub Actions remain unused.

Release gate

Run the Node fixture test in a complete checkout; verify SSR HTML in a preview; run the site's full native tests, TypeScript, and build; manually deploy; then execute npm run audit:live-workdays-exclusive. A passing public gate is a precondition to claiming the feature is live. Actual user impact still needs GA4 consented engaged tool interactions and valid first/return user analysis, not raw bot traffic.

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