Multiplayer agent harness for work.
Remove the per-PR CLI version bump gate
Josh France75d4c7bc29e6
diff --git a/.github/workflows/cicd.yml b/.github/workflows/cicd.ymlindex 67bee9ddb..783a83d2d 100644--- a/.github/workflows/cicd.yml+++ b/.github/workflows/cicd.yml@@ -89,39 +89,6 @@ jobs:npm run typecheck:contractnode --test "deploy/stacks/*/test/*.test.ts"- cli-version:- name: CLI version bump- if: github.event_name == 'pull_request'- runs-on: ubuntu-latest- steps:- - uses: actions/checkout@93cb6efe18208431cddfb8368fd83d5badbf9bfd- with:- fetch-depth: 0- persist-credentials: false- - name: Require a version bump when the published package changes- env:- BASE_SHA: ${{ github.event.pull_request.base.sha }}- HEAD_SHA: ${{ github.event.pull_request.head.sha }}- run: |- set -euo pipefail- base=$(git merge-base "$BASE_SHA" "$HEAD_SHA")- changed=$(git diff --name-only "$base" "$HEAD_SHA" -- \- cli/bin cli/src cli/templates cli/manifest.json cli/package.json \- cli/package-lock.json cli/README.md cli/LICENSE cli/tsconfig.json cli/tsconfig.build.json)- [ -n "$changed" ] || exit 0- base_version=$(git show "${base}:cli/package.json" | jq -r .version)- head_version=$(git show "${HEAD_SHA}:cli/package.json" | jq -r .version)- highest=$(printf '%s\n%s\n' "$base_version" "$head_version" | sort -V | tail -1)- if [ "$base_version" = "$head_version" ] || [ "$highest" != "$head_version" ]; then- printf '%s\n' "$changed" >&2- echo "these files ship in @yc-software/qm; bump cli/package.json past $base_version" >&2- exit 1- fi- case "$head_version" in- [0-9]*.[0-9]*.[0-9]*) ;;- *) echo "cli/package.json version must be semver, got $head_version" >&2; exit 1 ;;- esac-coauthor-trailers:name: Co-author trailersif: github.event_name == 'pull_request'diff --git a/cli/README.md b/cli/README.mdindex 2c044a442..400d7b720 100644--- a/cli/README.md+++ b/cli/README.md@@ -22,9 +22,9 @@ This package is published to npm as `@yc-software/qm`, with npm provenance attesbuilding workflow. A release is one dispatch of `.github/workflows/release.yml` from`main`: it signs and pushes the first-party images, publishes the package pinning theirdigests, and then tags `v<version>` and creates the GitHub release with the resolved-digests attached. The version comes from `cli/package.json`, which CI requires a pull-request to bump whenever it changes what the package ships; a tag that already exists-stops the release rather than moving. The checked-in image manifest is a sentinel that+digests attached. The version comes from `cli/package.json`, bumped when a release is cut rather than by+every pull request that touches the package; a tag that already exists stops the release+rather than moving. The checked-in image manifest is a sentinel thata deployment overrides with real digests. The packed-artifact test exercises the consumerpath locally.