Skip to content

fix(survey): state the 1-year retention in the email label - #441

Merged
LightAxe merged 2 commits into
mainfrom
fix/survey-email-retention-label
Nov 25, 2026
Merged

LightAxe merged 2 commits into
mainfrom
fix/survey-email-retention-label

Conversation

@LightAxe

@LightAxe LightAxe commented Nov 24, 2026 •

Copy link
Copy Markdown
Owner

The subterrans-playtrace bucket's lifecycle rule now expires objects after 365 days instead of 90 (LightAxe/subterrans-web#42, already applied). The survey's optional-email label said "deleted after 90 days", which is no longer true. This changes it to say 1 year.

  • SURVEY_EMAIL_LABEL now reads: "Email (optional) — only used to reply about this report; deleted after 1 year"
  • The unit test's retention assertion and the e2e spec's expected string are updated to match
  • The aria-label comment in ui-scene.ts is updated too (it reuses the same string)

Render-only copy change: no sim code is touched and there's no simVersion bump. The new text is one character shorter than the old, so the layout doesn't change.

Until this merges and the site picks up the bump, new submissions still show the 90-day wording. None of the survey rows currently stored include an email.

🤖 Generated with Claude Code

Summary by CodeRabbit

  • Updates
    • Updated the optional email address notice to state that the address is deleted after one year, replacing the previous 90-day wording.

The playtrace bucket now keeps survey rows for 365 days instead of 90
(website infra change, already applied). The optional-email label
promised "deleted after 90 days", which would no longer be true.

Copy-only change in the render layer; no sim impact.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@LightAxe

Copy link
Copy Markdown
Owner Author

@codex review

@chatgpt-codex-connector

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

Copy link
Copy Markdown
Codex Review Summary: ✅ Completed

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

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-25T02:33:41.543941Z 5479792 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.

@coderabbitai

coderabbitai Bot commented Nov 24, 2026 •

Copy link
Copy Markdown

Explain Change →

Important

Review skipped

Review was skipped as selected files did not have any reviewable changes.

Run configuration

Commits

Reviewing files that changed from the base of the PR and between 10b9f70 and 5479792.

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • Trigger review

No actionable comments were generated in the recent review.

Walkthrough

The optional email-label copy now states that the address is deleted after one year. The related accessibility comment and test expectations use the same retention period.

Changes: Survey email retention copy

Layer / File(s) Summary
Update retention copy and expectations
src/render/survey-overlay-layout.ts, src/render/ui-scene.ts, src/render/survey-overlay-layout.test.ts, tests/survey-overlay.spec.ts
The email-label text, accessibility comment, and test expectations now state one year instead of 90 days. The layout-test comment refers to the 365-day lifecycle rule.

Estimated code review effort: 1 (Trivial) | ~3 minutes

Change: Bug fix

Merge Risk: Minimal · previous review 10b9f

This updates the survey's optional-email label to say the address is deleted after one year instead of 90 days, and updates the related tests and comments to match. The change is text-only and low risk. The author reports that the matching 365-day bucket retention was applied separately, and that should be confirmed deployed so the wording is accurate when this goes live.

Pre-merge checks: Passed 4

Check name Status Explanation
Description Check Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check Passed The title "fix(survey): state the 1-year retention in the email label" matches the main change. The optional-email label in survey-overlay-layout.ts changes from "deleted after 90 days" to "deleted af…
Linked Issues check Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check Passed Check skipped because no linked issues were found for this pull request.
Full details: Title check

Explanation

The title "fix(survey): state the 1-year retention in the email label" matches the main change. The optional-email label in survey-overlay-layout.ts changes from "deleted after 90 days" to "deleted after 1 year". The related test, e2e spec, and aria-label comment are updated to match. The title names the survey scope and the retention wording change, so a reviewer scanning history can identify the primary change.

Finishing Touches

Generate unit tests (beta)

  • Commit to this branch
  • Create a new PR
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

Recent review info

Run configuration

Commits

Reviewing files that changed from the base of the PR and between 6ca2af3 and 10b9f70.

Files selected for processing: 4

  • src/render/survey-overlay-layout.test.ts
  • src/render/survey-overlay-layout.ts
  • src/render/ui-scene.ts
  • tests/survey-overlay.spec.ts

Included review availability: This review used your included allowance. Your plan provides up to 1 included review per hour; 0 remain after this review.

@chatgpt-codex-connector

Copy link
Copy Markdown

Codex Review: Didn't find any major issues. 👍

Reviewed commit: 10b9f7088c

ℹ️ 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".

@LightAxe
LightAxe merged commit 18fa978 into main Nov 25, 2026
4 checks passed
@LightAxe
LightAxe deleted the fix/survey-email-retention-label branch November 25, 2026 17:02
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