fix(crash): crash reports are team-only, the Sent page links nowhere, and a privacy page says what is sent #2163

Merged
HumanBean merged 2 commits from HumanBean/Longshot:fix/private-crash-reports into main 2026-11-21 23:42:39 +00:00
Owner

GDPR: crash reports were public comments on issue 81, holding players' hardware, settings and log tails, and nothing told players what is sent, who reads it or how long it's kept. The reports are moving to a private repository (Longshot-api and Bean-Ops change), so the crash window stops linking to them, and Longshot gets a privacy page.

What changed

fix(crash): the Sent page links nowhere

  • Sent page: "Sent. Thank you: the Longshot team has it. Only the team can read it." with Done alone. No Open it: a player can't open the private issue.
  • Send page: says only the team can read it, before Send.
  • crash_issue: gone from nx2/addresses.ini, the stamp nx2/make_game.py writes, and the helper. A stamp that still has it, or an older relay's comment link in the answer, is ignored.
  • What's kept: bug-reports/sent/<record> keeps the answer's status. The run's log line for a quiet send says Sent. ... instead of the link.
  • Docs and tests: docs/dev/reference/crash-window.md updated; tests/test_crash_dialog.py updated (no link, old stamp and old answer ignored).

docs(privacy): a privacy page

  • The page: docs/user/privacy.md, published at /privacy/ and linked from the sidebar (About) and the footer.
  • What it covers:
    • each report (crash, failed build, performance statistics): when it's sent, what it holds, who reads it, how long it's kept (reports a year; statistics totals 30 days);
    • why (consent, to fix problems);
    • Cloudflare seeing the sender's IP;
    • what players post themselves;
    • the Test Farm's own page;
    • their rights, and [email protected].
  • What Longshot connects to (updates-and-saves.md): now lists the crash and build reports and links the page.

Depends on

  • The relay switch. Longshot-api's two commits (team-only issues, REPORT_RETENTION_DAYS) and the Bean-Ops switch to MagicBeanDev/Longshot-reports. Until that's live, the page and the window say "only the team" while reports still go to issue 81: don't merge before the switch.
  • Matching changes: launcher #247 and Beanstalk #138 say the same.

Still to do before ready

  • Run in the game: not yet. Opened with --force at the maintainer's request. Needs one forced crash (HOS_CRASH_TEST=start), Report automatically, with the send to a stand-in for curl, to see the send and Sent pages.
  • Tests: written, not run on the author's PC (its rule); CI runs tests/test_crash_dialog.py.
  • Facts on the page: [email protected] has to exist. Access-log retention in Bean-Ops is unconfirmed: the page says only Cloudflare sees IPs.
  • Legal read: the legal-basis and "within a month" wording need a person's read.

Measurements

  • Game: the crash helper only runs after a crash, so no effect on fps, frame time or memory.
  • Build: one line less in the stamp; no effect on build time or size.
  • Website: one page and two links.

🤖 Generated with Claude Code

GDPR: crash reports were public comments on [issue 81](https://git.magicbean.dev/MagicBeanDev/Longshot/issues/81), holding players' hardware, settings and log tails, and nothing told players what is sent, who reads it or how long it's kept. The reports are moving to a private repository (Longshot-api and Bean-Ops change), so the crash window stops linking to them, and Longshot gets a privacy page. ## What changed **`fix(crash)`: the Sent page links nowhere** - **Sent page:** "Sent. Thank you: the Longshot team has it. Only the team can read it." with **Done** alone. No **Open it**: a player can't open the private issue. - **Send page:** says only the team can read it, before **Send**. - **`crash_issue`:** gone from `nx2/addresses.ini`, the stamp `nx2/make_game.py` writes, and the helper. A stamp that still has it, or an older relay's `comment` link in the answer, is ignored. - **What's kept:** `bug-reports/sent/<record>` keeps the answer's status. The run's log line for a quiet send says `Sent. ...` instead of the link. - **Docs and tests:** `docs/dev/reference/crash-window.md` updated; `tests/test_crash_dialog.py` updated (no link, old stamp and old answer ignored). **`docs(privacy)`: a privacy page** - **The page:** `docs/user/privacy.md`, published at `/privacy/` and linked from the sidebar (About) and the footer. - **What it covers:** - each report (crash, failed build, performance statistics): when it's sent, what it holds, who reads it, how long it's kept (reports a year; statistics totals 30 days); - why (consent, to fix problems); - Cloudflare seeing the sender's IP; - what players post themselves; - the Test Farm's own page; - their rights, and [email protected]. - **What Longshot connects to** (`updates-and-saves.md`): now lists the crash and build reports and links the page. ## Depends on - **The relay switch.** Longshot-api's two commits (team-only issues, `REPORT_RETENTION_DAYS`) and the Bean-Ops switch to `MagicBeanDev/Longshot-reports`. Until that's live, the page and the window say "only the team" while reports still go to issue 81: **don't merge before the switch.** - **Matching changes:** launcher [#247](https://git.magicbean.dev/MagicBeanDev/LongshotLauncher/pulls/247) and Beanstalk [#138](https://git.magicbean.dev/MagicBeanDev/Beanstalk/pulls/138) say the same. ## Still to do before ready - [ ] **Run in the game:** not yet. Opened with `--force` at the maintainer's request. Needs one forced crash (`HOS_CRASH_TEST=start`), Report automatically, with the send to a stand-in for curl, to see the send and Sent pages. - [ ] **Tests:** written, not run on the author's PC (its rule); CI runs `tests/test_crash_dialog.py`. - [ ] **Facts on the page:** [email protected] has to exist. Access-log retention in Bean-Ops is unconfirmed: the page says only Cloudflare sees IPs. - [ ] **Legal read:** the legal-basis and "within a month" wording need a person's read. ## Measurements - **Game:** the crash helper only runs after a crash, so no effect on fps, frame time or memory. - **Build:** one line less in the stamp; no effect on build time or size. - **Website:** one page and two links. 🤖 Generated with [Claude Code](https://claude.com/claude-code)
The crash reports move off Longshot's public issue 81 to an issue only the team can read, so a link to it would not
open for the player. The Sent page now says the team has the report and only the team can read it, with Done alone;
the send page says so before Send. crash_issue goes from nx2/addresses.ini and the stamp: a stamp that still has it,
and an older relay's comment link in the answer, are ignored. The answer kept in bug-reports/sent/ is its status, and
the run's log line for a quiet send says Sent.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
docs(privacy): a privacy page: what Longshot sends, who reads it, how long it is kept, and how to have it removed
Some checks failed
CI / Python source checks (ubuntu-24.04, part 1/2) (pull_request) Has been skipped
CI / Python source checks (ubuntu-24.04, part 2/2) (pull_request) Has been skipped
CI / SPIR-V fixtures (global narrow load/store, direct surface atomics, F2I immediate) (pull_request) Has been skipped
Third-party parts / The same as upstream (pull_request) Has been skipped
Website / Website on Cloudflare (pull_request) Has been skipped
CI / Conventional Commit title (pull_request) Successful in 12s
Guide screenshots / Guide images and local UI source review (pull_request) Failing after 19s
CI / Workflow lint (actionlint) (pull_request) Successful in 19s
Third-party parts / As their notes say (pull_request) Successful in 20s
Website / Website on Cloudflare (pull_request_target) Has been skipped
CI / Website build and checks (pull_request) Failing after 43s
PR description / Description follows the template (pull_request_target) Failing after 10s
2ed89ab7e8
docs/user/privacy.md, published at longshot.magicbean.dev/privacy/ and linked from the sidebar and the footer: the
crash reports, failed build reports and performance statistics (when each is sent, what it holds, who reads it, how
long), why (consent, to fix problems), Cloudflare seeing the sender's address, what players post themselves, the Test
Farm's own page, the rights and [email protected]. What Longshot connects to now lists the crash and build reports
and links it.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Member

Possibly related, for context:

  • PR #251 feat(website): a report inbox for the launcher, filing reports as issues — Open report-inbox Worker changes report filing; coordinate routing/deployment.
  • issue #1093 Idea: Redact sensitive information from generated files — Open request about redacting sensitive data in generated files, including crash reports.
Possibly related, for context: - PR #251 feat(website): a report inbox for the launcher, filing reports as issues — Open report-inbox Worker changes report filing; coordinate routing/deployment. - issue #1093 Idea: Redact sensitive information from generated files — Open request about redacting sensitive data in generated files, including crash reports.
HumanBean changed title from WIP: fix(crash): crash reports are team-only, the Sent page links nowhere, and a privacy page says what is sent to fix(crash): crash reports are team-only, the Sent page links nowhere, and a privacy page says what is sent 2026-11-21 23:42:27 +00:00
HumanBean deleted branch fix/private-crash-reports 2026-11-21 23:42:39 +00:00
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
MagicBeanDev/Longshot!2163
No description provided.