chore: sync workflow templates - #5801
Conversation
Automated sync from stranske/Workflows Template hash: f74d65a1c283 Changes synced from sync-manifest.yml
|
Bugbot is not enabled for your account, so this pull request was not reviewed. Enable Bugbot in the Cursor dashboard to get automatic reviews on future PRs. |
|
Important Review skippedAuto reviews are limited based on label configuration. 🚫 Excluded labels (none allowed) (7)
Please check the settings in the CodeRabbit UI or the ⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: ASSERTIVE Plan: Pro Run ID: You can disable this status message by setting the Use the checkbox below for a quick retry:
Comment |
There was a problem hiding this comment.
Pull request overview
Syncs GitHub automation from stranske/Workflows into this consumer repo, adding/adjusting issue-automation workflows plus the shared issue-format validator and API retry helper that those workflows depend on.
Changes:
- Adds an issue format guard workflow and a pure-stdlib
.github/scripts/issue_format.pyvalidator to keepagents:formatted/agents:formatstate consistent and prevent formatting loops on closed/exempt issues. - Updates issue optimizer workflow behavior (run naming, concurrency grouping, recursion guard robustness, validator enforcement, and lease release on failure).
- Adjusts auto-label workflow to source the eligibility action from a dedicated checkout path; tweaks API retry logging to stderr.
Reviewed changes
Copilot reviewed 6 out of 6 changed files in this pull request and generated no comments.
Show a summary per file
| File | Description |
|---|---|
| .github/workflows/agents-issue-optimizer.yml | Improves optimizer run correlation/concurrency, recursion guard history window, enforces canonical issue-format validation, and releases agents:format on failed format runs. |
| .github/workflows/agents-issue-intake.yml | Prevents issue-intake bridge routing from running on closed issues. |
| .github/workflows/agents-issue-format-guard.yml | Introduces a guard workflow to validate issue bodies, clear stale labels, and dispatch the optimizer format phase when needed. |
| .github/workflows/agents-auto-label.yml | Checks out the eligibility action into a dedicated path and runs it from there before proceeding. |
| .github/scripts/issue_format.py | Adds the fleet-standard, pure-stdlib issue body validator used by the guard/optimizer to enforce AGENT_ISSUE_FORMAT. |
| .github/scripts/github-api-with-retry.js | Sends retry/backoff messages to stderr instead of stdout. |
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 4fe37a618d
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
| # after GitHub has already accepted the request. | ||
| dispatch_attempted_at=$(date -u +%Y-%m-%dT%H:%M:%SZ) | ||
| if ! gh workflow run agents-issue-optimizer.yml --repo "$GITHUB_REPOSITORY" \ | ||
| -f issue_number="$NUMBER" -f phase=format; then |
There was a problem hiding this comment.
Route incomplete issues to a phase that can supply content
When an issue genuinely lacks task or acceptance details, dispatching phase=format cannot repair it: scripts/langchain/issue_formatter.py:102-104 explicitly preserves missing sections as - [ ] _Not provided._, while the newly added validator rejects that placeholder because it has neither a concrete task target nor a verification gate (.github/scripts/issue_format.py:248-263). The format run therefore fails before updating the body, so the guard's primary missing-section scenario is left unchanged rather than routed to machinery that can generate the required content.
Useful? React with 👍 / 👎.
Sync Summary
Files Updated
Files Skipped
Review Checklist
Source: stranske/Workflows
Source SHA:
498dc15ae7672865a19d3b8343dfbfd8cc2c6851Template hash:
f74d65a1c283Consumer-sync plan ID:
sha256:f74d65a1c283af1e33a7e225469f80de9dc1dc57f15ca4462bb2494f70ddd62dSync phase:
canarySync branch:
sync/workflows-f74d65a1c283Consumer repo:
stranske/Trend_Model_ProjectManifest:
.github/sync-manifest.yml