Add immutable read-only Sol Terra Luna trial runner - #2749
Conversation
Workflow source neededPR #2749 needs either a linked GitHub issue or one valid non-issue Workflow Source before PR metadata automation can manage it safely. Please do one of:
Once a valid source is present, this warning will not be reposted. |
|
Warning Review limit reachedYou’ve reached a temporary PR review limit under our Fair Usage Limits Policy. Next review available in: 35 minutes Your organization has reached its usage spending cap. Adjust your spending cap in the billing tab. How can I continue?After more reviews become available, a review can be triggered using the To avoid repeated limits, reduce automatic review volume by pausing incremental auto-reviews earlier, using label-based review opt-in, excluding WIP or generated PR titles, or requesting reviews manually when the PR is ready. If your team needs uninterrupted high-volume reviews, an organization admin can enable usage-based reviews. How do review limits work?CodeRabbit enforces per-developer PR review limits for each organization. Most developers receive the normal plan review availability. For paid Pro and Pro+ PR reviews, CodeRabbit uses adaptive limits for sustained high-volume activity. When a developer's recent PR review activity reaches the 95th percentile or higher among CodeRabbit users, additional reviews become available more gradually as earlier reviews age out of the rolling window. Please refer docs for additional details. Review details⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: ASSERTIVE Plan: Pro Run ID: 📒 Files selected for processing (20)
✨ Finishing Touches🧪 Generate unit tests (beta)
Comment |
Automated Status SummaryHead SHA: d4be96a
Coverage Overview
Coverage Trend
Top Coverage Hotspots (lowest coverage)
Low Coverage Files (<50.0%)
Updated automatically; will refresh on subsequent CI/Docker completions. Keepalive checklistScopeNo scope information available Tasks
Acceptance criteria
|
There was a problem hiding this comment.
Pull request overview
This PR adds a new “model-profile trial” execution surface to the Workflows automation stack: a Workflows-only manual workflow_dispatch shim that calls an immutable, read-only reusable runner to execute exactly one Sol/Terra/Luna trial arm and emit a strict quarantine artifact.
Changes:
- Add
agents-model-profile-trial.yml(manual shim) plusreusable-model-profile-trial.yml(immutable read-only runner) and a deterministic Python contract helper to validate/emit the quarantine artifact. - Extend the agent registry (Workflows + consumer template) with a dedicated
model_profile_trial_contractand Sol/Terra/Luna trial execution profiles pinned to a specific reusable-workflow SHA. - Add focused tests and documentation updates to keep workflow inventory, naming, and contract guarantees aligned.
Reviewed changes
Copilot reviewed 17 out of 17 changed files in this pull request and generated 1 comment.
Show a summary per file
| File | Description |
|---|---|
| tests/workflows/test_workflow_naming.py | Registers display names for the new shim + reusable workflow in the naming inventory test. |
| tests/workflows/test_model_profile_trial_workflows.py | New tests asserting the shim is single-arm + pinned, and the runner stays read-only with strict artifact semantics. |
| tests/scripts/test_model_profile_trial_contract.py | New unit tests for the deterministic contract helper (profile resolution + artifact emission). |
| templates/consumer-repo/.github/agents/registry.yml | Adds trial contract + pins Sol/Terra/Luna execution profiles to the immutable reusable ref. |
| scripts/validate_workflow_yaml.py | Exempts the pinned reusable ref line prefix from line-length checks. |
| scripts/validate_template_completeness.py | Marks agents-model-profile-trial.yml as Workflows-only (excluded from consumer templating checks). |
| scripts/model_profile_trial_contract.py | New deterministic validator/emitter for the read-only trial contract + quarantine artifact schema. |
| README.md | Documents the new reusable and the model-profile canary workflow at a high level. |
| docs/WORKFLOW_GUIDE.md | Adds the new shim + reusable runner to the workflow topology guide and descriptions. |
| docs/ci/WORKFLOWS.md | Documents the new reusable runner and shim in the CI/workflow inventory. |
| docs/ci/WORKFLOW_SYSTEM.md | Updates the system overview/topology tables to include the new workflows. |
| .github/workflows/reusable-model-profile-trial.yml | New reusable workflow implementing the pinned, read-only trial runner and artifact upload. |
| .github/workflows/README.md | Adds the model-profile trial to the workflows-layer overview. |
| .github/workflows/agents-model-profile-trial.yml | New manual workflow_dispatch shim that forwards frozen inputs to the pinned reusable runner. |
| .github/scripts/tests/agent-registry.test.js | Updates registry resolution tests for the new trial runner fields/values. |
| .github/agents/registry.yml | Adds trial contract + pins Sol/Terra/Luna execution profiles to the immutable reusable ref. |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 42f63468e1
ℹ️ 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".
Summary
workflow_dispatchshim backed by an immutable reusable runnerlifecycle: trialfrom ordinary Keepalive/agent executionSafety contract
822e323eefba3edb640e0bd9c922caec6fffee65expected_source_shamust equal current remotemainbefore auth, and every third-party Action in the trial runner is pinned to a full SHAmainhistoryVerification
git diff --checkpassed