Overview
This tracking issue addresses the critical bug identified in the Safe Output Health Report where create_pull_request safe output jobs are failing due to missing environment variable propagation.
Source: Discussion #7018 - Safe Output Health Report (December 19, 2024)
Problem Statement
The GH_AW_WORKFLOW_ID environment variable is required by create_pull_request safe output jobs to generate unique branch names, but this variable is not being propagated from the agent job context to the safe_outputs job context, causing a 100% failure rate for PR creation operations.
Impact:
- 0% success rate for
create_pull_request operations (2/2 failures)
- Affects
security-fix-pr workflow and potentially others
- Overall safe output success rate: 95.92%
Planned Tasks
This work is broken down into the following sub-issues:
- Fix
GH_AW_WORKFLOW_ID environment variable propagation to safe_outputs job
- Create environment variable manifest for all safe output job types
- Add validation for required environment variables in safe output jobs
- Add integration tests for safe output job configurations
- Document environment variable requirements for safe output jobs
Success Criteria
References
AI generated by Plan Command for discussion #7018
Overview
This tracking issue addresses the critical bug identified in the Safe Output Health Report where
create_pull_requestsafe output jobs are failing due to missing environment variable propagation.Source: Discussion #7018 - Safe Output Health Report (December 19, 2024)
Problem Statement
The
GH_AW_WORKFLOW_IDenvironment variable is required bycreate_pull_requestsafe output jobs to generate unique branch names, but this variable is not being propagated from the agent job context to thesafe_outputsjob context, causing a 100% failure rate for PR creation operations.Impact:
create_pull_requestoperations (2/2 failures)security-fix-prworkflow and potentially othersPlanned Tasks
This work is broken down into the following sub-issues:
GH_AW_WORKFLOW_IDenvironment variable propagation to safe_outputs jobSuccess Criteria
create_pull_requestsafe output jobs achieve >95% success rateReferences