Repository navigation
Report script can also file AllAboard's problem reports (v55) - #56
Merged
Merged
Conversation
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>
…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
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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_TOKENscript 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
doPostsendsapp: 'AllAboard'posts to a newallAboardReport(): checks the secret (constant-time compare), uses the sharedunderLimit()(20/hour, 40/day across both apps), opens the issue withALLABOARD_GITHUB_TOKENorGITHUB_TOKENinALLABOARD_REPO(defaultBPMData/AllAboard), retries without labels if GitHub refuses the label, emails the inbox with Reply-To when the reporter left an email. Never stores acontact:entry, so the daily fix check is untouched.checkSetupalso 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.python3 tools/build.pyrun. 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