Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
42 changes: 38 additions & 4 deletions .github/workflows/trace-adapters-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand All @@ -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"
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
13 changes: 13 additions & 0 deletions docs/test-evidence.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
2 changes: 1 addition & 1 deletion integrations/google-adk/integration.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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"