Skip to content

ci: fix stale lint path after observability package refactor - #602

Merged
delete-cloud merged 1 commit into
mainfrom
fix/woodpecker-lint-paths
Jun 15, 2026
Merged

delete-cloud merged 1 commit into
mainfrom
fix/woodpecker-lint-paths

Conversation

@delete-cloud

@delete-cloud delete-cloud commented Jun 15, 2026 •

Copy link
Copy Markdown
Owner

What

The .woodpecker/ci.yml lint step referenced src/coding_agent/observability.py, which the layout refactor (#591–#597) turned into a package src/coding_agent/observability/. Ruff failing on the missing path failed the lint step, which skipped the later build-image step on every push to main — so no container images were being built by the pipeline.

Change

One line: ruff check src/coding_agent/observability.py … → … src/coding_agent/observability/ …. Audited the other lint/smoke-test paths; all still exist.

Verification

  • uv run ruff check <the lint-step paths> → All checks passed
  • uv run pytest <the smoke-test paths> -q → 22 passed

🤖 Generated with Claude Code

Summary by CodeRabbit

  • Chores
    • Updated linting configuration to adjust code analysis targets.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@coderabbitai

coderabbitai Bot commented Jun 15, 2026 •

Copy link
Copy Markdown
Contributor

Review Change Stack

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro Plus

Run ID: d09d8f44-0e3f-481a-9d37-3e66068c01e7

📥 Commits

Reviewing files that changed from the base of the PR and between 4647657 and e59cf14.

📒 Files selected for processing (1)
  • .woodpecker/ci.yml

📝 Walkthrough

Walkthrough

The CI lint job's ruff check command is updated to target src/coding_agent/observability/ (a directory) instead of src/coding_agent/observability.py (a single file), reflecting that observability has been refactored into a package.

Changes

CI Lint Target Update

Layer / File(s) Summary
Update ruff observability lint target
.woodpecker/ci.yml
Changes the ruff check target from src/coding_agent/observability.py to src/coding_agent/observability/ in the lint job step.

Estimated code review effort

🎯 1 (Trivial) | ⏱️ ~2 minutes

Poem

A file became a folder one fine day,
The linter needed pointing the right way.
One line swapped out, a path now ends in /,
The CI hops along without a care,
🐇 All tidy, neat, and perfectly fair!

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title accurately describes the main change: fixing a stale lint path in the CI configuration that resulted from the observability package refactor.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch fix/woodpecker-lint-paths

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@delete-cloud
delete-cloud merged commit 3185ea5 into main Jun 15, 2026
2 checks passed
@delete-cloud
delete-cloud deleted the fix/woodpecker-lint-paths branch June 15, 2026 08:11
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