Skip to content

fix(ci): green the lean lint job (networkx + pxr/darwin skip-guards) - #17

Merged
JosephOIbrahim merged 1 commit into
masterfrom
fix/ci-lean-job-deps
Jun 19, 2026
Merged

fix(ci): green the lean lint job (networkx + pxr/darwin skip-guards)#17
JosephOIbrahim merged 1 commit into
masterfrom
fix/ci-lean-job-deps

Conversation

@JosephOIbrahim

Copy link
Copy Markdown
Owner

What

Greens the "Python tests + compliance" lint check, which is currently red on master (and inherited by #16) after biometric_prior + test_macos merged in. All three failures are environment-fit issues on the lean ubuntu-latest runner, not code defects:

Failure Cause Fix
test_phase4_engine_seedIndexError harlo.engine DAG needs networkx, omitted from the lean install add networkx (light, pure-Python hard dep)
test_phase3_persistenceModuleNotFoundError: pxr USD-prim tests need usd-core, intentionally not installed pytest.importorskip("pxr")
test_launcher::test_finder_launch_shows_dialog_not_cli asserts the macOS Finder-dialog path, runs on Linux skipif(sys.platform != "darwin")

Why this shape

The lint job is deliberately the lean, fast Linux subset (it already --ignores the ML-extra dirs). This keeps that philosophy: networkx is light so its tests now run; only the genuinely pxr/darwin-specific tests skip — no coverage lost on what we actually ship in the lean bundle.

Once merged, PR #16 goes green after a master sync.

🤖 Generated with Claude Code

The "Python tests + compliance" lint job (ubuntu-latest, lean deps) went red
after biometric_prior + test_macos merged into master:

- test_phase4_engine_seed → IndexError: harlo.engine's DAG needs networkx (a
  light, pure-Python hard dep) which the lean install omitted. Add it.
- test_phase3_persistence → ModuleNotFoundError: pxr (USD-prim tests). Add
  pytest.importorskip("pxr") so they skip cleanly when usd-core is absent.
- test_launcher::test_finder_launch_shows_dialog_not_cli → asserts the macOS
  Finder/LaunchServices dialog path; running on Linux it takes the prompt path.
  Guard with skipif(sys.platform != "darwin").

Consistent with the job's existing ML-extras exclusions: networkx tests now
run; only the genuinely pxr/darwin-specific tests skip on the lean Linux runner.

Co-Authored-By: Claude Opus 4.8 <[email protected]>
@coderabbitai

coderabbitai Bot commented Jun 19, 2026

Copy link
Copy Markdown

Warning

Review limit reached

@JosephOIbrahim, we couldn't start this review because you've reached your PR review rate limit.

More reviews will be available in 21 minutes and 29 seconds. Learn how PR review limits work.

Your organization has used up its prepaid credits, and credit purchases are no longer available. Enable the review add-on in the billing tab to keep reviews running — you're only billed for reviews past your plan's rate limits ($0.25/file).

⌛ How to resolve this issue?

After more reviews become available, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

To avoid repeated limits, reduce automatic review volume by pausing incremental auto-reviews earlier, using label-based review opt-in, excluding WIP or generated PR titles, or requesting reviews manually when the PR is ready. If your team needs uninterrupted high-volume reviews, an organization admin can enable usage-based credits.

🚦 How do rate limits work?

CodeRabbit enforces per-developer PR review limits for each organization. Most developers receive the normal plan refill rate.

For paid Pro and Pro+ PR reviews, CodeRabbit uses adaptive limits for sustained high-volume activity. When a developer's recent PR review activity reaches the 95th percentile or higher among CodeRabbit users, the refill rate gradually slows as usage increases. The highest same-day bursts are limited more strictly.

Please see our Fair Usage Limits Policy for further information.

ℹ️ Review info
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro

Run ID: 5fda427c-4553-4023-9cf9-0baed0685013

📥 Commits

Reviewing files that changed from the base of the PR and between 5d8112a and fe4c3df.

📒 Files selected for processing (3)
  • .github/workflows/lint.yml
  • tests/test_biometric_prior/test_phase3_persistence.py
  • tests/test_macos/test_launcher.py
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch fix/ci-lean-job-deps

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.

@JosephOIbrahim
JosephOIbrahim merged commit 6a3488a into master Jun 19, 2026
3 of 4 checks passed
@JosephOIbrahim
JosephOIbrahim deleted the fix/ci-lean-job-deps branch June 19, 2026 19:37
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