Skip to content

Report script can also file AllAboard's problem reports (v55) - #56

Merged
BPMData merged 3 commits into
mainfrom
claude/allaboard-reports
Nov 24, 2026
Merged

BPMData merged 3 commits into
mainfrom
claude/allaboard-reports

Conversation

@BPMData

@BPMData BPMData commented Nov 24, 2026 •

Copy link
Copy Markdown
Owner

Before: the report script only accepts OverBoard's board reports. AllAboard would need its own Google script, deployment and GitHub key to file reports automatically.

After: the same script also takes AllAboard's "Something not working?" reports (BPMData/AllAboard PR 62). Each one opens an issue in the AllAboard repository (label user-report) and emails the private part to the reports inbox with [AllAboard] in the subject. No thank-you or follow-up emails for these.

AllAboard reports come from AllAboard's server, not a browser, and must carry a shared secret (ALLABOARD_TOKEN script property). Until that property is set, the script turns them away, so merging this changes nothing on its own. OverBoard reports work exactly as before. The script only runs once it's pasted into Apps Script and redeployed; merging doesn't change the live relay.

How

  • doPost sends app: 'AllAboard' posts to a new allAboardReport(): checks the secret (constant-time compare), uses the shared underLimit() (20/hour, 40/day across both apps), opens the issue with ALLABOARD_GITHUB_TOKEN or GITHUB_TOKEN in ALLABOARD_REPO (default BPMData/AllAboard), retries without labels if GitHub refuses the label, emails the inbox with Reply-To when the reporter left an email. Never stores a contact: entry, so the daily fix check is untouched.
  • checkSetup also checks the token can reach the AllAboard repo when AllAboard reports are on.
  • docs/REPORTS.md: new "AllAboard reports (optional)" section with the setup steps. CHANGELOG entry.
  • Version v54 → v55, python3 tools/build.py run. main (with PR 55) merged in and the generated files rebuilt.

Tested: ran the script in Node with stubbed Google services: wrong or missing secret refused, a good report opens one issue and sends one email with the issue number and Reply-To, a refused label retries without labels, OverBoard's path still answers as before. Not tested against real Google/GitHub; that's the test report in the setup steps.

🤖 Generated with Claude Code

AllAboard's server can now send its 'Something not working?' reports to the
same Google script. They need a shared secret (ALLABOARD_TOKEN), open an issue
in the AllAboard repository and email the reports inbox. Off until that secret
is set. OverBoard reports work exactly as before.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Ubuntu 24.04 because Playwright 1.56 can't install Chromium on 26.04, which
ubuntu-latest now is (the same fix as PR 55).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@BPMData BPMData changed the title Report script can also file AllAboard's problem reports Report script can also file AllAboard's problem reports (v55) Nov 24, 2026
…de/allaboard-reports

# Conflicts:
#	CHANGELOG.md
#	app/index.html
#	app/report/index.html
#	app/sw.js
#	app/version.json
#	index.html
#	overlay/ink_overlay.html
@BPMData
BPMData merged commit a044d1a into main Nov 24, 2026
1 check passed
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.

2 participants