Skip to content

[safe-output-integrator] Add missing safe-output test workflow and compiler test for create-check-run#36520

Merged
pelikhan merged 1 commit into
mainfrom
safe-output-integrator/2026-06-02-6de3297af622ef64
Jun 2, 2026
Merged

[safe-output-integrator] Add missing safe-output test workflow and compiler test for create-check-run#36520
pelikhan merged 1 commit into
mainfrom
safe-output-integrator/2026-06-02-6de3297af622ef64

Conversation

@github-actions
Copy link
Copy Markdown
Contributor

@github-actions github-actions Bot commented Jun 2, 2026

Add test coverage for create_check_run safe-output type

What

  • New workflow test (pkg/cli/workflows/test-copilot-create-check-run.md): adds an end-to-end workflow test file that exercises the create_check_run safe output type via the Copilot engine.
  • Compiler config test (pkg/workflow/compiler_safe_outputs_config_test.go): adds a unit test case asserting that CreateCheckRunConfig is correctly serialized into the GH_AW_SAFE_OUTPUTS_HANDLER_CONFIG environment variable under the create_check_run key.

Why

The create_check_run safe-output type was previously untested at both the workflow integration level and the compiler serialization level. These additions close that gap, giving confidence that the config is wired correctly end-to-end.

Impact

  • No breaking changes.
  • No production code modified — test-only additions.
  • Medium impact on test coverage for compiler_safe_outputs_config; low impact on workflow test surface.

Files changed

File Change
pkg/cli/workflows/test-copilot-create-check-run.md Added — new workflow test for create_check_run safe output
pkg/workflow/compiler_safe_outputs_config_test.go Modified — new unit test case for CreateCheckRunConfig serialization

Generated by PR Description Updater for issue #36520 · sonnet46 895.6K ·

- Add test workflow pkg/cli/workflows/test-copilot-create-check-run.md
- Add Go compiler test case for create_check_run in
  compiler_safe_outputs_config_test.go

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@pelikhan pelikhan merged commit dd25e2b into main Jun 2, 2026
@pelikhan pelikhan deleted the safe-output-integrator/2026-06-02-6de3297af622ef64 branch June 2, 2026 21:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant