diff options
| author | Yuriy Andamasov <yuriy@vyos.io> | 2026-05-11 08:54:21 +0300 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-05-11 08:54:21 +0300 |
| commit | 82a900681a50eecfd67fa1fb82e9ea973e04ffd6 (patch) | |
| tree | 21cdf70db21f7eaa2cb07f3d41219cdad3bb0ad7 /.github/workflows | |
| parent | fd33c48d570a9a43f5d87c3e296da873d952d01b (diff) | |
| parent | b465e3b1185189305e3c668d77b9f1ef939a097c (diff) | |
| download | vyos-documentation-82a900681a50eecfd67fa1fb82e9ea973e04ffd6.tar.gz vyos-documentation-82a900681a50eecfd67fa1fb82e9ea973e04ffd6.zip | |
Merge pull request #1971 from vyos/yuriy/ai-validation-revert-db-pin
ci(ai-validation): revert DB-download `tag:` pin to `latest:true` (critical regression)
Diffstat (limited to '.github/workflows')
| -rw-r--r-- | .github/workflows/ai-validation.yml | 16 |
1 files changed, 11 insertions, 5 deletions
diff --git a/.github/workflows/ai-validation.yml b/.github/workflows/ai-validation.yml index d5f1160f..c19f7737 100644 --- a/.github/workflows/ai-validation.yml +++ b/.github/workflows/ai-validation.yml @@ -323,11 +323,17 @@ jobs: uses: robinraju/release-downloader@28fc21f50d76778e7023361aa1f863e717d3d56f # v1.13 with: repository: VyOS-Networks/vyos-docs-opus-reviewer - # Pin the DB to the same release tag as REVIEWER_REF so a future - # reviewer-v1.x.x release with a schema change cannot be silently - # picked up while the pinned reviewer code still expects the old - # schema. Reproducibility > recency for this artifact. - tag: ${{ env.REVIEWER_REF }} + # latest: true is correct here. Reference DBs live in their own + # `ref-db-<timestamp>` release stream produced by the matrixed + # rebuild-reference workflow — NOT attached to the `reviewer-v1.x.x` + # release that REVIEWER_REF pins. A `tag: ${{ env.REVIEWER_REF }}` + # form would 404 (the reviewer-v1.x.x tag has no GH release with + # DB assets). The reference DB schema is intentionally backwards + # compatible across reviewer Python releases; the freshest DB is + # the right choice. If the DB schema ever changes incompatibly, + # bump REVIEWER_REF in the consuming workflow and the new code + # will refuse to load an older-format DB at the fail-closed gate. + latest: true fileName: reference-db-${{ steps.branch.outputs.vyos1x }}.tar.gz out-file-path: .reference-db token: ${{ steps.app.outputs.token }} |
