Repository navigation
build: publish under the systemfsoftware scope with a flake and the shared release workflow - #8
Open
systemfsoftware-bot wants to merge 1 commit into
Open
systemfsoftware-bot wants to merge 1 commit into
systemfsoftware-bot wants to merge 1 commit into
Conversation
…hared release workflow Rename the four published packages to @systemfsoftware/*, baseline them at 0.1.0, add the flake that builds the workspace tarballs, the release configuration and caller, the release checks and nix workflows, and the change-intent gate. Replace the Changesets configuration and its prerelease notes with pnpm versioning.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
@systemfsoftwarescope:agent,agent-platform-node,agent-storage-sql,agent-storage-sqlite. Every import, manifest and script reference moves with them; package changelogs keep their history. Repository metadata points atsystemfsoftware/agent.0.1.0.peerDependenciesoneffectstay^4.1.0; the Effect bump lands with the tool-call validation fix.flake.nixandflake.lock(workspace-tarballs, aconsumer-storecheck and a Node 24 / pnpm 12 dev shell), astimescale-drizzlehas them.release.jsonc,.github/workflows/release.yml(the shared release caller,npm-publish: true, no-op off main),release-checks.ymlandnix.yml.ci.ymlgains the shared change-intent job, gated in thechecks / checkaggregate. This PR carries anoneintent for the four packages so the baseline stays0.1.0..changeset/config.json,pre.json,pre/) with pnpm versioning inpnpm-workspace.yaml; thechangesetscript and its devDependencies are removed..github/assets.Commands run (exit codes)
All from the worktree, at
nicepriority, one package's tests at a time.pnpm install --frozen-lockfile --ignore-scriptspnpm format:checkpnpm lintpnpm typecheckpnpm buildpnpm check:exportspnpm check:record-formatpnpm check:package-puritypnpm check:packpnpm --filter ./packages/{storage-sql,platform-node,storage-sqlite,effect-agent} testnix flake lock --accept-flake-config(the lock copied fromtimescale-drizzlefailed with a NAR hash mismatch, so it is regenerated)nix eval .#packages.x86_64-linux.workspace-tarballs.members0.1.0nix build .#workspace-tarballsnix build --rebuild .#workspace-tarballsnix build .#checks.x86_64-linux.consumer-storeThe tarballs hold
dist/,src/,package.jsonandLICENSE(plusREADME.mdfor storage-sql).NOTICEarrives with the relicence PR. The release plan and scratch-copy version bump were not run locally: no entry point for them is exposed outside the shared workflow.Owner steps after merge (cannot be done here)
npm login, thennpm-trustfor each of@systemfsoftware/agent,@systemfsoftware/agent-platform-node,@systemfsoftware/agent-storage-sqland@systemfsoftware/agent-storage-sqlite. Trusted publishing needs each package to exist on main first.release.ymlon main. The first run publishes the0.1.0baseline and fails at the publish step until step 1 is done; that red run is expected.Not provable before merge: npm trusted publishing, the cold GitHub Actions Nix build time against the 60-minute publish timeout.