github / github/gh-aw

[windows-integration] Update windows-cli-integration workflow to use safeoutputs-compatible issue reporting and harden matrix coverage checks

Open
#59,632 0 comments 0 reactions 0 assignees View on GitHub
windows workflow
Dominant language
Go
Stars
5.1k
Forks
541
Avg merge
5h 48m
Merged PRs (30d)
773

Description

The current `.github/workflows/windows-cli-integration.yml` is close to target, but it still needs focused updates to fully satisfy the required behavior and repository execution constraints.

### Why change is needed
- The `conclusion` job currently creates issues with `gh issue create`.
- In this environment, GitHub writes must be declared via safe-output tooling, and `gh` write-path assumptions are not reliable in cloud-agent runs.
- A few assertions should be made more explicit in step summaries to keep failures fast and debuggable for matrix scenarios.

### Required updates
- Replace the direct `gh issue create` call in `conclusion` with a repository-approved safe-output path for issue creation.
- Keep the existing `if: always()` conclusion orchestration and final failure gate (`exit 1`) intact.
- Preserve minimal explicit permissions and SHA-pinned actions.
- Ensure matrix/chaos scenario failures keep clear, single-line diagnostics in step summary for:
- shell variant
- launch mode
- env shape
- path style
- timeout/failure reason

### Acceptance criteria
- Workflow still triggers on daily schedule and `workflow_dispatch`.
- Build job still runs on `ubuntu-latest`, cross-compiles `gh-aw.exe`, uploads artifact.
- Integration job still runs on `windows-latest`, downloads artifact, executes systematic matrix across shell × launch mode × env shape × path style.
- Timeout protection remains in place for integration invocations and ConPTY probes.
- At least one intentional negative/chaos validation remains and fails fast with explicit error text.
- Conclusion job always runs, aggregates prior job outcomes, and fails the workflow if required jobs fail.
- Failure issue creation path is updated to an approved/compatible mechanism for this repo’s agentic constraints.

> [!WARNING]
>
> Firewall blocked 1 domain
>
> The following domain was blocked by the firewall during workflow execution:
>
> - `ab.chatgpt.com`
>
> To allow these domains, add them to the `network.allowed` list in your workflow frontmatter:
>
> ```yaml
> network:
> allowed:
> - defaults
> - "ab.chatgpt.com"
> ```
>
> See [Network Configuration](https://github.github.com/gh-aw/reference/network/) for more information.
>
>

> Generated by [🪟 Daily Windows Terminal Integration Builder](https://github.com/github/gh-aw/actions/runs/34312207556) · codex · gpt53codex · 7.68 AIC · ⌖ 2.84 AIC · ⊞ 14.8K · [◷](https://github.com/search?q=repo%3Agithub%2Fgh-aw+is%3Aissue+%22gh-aw-workflow-call-id%3A+github%2Fgh-aw%2Fdaily-windows-terminal-integration-builder%22&type=issues)

Contributor guide

Open the contributing guide

Research direction

Start with .github/workflows/windows-cli-integration.yml, especially the conclusion job and its current issue-reporting call, then trace the matrix assertions and step summaries. Verify the workflow still preserves its triggers, pinned actions, permissions, build and Windows integration jobs, timeouts, negative validation, always-running conclusion, and final failure gate. Done means failures report the required matrix dimensions and issue creation uses the repository-approved safe-output path.

Written by the indexing model from the issue text.

Assessment

Tech stack
github-actions
Domain
ci-cd, devops
Issue type
Refactor
Difficulty
3/5
Estimated time
1-2 days
Activity status
Active
Clarity
Mostly clear
Newbie friendliness
68/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.