Skip to content

ci: skip LibreOffice on macOS jobs that do not need it - #170

Merged
SSFSKIM merged 3 commits into
masterfrom
ci-skip-unneeded-libreoffice
Oct 26, 2026
Merged

SSFSKIM merged 3 commits into
masterfrom
ci-skip-unneeded-libreoffice

Conversation

@SSFSKIM

@SSFSKIM SSFSKIM commented Oct 26, 2026 •

Copy link
Copy Markdown
Owner

Change

Pass skip: cask:libreoffice to ci-kit setup only on GitHub-hosted macOS when the composite libreoffice input is not true. The repository declaration is unchanged. Self-hosted Macs retain the full declaration presence check, including fresh Macs: default, packaged and macOS unit jobs can require LibreOffice without setting the per-group input. Linux behavior is unchanged.

Requirement routing

LIBREOFFICE_E2E is document presentations. Gate-plan sets each entry boolean, the hosted waiter serializes it as Hosted-LibreOffice, and the overlay validates the trailer and passes it to the shared setup. Both groups retain LibreOffice; document-app does not need it.

Verification

  • TDD: the added condition test failed on macOS/false before the wiring, then gate-plan.test.mjs passed 59/59, including the real hosted matrix.
  • Independent medium review: ci-kit clean; one MAWS finding (self-hosted callers without the group input) fixed in 52929b9a4. The added hosted/self-hosted regression failed first, then the focused planner file passed 59/59.
  • Prior class 1a static gate 40321212026 passed. Final class 1a static on 52929b9a4 is GREEN: 40321848598.
  • GitHub documents runner.environment as github-hosted or self-hosted; runner context is available in step with expressions. This composite already uses it in if and with. Hosted execution below is the runtime proof.
  • Dependency setup: let a job skip declared packages without changing its hash ci-kit#165 is merged and v1 is verified at 2b2c6bf. Separate document-app and presentations runs use --lane hosted on 52929b9a4. Both are GREEN; the positive control actually executed the LibreOffice comparison.
  • Baseline document-app run 40317059136: setup action 88 s; ci-kit environment 54.7 s; 20 passed.
  • Baseline presentations run 40299381768: setup action 149 s; ci-kit environment 89.4 s; actual LibreOffice comparison of 144 text boxes; 38 passed, 10 skipped.

Hosted omission proof

MAWS waiter 40321883732 → maws-app 40321988116, 20 passed. The log records Hosted-LibreOffice: false, input skip: cask:libreoffice, ci-kit setup: skipped cask:libreoffice, and installed brew:poppler in 25.3 s (no cask installed). This also proves runner.environment evaluated correctly inside the composite on the hosted image.

document-app Before After Difference
ci-kit environment (packages + script, before dependency install) 54.7 s 25.3 s −29.4 s
entire shared setup 88 s 71 s −17 s

These are single-run cold-host measurements, not a controlled benchmark. The whole e2e job was slower (4m49s → 6m54s), including a longer test phase (2.0m → 3.1m); no whole-job speedup is claimed. The avoidable cask install is conclusively absent.

Hosted LibreOffice positive control

MAWS waiter 40321887574 → maws-app 40322006143, 38 passed, 10 skipped, matching the baseline counts. Hosted-LibreOffice: true kept the skip empty; setup installed brew:poppler cask:libreoffice in 58.1 s, and the test logged [libreoffice compare] 144 text boxes. The rendering case did not silently skip.

presentations (still installs LibreOffice) Before After
ci-kit environment 89.4 s 58.1 s
entire shared setup 149 s 94 s

This control also shows substantial cold-host variability: its faster setup is not caused by omitting LibreOffice, which it still installs.

Landing

Ready for the MAWS architect to land: dependency released, final-head static green, both hosted controls green. This implementation agent will not merge it. The existing LibreOffice setup row in docs/tech-debt-tracker.md can be closed when this lands.

Sminos-Session: CI-opt#a45b97a3 (doperpowers on macbook)

Sminos-Session: CI-opt#a45b97a3 (doperpowers on macbook)
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Oct 26, 2026 •

Copy link
Copy Markdown

Codex Review Summary

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

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-10-26T12:16:06.038019Z 19dfe83 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.

Sminos-Session: CI-opt#a45b97a3 (doperpowers on macbook)
Sminos-Session: CI-opt#a45b97a3 (doperpowers on macbook)
@SSFSKIM
SSFSKIM merged commit 230834a into master Oct 26, 2026
SSFSKIM added a commit that referenced this pull request Oct 26, 2026
… unless their group needs it, PR #170; ci-kit's hosted-Mac M3 written up); tracker: the LibreOffice-cask row closed

Sminos-Session: GUI AI agent workspace charter#37052769 (MAWS on macbook)
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.

1 participant