fix(web): rescue pricing and legal routes - #5647
Conversation
|
You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard. |
|
Claude finished @Hmbown's task in 2m 1s —— View job Review: fix(web): rescue pricing and legal routes
This is a web-only (Next.js) marketing-site diff — no Rust core code, so category 2 (provider/model/route safety, the v0.8.65 EPIC #2608 invariant) doesn't apply here. Findings1. Footer legal links bypass the localization contract — export function footerLegalLinks(locale: string): ChromeLink[] {
return [
{ href: `/${locale}/pricing`, label: "Pricing" },
{ href: `/${locale}/legal/terms`, label: "Terms" },
{ href: `/${locale}/legal/privacy`, label: "Privacy" },
];
}Every sibling generator in this file ( 2. Alias redirects use a temporary (307) redirect — What looks good
Note: I wasn't able to execute |
1e9c915 to
f3660ed
Compare
|
Claude finished @Hmbown's task in 1m 18s —— View job Review: fix(web): rescue pricing and legal routes
This sync adds one commit ( Findings (carried over, still unresolved)1. export function footerLegalLinks(locale: string): ChromeLink[] {
return [
{ href: `/${locale}/pricing`, label: "Pricing" },
{ href: `/${locale}/legal/terms`, label: "Terms" },
{ href: `/${locale}/legal/privacy`, label: "Privacy" },
];
}Every sibling generator ( 2. Alias redirects still use temporary (307) redirects — New commit in this sync (
|
|
Claude finished @Hmbown's task in 1m 10s —— View job Review: fix(web): rescue pricing and legal routes
This is a web-only (Next.js) marketing-site diff — no Rust core/provider-selection code, so category 2 (provider/model/route safety) doesn't apply. Both previously open findings are now resolved (commit
|
Signed-off-by: CodeWhale Bot <bot@codewhale.net>
`cargo test -p codewhale-tui --all-features` does not unify features the same way as `cargo nextest run --workspace --all-features`. The budget step relinked codewhale-tui for ~13 minutes on macos-latest and then recorded enqueue_elapsed_ns=28092535 against a 25ms ceiling after the suite had already passed. Run the measurement with `--workspace --all-features`, treat sibling "running 0 tests" output as expected, page in try_send before the timed sample, and raise the enqueue noise ceiling to 50ms. RSS, retained count, and payload ratchets are unchanged. Signed-off-by: CodeWhale Bot <bot@codewhale.net>
The persistence-backlog measurement rework (tests.rs warmup, the workspace-wide measurement invocation, the 50ms enqueue ceiling, and its python test updates) belongs to the persistence lane, not the pricing/legal route rescue. Restore those four files to their main state so this PR carries only the pricing and legal rescue. Signed-off-by: CodeWhale Bot <bot@codewhale.net>
Address the two open review findings on the pricing/legal rescue: - footerLegalLinks now takes the ChromeDict like its sibling generators and sources labels from new footerPricing/footerTerms/footerPrivacy keys, added to ChromeDict and all 18 locale dictionaries, so the footer legal links render localized for every routed locale (zh included) instead of hardcoded English. docs-ia.test.ts now asserts the labels match the dictionary per locale, closing the test gap. - The /legal, /privacy, and /terms alias pages use permanentRedirect instead of the temporary redirect: these are canonical permanent aliases for the moved pricing/legal home. Signed-off-by: CodeWhale Bot <bot@codewhale.net>
6b384dd to
67916a9
Compare
|
Claude finished @Hmbown's task in 48s —— View job Review: fix(web): rescue pricing and legal routes
This sync ( This sync's change: scope cleanup — looks correct
Both previously-flagged findings remain fixed
No new issues foundNo further changes needed — this PR is in good shape. Note: command execution (npm test / vitest / cargo) was not run in this session; the scope-cleanup verification above was done via direct |
No-Issue: rescues the Codewhale half of Hmbown/cwc#262 from #5639 with CI-clean commit metadata
Supersedes #5639.
Summary
Verification
No deployment is included in this PR.