Skip to content

chore(ci): name the validate check as an identifier, not a sentence - #76

Merged
David-Noble-at-work merged 1 commit into
developfrom
chore/rename-validate-check-context
Aug 26, 2026
Merged

David-Noble-at-work merged 1 commit into
developfrom
chore/rename-validate-check-context

Conversation

@David-Noble-at-work

Copy link
Copy Markdown
Contributor

Prerequisite for requiring every pull-request check in this repository.

The rename

Validate YAML schemas → validate-yaml-schemas.

A job's name is the check context a ruleset must match exactly, so it should read like an
identifier rather than a sentence. This matches quality-gate here and the test (…) /
scenario (…) contexts in devlore-cli.

It lands before the ruleset deliberately: a ruleset naming a context that does not exist is a
required check that never arrives, which blocks every merge rather than none.

This PR's own validate-yaml-schemas will be red

Expected, and unrelated to the rename. star devlore package validate fails with:

function run missing 1 argument (ctx)

Tracked as NobleFactor/devlore-cli#695. Two things it is not: a stale signature — the
(command, ctx) definition has been in place since 2026-03-23, five months before the first
recorded failure — and a stale checkout, since validate.yaml takes devlore-cli's default branch.
devlore-cli runs the same command in knowledge-extract and passes, which points at how star is
built here rather than at the extension.

Merging over a known-red check is an override made after looking at the result, which is what the
policy sanctions. The script that opens this PR refuses to merge if anything other than
validate-yaml-schemas fails.

What follows

Once develop has reported under the new name, a repository ruleset requires both pull-request
checks — quality-gate and validate-yaml-schemas. That freezes this repository for anyone who is
not a bypass actor until #695 is fixed, which is the point.

update-indexes is not requirable: it runs only on push, never reports on a pull request, and
requiring it would block every merge permanently. It has its own defect — it pushes directly into
the protected branch that triggered it, now refused — tracked as #75.

A job's name is the check context a ruleset has to match exactly, so it should
read like an identifier: lowercase, hyphenated, no spaces. "Validate YAML
schemas" becomes validate-yaml-schemas, matching quality-gate here and the
test (…) / scenario (…) contexts in devlore-cli.

This is the prerequisite for requiring it. A ruleset naming a context that does
not exist is a required check that never arrives, which blocks every merge
rather than none, so the rename lands first and the ruleset follows once
develop has reported under the new name.

The check itself is red and stays red: star devlore package validate fails with
"function run missing 1 argument (ctx)", tracked as devlore-cli#695. That is
not a stale signature — the (command, ctx) definition has been in place since
2026-03-23 — and devlore-cli runs the same command in knowledge-extract and
passes, which points at how star is built here rather than at the extension.

Requiring this check will therefore freeze the repository for anyone who is not
a bypass actor until #695 is fixed. That is the intent: a failure this old
should not be quietly survivable.
@David-Noble-at-work
David-Noble-at-work merged commit a5e0816 into develop Aug 26, 2026
1 of 2 checks passed
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