Repository navigation
Document /random in server.py's docstring and the /hall 301 in README - #100
Merged
Merged
Conversation
A documentation accuracy sweep against the source found three gaps: server.py's module docstring lists every play.<base> route except /random, the comment over GET /api/games names ?tag=, ?org= and ?engine= but not ?q=, which filters.Filter.parse also takes, and README does not say that /hall answers 301 to /hall/ keeping the query (pinned by test_hall_redirects_to_its_directory_keeping_the_query). Co-Authored-By: Claude Opus 5.5 <[email protected]>
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Member
Author
|
Self-review rubric (an inline self-review: the author and the reviewer are the same session, so this is not an independent review):
Findings:
Summary: the PR is docs-only, so the regression gate does not apply. It meets the merge bar. This review comment was drafted during a Gardener session (https://github.com/Stephenson-Software/gardener). drafted by Claude on behalf of Daniel Stephenson |
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.
Summary
Stage A documentation accuracy sweep. README's host, route, API, configuration and CLI tables, the Dockerfile
ENVdefaults, the usage-reporting section and theserver.pymodule docstring were each checked against the source. The configuration table, the API status codes, the CLI examples and the Dockerfile defaults were all found to match. Three gaps were found and fixed:src/arcade/server.pymodule docstring: the list ofplay.<base>routes left out/random(the 302 to a random deployed game). It has been added.src/arcade/server.pycomment aboveGET /api/games: it named?tag=,?org=and?engine=but not?q=, whichfilters.Filter.parsealso takes and README documents.?q=has been added./hallto/hall/(the query is kept) was not mentioned. A sentence has been added. The behavior is pinned bytest_hall_redirects_to_its_directory_keeping_the_query.No behavior changes, so no CHANGELOG entry was added.
__version__is unchanged.black --check src/arcade/server.pyalready reports pre-existing formatting drift onmain(the longfrom arcade import …line and several others). None of it is on lines this PR touches, so it has been left for a formatting-only sweep, per the scope rule.Skipped issues
server.py's upload path, which only the maintainer reviews..gzrequest is labelled with the original's type): this needs a maintainer decision between three options.Test plan
python3 -m pytest -q: 553 passed, 13 skippedcheck-registry examples/games.yaml: 1 game(s) OKNo tracking issue: the gaps were found during this cycle's documentation sweep.
This PR description was drafted during a Gardener session (https://github.com/Stephenson-Software/gardener).
drafted by Claude on behalf of Daniel Stephenson
🤖 Generated with Claude Code