Repository navigation
ci: repair publisher access and Dependabot required statuses - #5
Conversation
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configuration
📒 Files selected for processing (2)
Included review availability: This review used your included allowance. Your plan provides up to 1 included review per hour; 0 remain after this review. 📝 SummarySummary by CodeRabbit
WalkthroughA completion workflow validates completed Dependabot push runs for the Fast Forward Test Suite. It checks the latest run and PHP-version job results before publishing per-version commit statuses. The test workflow also gains Actions read permission. ChangesDependabot test status publishing
Priority: ➖ Normal Estimated code review effort: 3 (Moderate) | ~20 minutes Change: Feature Sequence Diagram(s)sequenceDiagram
participant CompletionWorkflow
participant GitHubActionsAPI
participant GitHubCommitStatuses
CompletionWorkflow->>GitHubActionsAPI: Fetch source run, latest runs, and job results
GitHubActionsAPI-->>CompletionWorkflow: Return validated run and job data
CompletionWorkflow->>GitHubCommitStatuses: Publish per-version success or failure statuses
Merge Risk: ⚪ Minimal · up to No actionable merge-blocking issue is established for this change. The permission update is mergeable after normal checks. 🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. A rabbit checks each run with care Comment |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 2404cd3eea
ℹ️ 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".
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 3661566919
ℹ️ 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".
The isolated per-version publisher introduced by DevTools #362 needs
actions: readin the caller's permission ceiling. GitHub validates this ceiling even when publication is disabled, so the current caller would fail before starting its jobs after adopting that workflow.This grants read access to workflow job metadata. The shared workflow keeps test execution jobs at
contents: read,actions: noneandstatuses: none; it reserves status writes for the separate publisher.Validation:
actionlint .github/workflows/tests.ymlandgit diff --checkpassed. A controlled GitHub caller with the old ceiling failed before creating jobs (negative case); changing only Actions read permission made the same pinned reusable workflow succeed (control). Library code, Dash artwork and README content are untouched. Merge this caller compatibility update before DevTools #362.The optional .github/workflows/test-statuses.yml bridge handles Dependabot push lifecycle events from the default branch, using verified GitHub Run/Jobs metadata without checkout, caches, artifacts or caller code. Active attempts reset pending; completed attempts publish actual terminal results. The final code prevents old successes after full-rerun prerequisite failures, closes missing matrix jobs in failed/canceled runs as failures, preserves legitimate partial retries, rejects additional observed versions, and rechecks source metadata before every POST. The complete PHP 8.3/8.4/8.5 contract is explicitly configured for this repository; normal dev-tools:sync does not auto-install the optional source template. PHP 8.4 and 8.5 each passed 130 scenarios / 1,130 assertions (2,260 total). Real lifecycle activation awaits default-branch installation. The test caller's existing Statuses-write ceiling is retained; Actions-read is added for the isolated shared publisher. Deploy this compatibility PR before dev-tools#362, then deploy the ten newly enabled library callers.