Skip to content

fix(module): harden deferred module initialization - #14

Merged
senamakel merged 2 commits into
mainfrom
lazy-modules
Aug 14, 2026
Merged

fix(module): harden deferred module initialization#14
senamakel merged 2 commits into
mainfrom
lazy-modules

Conversation

@senamakel

Copy link
Copy Markdown
Member

Follow-up to #12 after its review completed post-merge.

  • re-run module file admission immediately before deferred loading, so a replaced artifact cannot inherit an earlier hash attestation
  • zero and release module configuration when initialization returns an explicit failure
  • name and document the lazy sidecar size/admission rules
  • cover malformed and non-lazy sidecar refusal

Local verification:

  • cargo fmt --all -- --check
  • cargo clippy --locked --all-targets --all-features -- -D warnings
  • cargo test --locked --all-features
  • cargo check --locked --no-default-features

senamakel and others added 2 commits August 14, 2026 09:14
Co-authored-by: Medulla <medulla@tinyhumans.ai>
Co-authored-by: Medulla <medulla@tinyhumans.ai>
@coderabbitai

coderabbitai Bot commented Aug 14, 2026

Copy link
Copy Markdown

Warning

Review limit reached

@senamakel, you've reached your PR review limit, so we couldn't start this review.

Next review available in: 110 minutes

You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository.

How can I continue?

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 reviews.

How do review limits work?

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

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, additional reviews become available more gradually as earlier reviews age out of the rolling window.

Please refer docs for additional details.

Review details
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro Plus

Run ID: 052708ff-5164-4c71-91dd-c49b66098de8

📥 Commits

Reviewing files that changed from the base of the PR and between 76b279d and 8ff70bc.

📒 Files selected for processing (4)
  • crates/tinybus/src/module/host.rs
  • crates/tinybus/src/module/host_test.rs
  • crates/tinybus/src/module/transport.rs
  • docs/modules/module/README.md

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.

@senamakel
senamakel merged commit 0937b77 into main Aug 14, 2026
8 of 9 checks passed
@senamakel
senamakel deleted the lazy-modules branch August 14, 2026 07:31
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