Skip to content

MR-34: retire the cross-repo machinery - #806

Closed
michaeljgrimm wants to merge 3 commits into
codex/mr-50-docsfrom
codex/mr-34-retire
Closed

michaeljgrimm wants to merge 3 commits into
codex/mr-50-docsfrom
codex/mr-34-retire

Conversation

@michaeljgrimm

Copy link
Copy Markdown
Contributor

MR-34 of the monorepo program (plan section 2). Draft. Base is codex/mr-50-docs (#805, itself on codex/mr-40-release); nothing was published, tagged or pushed to main.

Deleted (git grep evidence: nothing live reads these)

  • Workflows: ecosystem-roll, candidate-gallery-qualification, published-gallery-control, release-train, cli-publish, opf-ci, ecosystem-ci, cli-windows, engines-range, flake-repeat, published-matrix, installed-parity. Actions: candidate-gallery, candidate-gallery-stage, paths-changed. What remains: ci, nightly, slow-checks, golden, release, npm-publish, bump-sites, tracker-refresh (actionlint 1.7.12 clean; ci-workflows.test.mjs now pins the list).
  • Roller and coordinated CI: ecosystem-roll, ecosystem-scope, package-ecosystem-plan, test-package-ecosystem, ci-diet.test (its timeout rule moved into ci-workflows.test); the guard mode of ecosystem-lock.mjs.
  • Candidate-gallery lanes (candidate-gallery*.mjs, pack-cli-candidate, the CANDIDATE_GALLERY_REF paths in pack-ecosystem, furniture-gallery, test-packed-*, CLI files.mjs), published control, requiresUnreleasedCore and the RR-55 gates (unreleased-gate, registry-sibling-gate, render and PPTX published-core-gate with their tests and the packed-bundle skip), release-train, release-prep, ci-evidence (+ json), publish-source, measurement-policy and its fixture, release-plan.json, release-plan-cli, docs/pr-gate-reruns.md, stray .rp.mjs and two committed test:packed*.log files.
  • Sibling-checkout scripts: link-ecosystem (shrunk, below), test-ecosystem-links, all review-*, audit-svg-contrast, font-shaping-probe/, measure-font-candidates, measure-font-replacements, qualify-latin-fonts, probe-furniture-reimport, run-rich-text-browser, test-editor-lazy-fonts, test-editor-publication, test-pptx-publication, test-renderer-publication, build-registry-gallery-editor (and the --registry mode of prepare-gallery-editor), test-layout-contract-registry, native-acceptance/replay-retained-saves + replay-offline.
  • Their check:* scripts, checks.json rules (re-keyed where a retained file shared a rule), ci-test-weights entries, doc references.

Total: 179 files, +1,332 / -16,554 lines (workflows -2,669; scripts -13,226 net of +1,242 new). pr-gate.mjs 1,004 -> 451 lines (+ test 1,072 -> 281).

Kept or changed, on purpose

  • Frozen shim (plan section 2, MR-60): ecosystem.lock.json, scripts/ecosystem-lock.mjs (validate, resolve, depends-on; guard removed; new check:ecosystem-lock) and .github/actions/ecosystem-refs stay, because the archived repositories' CI still calls the action. This differs from the task brief, which listed the lock for deletion; the plan's MR-34 row says "the frozen shim stays".
  • scripts/registry-plan.mjs replaces release-plan.json for the registry consumers the new CI still runs (nightly registry job, slow-checks published matrix and installed parity): the set is the latest dist-tag of each package (or OPF_REGISTRY_TAG); each version's release commit is its registry gitHead, and a commit of an archived repository is translated through docs/programs/monorepo/commit-map/ to its import, whose tree holds the package under packages/<dir>/. treePath maps the old root-relative harness paths. test-packed-ecosystem, test-registry-fidelity, test-installed-code, registry-toolchain, registry-golden, test-developer-quickstart, the three layout-geometry probes, prepare-installed-code-native, CLI packed.mjs, prepare-consumer and installed-parity read it. rebuilt-release-files rebuilds the editor dist from the old package directory (npm) or, for a shared-line commit, from the pnpm workspace. consumer-dependencies knows the shared line (gallery at core's version from 0.26). satisfies moved to release-registry.mjs.
  • pr-gate.mjs (MR-33 is the ruleset change, this is the tool): same flags except --rerun-once, --rerun-scope and --no-skipped; default required check verify (--required all|a,b); one batched GraphQL poll; --merge enables auto-merge (squash, expectedHeadOid) and falls back to a squash merge by the gate when auto-merge is unavailable; exit 5 now means "merge refused" (no queue ejections). Run read-only against MR-40: one-click release for all six packages #804, MR-23a: root wiring and gallery (six packages, one version, workspace edges, integration) #797, a commit and a missing PR to check the query.
  • register-local-opf + local-opf-loader moved to scripts/published-matrix/harness-loader/ (installed-parity copies them into its harness layout); the test:* root scripts no longer --import them. link-ecosystem.mjs is now the site linker (links every installed @openpresentation/* package of ../pptx-gallery to this checkout; windows-harness tests rewritten).
  • Left for MR-50 (its docs, not edited here): docs/ecosystem-development.md line 78 still describes prepare:gallery:registry, which is gone (the registry mode of prepare-gallery-editor went with build-registry-gallery-editor; the site's editor bundle refresh is the open MR-52 follow-up).
  • Not touched on purpose: packages/pptx/scripts/keynote-qualification/registry-runtime.mjs pins file hashes of a reviewed historical checkout (it runs only at that revision); historical docs and evidence.

Results (fresh clone of this branch, macOS arm64, Node 26.7, pnpm 10.33.2)

Step Result
pnpm install --frozen-lockfile ok
pnpm lint ok, 0 errors; 693 warnings (701 -> 693 against the base: the deleted files' warnings go, a few new ones in new files were fixed)
pnpm typecheck ok, six packages
pnpm test (core, CLI, gallery, integration, render, PPTX and editor contract suites including the golden, 67 root checks) ok, 67 of 67 checks, exit 0
actionlint 1.7.12 on all 8 workflows clean (shellcheck not installed here)
pnpm check:ci-workflows (63 tests with the release and bump-sites workflow tests), check:ci-scope, check:registry-plan, check:rebuilt-release-files, check:ecosystem-lock, check:pr-gate pass
git grep for every deleted name outside history (docs/handoff, evidence, CHANGELOGs, programs, plans) only: the frozen shim, the new registry-plan header, a negative guard in release-workflows.test, the moved harness loader, comments naming the old workflows, one stale line in docs/ecosystem-development.md (MR-50's file) and fixtures that quote an old command

Registry flows, run locally against the live registry (set 0.25.0 / editor 0.25.3 / gallery 5.0.0): test:registry-ecosystem (all five packages; harness files from the mapped release commits), test:registry-fidelity, test-installed-code --registry + its guards, packages/cli/test/packed.mjs --registry, test-developer-quickstart, the quote geometry probe, prepare-consumer and installed-parity prepare: all pass. Not run: the nightly and slow-checks workflows on Actions, the code/metric browser probes, Windows.

🤖 Generated with Claude Code

michaeljgrimm and others added 3 commits October 22, 2026 08:16
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
…t paths map onto packages/, link-ecosystem links every installed package, change fragment

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
@michaeljgrimm

Copy link
Copy Markdown
Contributor Author

Landed on main through #808 (merge commit 62c4b26), which carries this PR's commits unchanged.

@michaeljgrimm
michaeljgrimm deleted the codex/mr-34-retire branch October 26, 2026 07:56
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