Skip to content

build: require fensu 0.31.0 and cap oversized code at its current size - #1500

Merged
kvlonge merged 3 commits into
mainfrom
chore/fensu-size-limits
Nov 15, 2026
Merged

kvlonge merged 3 commits into
mainfrom
chore/fensu-size-limits

Conversation

@kvlonge

@kvlonge kvlonge commented Nov 15, 2026

Copy link
Copy Markdown
Contributor

Why

Fensu 0.31.0 adds two architecture limits: at most 15 buckets in a _helpers/ container and at most 75,000 code lines per Python package or Rust crate. Three places in this repository are already over them, so adopting the release needs caps that stop them from growing while they are split.

Changes

  • Require fensu>=0.31.0 and pin the fensu-facts and fensu-native crates to =0.31.0, with the lockfiles updated.
  • Cap each place at its current size in fensu.toml, each with a reason to lower the cap as code moves out:
    • crates/sqlbuild-python: 216,783 code lines.
    • crates/sqlbuild-python/src/bindings/_helpers: 111 buckets.
    • src/sqlbuild: 89,427 code lines.

No product code changes.

Verification

  • fensu check with 0.31.0 on this tree: 0 faults, 3 threshold overrides applied.
  • Each cap is exact: lowering every cap by one reports exactly those three faults.
  • make check-ci on the final head.

Fensu 0.31.0 limits _helpers/ containers to 15 buckets and packages or
crates to 75,000 code lines. The Python bindings crate, its helpers
container and the runtime package are already over those limits, so each
is capped at its current size until it is split.
@chio-labs-delivery
chio-labs-delivery Bot added this pull request to the merge queue Nov 15, 2026
@github-merge-queue
github-merge-queue Bot removed this pull request from the merge queue due to failed status checks Nov 15, 2026
… the merged rules change

The orchestration and purity rules change merged first and added code to
both, so the caps set before it were below their current size.
@kvlonge
kvlonge enabled auto-merge November 15, 2026 13:43
@kvlonge
kvlonge added this pull request to the merge queue Nov 15, 2026
@github-merge-queue
github-merge-queue Bot removed this pull request from the merge queue due to failed status checks Nov 15, 2026
@kvlonge
kvlonge added this pull request to the merge queue Nov 15, 2026
Merged via the queue into main with commit 1c1e6d4 Nov 15, 2026
58 of 60 checks passed
@kvlonge
kvlonge deleted the chore/fensu-size-limits branch November 15, 2026 15:07
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