Skip to content

Report relay: also file AllHail and OverHeard problem reports - #59

Merged
BPMData merged 1 commit into
mainfrom
shared-report-relay
Nov 28, 2026
Merged

BPMData merged 1 commit into
mainfrom
shared-report-relay

Conversation

@BPMData

@BPMData BPMData commented Nov 28, 2026 •

Copy link
Copy Markdown
Owner

What

tools/report-relay.gs now relays "Something not working?" reports for AllAboard, AllHail and OverHeard through one code path (APPS table + appReport), instead of AllAboard only.

  • Same request shape AllAboard already sends: { app, kind: 'problem-report', token, issue: { title, body, labels }, email: { subject, body, replyTo? } }.
  • Each app has its own secret (ALLABOARD_TOKEN, ALLHAIL_TOKEN, OVERHEARD_TOKEN), so one app's secret can't send as another. Optional <PREFIX>_REPO and <PREFIX>_GITHUB_TOKEN per app.
  • Issues open in that app's repository; the email goes to the same inbox, sender " reports", subject prefixed [<App>] unless it already is.
  • checkSetup() reports each app as on/off and checks the token can reach its repository.
  • OverBoard's own board reports, limits (shared by all apps), thank-yous and checkForFixes are unchanged.
  • docs/REPORTS.md updated; version bumped to v58 per repo convention.

Before merging the app PRs

The live Apps Script must be updated by hand: add the script properties, paste this file, run checkSetup, then Deploy ▸ Manage deployments ▸ ✏️ ▸ New version (same URL). The app PRs (BPMData/AllAboard#96, BPMData/AllHail#20, BPMData/OverHeard#99) should merge after that.

Verification

  • Stub harness (Node, Apps Script services stubbed): all three apps accepted with their own secret and routed to their own repository; private email text never in the issue; one app's secret rejected for another; wrong/missing secret refused; unknown app refused; subject tag not doubled.
  • Browser tests run in CI (test.yml); they don't exercise the relay script.

🤖 Generated with Claude Code

The report script already filed AllAboard's "Something not working?"
reports. It now does the same for AllHail and OverHeard, so all four apps
share one script, one inbox and one GitHub key.

- Each app has its own secret (ALLABOARD_TOKEN, ALLHAIL_TOKEN,
  OVERHEARD_TOKEN), so one app can't send reports as another. An app whose
  secret isn't set is turned away, as before.
- Issues go to that app's repository (optional ..._REPO and
  ..._GITHUB_TOKEN properties change that).
- Email subjects start with [AllAboard], [AllHail] or [OverHeard].
- checkSetup says, for each app, whether its reports are on.
- AllAboard reports work exactly as before. Board reports are unchanged.

docs/REPORTS.md explains the setup.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@BPMData
BPMData merged commit 1c351e9 into main Nov 28, 2026
1 check passed
@BPMData
BPMData deleted the shared-report-relay branch November 28, 2026 03:38
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