Skip to content

fix(pygate): install ruff+pyright so the canary gate doesn't exit-127#10

Merged
roli-lpci merged 1 commit into
mainfrom
fix/pygate-install-linters
Jun 7, 2026
Merged

fix(pygate): install ruff+pyright so the canary gate doesn't exit-127#10
roli-lpci merged 1 commit into
mainfrom
fix/pygate-install-linters

Conversation

@roli-lpci

Copy link
Copy Markdown
Collaborator

The pygate composite action installed only pygate-ci but the canary gate runs ruff + pyright, which exited 127 (command not found) and produced false lint_exit_127/typecheck_exit_127 'fail/escalated' reports. Installs the linters the gate invokes. 🤖 Generated with Claude Code

…check run

The composite action installed only pygate-ci, but the canary gate shells
out to ruff and pyright -> they exited 127 (command not found), making the
example workflow falsely report lint_exit_127 / typecheck_exit_127. Install
the linters the gate invokes.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@github-actions

github-actions Bot commented Jun 7, 2026

Copy link
Copy Markdown

PyGate Quality Gate Results

PyGate Agent Brief — run_20260607044647_dd7c9c68

Mode: canary
Status: fail
Summary: 2 deterministic finding(s) require repair.

Findings & Actions

lint_exit_127

  • Action: Apply targeted ruff fixes and re-run lint deterministically.
  • Scope: multi_file
  • Rationale: lint failed deterministically. Address this before any inferred optimizations.

typecheck_exit_127

  • Action: Resolve Pyright type errors for impacted files and re-run typecheck.
  • Scope: multi_file
  • Rationale: typecheck failed deterministically. Address this before any inferred optimizations.

Retry Policy

  • Max attempts: 3
  • Max patch lines: 150
  • Abort on no improvement: 2 consecutive attempts

Escalation

  • Required: True
  • Reason: UNRESOLVED_DETERMINISTIC_FAILURES
  • Message: Escalate with evidence packet if bounded repair loop cannot clear deterministic failures.

@roli-lpci roli-lpci merged commit b8fd25f into main Jun 7, 2026
7 checks passed
@roli-lpci roli-lpci deleted the fix/pygate-install-linters branch June 7, 2026 05:15
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.

1 participant