Skip to content

feat: extensions/ layout, matrix CI and the release by merge - #65

Merged
vreshch merged 4 commits into
masterfrom
feature/x1-layout
Nov 22, 2026
Merged

vreshch merged 4 commits into
masterfrom
feature/x1-layout

Conversation

@vreshch

@vreshch vreshch commented Nov 22, 2026

Copy link
Copy Markdown
Member

Problem

examples (renamed from extension-probe) must hold more than one extension, and a merge to master must be the release (stage 3, row X1).

Change

  • Layout: extensions/probe (moved with git mv, history kept) and extensions/fixture (a fresh copy of agentage/extension-fixture 760ccca, no history). Each folder has its own package.json and package-lock.json; no npm workspaces. Each package.json has repository with directory.
  • ci.yml: a changes job picks the extension folders the change touches (a change outside extensions/ picks all). Per extension: <id> verify and check and <id> up and the e2e gate on local. One aggregate job ci-required passes when every job passed or was skipped.
  • release.yml: on push to master, npx -y @agentage/cli@0.71.0 extension release --changed, with the old permissions (contents, packages write, id-token), the npm 11 step, the ghcr login and the release concurrency group. The v* tag trigger is gone.
  • npm hold: extensions/probe/package.json has "private": true. cli 0.71.0 has no flag or env that skips npm. Only private does, and only in --changed and the tag mode. So this merge releases probe images, the tag probe@<date> and its records, and does not publish to npm. docs/release.md has the TODO line that a later PR removes it with.
  • Fixture hold: .github/release-hold names fixture. The release step takes a held folder out of its checkout (sparse checkout) and prints AMBER fixture: not released: <reason>, so the cli never tags it. Why: fixture, fixture-api and fixture-pages are linked to agentage/extension-fixture. The guard would refuse them after the tag, and every later merge would retry until FAIL stuck. To release fixture, remove the line after the package grant.
  • Docs: root README.md, CLAUDE.md, docs/release.md; the probe and fixture docs point at the new paths.

How verified

  • npm run verify and agentage extension check (lockfile cli 0.69 and cli 0.71.0) are green in both folders. The probe passes with "private": true.
  • extension build --docker and --container with cli 0.71.0 (no push) built all images of both extensions. git status stayed clean.
  • A dry run in a scratch clone (its origin/master = this head, the real tags): release --changed --dry-run reports would release fixture@2026.1122.1, probe@2026.1122.1. After the hold step it reports would release probe@2026.1122.1, with the AMBER line for fixture.
  • git log --follow extensions/probe/package.json shows 45 commits back to feat: probe extension with the api part and GET /api/v1/echo #1.

Reviewer must check

  • Before the merge, the owner must change the ruleset ci-required: the required contexts Verify and up and the e2e gate on local no longer report, so the one required context must be ci-required.
  • Merge with rebase (not squash) so the move keeps its own commit.
  • The merge is the first real release: probe@<date> images and records, no npm.
  • Consumers that read probe at the repo root break after the merge: platform CI (image smoke and the probe gate clone master) and e2e helpers/probe-source.ts (reads src/app on master). Set the platform variable PROBE_REF to v0.9.3 before the merge, or merge X5 and X4 in the same window.

https://claude.ai/code/session_01XQkodgygL4W8UcLQDwC212

From agentage/extension-fixture 760ccca without history. Dropped its
.github, .repo-class and .repo-doctor.yml (the repo root owns them).

Claude-Session: https://claude.ai/code/session_01XQkodgygL4W8UcLQDwC212
ci.yml picks the changed extension folders, runs verify, check, up
and the e2e gate per folder, and one ci-required job. release.yml runs
agentage extension release --changed (cli 0.71.0) on push to master;
.github/release-hold keeps fixture out until its images can be written.

Claude-Session: https://claude.ai/code/session_01XQkodgygL4W8UcLQDwC212
@vreshch
vreshch marked this pull request as ready for review November 22, 2026 05:18
@vreshch
vreshch merged commit b1eba8c into master Nov 22, 2026
6 checks passed
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