Repository navigation
Automate fixes for reproduced bugs with retained context - #21079
Conversation
| PARENT_PULL_REQUEST: ${{ inputs.parent-pull-request }} | ||
| REPRODUCTION_RESULT: ${{ inputs.reproduction-result }} | ||
| run: | | ||
| mkdir -p "$RUNNER_TEMP/codex-home" |
There was a problem hiding this comment.
Nitpick: I'd love it if we could lift these big run: blocks into dedicated scripts, if only so we can shellcheck/lint/etc. them more consistently 😅
There was a problem hiding this comment.
Yeah I think in this case we can, in others we can't as we want to run the workflow/script/prompt from a specific branch (like main).
I think a larger refactor to address these is probably best since it will be case-by-case for all the automations.
There was a problem hiding this comment.
Yeah I looked into this and that's a blocker.
We can write actions though and invoke them that way, e.g., astral-sh#546 there's a big stack of them in uv-dev that just need to be driven forward.
There was a problem hiding this comment.
Oh it looks like @ewdurbin picked a couple of those into here
There was a problem hiding this comment.
It's also plausible we'll write these in Python or something in the future
There was a problem hiding this comment.
Makes sense. I'm fine with it as-is, just flagging as something that might be nice when we iterate further later!
|
If you're happy with this, I'm happy to ship and iterate without close review |
missed policy for sts in #21079
…1079) This extends our automations for issue triage to take reproducible bugs with a regression-test and attempt to generate a PR fixing the issue. - Context from the issue triage and reproduction are carried over into the job to attempt to fix the bug - The issue branch is updated with details on the fix attempt and result - If a fix is proposed, a draft PR is opened stacked on the regression test PR This also introduces re-usable actions for loading the issue context and codex thread from another workflow. --------- Co-authored-by: Ee Durbin <[email protected]> Co-authored-by: Zanie Blue <[email protected]>
missed policy for sts in astral-sh#21079
This extends our automations for issue triage to take reproducible bugs with a regression-test and attempt to generate a PR fixing the issue.
This also introduces re-usable actions for loading the issue context and codex thread from another workflow.