Motivation
Link to the gh-aw PR: github/gh-aw#55144 — "[safe-output-integrator] Add safe-output coverage for upload-code-coverage" adds a new upload-code-coverage safe-output type to the compiler.
Proposed test
- Workflow file:
test-copilot-upload-code-coverage.md
- Trigger:
workflow_dispatch
- Engine: copilot
- Safe output:
upload-code-coverage
- Variant: standard
Minimal test prompt sketch
Have the agent generate a small coverage report artifact (e.g. a minimal LCOV or Cobertura XML fixture) and invoke the upload-code-coverage safe output to upload it, verifying the compiled lockfile wires the correct upload step and the run completes successfully.
New fixtures or secrets needed
None expected, but needs confirmation of the exact frontmatter schema/fields for upload-code-coverage (e.g. required path/format keys) and whether a samples: block is supported for deterministic runs — check the gh-aw PR/docs before writing the .md source.
Notes
No existing test exercises this safe-output; not present in existing-tests.json or open-suggestions.json. Recommend triaging the exact schema first, then converting to a PR with a samples: block for determinism.
Generated by 🔍 Suggest New E2E Tests · auto · 22.3 AIC · ⌖ 3.5 AIC · ⊞ 8.8K · ◷
Motivation
Link to the gh-aw PR: github/gh-aw#55144 — "[safe-output-integrator] Add safe-output coverage for upload-code-coverage" adds a new
upload-code-coveragesafe-output type to the compiler.Proposed test
test-copilot-upload-code-coverage.mdworkflow_dispatchupload-code-coverageMinimal test prompt sketch
Have the agent generate a small coverage report artifact (e.g. a minimal LCOV or Cobertura XML fixture) and invoke the
upload-code-coveragesafe output to upload it, verifying the compiled lockfile wires the correct upload step and the run completes successfully.New fixtures or secrets needed
None expected, but needs confirmation of the exact frontmatter schema/fields for
upload-code-coverage(e.g. requiredpath/formatkeys) and whether asamples:block is supported for deterministic runs — check the gh-aw PR/docs before writing the.mdsource.Notes
No existing test exercises this safe-output; not present in existing-tests.json or open-suggestions.json. Recommend triaging the exact schema first, then converting to a PR with a
samples:block for determinism.