Skip to content

CI uploads test results with Trunk's uploader v2.1.8 (GST-2999) - #4453

Merged
capy-ai[bot] merged 2 commits into
mainfrom
trunk-uploader-v2.1.8
Nov 17, 2026
Merged

capy-ai[bot] merged 2 commits into
mainfrom
trunk-uploader-v2.1.8

Conversation

@garrytan

@garrytan garrytan commented Nov 17, 2026 •

Copy link
Copy Markdown
Owner

Free-tests CI now uploads test results to Trunk with analytics-uploader v2.1.8 and analytics-cli 0.17.0, up from v2.1.6 and 0.16.2.
Why: Trunk warned that uploader v2.1.6 may pick up analytics-cli 1.0.0 when it ships and then fail to upload; v2.1.8 never resolves a CLI above 0.x.
Nothing to do.

What changed

Trunk asked every repo on analytics-uploader v2.1.6 to move to v2.1.8 before analytics-cli 1.0.0 ships. The free-tests workflow's upload step now pins the action to commit 9886de74a788c450c793109577a4d97bfb3e799f, which git ls-remote https://github.com/trunk-io/analytics-uploader refs/tags/v2.1.8 returns, and sets cli-version to 0.17.0, the default that v2.1.8's src/constants.ts falls back to and the latest analytics-cli release. The wiring test in test/free-tests-workflow-wiring.test.ts now checks the new pin and CLI version; it failed against the old workflow before the workflow changed.

This is the change Trunk proposed in #4411 by Tyler Beebe, rebuilt on current main and credited with Co-authored-by. Dependabot's #4416 bumps the same action without the CLI version or the test.

Why

The flaky-test upload feeds Trunk's flaky-test detection for gstack's free suite. Keeping the uploader on a release that caps the CLI below 1.0 keeps that upload working through Trunk's 1.0 release.

Blast radius

Only the upload step of the trunk-flaky-tests job changes, and that job runs with permissions: {}, continue-on-error, and a gate on TRUNK_ORG_API_TOKEN, so nothing else in CI reads it. Between v2.1.6 and v2.1.8 the action's action.yaml only rewords two input descriptions and adds an optional summary-output-file input and output, so every input the step passes is still declared with the same default (file read at both tags). The step ran on this branch: Free Tests run 44128395249 shows the upload step succeeded with 37,495 tests reported and 0 failures.

Pre-Landing Review

No issues found. One review pass ran on the head before the changelog fix: specialists, a red team, an adversarial reader and a second-model review, with no blocking findings.

Review notes

Below the blocking floor (advisory, informational, test-gap or wording items); recorded here and not fixed in this PR.

  • INFORMATIONAL changelog.d/trunk-uploader-v2-1-8.md:1 release-metadata
  • INFORMATIONAL changelog.d/trunk-uploader-v2-1-8.md:1 docs-accuracy
  • INFORMATIONAL .github/workflows/free-tests.yml:826 ci-config
  • INFORMATIONAL .github/workflows/free-tests.yml:790 ci-config

What those four notes were: the fragment name didn't match the branch slug (renamed to changelog.d/trunk-uploader-v2.1.8.md); the entry overstated the reason, since cli-version was already pinned (reworded); v2.1.8 still declares every input the step passes (confirmed); and the workflow comment about a checksummed CLI download was not re-checked for 0.17.0 (use-cache: 'false' is unchanged).

Exploratory QA

Three probes against public GitHub passed: tag v2.1.8 points at 9886de74, action.yaml at that commit declares all 8 inputs the step passes, and analytics-cli tag 0.17.0 exists.

Issues

No linked issues.

Documentation

Status: current. The documentation audit found no docs to update.

Scope: branch trunk-uploader-v2.1.8 against base e0c4136. This covers the committed changes (.github/workflows/free-tests.yml and test/free-tests-workflow-wiring.test.ts move trunk-io/analytics-uploader from v2.1.6 to v2.1.8 and analytics-cli from 0.16.2 to 0.17.0) and the staged changelog fragment rename. There were no unstaged or untracked files.

Documentation health:

  • AGENTS.md, CLAUDE.md, CONTRIBUTING.md, README.md: current. They don't mention uploader versions.
  • docs/TESTING_INTERNALS.md: current. Its Trunk section covers only the dynamic-ci job.
  • docs/flaky.md: current. It has no Trunk uploader version.

Coverage debt: none. The change is a CI dependency pin bump that no user-facing doc mentions.

Diagram drift: none.

Tests

Free Tests run 44131102995 at b182268 on this branch's tree: 37,495 tests, 0 failed, 105 skipped (JUnit totals from the run's free-junit artifacts). The macOS and Windows launcher and regression jobs in that run also passed.

Agent notes

GST-2999. Rebuilt from outside PR #4411, read as text only.

Approvals

No approvals recorded for branch trunk-uploader-v2.1.8.
Plan: exempt bug fix
Plan check: exempt bug fix

REVIEW_LOOP: passes=1 blocking_found=0 deferred=0 noted=0 fixed=0 scope=frozen ledgers_read=3

Agent notes
{
  "schema_version": 1,
  "pr": 4453,
  "head": "b1822689b5f02c77de22898903cc3bfdadbd1a9a",
  "version": "1.100.0.0",
  "base": "main",
  "gate": {
    "free": {
      "pass": 37390,
      "fail": 0,
      "skip": 105
    }
  },
  "ci_carried": [
    {
      "lane": "free",
      "run": 44131102995,
      "attempt": 1,
      "tree": "a83b48263286a2a08797f3cb99463aad0f84623c"
    }
  ],
  "session_kind": "unattended",
  "head_tree": "a83b48263286a2a08797f3cb99463aad0f84623c",
  "product_patch_id": "47459c582d19d34083c005481706d4177c3d9f6e",
  "gstack_version": "1.100.0.0",
  "review_depth": {
    "depth": "full",
    "class": "gate",
    "runtime_lines": 4,
    "rules": "66e5174161eecc2c",
    "base": "e0c4136dc2999840720091ee772666127099e13d",
    "registry": "e0c4136dc2999840720091ee772666127099e13d",
    "gate_scan": {
      "tagged": 0,
      "head": "b1822689b5f02c77de22898903cc3bfdadbd1a9a"
    },
    "reasons": [
      "gate-class",
      "runtime=4"
    ],
    "risk": [],
    "mode": "panel"
  },
  "pregate": "requires-remote cleared @a83b48263286 (8 checks, current for b1822689b5f0)",
  "requires_remote": [
    "free-tests.yml/cso-macos-launcher: https://github.com/garrytan/gstack/actions/runs/44131102995/attempts/1",
    "free-tests.yml/macos-named-regressions: https://github.com/garrytan/gstack/actions/runs/44131102995/attempts/1",
    "free-tests.yml/cso-windows-launcher: https://github.com/garrytan/gstack/actions/runs/44131102995/attempts/1"
  ],
  "issues": {
    "fixes": [],
    "refs": [],
    "flakes": []
  },
  "docs": {
    "status": "current",
    "scope": "AGENTS.md, CLAUDE.md, CONTRIBUTING.md, README.md and docs/ against base e0c4136"
  },
  "review_loop": {
    "passes": 1,
    "blocking_found": 0,
    "deferred": 0,
    "noted": 0,
    "fixed": 0,
    "scope": "frozen",
    "rounds": 1,
    "ledgers_read": 3
  },
  "gate_dispositions": []
}

The free-tests workflow now pins trunk-io/analytics-uploader to v2.1.8
(9886de74) and analytics-cli 0.17.0, the version that action release
falls back to.

Why: Trunk warns that analytics-uploader v2.1.6 may pick up
analytics-cli 1.0.0 when it ships and then fail to upload. v2.1.8 caps
the CLI below 1.0.

Nothing to do as a reader; the flaky-test upload step changes only its
pin and CLI version.

Co-authored-by: Tyler Beebe <[email protected]>
Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
@trunk-io

trunk-io Bot commented Nov 17, 2026 •

Copy link
Copy Markdown

😎 This pull request was merged.

…hip expects (GST-2999)

The fragment is now changelog.d/trunk-uploader-v2.1.8.md, the name derived from the branch, so the release stamp folds exactly one entry. The line now states only what changed.

Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
@capy-ai
capy-ai Bot merged commit f2d96dc into main Nov 17, 2026
77 checks passed
This was referenced Nov 18, 2026
capy-ai Bot added a commit that referenced this pull request Nov 18, 2026
- A test, or a scratch repository in the temp directory, can no longer write approval rows into your real Capy Drive (GST-3027). (#4466)
- An unattended /autoplan run on Claude Code no longer says the publication guard is off while it is on. (#4481)
- A phase report written only in reasoning now gets a denial that says so and names the fix. (#4481)
- `gstack-autoplan revise` no longer refuses a plan that the first `next` accepted. (#4470)
- `revise --plan` with a different file now says the run follows that file. (#4470)
- A second-model plan review in `/autoplan` is no longer reported as unavailable when it actually ran (GST-3051). (#4471)
- The /ship conductor trial plan now lets case reverts that conflict with later code be resolved by hand in docs, tests and the planted file, so large pull requests can be cases (GST-3003). (#4460)
- A locked plan for a trial of /ship without its separate conductor subagent (GST-3003). (#4456)
- A driven /ship now runs each phase as one command, counts its calls, and stops itself at 100 minutes. (#4451)
- /ship stops asking owners to clear two kinds of bookkeeping noise: base-side merge text and a reviewer's confirmation prose. (#4458)
- A base merge that only touched base-side text no longer stops `/ship` finish for an owner's grant. (#4458)
- A reviewer's confirmation prose no longer becomes a Critical finding that only an owner can clear. (#4458)
- A CI run that passed only after its failed jobs were re-run is now marked wherever gstack reuses it. (#4473)
- /ship reuses CI's passing test run when merging the base changed no file, and stops instead of quietly starting hour-long test runs or reviewing an empty diff (GST-3019). (#4461)
- /ship on Codex no longer stops at the test coverage audit. (#4489)
- A cold first-use check before an app build reaches its owner (GST-3025). (#4465)
- `skill_prefix=true` now survives updates when gbrain is installed. (#4454)
- The OpenClaw docs no longer send you to ClawHub, which held only April 2026 builds of office-hours, ceo-review and retro and no longer has gstack skills (the docs also said four skills while listing three). (#4454)
- `gstack-issue-links` no longer reads other repositories' issues as gstack's. (#4454)
- /ship's pre-gate finds the tests of a monorepo app that imports through its own `@/` alias. (#4464)
- /office-hours explains why it recommends a mode. (#4450)
- /office-hours keeps its 34 founder videos and essays out of the skill file. (#4463)
- Two `gstack-owner-answers add` runs for the same answer no longer collide. (#4490)
- A Captain can check an ask against the owner's earlier answers before sending it. (#4467)
- `gstack-post` stops reading /ship's own receipt identifiers as phone numbers, so posting a /ship PR body no longer needs a confirm. (#4488)
- GitHub release notes now list every change in plain words, with a link to its pull request. (#4390)
- gstack's router no longer gives bug reports a special rule, so the model fixes a bug the way it would without gstack. (#4442)
- /ship's review plan now sorts Swift and Xcode files by risk instead of sending every iOS PR to the full review panel (GST-3041). (#4469)
- /ship's review plan now sends Swift code that touches private user data to the full review panel (GST-3052). (#4472)
- A round grant at /ship's review round cap now buys the fix round it names, in the same run or the next (GST-2968). (#4479)
- The secrets check stops flagging three kinds of ordinary code as a secret, and catches two misses. (#4457)
- A security finding's location and reason no longer go into a PR body. (#4486)
- The token-capped /ship child on Claude Code now starts its prompt with the typed `/ship` command, so the skill actually loads. (#4487)
- A /ship receipt now counts the second-model review's blocking findings, and refuses to be written while one is still open. (#4485)
- A `/ship` with a token cap on Claude Code no longer stops at its first handoff. (#4452)
- /ship's push step now always ends with one line that says whether it pushed (GST-3053). (#4474)
- A PR's review-round count can no longer be overwritten by the body `/ship` posts. (#4440)
- One queued record with a malformed path no longer stops artifacts sync for every project. (#4455)
- A failed artifacts push stays reported until a push succeeds. (#4455)
- The /sync-gbrain memory row no longer says OK when pages failed to import. (#4455)
- ### Tests (#4495)
- A policy-floor test no longer fails once gstack's own version reaches the minor after the newest policy key; it now checks a floor above both, so the v1.101.0.0 release can pass CI. (#4495)
- CI now uploads free-suite test results to Trunk with analytics-uploader v2.1.8 and analytics-cli 0.17.0, up from v2.1.6 and 0.16.2. (#4453)
- Packing a checkout for a Ubicloud run no longer fails when git beside it is rewriting a ref. (#4447)
- The /plan-ceo-review HOLD SCOPE eval no longer fails a review because its follow-up question didn't repeat the mode name. (#4447)
- Unattended /autoplan now records the owner's relayed gate reply instead of refusing it. (#4484)
- Unattended /autoplan now runs the second-model review you turned on, and waits for it instead of ending the session. (#4459)
- Two /autoplan runs started in the same second no longer share a run id. (#4459)

Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
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