Repository navigation
test: pin the sign-out redirect in logout.ts - #388
Merged
Merged
Conversation
Deploying nemar-website with
|
| Latest commit: |
e5c5456
|
| Status: | ✅ Deploy successful! |
| Preview URL: | https://3af62e96.nemar-website.pages.dev |
| Branch Preview URL: | https://fix-logout-redirect-guard.nemar-website.pages.dev |
2 of 4 tasks
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.
What
Two follow-ups from the prod-safety review of the 0.2.24 promotion (a Sonnet review of
main...staging, verdict GO):test/logout-redirect.test.ts: a source guard that both HTML branches oflogout.tsredirect toSIGNED_OUT_PATHand none to/.host.test.tsonly pinned the constant, so reverting eitherLocationto"/"passed every test. Checked by mutation: reverting the production branch fails both assertions.form-actionbehavior and was not reproduced in a signed-in browser, as the PR itself stated.Review findings not changed
parseCatalogTimestampwould throw on a non-stringlatest_version_at: intentional. The API schema types itstring | null, the helper is typed the same way, and the neighboring formatters make the same assumption.nm000279fixture's time of day differs from live by seconds; the calendar date is the same.git pushhint inprepare-release.ymland the missing rollback section: filed as Release docs: stale push hint and no rollback section #387.Tested
bun run test test/logout-redirect.test.tspasses; the mutation fails both tests.bun run lintpasses.