diff options
| author | Yuriy Andamasov <yuriy@vyos.io> | 2026-05-11 09:27:20 +0300 |
|---|---|---|
| committer | Yuriy Andamasov <yuriy@vyos.io> | 2026-05-11 09:27:20 +0300 |
| commit | 78f624ee9d36f175dc530b057376f510a0faba6b (patch) | |
| tree | f113e124eaa631b36d032264e443c86670bf514c /.github | |
| parent | a0a9c004aa521eb4a90d71c25e5bb1dd9e5cde6f (diff) | |
| download | vyos-documentation-78f624ee9d36f175dc530b057376f510a0faba6b.tar.gz vyos-documentation-78f624ee9d36f175dc530b057376f510a0faba6b.zip | |
ci(ai-validation): collapse split-backtick comment span (Copilot)
Copilot finding on #1974/#1975: the inline backtick code span
`[ -s diff-md.patch ] && [ ! -d .reference-db/extracted ]` was split
across two YAML comment lines, which renders poorly in Markdown
viewers (the backtick crosses the line boundary).
Reworded to put the relevant filesystem-presence check (`-d
.reference-db/extracted`) on a single line and drop the redundant
`-s diff-md.patch` half — the latter is the job-level gate
condition, not part of the fail-closed gate logic, so omitting it
from this rationale comment removes the wrap-required spread without
losing meaning. The `-d` check on its own is what defines "the gate
is a presence check, not a schema check".
Mirrored byte-identically across rolling/circinus/sagitta.
Diffstat (limited to '.github')
| -rw-r--r-- | .github/workflows/ai-validation.yml | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/.github/workflows/ai-validation.yml b/.github/workflows/ai-validation.yml index c0f70b9c..b4736fe1 100644 --- a/.github/workflows/ai-validation.yml +++ b/.github/workflows/ai-validation.yml @@ -333,9 +333,9 @@ jobs: # the right choice. If the DB schema ever changes incompatibly, # bump REVIEWER_REF in the consuming workflow — the newer # reviewer code will error at DB-load time inside `Pass 1 — - # deterministic checks`. The workflow's own fail-closed gate is - # a presence check (`[ -s diff-md.patch ] && [ ! -d - # .reference-db/extracted ]`); it does not inspect DB schema. + # deterministic checks`. The workflow's own fail-closed gate + # is a presence check on `.reference-db/extracted`; it does + # not load or inspect DB schema. latest: true fileName: reference-db-${{ steps.branch.outputs.vyos1x }}.tar.gz out-file-path: .reference-db |
