Skip to content

fix: recover docs consent reads after transient failures - #2424

Merged
jeremi merged 2 commits into
mainfrom
codex/docs-consent-read-recovery
Oct 24, 2026
Merged

jeremi merged 2 commits into
mainfrom
codex/docs-consent-read-recovery

Conversation

@jeremi

@jeremi jeremi commented Oct 24, 2026 •

Copy link
Copy Markdown
Member

Summary

Shared-consent startup could retain an old error in documentation preferences after a later successful read. Coalesce startup and resume reads, retry the essential read once, and clear errors on validated current-state confirmation. Preserve newer explicit choices and clean up only the failed request's frame.

Attempt each pageview at most once per document and consent generation to prevent a lost acknowledgement from counting the same visit twice after recovery. Tracking stays optional and off during failed recovery. Automated email behavior is unchanged.

Evidence

  • 47 focused docs tests pass, including 42 shared-client tests mirrored from the website.
  • Development docs build passes for 587 pages.
  • Deterministic browser regressions reproduced both stale errors and duplicate delivered visits before the fixes. The final Chromium, Firefox and WebKit website plus development-docs matrix passes, including lost acknowledgements, consent recovery, refusal, reconsent and unlinked requests.
  • Independent review of the final changes found no blockers.

DCO

  • Every commit includes a Signed-off-by trailer.
  • I reviewed the submitted changes and take responsibility for them.

Signed-off-by: Jeremi Joslin <jeremi@joslin.fr>
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Oct 24, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-10-24T20:56:46.214541Z 01e98f0 New commits
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 238257c9d4

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread docs/site/src/lib/shared-tracking-client.mjs
@jeremi
jeremi enabled auto-merge October 24, 2026 20:47
Signed-off-by: Jeremi Joslin <jeremi@joslin.fr>
@jeremi
jeremi added this pull request to the merge queue Oct 24, 2026
Merged via the queue into main with commit 3b8d5b6 Oct 24, 2026
54 checks passed
@jeremi
jeremi deleted the codex/docs-consent-read-recovery branch October 24, 2026 21:05
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