diff --git a/.github/workflows/trace-adapters-tests.yml b/.github/workflows/trace-adapters-tests.yml index 76ab4b6d..b3253799 100644 --- a/.github/workflows/trace-adapters-tests.yml +++ b/.github/workflows/trace-adapters-tests.yml @@ -12,6 +12,7 @@ on: - "integrations/openshell/**" - "integrations/openai-agents/**" - "scripts/test_evidence.py" + - "requirements/maintenance.txt" - "requirements/adapters*.in" - "requirements/adapters*.txt" - "requirements/sdk-*.in" @@ -29,6 +30,7 @@ on: - "integrations/openshell/**" - "integrations/openai-agents/**" - "scripts/test_evidence.py" + - "requirements/maintenance.txt" - "requirements/adapters*.in" - "requirements/adapters*.txt" - "requirements/sdk-*.in" @@ -200,7 +202,24 @@ jobs: - name: Test released FunctionAgent workflow observation run: | pip install -r integrations/llamaindex/requirements-interop.txt - python -m pytest integrations/llamaindex -q + python -m pip install --require-hashes -r requirements/maintenance.txt + python scripts/test_evidence.py capture \ + --integration integrations/llamaindex \ + --output "$RUNNER_TEMP/llamaindex-evidence" \ + --evidence-class synthetic \ + -- python -m pytest integrations/llamaindex -q + + - name: Check llamaindex execution receipt + if: always() + run: python scripts/test_evidence.py check "$RUNNER_TEMP/llamaindex-evidence" + - name: Retain llamaindex receipt and log + if: always() + uses: actions/upload-artifact@cf430e030ddbb5b0abf93d22962f4752f3646cd9 # v7.0.2 + with: + name: llamaindex-execution-evidence + path: ${{ runner.temp }}/llamaindex-evidence/ + retention-days: 30 + if-no-files-found: warn openai-agents-adapter: # Two passes, on purpose. The first proves record construction and the @@ -240,7 +259,22 @@ jobs: - name: Test released Google ADK interoperability and evidence rules run: | pip install --require-hashes -r requirements/sdk-google-adk.txt - python -m pytest \ + python scripts/test_evidence.py capture \ + --integration integrations/google-adk \ + --output "$RUNNER_TEMP/google-adk-evidence" \ + --evidence-class synthetic \ + -- python -m pytest \ integrations/google-adk/test_google_adk_to_trace.py \ - integrations/google-adk/test_google_adk_interop.py \ - -q + integrations/google-adk/test_google_adk_interop.py -q + + - name: Check google-adk execution receipt + if: always() + run: python scripts/test_evidence.py check "$RUNNER_TEMP/google-adk-evidence" + - name: Retain google-adk receipt and log + if: always() + uses: actions/upload-artifact@cf430e030ddbb5b0abf93d22962f4752f3646cd9 # v7.0.2 + with: + name: google-adk-execution-evidence + path: ${{ runner.temp }}/google-adk-evidence/ + retention-days: 30 + if-no-files-found: warn diff --git a/docs/test-evidence.md b/docs/test-evidence.md index 8652b408..24318bc5 100644 --- a/docs/test-evidence.md +++ b/docs/test-evidence.md @@ -49,3 +49,16 @@ tiers, compatibility floors, or maintainer approval requirements. The recorder tests exercise real subprocess success, failure and timeout plus missing evidence, changed manifests, mismatched versions/revisions and log substitution. Run `python -m pytest tests/test_test_evidence.py -q`. + +The proposed expansion wraps the existing Google ADK and LlamaIndex test commands. +It preserves their dependency installation, fixture-only execution and tiers. +Google ADK inherits TRACE from the first installation pass; LlamaIndex uses its +existing exact interop requirements. LlamaIndex additionally installs the existing +hash-locked maintenance dependency (PyYAML) for the recorder. Both jobs retain +receipts/logs for 30 days and run the consistency check even after command failure. +A stale declaration is a failing result, not grounds to skip the check. + +Local reproduction for this expansion: Google ADK 40 tests pass with TRACE +0.11.0 and trace-tests 0.5.1; its prior 0.10.0 declaration is corrected to the +observed version. LlamaIndex 63 tests pass with its existing TRACE 0.9.0 and +trace-tests 0.5.1 declaration. No tier or compatibility floor changes. diff --git a/integrations/google-adk/integration.yaml b/integrations/google-adk/integration.yaml index 7fa0e5ff..3f934b37 100644 --- a/integrations/google-adk/integration.yaml +++ b/integrations/google-adk/integration.yaml @@ -18,5 +18,5 @@ trace_roles: - record-producer trace_conformance_level: 0 tested_against: - agentrust-trace: "0.10.0" + agentrust-trace: "0.11.0" agentrust-trace-tests: "0.5.1"