Repository navigation
Analyze companions at their lead's versions; type errors after the bump; the App's bot as commit author - #107
Merged
Merged
Conversation
…it moves them to `check react` on a Next app reported react-dom and @types/react on their own, at their installed versions, while react moved to 19. No later plan overrode them: the companion plan was right, but the lead's group was built only from the workspace's analyzable packages, which exclude @types/* and anything the workspace never imports. react-dom (never imported in a Next app) and @types/react (type-only) fell out of react's group, and each then hit the "not imported / type-only" early return, which reports the installed version as the target. - A lead's companions join its group whether or not the workspace imports them, and are no longer skipped on their own. - In the group, a companion with no usages of its own is linked into the target overlay (and the baseline) at the version the plan gives it, and listed in the report's members. A types package the lead is typed through is linked once, as the lead's declarations. - The Action gives a companion analyzed in its lead's group a row of its own, moving with the lead. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01RniwUAvitpghJF4MuodRZz Signed-off-by: Claude <[email protected]>
The dashboard showed "type errors 0 → 0" for stripe, which hides what the migration did: the upgrade broke 4 and Uptide left 0. - uptide.run/v1 gains verification.typecheck.afterUpgrade, next to before and after (optional, additive; the JSON schema is regenerated). - The job summary prints `types 0 → 4 with the upgrade → 0 after Uptide`. - The PR body and the terminal say `the upgrade broke 4 · Uptide left 0`, counting errors after the bump that the repository did not have before (pre-existing ones are named, not counted). Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01RniwUAvitpghJF4MuodRZz Signed-off-by: Claude <[email protected]>
…om pre-existing publicationBlockers said "verification failed: N new type errors" and listed every failing test run, including runs that were already failing before the upgrade. On an unhealthy baseline that blames the migration for what was already broken. It now uses #98's wording: "N type errors introduced by the upgrade, M pre-existing", and names a pre-existing failing run as "already failing before the upgrade". Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01RniwUAvitpghJF4MuodRZz Signed-off-by: Claude <[email protected]>
… only
verification.baselineHealth: typeErrors, failingTests, and missingModules
{ local, packages }, the TS2307 errors among the baseline's type errors
under the repository's own paths (relative imports, path aliases) and in
packages. No specifier or alias group name: those stay in the fix report.
Optional and additive; the JSON schema is regenerated.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01RniwUAvitpghJF4MuodRZz
Signed-off-by: Claude <[email protected]>
Commits were authored as uptide[bot] <[email protected]>, which is no GitHub account. The Action now resolves the App's bot with the installation token: the slug from the Uptide app's token answer (appSlug), else GET /app when GitHub answers it for that token; the id from GET /users/<slug>[bot]. Commits are authored and committed as <slug>[bot] <<id>+<slug>[bot]@users.noreply.github.com>, in `fix` and in `uptide pr` alike. When it cannot be resolved, the old identity is kept and the job log warns. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01RniwUAvitpghJF4MuodRZz Signed-off-by: Claude <[email protected]>
Merged
lucasbraum
pushed a commit
that referenced
this pull request
Oct 13, 2026
This PR was opened by the [Changesets release](https://github.com/changesets/action) GitHub action. When you're ready to do a release, you can merge this and publish to npm yourself or [setup this action to publish automatically](https://github.com/changesets/action#with-publishing). If you're not ready to do a release yet, that's fine, whenever you add more changesets to main, this PR will be updated. # Releases ## [email protected] ### Minor Changes - [#108](#108) [`38dcd4b`](38dcd4b) Thanks [@lucasbraum](https://github.com/lucasbraum)! - The Uptide Action now requires the Anthropic API key. Without `anthropic-api-key` (or with it empty), in any mode, it stops before doing anything: the job summary says to add the repository secret `ANTHROPIC_API_KEY` (Settings → Secrets and variables → Actions), the run report has no upgrades and an error starting with `LLM_KEY_MISSING`, and the job fails. `uptide.run/v1` gains `llmKey` (`present` or `missing`; never the key). `uptide init` no longer writes `llm.enabled`, and refuses an existing `uptide.yml` that sets it to `false`, which the Action rejects. The CLI on your own machine still runs without a key. - [#101](#101) [`8452329`](8452329) Thanks [@lucasbraum](https://github.com/lucasbraum)! - `list`, `check`, `fix`, `plan` and the Action never target a release younger than the repository's release-age policy: npm `min-release-age` (`.npmrc`), pnpm `minimumReleaseAge` with `minimumReleaseAgeExclude` (`pnpm-workspace.yaml`), or Yarn `npmMinimalAgeGate` with `npmPreapprovedPackages` (`.yarnrc.yml`). When none is set, the default of the pinned package manager version applies (pnpm 11 and 12, Yarn 4.15 and later: one day), labelled as such. When the newest release is too young, the newest one old enough is the target and the output says why (`4.6.7 is 2 days old; your policy is 7 days (min-release-age in .npmrc); targeting 4.6.5`). When nothing newer than the installed version qualifies, the package is skipped with that reason, shown as `status: skipped` in `uptide.run/v1` and in the HTML list report. Companions and peers follow the same policy. `minReleaseAgeDays` in `uptide.yml` applies when the repository sets no policy itself. See `docs/config.md#release-age`. ### Patch Changes - [#107](#107) [`008f84a`](008f84a) Thanks [@lucasbraum](https://github.com/lucasbraum)! - The Action's commits are authored by the Uptide App's own bot account, `<app slug>[bot] <<bot user id>+<app slug>[bot]@users.noreply.github.com>`, resolved with the installation token, so GitHub links them to the App. When it cannot be resolved they keep `uptide[bot] <[email protected]>` and the job log warns. - [#107](#107) [`008f84a`](008f84a) Thanks [@lucasbraum](https://github.com/lucasbraum)! - `uptide.run/v1` gains `verification.baselineHealth`: the repository before the upgrade in counts only (type errors, failing test runs, and missing-module errors under its own paths and in packages), so the dashboard can tell a run that could only compare from one that proved. No module or alias name leaves the fix report. Optional; absent in older reports. - [#107](#107) [`008f84a`](008f84a) Thanks [@lucasbraum](https://github.com/lucasbraum)! - `check` analyzes a package's companions at the versions its upgrade moves them to, even when nothing imports them or they only carry types: `check react` in a Next app used to report `react-dom` and `@types/react` on their own at their installed versions, while `react` moved to 19. They are now members of `react`'s group, linked into the compile at 19, and the Action's job summary shows each one moving with `react`. - [#102](#102) [`78f1f7a`](78f1f7a) Thanks [@lucasbraum](https://github.com/lucasbraum)! - `uptide init` writes a workflow that runs the released Uptide Action, `uptide-dev/uptide@2045c7d # v0.9.0`, and no longer notes that the action is not released yet. - [#100](#100) [`53f9f7d`](53f9f7d) Thanks [@lucasbraum](https://github.com/lucasbraum)! - `fix` reads pnpm lockfiles that install a package once per version of the upgraded one (`x@1([email protected])` next to `x@1([email protected])`) instead of failing with "Map keys must be unique". Variants that differ only by that version are compared as one entry; variants that differ in anything else are still checked one by one. - [#107](#107) [`008f84a`](008f84a) Thanks [@lucasbraum](https://github.com/lucasbraum)! - When Uptide refuses to publish a migration that did not verify, it words the reason as the run's verdict does: `1 type error introduced by the upgrade, 2 pre-existing` instead of `1 new type error`, and a test run that was already failing before the upgrade is named as such instead of as a failure of the migration. - [#104](#104) [`8fd120e`](8fd120e) Thanks [@lucasbraum](https://github.com/lucasbraum)! - Reports no longer show a breaking count of 0 for a package without a migration pack: the terminal, the HTML report and the Action's job summary say `not analyzed: no pack yet` instead, and `uptide.run/v1` gains `analysis` (`pack` or `none`, absent when nothing was analyzed). A companion that `check` reports at its installed version (`react-dom` or `@types/react` with `react`) shows the versions it moves to and `moves with react`, carried as `movesWith`, instead of `up to date`; no upgrade kind is printed when nothing moves. The job summary lists breaking sites per package by path and line, and has no breaking-sites section when there are none. The generated workflow runs on `ubuntu-24.04` instead of `ubuntu-latest`. - [#107](#107) [`008f84a`](008f84a) Thanks [@lucasbraum](https://github.com/lucasbraum)! - Reports say what the upgrade broke and what the migration left. `uptide.run/v1` gains `verification.typecheck.afterUpgrade`, the type errors right after the version bump and before any fix, next to `before` and `after` (optional; absent in older reports). The job summary prints `types 0 → 4 with the upgrade → 0 after Uptide`, and the pull request body and the terminal say `the upgrade broke 4 · Uptide left 0`. Co-authored-by: uptide-release[bot] <338861287+uptide-release[bot]@users.noreply.github.com>
lucasbraum
pushed a commit
that referenced
this pull request
Oct 13, 2026
…it can stop The Packs job on #107 ran 40+ minutes and ignored cancel; a rerun of the same commit passed in 10.5. Every pack passes locally at that commit, alone and all in one process as CI runs them (19 min, 5.7 GB peak), so nothing in the analysis loops. What could wait without end was the network: registry requests carried no deadline of ours (undici's 300 s header and body timeouts, times four attempts), and the shallow fetch of a ground-truth repository ran through a synchronous git with no timeout. - Registry requests: a deadline per attempt that covers the body (REQUEST_TIMEOUT_MS, 120 s). A stall fails with REGISTRY_TIMEOUT, which falls back to an expired cache entry like REGISTRY_UNREACHABLE. - Child processes: local git commands time out (5 min), the ground-truth fetch runs through `command()` so its whole process group is killed at its deadline (10 min), and the remaining sync git calls have one too. - `uptide pack test` runs each pack in a child process. Past --pack-timeout (default 20 min) the child's process group is killed and the pack fails by name with the last line it logged; the other packs still run. A cancelled job takes the child down with it. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01RniwUAvitpghJF4MuodRZz Signed-off-by: Claude <[email protected]>
7 tasks done
lucasbraum
added a commit
that referenced
this pull request
Oct 13, 2026
…it can stop (#110) UPT-19 ## What and why The first Packs run on #107 (job 115419620128) spent 40+ minutes in `uptide pack test` and ignored cancel and force-cancel. Its log was never uploaded (404). A rerun of the same commit passed in 10.5 minutes. I reproduced `pack test` locally at #107's head (3a63539) and no pack hangs: | pack | alone | peak RSS | | --- | --- | --- | | ai | 210 s, pass | 5.2 GB | | react (excalidraw, tldraw) | 518 s, pass (incl. a 3 min tldraw install) | ~4 GB | | stripe | 230 s, pass | 4.9 GB | | vitest | 385 s, pass | 3 GB | | zod | 173 s, pass | 4.5 GB | I also ran every pack in one process, as CI does: 1,135 s, all pass. Memory levels off at 5.7 GB rather than growing across packs. The companion fetching added in #107 is bounded: each dependency is decided once and the compile loop is capped at 5 rounds. Nothing in the analysis loops. What *could* wait without end was the network: - **Registry requests** had no deadline of ours. Node's `fetch` falls back to undici's 300 s header and 300 s body timeouts, and we retry 4 times, so one stalled connection could block for about 20 minutes. Two in a row exceed the 40 minutes observed. - **The shallow `git fetch` of a ground-truth repository** ran through a synchronous `execFileSync` with no timeout, and that also blocks the event loop. A runner whose network degraded would also miss the cancel and fail to upload its log, which matches the 404. That last point is an inference: the log that would prove it does not exist. ## What changed - **Registry** (`fetch/registry.ts`): every request attempt gets its own deadline, `REQUEST_TIMEOUT_MS` (120 s), and it also covers reading the body. A stall fails with the new `REGISTRY_TIMEOUT`, which is handled like `REGISTRY_UNREACHABLE`: an expired cache entry still answers, `list` marks the package blocked, and the CLI groups it with registry failures. - **Child processes:** - The ground-truth fetch runs through `command()`, which kills the whole process group at its deadline (10 min, `fetchTimeoutMs`). That includes `git-remote-https`, which could otherwise hold the pipe open. - `git()` gets a 5-minute timeout for local work. - The other sync git calls (`version.ts`, `verify.ts`) get 30 to 60 s. - Installs, the runtime and behavior probes, and the memory probe already had timeouts. - **GitHub requests** (token exchange, open PRs, bot lookup, results) already had 30 s deadlines; unchanged. - **Per-pack timeout:** `uptide pack test` runs each pack in a child process, in its own process group. Past `--pack-timeout <minutes>` (default 20) the group is killed with SIGKILL. The pack then fails by name with the last line it logged, through the new `unfinishedPack`, so `pack-test-report.ts` renders it like any failure. The other packs still run. A SIGINT or SIGTERM to the parent kills the child's group first, then the parent exits on the same signal. The parent only waits, so the deadline fires even when the child is stuck in a synchronous compile or GC thrash. `docs/packs.md` describes the deadlines and the option, and a changeset is included. ## How it was verified - **New tests:** - `pack-isolate.test.ts`: - a child's stdout and log come through; - a child stuck in a busy loop that never yields, and that started a grandchild, is stopped at the deadline, and the grandchild is gone too; - a child that dies without a report is described by its exit code and last line. - `npm-fetcher.test.ts`: a registry that never answers and one whose body stalls halfway both end with `REGISTRY_TIMEOUT` instead of hanging. - **Real CLI:** - `pnpm uptide pack test ai --pack-timeout 0.5` stopped at 32 s and printed `pack test ai: timed out after 30s and was stopped; last: checking ai 6.0.116 → 7.0.9 in vercel/chatbot@77d362e596e2`. Exit was 1 and no process was left behind. - `pnpm uptide pack test zod` through the child-process path: verified, passed, 110 s, rendered by `scripts/pack-test-report.ts`. - **Gate:** `pnpm lint && pnpm typecheck && pnpm test` pass on top of main: core 1395 passed (32 skipped), CLI 437. Lint has one warning, which is already on main. `scripts/public-tree.mjs` and `scripts/check-links.mjs` are clean. Also seen in the passing rerun's log, and not fixed here: the job summary was 2,163 KB, over GitHub's 1,024 KB limit, so it was dropped (`$GITHUB_STEP_SUMMARY upload aborted`). It predates this change and belongs in its own PR. ## Checklist - [x] Tests for the change (a bug fix starts with a failing test) - [x] `pnpm lint && pnpm typecheck && pnpm test` pass - [x] README and docs updated if behavior changed (`docs/packs.md`) - [x] Changeset added if a user would notice (`pnpm changeset`) - [x] No new dependency, or it was agreed in an issue - [x] No private code, names or paths in fixtures, tests or docs - [x] The rules in CONTRIBUTING.md ("Rules that do not bend") still hold 🤖 Generated with [Claude Code](https://claude.com/claude-code) https://claude.ai/code/session_01RniwUAvitpghJF4MuodRZz --- _Generated by [Claude Code](https://claude.ai/code/session_01RniwUAvitpghJF4MuodRZz)_ Signed-off-by: Claude <[email protected]> Co-authored-by: Claude <[email protected]>
7 tasks done
lucasbraum
added a commit
that referenced
this pull request
Oct 13, 2026
…109) UPT-19 ## What and why uptide-test/saas-starter-kit PR #3 bumped `next` 15.5.14 → 16.4.0 with no pack and no migration. The type-check passed, so it opened as if verified. Next 16 changes the build config, removes `next lint` and enforces async request APIs, and next-i18next 15 does not support it. Product rule: Uptide never opens a PR for an upgrade it could not analyze. The policy is in one place, `fix/no-pack.ts`, and every path reads it: 1. **A major upgrade with no verified pack never becomes a PR.** - `publicationBlockers`, the gate behind `fix --pr`, `uptide pr` and the Action, refuses it. - `fix --pr` refuses before migrating anything. That includes the CLI's clone-then-publish path (new `forPublication` option), so no agent budget is spent. - The Action skips it before running `fix` and reports `status: "skipped"`, `analysis: "none"`, `error: "no pack yet"`, whatever the slots or budget. A post-run guard covers the case where discovery and the engine disagree. - "Major" means a new major, or a new minor below 1.0.0 (0.4 → 0.5), since semver treats those as breaking. 2. **A minor or patch with no pack needs the repo's own build and tests.** - `fix` now runs the repo's `build` script after the bump for no-pack runs: the workspace's script, else the root's. It is recorded in `verification.build`. - A failing build fails verification. - With no build script, no tests that ran, or tests that already failed before the bump, no PR opens and the reason says which. The Action reports this as `skipped` / `analysis: "none"`. 3. **The PR body always says what verified it.** A new **Verified by** row covers the pack, type-check, build and tests. - A no-pack run shows each check as passed, failed or not run, e.g. `⚠️ no migration pack: nothing analyzed what next 16.4.0 changes · ✅ type-check ·⚠️ build not run: no build script ·⚠️ tests not run: none ran`. - A pack-covered run shows `build not required (pack-verified migration)` with no warning. The warning is only for no-pack runs, where the build is required. - The build command and its result go in the verification details. - A no-pack run is never Low risk any more. Before, a bump-only run with green tests got "types and tests verified". - "Ready for review" now requires that the run is publishable. ## How it was verified - PR #3 reproduced (major, no pack, clean type-check), each asserting that no PR opens: - `action/run.test.ts`: no `fix` call, nothing published, the row is skipped / `none` / `no pack yet`, and the summary renders it. Also covers the post-run guard. - `fix/generic.test.ts`: `--pr` refuses before any change. Without `--pr`, verification passes but `publicationBlockers` and `publishVerified` refuse. - `fix/isolate.test.ts`: the CLI `--pr` path refuses before the agent is called. This test fails without the `forPublication` pass-through. - Minor with no pack: opens when build and tests pass, is refused with no build script or no tests, and fails when the build fails (`generic.test.ts`, `action/run.test.ts`). - `no-pack.test.ts` and `build.test.ts` cover the new modules. - Report snapshots and expectations are updated for the new row, the pack-covered build wording, and the risk change. - Merged with `main` (#103, #107, #108). The conflicts in `publish.ts` and `run-report/build.ts` were independent additions, and both sides are kept. - `pnpm lint && pnpm typecheck && pnpm test` pass after the merge: core 1410, CLI 434. The one lint warning (an unused import in `report.test.ts`) is already on `main`. ## Checklist - [x] Tests for the change (a bug fix starts with a failing test) - [x] `pnpm lint && pnpm typecheck && pnpm test` pass - [x] README and docs updated if behavior changed (`docs/ci.md`, `docs/commands/fix.md`, `docs/concepts.md`, `docs/faq.md`) - [x] Changeset added if a user would notice - [x] No new dependency, or it was agreed in an issue - [x] No private code, names or paths in fixtures, tests or docs - [x] The rules in CONTRIBUTING.md ("Rules that do not bend") still hold 🤖 Generated with [Claude Code](https://claude.com/claude-code) https://claude.ai/code/session_01BVrNCZBUt1KvChzeqDo7dd --------- Signed-off-by: Claude <[email protected]> Co-authored-by: Claude <[email protected]>
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.
UPT-19
What and why
The rest of the engine work behind the first Action run on uptide-test/saas-starter-kit. There is one commit per item; each can be reviewed on its own.
1. Companions analyzed at the versions their lead gives them (
fix(check))Cause. No later companion plan overrode react-dom. The plan was correct: react moved
react-domand@types/reactto 19. The bug was in howcheckbuilds the lead's group for each workspace. It built the group only from the workspace's analyzable packages, and that list leaves out@types/*and anything the workspace never imports. In a Next app,react-domis never imported and@types/reactis types-only, so both fell out of react's group before analysis. Each then hit the "type-only / never imported, skipped" early return, which reports the installed version as the target. That produced18.3.1 → 18.3.1, up to date. #104 fixed only how this was shown, not the cause.Reproduced locally on boxyhq/saas-starter-kit @abc9b68 (
npm ci --ignore-scripts). I ran the samecheckthe Action makes, with the first 10 used packages fromuptide list(next, next-i18next, @prisma/client, react, svix, zod, stripe, react-i18next, @sentry/nextjs, nodemailer):react18.3.1 → 19.3.0; react-dom and @types/react only incompanions18.3.1 → 19.3.0, members@types/react 18.3.13 → 19.3.0,react-dom 18.3.1 → 19.3.0react-dom18.3.1 → 18.3.1 not-imported@types/react18.3.13 → 18.3.13 not-importednodemailer@types/nodemailerincompanionsonlynodemailer,@types/nodemailer 7.0.4 → 8.0.2Fix.
checkGroup, a companion with no usages of its own is linked into the target overlay, and the baseline, at the version the plan gives it. That is the installfixmakes. It is also listed in the report'smembers.@types/reactforreact) is linked once, as the lead's declarations. Linking it twice failed withEEXISTon the real repo.moves with react, as fix(report): say "not analyzed" without a pack, move companions with their lead #104 does for the old shape.2.
verification.typecheck.afterUpgrade(feat(report))These are the errors right after the version bump and before any fix: the
verification.targetthatfixalready records.uptide.run/v1andschema/uptide.run.v1.json: optional and additive, next tobeforeandafter.types 0 → 4 with the upgrade → 0 after Uptide.✅ the upgrade broke 4 · Uptide left 0. When the baseline had errors, it adds(1 pre-existing, not counted). "Broke" counts errors after the bump that the baseline did not have. The bump moves no source line, so they compare as they are.docs/commands/fix.mdexamples are updated to the new line.3. Commits authored by the App's own bot (
fix(action))The Action resolves the bot with the installation token:
appSlug, read when present). Otherwise the Action triesGET /appwith the installation token, if GitHub answers it.GET /users/<slug>[bot], which must answer with that exact login.Commits in
fixand inuptide prare authored and committed as<slug>[bot] <<id>+<slug>[bot]@users.noreply.github.com>. If the identity cannot be resolved, they keepuptide[bot] <[email protected]>and the job log gets a::warning. The token never appears in a URL or message.docs/ci.mddescribes this.Needs the app side: GitHub documents
GET /appas JWT-only, so the reliable source is the Uptide app addingappSlugto its/api/action/tokenanswer. Until it does, expect the fallback and its warning.4.
verification.baselineHealthinuptide.run/v1(feat(report))Counts only:
typeErrors,failingTests,missingModules { local, packages }. These are the TS2307 errors among the baseline's errors, split between the repository's own paths (relative imports, path aliases) and packages. No specifier or alias group name leaves the fix report, and a test checks that. The field is optional, and the schema is regenerated.The
uptide/reportdeclarations embed the schema as a literal type, so items 2 and 4 together pushedindex.d.tsto 17.3 KB. Its budget inlibs-export.test.tsgoes from 16 KB to 20 KB; the JS budget is unchanged at 9.8 of 24 KB.5. Refusal wording (
fix(publish))publicationBlockersnow uses #98's words:1 type error introduced by the upgrade, 2 pre-existinginstead of1 new type error. A test run that was already failing before the upgrade is namedtests in X already failing before the upgrade. Before, it was listed as a failure of the migration.Sample job summary: a stripe fix run
Rendered by
renderSummaryfrom the stripe fix fixture in this repo (packages/core/src/fix/__fixtures__/stripe.json: 0 errors before, 4 after the bump, 0 after), with the versions set to 17.7.0 → 23.0.0:How it was verified
check/companion-group.test.tsis a syntheticui/ui-dom/@types/uirepo shaped like react. It checks one report with all three members at 2.0.0,[email protected]fetched into the overlay, and@types/[email protected]fetched once. It fails on main and passes here. The real-repo before and after are in the table above.action/run.test.tschecks companion rows whencheckreturns only the lead.run-report/report.test.tscovers the new field, the summary wording, a report without the field, and schema rejection of a negative value. The PR-body snapshots and terminal tests are updated.action/github.test.tscovers the slug from the exchange, theGET /appfallback on a GHE API URL, and undefined for: no slug, a malformed slug, 404, network down, another login, a non-integer id.oidc.test.tscoversappSlugfrom the exchange andengineEnv/publishEnvwith an identity.run.test.tschecks the bot passed tofixandpr, and the fallback with its warning.report.test.tschecks the counts, that no module or alias name appears, and that older reports still validate.publish.test.tscovers an unhealthy baseline with one new and one pre-existing failing run.pnpm lint && pnpm typecheck && pnpm testpass: core 1387 passed (32 skipped), CLI 433 passed. Lint shows one warning, an unused import infix/report.test.tsthat is already on main.scripts/public-tree.mjsandscripts/check-links.mjsare clean.scripts/private-material.mjsneeds theUPTIDE_PRIVATE_DENYLISTsecret, so it runs in CI.Checklist
pnpm lint && pnpm typecheck && pnpm testpassREADME.md,docs/ci.md,docs/commands/fix.md)🤖 Generated with Claude Code
https://claude.ai/code/session_01RniwUAvitpghJF4MuodRZz
Generated by Claude Code