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
17 changes: 17 additions & 0 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2386,6 +2386,23 @@ jobs:
- name: CLI command-id literals resolve
run: pnpm check:cli-command-ids

# #15393. `os package publish` ships its example set TWICE — the oclif
# `examples` array in packages/cli/src/commands/package/publish.ts, printed
# verbatim under `EXAMPLES`, and a fenced block under
# `#### os package publish` in content/docs/deployment/cli.mdx. Two
# hand-maintained copies, and they drifted: the CLI line pointed at a
# directory deleted from this repo while the docs line for the same example
# was correct, for as long as it took a customer-simulation run to notice.
# ⛔ NOT an extension of check:cli-command-ids above — that gate's recorded
# refusal to reach into prose stands, and its population is 811 `os ...`
# mentions with no delimiter. This one's population is a TABLE: one fenced
# block under one exact heading against one named `examples` array. It
# compares the SET of invocations modulo the `$ ` prompt, trailing comments,
# whitespace and ORDER — the two voices may differ, the invocations may not.
# Reads two source files; no build, no install.
- name: CLI examples match the documented block
run: pnpm check:cli-examples-parity

# #4093 follow-up. Discovery tells a consumer an absent capability is
# absent AND what to install. The first half has been carefully honest
# since #2462/#4000; the second was invented from the slot name, so ten
Expand Down
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,7 @@
"check:cli-test-child-env": "node scripts/check-cli-test-child-env.mjs --self-test && node scripts/check-cli-test-child-env.mjs",
"check:vendor-version-stamps": "node scripts/check-vendor-version-stamps.mjs --self-test && node scripts/check-vendor-version-stamps.mjs",
"check:cli-command-ids": "node scripts/check-cli-command-ids.mjs --self-test && node scripts/check-cli-command-ids.mjs",
"check:cli-examples-parity": "node scripts/check-cli-examples-parity.mjs --self-test && node scripts/check-cli-examples-parity.mjs",
"check:authz-resolver": "node scripts/check-single-authz-resolver.mjs --self-test && node scripts/check-single-authz-resolver.mjs",
"check:slot-lookup": "node scripts/check-slot-lookup-ratchet.mjs --self-test && node scripts/check-slot-lookup-ratchet.mjs",
"check:query-options-erasure": "node scripts/check-query-options-erasure-ratchet.mjs --self-test && node scripts/check-query-options-erasure-ratchet.mjs",
Expand Down
Loading
Loading