Repository navigation
Verify Workdays Calculator exclusive mode is actually published across four locales - #94
Merged
Merged
Conversation
This was referenced Nov 14, 2026
Draft
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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-calculatorwith locale-specificAccept-Language, no-cache and short timeout, rejecting wrong HTTP/locale redirects.<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>.noindexand HTTPX-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: scriptsnpm run test:live-workdays-exclusiveand post-release onlynpm 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.