Repository navigation
fix(land): screen only the PRs a batch reaches #335
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
2 commits
Select commit
Hold shift + click to select a range
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
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,9 @@ | ||
| --- | ||
| name: quest-close | ||
| description: Abandon a quest or PR. | ||
| --- | ||
|
|
||
| Abandon the specified quest. | ||
|
|
||
| If the quest has an open PR, repurpose it, otherwise make a new PR. | ||
| Delete the quest file and merge. |
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,19 @@ | ||
| --- | ||
| name: quest-merge | ||
| description: Merge a GitHub PR once reviews and CI pass. | ||
| --- | ||
|
|
||
| Land a pull request. | ||
| If unsure about any course of action, interactively prompt the user for guidance. | ||
| Continue any non-blocking tasks asynchrnously. | ||
|
|
||
| - Parse the arguments to determine the PR number, otherwise resolve it from the current context/branch. | ||
| - Fix any issues with the PR, such as merge conflicts and failing CI checks. | ||
| - If a draft, flip it to "Ready for Review" then wait for at least one automated review to complete. Never wait on CodeRabbit. | ||
| - Fix any review feedback you agree with, and leave a comment if you disagree. Don't wait for another review round after narrow fixes. | ||
|
|
||
| If everything looks good, leave a summary of the changes made, then enable auto-merge with the full 40-character head SHA. | ||
| Enable it only once every open decision is resolved: prompt the user for each with your recommendation, or, as a background agent, list them in your report. | ||
| Record the outcome as a PR comment when it isn't already in the PR: each decision and its reason, and any follow-up the user declined. | ||
| When done, explain the result in a few lines and offer any follow-ups as a multi-select. | ||
| Never close a PR to unstick it, and never work around a refused merge; ask instead. |
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
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
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.
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.
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: moq-dev/quest
Length of output: 7846
Script executed:
Repository: moq-dev/quest
Length of output: 38340
Script executed:
Repository: moq-dev/quest
Length of output: 14358
Count eligible earlier PRs toward the four-PR overlap limit.
When a fresh PR is reached with at least five earlier entries, the helper limits the queue entries before excluding base conflicts and
quest checkfailures. An eligible fifth entry can therefore be omitted, leaving a conflict with that PR unreported. Collect eligible earlier entries in enqueue order and stop after four.Suggested fix
Committable suggestion