Skip to content

feat(trails): promote release smoke checks#715

Merged
graphite-app[bot] merged 1 commit into
mainfrom
trl-939-promote-release-confidence-gates-for-packed-artifacts-and
Jun 9, 2026
Merged

feat(trails): promote release smoke checks#715
graphite-app[bot] merged 1 commit into
mainfrom
trl-939-promote-release-confidence-gates-for-packed-artifacts-and

Conversation

@galligan

@galligan galligan commented Jun 9, 2026

Copy link
Copy Markdown
Contributor

Context

Part of the Release Rules M3 follow-through for TRL-939.

This branch makes release smoke checks package-owned and surfaced through Trails instead of living as repo-only scripts.

What Changed

  • Added release.smoke as a public trail surfaced through CLI and MCP.
  • Added trails release smoke --check wayfinder-dogfood and --check packed-artifacts.
  • Moved packed-artifact and Wayfinder dogfood smoke logic into @ontrails/trails/release.
  • Removed stale root and app script wrappers for those smoke checks.
  • Updated docs, agent guidance, and package scripts to use the new release smoke surface.
  • Added a branch-local changeset for @ontrails/trails.

Verification

  • Focused release smoke and MCP tests passed.
  • bun apps/trails/bin/trails.ts release smoke --check wayfinder-dogfood
  • bun run wayfinder:dogfood
  • bun run dogfood:packed
  • bun run check
  • bun run test
  • bun run build
  • bun run publish:check
  • gt submit --stack --draft --restack --no-edit --no-interactive --dry-run
  • Real Graphite submit pre-push passed: dead-code, format, lint, ast-grep, test, typecheck, Warden.

The old gate wording was intentionally cut over to check during local review.

@linear-code

linear-code Bot commented Jun 9, 2026

Copy link
Copy Markdown

TRL-939

galligan commented Jun 9, 2026

Copy link
Copy Markdown
Contributor Author

How to use the Graphite Merge Queue

Add either label to this PR to merge it via the merge queue:

  • queue:merge - adds this PR to the back of the merge queue
  • queue:priority - for urgent changes, fast-track this PR to the front of the merge queue

You must have a Graphite account in order to use the merge queue. Sign up using this link.

An organization admin has enabled the Graphite Merge Queue in this repository.

Please do not merge from GitHub as this will restart CI on PRs being processed by the merge queue.

This stack of pull requests is managed by Graphite. Learn more about stacking.

@galligan galligan marked this pull request as ready for review June 9, 2026 21:46

@greptile-apps greptile-apps Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Your free trial has ended. If you'd like to continue receiving code reviews, you can add a payment method here.

@graphite-app

graphite-app Bot commented Jun 9, 2026

Copy link
Copy Markdown

Merge activity

## Context

Part of the Release Rules M3 follow-through for TRL-939.

This branch makes release smoke checks package-owned and surfaced through Trails instead of living as repo-only scripts.

## What Changed

- Added `release.smoke` as a public trail surfaced through CLI and MCP.
- Added `trails release smoke --check wayfinder-dogfood` and `--check packed-artifacts`.
- Moved packed-artifact and Wayfinder dogfood smoke logic into `@ontrails/trails/release`.
- Removed stale root and app script wrappers for those smoke checks.
- Updated docs, agent guidance, and package scripts to use the new release smoke surface.
- Added a branch-local changeset for `@ontrails/trails`.

## Verification

- Focused release smoke and MCP tests passed.
- `bun apps/trails/bin/trails.ts release smoke --check wayfinder-dogfood`
- `bun run wayfinder:dogfood`
- `bun run dogfood:packed`
- `bun run check`
- `bun run test`
- `bun run build`
- `bun run publish:check`
- `gt submit --stack --draft --restack --no-edit --no-interactive --dry-run`
- Real Graphite submit pre-push passed: dead-code, format, lint, ast-grep, test, typecheck, Warden.

The old `gate` wording was intentionally cut over to `check` during local review.
@graphite-app graphite-app Bot force-pushed the trl-938-make-release-publishemit-a-declared-seam-native-bun-binding branch from 3eb63f4 to fd676c4 Compare June 9, 2026 21:49

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 93f9596586

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

const releaseSmokeCheckSchema = z.enum(releaseSmokeCheckValues);

const releaseSmokeInputSchema = z.object({
check: z.string().default('all').describe('Release smoke check to run'),

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge Constrain release.smoke check input

For the newly public release.smoke CLI/MCP surface, this schema advertises check as an arbitrary string even though the blaze immediately validates it against the enum declared above. That makes generated clients and CLI help unable to discover the only valid values (all, packed-artifacts, wayfinder-dogfood), and invalid values are only rejected after execution starts rather than by the contract. Use the enum schema here (with the same default) so the public surface contract matches the runtime behavior.

Useful? React with 👍 / 👎.

@graphite-app graphite-app Bot force-pushed the trl-939-promote-release-confidence-gates-for-packed-artifacts-and branch from 93f9596 to 0ccb3e5 Compare June 9, 2026 21:49
Base automatically changed from trl-938-make-release-publishemit-a-declared-seam-native-bun-binding to main June 9, 2026 21:52
@graphite-app graphite-app Bot merged commit 0ccb3e5 into main Jun 9, 2026
9 checks passed
@graphite-app graphite-app Bot deleted the trl-939-promote-release-confidence-gates-for-packed-artifacts-and branch June 9, 2026 21:52
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