Skip to content

ci: restore docs CI — GITHUB_TOKEN for version fetch + skip bot-blocked link (via testing-ci)#464

Merged
g-despot merged 3 commits into
mainfrom
testing-ci
Jul 6, 2026
Merged

ci: restore docs CI — GITHUB_TOKEN for version fetch + skip bot-blocked link (via testing-ci)#464
g-despot merged 3 commits into
mainfrom
testing-ci

Conversation

@g-despot

@g-despot g-despot commented Jul 6, 2026

Copy link
Copy Markdown
Contributor

Runs the full docs test suite (Docs Code Tests / Indexability / llms.txt / link validation / deploy) from testing-ci against the freshly-restored Weaviate Cloud test cluster. Supersedes #463 (same two commits); merging from testing-ci once green.

Changes (2 commits)

  1. fix(ci): use built-in GITHUB_TOKEN for version fetch instead of expired PAT — the custom GH_API_TOKEN secret expired, so update-config-versions.js got 401 from the GitHub API and failed the job at the Update versions from GitHub step (both PR link validation and production Build-and-deploy). Switches the 3 refs to secrets.GITHUB_TOKEN, matching llms_txt_tests.yml. Env var name unchanged; script untouched; never expires.
  2. fix(ci): skip tim-kleyersburg.de in link validator — community PHP-client author link returns 200 in a browser but 403s runner traffic; added to the shared domainsToIgnore list.

Context

The scheduled Docs Code Tests failures (~124 across all 5 languages, all identical 404 on GET /v1/meta) were caused by the WCD test cluster being deleted, not snippet bugs. The cluster has been restored from the tests/backups snapshot (20 collections, counts verified, near_text working) and the cluster secrets updated. This run validates end-to-end against it.

g-despot added 2 commits July 6, 2026 09:24
…site is live)

The community PHP client author link (docs/weaviate/client-libraries/community.md)
returns 200 in a browser but 403s GitHub-runner traffic via linkinator, failing
PR link validation. Add it to the shared domainsToIgnore list, matching the
existing convention for db-engines.com and similar bot-protected domains.
…ed PAT

The custom GH_API_TOKEN secret (a PAT) expired, so update-config-versions.js
got 401 Unauthorized from the GitHub API and failed the whole job at the
'Update versions from GitHub' step in both PR link validation and the
production Build-and-deploy workflow. Switch both to the built-in
secrets.GITHUB_TOKEN, matching llms_txt_tests.yml, which already fetches the
same public release listings successfully. The env var name GH_API_TOKEN is
unchanged so the script needs no edit; GITHUB_TOKEN never expires and needs
no rotation.

@orca-security-eu orca-security-eu Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Orca Security Scan Summary

Status Check Issues by priority
Passed Passed Infrastructure as Code high 0   medium 0   low 0   info 0 View in Orca
Passed Passed SAST high 0   medium 0   low 0   info 0 View in Orca
Passed Passed Secrets high 0   medium 0   low 0   info 0 View in Orca
Passed Passed Vulnerabilities high 0   medium 0   low 0   info 0 View in Orca

The Query Agent service now requires the search-mode `filtering` argument to be
"recall" or "precision"; the latest client (weaviate-agents 1.6.0) still
defaults it to None and sends null, so every `.search()` call that omits
`filtering` fails with a 422. Document `filtering` as required (recommending
"recall") and pass `filtering="recall"` in every initial search-mode snippet
(Python + TypeScript); the precision FilteringExample and pagination/ask calls
are unchanged.
@g-despot g-despot merged commit 63535a0 into main Jul 6, 2026
19 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