fix: simplify force_mode - default to true, remove from template#648
fix: simplify force_mode - default to true, remove from template#648
Conversation
Root cause: Passing boolean inputs to reusable workflows was causing startup_failure in GitHub Actions. Simplify by: 1. Change force_mode default from false to true in reusable workflow 2. Remove force_mode from consumer template (uses default) This means all consumer repos will automatically use force_mode=true (respecting mode: create for issue events) without needing to explicitly pass the parameter. Fixes the startup_failure in all consumer repos.
Automated Status SummaryHead SHA: 2604ba6
Coverage Overview
Coverage Trend
Top Coverage Hotspots (lowest coverage)
Updated automatically; will refresh on subsequent CI/Docker completions. Keepalive checklistScopeNo scope information available Tasks
Acceptance criteria
|
🤖 Keepalive Loop StatusPR #648 | Agent: Codex | Iteration 0/5 Current State
🔍 Failure Classification| Error type | infrastructure | |
There was a problem hiding this comment.
Pull request overview
This PR simplifies the force_mode parameter handling to fix startup_failure issues in consumer repos caused by explicit boolean parameter passing in GitHub Actions workflow calls. The solution changes the default value of force_mode from false to true in the reusable workflow and removes the explicit parameter from the consumer template.
Key Changes:
- Changed
force_modedefault value fromfalsetotruein the reusable workflow - Removed explicit
force_modeparameter from consumer template (relies on default)
Reviewed changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.
| File | Description |
|---|---|
.github/workflows/reusable-agents-issue-bridge.yml |
Updated force_mode input default from false to true, ensuring the workflow respects the input mode parameter by default |
templates/consumer-repo/.github/workflows/agents-issue-intake.yml |
Removed explicit force_mode: ${{ true }} parameter that was causing startup failures, now relies on the reusable workflow's default value |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Automated Status Summary
Scope
Problem
Consumer repos are experiencing startup_failure when issues are labeled with
agent:codexbecause the template is usingmode: 'invite'withoutforce_mode, causing the reusable workflow to prevent automatic bootstrap PR creation.Root Cause
The reusable-agents-issue-bridge.yml workflow has logic (line 257-268) that overrides the mode to 'invite' for issue events, unless
force_mode: trueis explicitly set. This was intended to wait for human intervention, but it breaks the desired automatic PR creation workflow.Changes
Template file:
templates/consumer-repo/.github/workflows/agents-issue-intake.ymlContext for Agent
Design Decisions & Constraints
Related Issues/PRs
Blockers & Dependencies
Context for Agent
Design Decisions & Constraints
Related Issues/PRs
References
Blockers & Dependencies
Tasks
modefrom 'invite' to 'create' in bridge jobforce_mode: trueto override issue event defaultsAcceptance criteria
Head SHA: 3bf202b
Latest Runs: ❔ in progress — Gate
Required: gate: ❔ in progress