Repository navigation
Bug reports from a device README's Requirements excludes get a label and one comment pointing there - #462
Closed
v0lumehi wants to merge 2 commits into
Closed
Bug reports from a device README's Requirements excludes get a label and one comment pointing there#462v0lumehi wants to merge 2 commits into
v0lumehi wants to merge 2 commits into
Conversation
This was referenced Oct 27, 2026
v0lumehi
force-pushed
the
issue-device-check
branch
2 times, most recently
from
October 28, 2026 01:57
d536bce to
202117c
Compare
…sks for it The supported devices were spread over four places: a sentence under the games gallery (iPhone and iPad), the packing steps (the build Mac), the Mac play section, and CONTRIBUTING.md. Questions from devices outside them keep coming in as issues (seedds#165, seedds#8, seedds#4, seedds#54). README gets a short Requirements section after its introduction: a table for playing on an iPhone or iPad, playing on a Mac, and building a game, and one paragraph on what is out of scope here and why (a second rendering path that every change has to keep working), with forks welcome and a change starting as an issue. The sentence under the gallery and CONTRIBUTING.md's supported devices now link to it. The bug report form asks, as a required checkbox, whether the device and the build Mac meet the requirements. Checked: test_docs passes (links and anchors), and the form's YAML parses.
A new bug report whose Device and OS field clearly names an Intel Mac, a Mac or iPhone/iPad on an OS below 26, an iPhone before the 15 Pro or an iPad with an A-series chip gets the unsupported device label and one friendly comment pointing to the Requirements table. Ambiguous or missing devices do nothing. The detector is dm/tools/issue_device_check.py; the workflow runs on opened issues and reads the event file, never the issue text in a run line.
v0lumehi
force-pushed
the
issue-device-check
branch
from
October 28, 2026 08:57
202117c to
89718de
Compare
Owner
|
Thanks for putting together the device-check script and careful test cases, @v0lumehi. We're closing this PR because |
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.
What and why
Stacked on #446, which adds README's Requirements section and the bug form's Requirements checkbox. The first commit here is #446's; review only the last one,
7c82e838.Bug reports from devices outside the Requirements keep coming in: Intel Macs, older iPhones, iOS below 26. Each costs a round of questions before it turns out the device is the cause. This adds a workflow that answers those cases on its own, deterministically, without closing anything:
dm/tools/issue_device_check.pyreads the form's "Device and OS" field. If the field clearly names an unsupported device, the issue gets theunsupported devicelabel and one comment that links README's Requirements and says what it read. The workflow creates the label if it's missing.$GITHUB_EVENT_PATH, so no issue text reaches arun:line. The device it quotes back is put in inline code, cut to 80 characters, with backticks replaced, so mentions and links in it do nothing. Permissions:issues: write,contents: read.openedonly, so a later edit doesn't add a second comment. The comment starts with<!-- device-check -->, and a re-run of the job skips if that marker is already there.The comment, for example:
Not read on purpose:
@seedds: whether a bot should answer at all, and the comment's wording, are your call. The label alone would also work, and so would a comment without the label.
Checked
dm/tools/tests/test_issue_device_check.py. It runs a table of device texts: every flagged case, supported ones (M1 to M5 Macs, iPhone 15 Pro and later, 16e, M-series iPads), mixed case and extra words, ambiguous texts, and a body without the field. All pass.test_docs: OK.actionlintwas not available.main.Docs
CONTRIBUTING.md(Supported devices) anddocs/development.md