Skip to content

Commit cf0c0fe

Browse files
committed
ci(lint): run check:liveness in the required source-gates lane on every change
The liveness ledger cites files across the tree, and the two places the command already ran let a stale citation land: the path-scoped advisory Spec property liveness workflow, and spec:test replayed from the turbo cache. Run the existing command in Type Check · source gates, which is unfiltered and required. Co-Authored-By: Claude <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01QsR2jVWeBc5ThsX5K8ymDr
1 parent dabef0f commit cf0c0fe

1 file changed

Lines changed: 22 additions & 0 deletions

File tree

‎.github/workflows/lint.yml‎

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5210,6 +5210,28 @@ jobs:
52105210
continue-on-error: true
52115211
run: pnpm --filter @objectstack/spec check:meta-url-spelling
52125212

5213+
# [#31518] The spec property-liveness ledger (packages/spec/liveness/)
5214+
# cites evidence files across the whole tree — packages/objectql,
5215+
# packages/runtime, ui/ and more — so a change that touches only a cited
5216+
# file can make a row stale. The two other places this command runs did
5217+
# not stop that from landing. `Spec property liveness`
5218+
# (spec-liveness-check.yml) is scoped by `paths:` to the spec side on
5219+
# pull_request and is not a required context, so its red merge_group run
5220+
# rides through the queue. The `local` vitest project's
5221+
# check-liveness.test.ts runs under `@objectstack/spec:test`, whose turbo
5222+
# hash does not cover the cited files, so a pull request that only moves
5223+
# code in a cited file replays it from the cache. Measured 2026-11-01..07:
5224+
# #30341 landed with its `Spec property liveness` queue run red, and
5225+
# main's tree failed this command until #30368; #30716's PR run replayed
5226+
# `spec:test` from the cache and its queue entry went red twice. This
5227+
# lane is unfiltered and required, so the same command now runs on every
5228+
# pull_request and merge_group. It reads source via tsx, needs no build,
5229+
# and takes about 4 s.
5230+
- name: Check every spec liveness citation still names its property
5231+
id: check-spec-liveness-citations
5232+
continue-on-error: true
5233+
run: pnpm --filter @objectstack/spec check:liveness
5234+
52135235
# The two ADR-0087 D4 projections, under the #22449 B′ ruling. They are
52145236
# generated where they ship — at publish, by scripts/release-spec-changes.sh,
52155237
# which also verifies the packed copies against a fresh generation — so

0 commit comments

Comments
 (0)