Repository navigation
fix(attention): surface unconfirmed PR creation in Needs You #296
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
4 commits
Select commit
Hold shift + click to select a range
37ed610
task: Task B, Needs You, unknown PR creation outcome
shingonoide 3d27d1d
task: Task B, Needs You, unknown PR creation outcome (with review fixes)
shingonoide ea6b916
Show an undecided review before an unresolved PR creation
shingonoide ca150d5
Pin the undecided review over an older integration record
shingonoide File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
Oops, something went wrong.
Oops, something went wrong.
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.
Uh oh!
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Script executed:
Repository: BarraDev/slashit
Length of output: 27238
Register the delivery marker only for PR creation.
approve(create_pr: false)starts the delivery marker before recording the approval, then returns without starting a PR operation. A concurrentget_attention_summarycall therefore hidesPR creation outcome unknownwhile the approval-only call is in progress. This can temporarily remove an already-approved task from the backend Needs You summary.Keep the marker before
record_approvalwhencreate_pris true. That preserves active-PR suppression and the existing deletion-safety ordering.Suggested fix
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Confirmed. During an approval-only call (
create_pr: false), the delivery marker is registered before the approval is recorded, soget_attention_summarycan omit the "PR creation outcome unknown" reason until that call returns. The effect is transient and display-only: nothing is persisted from the marker, and the marker does not replace the Project-deletion protection, which holds through the Task lease and the checkout refusal. Protection for PR creation (create_pr: true) is unchanged.Decision: defer the correction. No change is made in this PR, so the approved head stays as reviewed. The conditional marker suggested here is a candidate fix and has not been applied or tested. This thread stays open as a documented deferred finding, and the follow-up is recorded in the engineering ledger.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@shingonoide Understood. The finding remains open as deferred. The conditional delivery marker is an untested candidate fix, not a change in this PR.
Thanks for clarifying the deletion protection. The Task lease and checkout refusal provide that protection; the delivery marker does not replace it.
Would you like a GitHub follow-up issue linked to this thread, or is the engineering ledger sufficient?
You are interacting with an AI system.