fix: exclude .workflows-lib from consumer repo CI checks#618
Conversation
The synced .workflows-lib scripts use different ruff/black/mypy config than consumer repos. Exclude them from linting to avoid false failures.
Automated Status SummaryHead SHA: 1f82de7
Coverage Overview
Coverage Trend
Top Coverage Hotspots (lowest coverage)
Updated automatically; will refresh on subsequent CI/Docker completions. Keepalive checklistScopeAddress unmet acceptance criteria from PR #272. Original scope:
Context for AgentRelated Issues/PRsReferences
Tasks
Acceptance criteria
|
|
Status | ✅ autofix updates applied |
|
Autofix updated these files:
|
🤖 Keepalive Loop StatusPR #618 | Agent: Codex | Iteration 0/5 Current State
🔍 Failure Classification| Error type | infrastructure | |
There was a problem hiding this comment.
Pull request overview
This PR addresses CI failures in consumer repositories that sync .workflows-lib scripts from the source Workflows repository. Since the synced scripts use different linting configurations (ruff, black, mypy) than consumer repos, they need to be excluded from CI checks to prevent false failures.
Key Changes
- Added
.workflows-libdirectory exclusions to all Python linting tools (black, ruff, mypy) in the CI workflow - Removed extraneous blank line in
issue_formatter.pyfor better code formatting
Reviewed changes
Copilot reviewed 1 out of 1 changed files in this pull request and generated no comments.
| File | Description |
|---|---|
.github/workflows/reusable-10-ci-python.yml |
Added --exclude flags for .workflows-lib directory to black (line 563), ruff (line 844), and mypy (lines 1146-1147) commands with explanatory comments |
scripts/langchain/issue_formatter.py |
Removed unnecessary blank line between imports in the same group (lines 96-97) |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Automated Status Summary
Scope
Address unmet acceptance criteria from PR #272.
Original scope:
Context for Agent
Related Issues/PRs
References
Tasks
Acceptance criteria
Head SHA: ec588f4
Latest Runs: ✅ success — Gate
Required: gate: ✅ success