From 45da31801c411ba42dcfd778e1011e1aacc28f44 Mon Sep 17 00:00:00 2001 From: Alexey Rybak <50731695+reluctantfuturist@users.noreply.github.com> Date: Wed, 24 Sep 2025 13:59:31 -0700 Subject: [PATCH] fix: update API conformance test to point to new schema location (#3528) # What does this PR do? Update file paths in the conformance workflow to reflect the new location of the llama-stack-spec files from `docs/_static/` to `docs/static/`. Also update the `.gitignore` file to exclude Docusaurus-related directories (`docs/.docusaurus/` and `docs/node_modules/`). ## Test Plan - Run the workflow locally --- .github/workflows/conformance.yml | 6 +++--- .gitignore | 2 ++ 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/.github/workflows/conformance.yml b/.github/workflows/conformance.yml index c7962c93d..9383476f5 100644 --- a/.github/workflows/conformance.yml +++ b/.github/workflows/conformance.yml @@ -13,8 +13,8 @@ on: branches: [ main ] types: [opened, synchronize, reopened] paths: - - 'docs/_static/llama-stack-spec.yaml' - - 'docs/_static/llama-stack-spec.html' + - 'docs/static/llama-stack-spec.yaml' + - 'docs/static/llama-stack-spec.html' - '.github/workflows/conformance.yml' # This workflow itself concurrency: @@ -66,6 +66,6 @@ jobs: # This step will fail if incompatible changes are detected, preventing breaking changes from being merged - name: Run OpenAPI Breaking Change Diff run: | - oasdiff breaking --fail-on ERR base/docs/_static/llama-stack-spec.yaml docs/_static/llama-stack-spec.yaml --match-path '^/v1/openai/v1' \ + oasdiff breaking --fail-on ERR base/docs/static/llama-stack-spec.yaml docs/static/llama-stack-spec.yaml --match-path '^/v1/openai/v1' \ --match-path '^/v1/vector-io' \ --match-path '^/v1/vector-dbs' diff --git a/.gitignore b/.gitignore index 11cc59847..b516d4dd9 100644 --- a/.gitignore +++ b/.gitignore @@ -30,3 +30,5 @@ AGENTS.md server.log CLAUDE.md .claude/ +docs/.docusaurus/ +docs/node_modules/