Repository navigation
fix(github): refuse an issue read that answers for another issue - #7336
Merged
Merged
Conversation
A read of an issue by its number can answer with another issue: GitHub redirects the read of a transferred issue. The store compares the number and the repository of the answer with the request. An answer that names another issue is no issue of the repository: a read gives None, a write that reads the issue first raises before any write request, and the listing and the brain drop the record of the number. Refs #7331
Owner
Author
|
Local checks at the head commit
Scope notes:
|
Owner
Author
Check resultsHead commit:
Skipped check: Test Job Duration |
dan-petty
marked this pull request as ready for review
November 26, 2026 20:13
Owner
Author
|
Review of the coordinator, 2026-11-26, at e771c35.
Left for a follow-up item: a round still fails one time for such an item before the lane drops it, and a round whose first read of the number is its comments fails at each round until the next full read. A row must leave the item and go on with the other items. |
dan-petty-release Bot
added a commit
that referenced
this pull request
Nov 26, 2026
🤖 I have created a release *beep* *boop* --- ## [0.223.2](v0.223.1...v0.223.2) (2026-11-26) ### Bug Fixes * **ci:** publish a release only after its files are attached ([#7339](#7339)) ([8735301](8735301)) * **github:** refuse an issue read that answers for another issue ([#7336](#7336)) ([ff6c0cc](ff6c0cc)) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please). Co-authored-by: dan-petty-release[bot] <346998822+dan-petty-release[bot]@users.noreply.github.com>
This was referenced Nov 26, 2026
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.
A read of an issue by its number can answer with another issue: GitHub redirects the read of a transferred issue. The store took that answer as the issue that it asked for.
GitHubRoadmapStorenow compares the number and the repository of each such answer with the request. An answer that names another issue is no issue of the repository, as a missing one. A read gives None. A write that reads the issue first raisesGitHubOperationErrorbefore any write request. The store logs a warning with the requested number.The store drops the record of such a number from its listing and from the brain.
IncrementalListingleaves the record out of the later reads of its lane, until GitHub lists the number again or until the next full read. So no row of that lane selects the number again. Each other lane drops the record at its own first read of the number.Closes #7331
Change:
openspec/changes/archive/2026-11-26-7331-refuse-issue-read-for-another-issue/