Skip to content

fix(engine/parallel): restore imports after PR #64 absorption drift#71

Merged
EffortlessSteven merged 1 commit into
mainfrom
fix-engine-parallel-postmerge
Apr 15, 2026
Merged

fix(engine/parallel): restore imports after PR #64 absorption drift#71
EffortlessSteven merged 1 commit into
mainfrom
fix-engine-parallel-postmerge

Conversation

@EffortlessSteven

Copy link
Copy Markdown
Member

Summary

PR #64 merged with stale imports that assumed the pre-absorption shipper_policy crate and the pre-split shipper_registry::RegistryClient API. After merge, cargo check -p shipper on main fails with E0433 (unresolved shipper_policy) and E0599 (missing base_url / fetch_sparse_index_file).

Two drift corrections:

  • engine/parallel/policy.rs: shipper_policy::* -> crate::runtime::policy::* (policy was absorbed in main before PR decrating: absorb shipper-engine-parallel into shipper::engine::parallel #64's branch).
  • engine/parallel/{mod,publish,readiness,tests}.rs: shipper_registry::RegistryClient -> shipper_registry::HttpRegistryClient as RegistryClient. The parallel engine operates on a bare base-URL and calls base_url() / fetch_sparse_index_file(), which now live on HttpRegistryClient. The full Registry-aware client in shipper_registry::RegistryClient takes a Registry struct and returns Result<Self>, which is not what this call path needs.

Test plan

  • cargo check --workspace clean
  • cargo test -p shipper --lib engine::parallel — 65 tests pass

Post-rebase of PR #64 on top of main's policy absorption and registry
split, the engine::parallel submodule needed API updates that were not
included in the merged PR:

- shipper_policy -> crate::runtime::policy (policy was absorbed in main)
- shipper_registry::RegistryClient -> HttpRegistryClient alias
  (the parallel path operates on base-URL, not Registry struct; the full
  Registry-aware client is named RegistryClient and takes a different
  constructor after the registry lib split)

Fixes compilation of shipper crate on main after PR #64 merge.
@gemini-code-assist

Copy link
Copy Markdown

Warning

You have reached your daily quota limit. Please wait up to 24 hours and I will start processing your requests again!

@EffortlessSteven EffortlessSteven merged commit fcdce62 into main Apr 15, 2026
8 of 14 checks passed
@coderabbitai

coderabbitai Bot commented Apr 15, 2026

Copy link
Copy Markdown

Warning

Rate limit exceeded

@EffortlessSteven has exceeded the limit for the number of commits that can be reviewed per hour. Please wait 47 minutes and 17 seconds before requesting another review.

Your organization is not enrolled in usage-based pricing. Contact your admin to enable usage-based pricing to continue reviews beyond the rate limit, or try again in 47 minutes and 17 seconds.

⌛ How to resolve this issue?

After the wait time has elapsed, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

We recommend that you space out your commits to avoid hitting the rate limit.

🚦 How do rate limits work?

CodeRabbit enforces hourly rate limits for each developer per organization.

Our paid plans have higher rate limits than the trial, open-source and free plans. In all cases, we re-allow further reviews after a brief timeout.

Please see our FAQ for further information.

ℹ️ Review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: ASSERTIVE

Plan: Pro

Run ID: a8ca8a12-7385-4669-86bf-cc0c944e169c

📥 Commits

Reviewing files that changed from the base of the PR and between 1d7008b and 213e88d.

⛔ Files ignored due to path filters (1)
  • Cargo.lock is excluded by !**/*.lock
📒 Files selected for processing (5)
  • crates/shipper/src/engine/parallel/mod.rs
  • crates/shipper/src/engine/parallel/policy.rs
  • crates/shipper/src/engine/parallel/publish.rs
  • crates/shipper/src/engine/parallel/readiness.rs
  • crates/shipper/src/engine/parallel/tests.rs
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch fix-engine-parallel-postmerge

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.

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