Skip to content

ci: collapse CI into one ci-ok job and fix ci-retro tiny-job advice - #22

Merged
justcarlson merged 1 commit into
mainfrom
chore/consolidate-ci-ok-job
Nov 28, 2026
Merged

justcarlson merged 1 commit into
mainfrom
chore/consolidate-ci-ok-job

Conversation

@justcarlson

Copy link
Copy Markdown
Owner

Summary

CI booted four VMs per PR and ci-retro told teams to move tiny jobs onto hosted runners, which bills a 1-minute floor each. CI is now one ci-ok job, and the skill says to fold tiny jobs into an existing self-hosted job.

 .github/workflows/
-  ci.yml       validate-skills + privacy-and-secrets + lint-and-test + ci-ok  (4 VMs, 4 checkouts)
-  pr-body.yml  lint                                                            (1 VM)
+  ci.yml       ci-ok                                                           (1 VM, 1 checkout)
  • The PR-body lint runs as a step in ci-ok. It reads the validator from skills/pr/templates/pr-body.yml, so there is one source. ci.yml also runs on edited so a body fix re-checks.
  • The shellcheck install step is gone: ubuntu-24.04 ships it.
  • push: branches: [main] is gone.
  • validate_skills.py now checks that ci.yml uses the template, in place of the old byte-for-byte copy check.
  • file-pr gets a pre-flight check of the body shape.

Closes #21

Evidence

Before: four ci.yml jobs plus a separate pr-body workflow; ci-retro advised hosted runners for tiny jobs.

After: one ci-ok job on ubuntu-24.04; ci-retro warns about the hosted 1-minute minimum. The main ruleset already requires ci-ok only.

Proof packet

Task: jstack #21: collapse CI into one ci-ok job, fix ci-retro tiny-job rule
Head: cde3e41 · Level: L1 reached, L1 required · PASS

Id Level Evidence Result
s1 L1 python3 scripts/validate_skills.py exit 0, 35 B, log sha256 d9ab6e9cb21a
s2 L1 python3 scripts/check_privacy.py --all exit 0, 61 B, log sha256 5c2f62b12944
s3 L1 uvx ruff@0.17.3 check --isolated scripts tests exit 0, 19 B, log sha256 82b3e6a6c090
s4 L1 uv run --no-project --with pytest==9.0.1 --with pyyaml==6.0.3 pytest -q tests/ exit 0, 341 B, log sha256 182d30396fcb
s7 L1 shellcheck install.sh skills/omarchy-dev/scripts/omarchy-vm exit 0, 0 B, log sha256 e3b0c44298fc
s8 L1 actionlint -config-file .github/actionlint.yaml .github/workflows/ci.yml skills/omarchy-d… exit 0, 0 B, log sha256 e3b0c44298fc

Merge Danger

Door: two-way

Blast Radius: CI only

The required check keeps the name ci-ok. Docs-only changes to skills still run the full job.

Created with Claude Sonnet 5.5 in Claude Code.

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 28, 2026 •

Copy link
Copy Markdown
Codex Review Summary: ✅ Completed

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-28T23:49:35.489311Z cde3e41 PR opened
ℹ️ 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" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: cde3e418ff

ℹ️ 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".

Comment thread skills/file-pr/SKILL.md
Comment on lines +48 to +50
body that misses this. To run the exact CI check, extract the `python3`
heredoc from `skills/pr/templates/pr-body.yml` and run it with the body in
`PR_BODY`.

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge Include the pr skill in file-pr's installation dependencies

When users install only file-pr (including through takeover), the new local-check instructions reference a template that is not installed. scripts/install.py still resolves file-pr to only babysit-pr, file-pr, and leaving-pr-comments, while the validator lives in the separate pr skill. This leaves selective installations unable to run the prescribed CI check without finding the original checkout or manually installing another skill. Add pr to file-pr's dependency list so the referenced validator accompanies the skill.

Useful? React with 👍 / 👎.

@justcarlson
justcarlson merged commit 347f78d into main Nov 28, 2026
1 check passed
@justcarlson
justcarlson deleted the chore/consolidate-ci-ok-job branch November 28, 2026 23:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Update ci-retro tiny-job runner rule, add file-pr body preflight, and collapse CI into one job

1 participant