Conversation
Automated Status SummaryHead SHA: a02cc34
Coverage Overview
Updated automatically; will refresh on subsequent CI/Docker completions. Keepalive checklistScopeNo scope information available Tasks
Acceptance criteria
|
|
Keepalive loop status for PR #108
|
There was a problem hiding this comment.
Pull request overview
This PR adds a test workflow to diagnose issues with reusable workflow calls not creating jobs. It provides a minimal, manually-triggerable workflow that directly calls the reusable-codex-run.yml workflow.
- Adds a new workflow_dispatch-triggered workflow for testing the Codex reusable workflow
- Implements a preflight job to check secret availability before execution
- Includes a summary job to report results of the test run
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
| run: | | ||
| echo "CODEX_AUTH_JSON present: $HAS_CODEX_AUTH" | ||
| echo "WORKFLOWS_APP_ID present: $HAS_APP_ID" | ||
| echo "secrets_ok=true" >> "$GITHUB_OUTPUT" |
There was a problem hiding this comment.
The preflight job always sets secrets_ok=true regardless of whether the secrets are actually present. This means the test-codex job will always run even if the required secrets are missing, which may not provide useful test results. Consider adding conditional logic similar to the production workflow to only set secrets_ok=true when at least one of the required secrets is present, or document that this is intentional for testing purposes.
| echo "secrets_ok=true" >> "$GITHUB_OUTPUT" | |
| if [ "$HAS_CODEX_AUTH" = "true" ] || [ "$HAS_APP_ID" = "true" ]; then | |
| echo "secrets_ok=true" >> "$GITHUB_OUTPUT" | |
| else | |
| echo "secrets_ok=false" >> "$GITHUB_OUTPUT" | |
| fi |
5106008 to
43fc329
Compare
Test workflow to debug why reusable workflow calls aren't creating jobs.
This is a minimal workflow with workflow_dispatch trigger to test the reusable-codex-run.yml directly.