diff options
| author | Yuriy Andamasov <yuriy@vyos.io> | 2026-05-11 09:27:24 +0300 |
|---|---|---|
| committer | Yuriy Andamasov <yuriy@vyos.io> | 2026-05-11 09:27:24 +0300 |
| commit | e7f4839d2c5af7f9bc9550203eb478907364ca43 (patch) | |
| tree | 4ea931a6d1429e4e4db70ac2cada84c23c659651 /.github/workflows | |
| parent | bcbe5529b9f8fa9dda238bd3d0ec9f22fc15c73a (diff) | |
| download | vyos-documentation-e7f4839d2c5af7f9bc9550203eb478907364ca43.tar.gz vyos-documentation-e7f4839d2c5af7f9bc9550203eb478907364ca43.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/workflows')
| -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 |
