Skip to content

Fix clean-checkout test and lint failures - #61105

Merged
pelikhan merged 5 commits into
mainfrom
fix/main-local-checks
Sep 16, 2026
Merged

pelikhan merged 5 commits into
mainfrom
fix/main-local-checks

Conversation

@dsyme

@dsyme dsyme commented Sep 15, 2026 •

Copy link
Copy Markdown
Collaborator

Summary

  • configure runtime prompt templates in check_version_updates tests so blocked-version issue cases work without ambient runner environment
  • apply the Go modernize fixes reported by golint
  • update stale safe-output schema conformance expectations now that coverage is complete
  • use a genuinely forbidden flow-style permission in the workflow-purity regression while retaining the intentional actions: write allowance

Validation

  • make test-all
  • make lint

Both pass locally on a clean checkout. The CJS linter continues to report its existing non-fatal warnings.


Warning

Firewall blocked 1 domain

The following domain was blocked by the firewall during workflow execution:

  • github.com

To allow these domains, add them to the network.allowed list in your workflow frontmatter:

network:
  allowed:
    - defaults
    - "github.com"

See Network Configuration for more information.

Generated by 👨‍🍳 PR Sous Chef · pi · gpt54 · 15.5 AIC · ⊞ 9.4K · ◷
Comment /souschef to run again

Copilot AI balanced review requested due to automatic review settings September 15, 2026 10:37

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot review overview

🟡 Changes recommended

The purity regression no longer verifies that the required actions: write exception remains allowed.

Get a fresh assessment by requesting another Copilot review.

Review tier: Balanced
Findings: 1 Medium severity

Open (1)
What changed in this PR

Fixes clean-checkout test and lint failures across workflow validation and setup tooling.

Changes:

  • Configures prompt fixtures for version-update tests.
  • Updates conformance and workflow-purity expectations.
  • Applies Go modernization fixes and adds a patch changeset.
File Description
.changeset/​patch-fix-local-test-lint.md Records the patch-level maintenance fix.
actions/​setup/​js/​check_version_updates.test.cjs Configures and restores runtime prompt paths.
pkg/​cli/​logs_orchestrator_unit_test.go Uses fmt.Appendf for byte fixtures.
pkg/​workflow/​cloud_hypervisor_test.go Modernizes JSON fixture construction.
pkg/​workflow/​template_injection_validation_benchmark_test.go Uses the modern benchmark loop API.
scripts/​check-cgo-cjs-workflow-purity_test.sh Uses a forbidden flow-style permission fixture.
scripts/​check-safe-outputs-conformance_test.sh Expects complete safe-output schema coverage.

steps:
- run: echo ok"
write_workflow "$T4_CJS" " permissions: { contents: read, actions: 'write' }
write_workflow "$T4_CJS" " permissions: { contents: read, issues: 'write' }

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Added a separate passing actions: write workflow fixture in scripts/check-cgo-cjs-workflow-purity_test.sh. The forbidden flow-style issues: write coverage remains unchanged. Fixed in 264e841.

@github-actions

Copy link
Copy Markdown
Contributor

Thanks @dsyme for fixing these local test and lint failures! 🎯 The PR is well-focused, properly documented with clear validation steps (make test-all and make lint), and touches only test and script infrastructure. The changes look ready for review—good work on maintaining test quality across clean checkouts.

Warning

Firewall blocked 1 domain

The following domain was blocked by the firewall during workflow execution:

  • github.com

To allow these domains, add them to the network.allowed list in your workflow frontmatter:

network:
  allowed:
    - defaults
    - "github.com"

See Network Configuration for more information.

Generated by ✅ Contribution Check · copilot · auto · 49 AIC · ⌖ 6.23 AIC · ⊞ 9.5K · ◷

@gh-aw-bot

Copy link
Copy Markdown
Collaborator

@copilot Please take another pass on this PR and run the pr-finisher skill.

There is still an open Copilot review finding on the current work:

Please either push the follow-up fix or summarize the remaining blocker for maintainers.

Run: https://github.com/github/gh-aw/actions/runs/35009433262

Generated by 👨‍🍳 PR Sous Chef · pi · gpt54 · 7.83 AIC · ⊞ 9K · ◷
Comment /souschef to run again

Co-authored-by: gh-aw-bot <259018956+gh-aw-bot@users.noreply.github.com>

Copilot AI commented Sep 15, 2026

Copy link
Copy Markdown
Contributor

@copilot Please take another pass on this PR and run the pr-finisher skill.

There is still an open Copilot review finding on the current work:...

Added the separate passing actions: write regression fixture and preserved the forbidden flow-style case in 264e841. Targeted tests and make agent-report-progress pass.

Co-authored-by: gh-aw-bot <259018956+gh-aw-bot@users.noreply.github.com>
@gh-aw-bot

Copy link
Copy Markdown
Collaborator

@copilot Please take another pass on this PR and run the pr-finisher skill.

Outstanding follow-up items on the current head:

Please either push the remaining fix, resolve the thread if addressed, or summarize the blocker for maintainers.

Run: https://github.com/github/gh-aw/actions/runs/35036703499

Warning

Firewall blocked 1 domain

The following domain was blocked by the firewall during workflow execution:

  • github.com

To allow these domains, add them to the network.allowed list in your workflow frontmatter:

network:
  allowed:
    - defaults
    - "github.com"

See Network Configuration for more information.

Generated by 👨‍🍳 PR Sous Chef · pi · gpt54 · 15.5 AIC · ⊞ 9.4K · ◷
Comment /souschef to run again

Co-authored-by: gh-aw-bot <259018956+gh-aw-bot@users.noreply.github.com>

Copilot AI commented Sep 16, 2026

Copy link
Copy Markdown
Contributor

@copilot Please take another pass on this PR and run the pr-finisher skill.

Outstanding follow-up items on the current head:...

The branch refresh is present in merge commit bd15395. I reproduced the lint-js Prettier failure, fixed the refreshed TypeScript rule in 8b4fd2b, and verified make fmt, make lint, make test-unit, make test, and make recompile all pass locally. The Copilot thread was already addressed in 264e841; I am resolving it separately.

@pelikhan
pelikhan merged commit ddd79f3 into main Sep 16, 2026
42 checks passed
@pelikhan
pelikhan deleted the fix/main-local-checks branch September 16, 2026 05:11
@github-actions

Copy link
Copy Markdown
Contributor

🎉 This pull request is included in a new release.

Release: v0.89.17

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants