Skip to content

[safe-output-integrator] Add missing safe-output test workflows and compiler tests#24975

Merged
pelikhan merged 1 commit intomainfrom
safe-output-integrator/2026-04-06-afac4bae97661a0f
Apr 7, 2026
Merged

[safe-output-integrator] Add missing safe-output test workflows and compiler tests#24975
pelikhan merged 1 commit intomainfrom
safe-output-integrator/2026-04-06-afac4bae97661a0f

Conversation

@github-actions
Copy link
Copy Markdown
Contributor

@github-actions github-actions bot commented Apr 6, 2026

Safe Output Test Coverage

This PR adds test workflows and Go compiler tests for the report-incomplete safe output type, which was the only type lacking test coverage.

New Test Workflows Added

  • pkg/cli/workflows/test-copilot-report-incomplete.md — exercises the report-incomplete safe output type with the Copilot engine; asks the agent to signal task incompletion due to a simulated infrastructure failure

Go Tests Added

Added "report_incomplete config" test case to TestAddHandlerManagerConfigEnvVar in pkg/workflow/compiler_safe_outputs_config_test.go. The test verifies that ReportIncompleteConfig is correctly serialized into the GH_AW_SAFE_OUTPUTS_HANDLER_CONFIG environment variable with the expected report_incomplete key.

Summary

All 39 safe-output types now have test coverage. The previously uncovered type was:

Type Workflow File Go Test
report-incomplete test-copilot-report-incomplete.md report_incomplete config

References: §24055463181

Generated by Daily Safe Output Integrator · ● 3.1M ·

  • expires on Apr 9, 2026, 11:09 PM UTC

Add missing test workflow and Go compiler test for the report-incomplete safe output type, which signals that a task could not be completed due to an infrastructure or tool failure.

- pkg/cli/workflows/test-copilot-report-incomplete.md: new test workflow
- pkg/workflow/compiler_safe_outputs_config_test.go: new test case

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@pelikhan pelikhan merged commit ea98955 into main Apr 7, 2026
@pelikhan pelikhan deleted the safe-output-integrator/2026-04-06-afac4bae97661a0f branch April 7, 2026 00:26
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