fix: enable automatic PR creation for agent:codex labels#4266
fix: enable automatic PR creation for agent:codex labels#4266
Conversation
Root cause: The workflow was using mode: 'invite' without force_mode, causing the reusable workflow to ignore the mode and prevent automatic bootstrap PR creation when issues are labeled with agent:codex. Changes: - Change mode from 'invite' to 'create' in bridge job - Add force_mode: true to override issue event defaults This matches the fix from Workflows repo commit bd48949 (PR #606) which resolved the same startup_failure issue in other consumer repos. Fixes #4185
There was a problem hiding this comment.
Pull request overview
This PR fixes automatic bootstrap PR creation for issues labeled with agent:codex by updating the workflow configuration to properly override the default behavior for issue events.
Key Changes
- Changed the
modeparameter from "invite" to "create" in the bridge job - Added
force_mode: trueto override the hardcoded mode behavior for issue events
|
Status | ✅ no new diagnostics |
🤖 Keepalive Loop StatusPR #4266 | Agent: Codex | Iteration 0/5 Current State
🔍 Failure Classification| Error type | infrastructure | |
|
Closing this PR as the fix needs to be made in the Workflows repo template instead, which will then sync to all consumer repos. The correct fix has been submitted here: stranske/Workflows#646 Once that PR is merged and synced, this repository (along with all other consumer repos) will automatically get the fix that enables automatic PR creation when issues are labeled with agent:codex. Related: #4185 |
Root Cause
The workflow was using
mode: 'invite'withoutforce_mode, causing the reusable workflow to ignore the mode parameter and prevent automatic bootstrap PR creation when issues are labeled withagent:codex.From the reusable workflow code (line 257-268), when the event is 'issues', the mode is hardcoded to 'invite' unless force_mode is enabled.
Changes
force_mode: trueto override issue event defaultsThis matches the fix from Workflows repo commit bd48949 (PR stranske/Workflows#606) which resolved the same startup_failure issue in other consumer repos.
Testing
After this fix:
agent:codex, the workflow will automatically create a bootstrap PRFixes #4185
Automated Status Summary
Scope
Summary
Tasks
[app]extras works during image buildAcceptance criteria
./scripts/run_streamlit.sh --help(bootstrap cancelled)pytest -q(6 failed, 444 passed)Head SHA: e8d439c
Latest Runs: ❔ in progress — Gate
Required: gate: ❔ in progress