Skip to content

Suggested test: copilot/upload-code-coverage #12114

Description

@github-actions

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 ·

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions