Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 14 additions & 4 deletions .github/workflows/ast-grep-upgrade.yml
Original file line number Diff line number Diff line change
Expand Up @@ -151,11 +151,21 @@ jobs:
if: steps.detect.outputs.update == 'true'
run: pnpm --filter @taskless/cli generate:ast-grep-schema

# The test itself imports source, but the `cli` vitest project it runs in
# does not: its globalSetup (test/support/distribution-snapshot.ts)
# snapshots `dist/` for every run and throws when there is none, before
# selecting a single test file. That setup landed 2026-10-01 and every
# run that found an update failed here from then on, proposing nothing,
# because this job had never needed to build. Built after the
# regeneration above so the bundle carries the new schema.
- name: Build the CLI
if: steps.detect.outputs.update == 'true'
run: pnpm --filter @taskless/cli build

# The consistency check Validate would run, before anything is pushed. It
# imports source directly and needs no build: it holds the constant to
# the pins and spawns the pinned binary to confirm it reports that
# version. A failure here is a bookkeeping defect in this job's own
# output, so the run fails and proposes nothing.
# holds the constant to the pins and spawns the pinned binary to confirm
# it reports that version. A failure here is a bookkeeping defect in this
# job's own output, so the run fails and proposes nothing.
#
# Deliberately ONLY that test. ast-grep-vendor-contract.test.ts holds the
# language list and a set of measured behaviours to the binary, and a new
Expand Down
18 changes: 14 additions & 4 deletions .github/workflows/vale-upgrade.yml
Original file line number Diff line number Diff line change
Expand Up @@ -206,11 +206,21 @@ jobs:
if: steps.detect.outputs.update == 'true'
run: pnpm --filter @taskless/cli generate:vale-schema

# The test itself imports source, but the `cli` vitest project it runs in
# does not: its globalSetup (test/support/distribution-snapshot.ts)
# snapshots `dist/` for every run and throws when there is none, before
# selecting a single test file. That setup landed 2026-10-01 and every
# run that found an update failed here from then on, proposing nothing,
# because this job had never needed to build. Built after the
# regeneration above so the bundle carries the new vocabulary.
- name: Build the CLI
if: steps.detect.outputs.update == 'true'
run: pnpm --filter @taskless/cli build

# The consistency check Validate would run, before anything is pushed. It
# imports source directly and needs no build: it holds the constant to
# the pins and spawns the pinned binary to confirm it reports that
# version. A failure here is a bookkeeping defect in this job's own
# output, so the run fails and proposes nothing.
# holds the constant to the pins and spawns the pinned binary to confirm
# it reports that version. A failure here is a bookkeeping defect in this
# job's own output, so the run fails and proposes nothing.
#
# Deliberately ONLY that test. vale-schema-contract.test.ts and
# vale-vendor-contract.test.ts hold a recorded corpus of what the binary
Expand Down
Loading