Skip to content

chore: migrate repository checks and update Midge#81

Merged
smiggleworth merged 1 commit into
mainfrom
chore/migrate-repository-checks-and-update-midge
Jul 25, 2026
Merged

chore: migrate repository checks and update Midge#81
smiggleworth merged 1 commit into
mainfrom
chore/migrate-repository-checks-and-update-midge

Conversation

@smiggleworth

Copy link
Copy Markdown
Contributor

Closes #80

Summary:

  • pin Fitz to merged Midge commit 29fa79788d5fcf04ea87f83b42c9997ab5764716
  • install the merged cntryl-tools validator in backend and benchmark workflows
  • add Fitz repository policy and dependency exclusions
  • correct documentation links and benchmark workflow forms required by the generic gates

Risk:

  • no Fitz public API changes
  • Midge is pinned to the latest merged main commit
  • CI now validates owned Markdown, benchmark coverage, and module sizes

Verification:

  • cargo fmt --check
  • cargo check --locked --workspace
  • cargo test --locked --test repository_policy
  • cntryl-tools validate-docs
  • cntryl-tools validate-benchmarks
  • cntryl-tools check-module-sizes
  • git diff --check

The full cargo test --locked --workspace --all-features run compiled and entered runtime tests but did not finish locally after duplicate runs; the local processes were stopped.

Copilot AI review requested due to automatic review settings July 25, 2026 17:02
@smiggleworth
smiggleworth merged commit 80ab6e4 into main Jul 25, 2026
1 check passed
@smiggleworth
smiggleworth deleted the chore/migrate-repository-checks-and-update-midge branch July 25, 2026 17:02

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR migrates Fitz’s repository-level CI/repository policy checks to cntryl-tools, pins the cntryl-midge dependency to a specific merged commit, and updates documentation/workflows to satisfy the new generic validation gates.

Changes:

  • Pin cntryl-midge to commit 29fa79788d5fcf04ea87f83b42c9997ab5764716 and update the lockfile accordingly.
  • Install and run cntryl-tools validators in backend CI and benchmark workflows.
  • Add .cntryl/repository.toml and adjust docs/bench workflow text/links to match the new policy checks.

Reviewed changes

Copilot reviewed 8 out of 9 changed files in this pull request and generated 3 comments.

Show a summary per file
File Description
docs/development/route-design.md Updates code-location references in route-design docs (needs corrections for KV parsing and RPC codec locations).
docs/development/perf-loop.md Adjusts benchmark guideline link target.
docs/development/benchmarks.md Adds an explicit “not a pull-request performance gate” statement for benchmark workflow policy.
docs/clients/spec/wire-routing.md Simplifies RPC-domain link target in client wire spec docs.
Cargo.toml Pins cntryl-midge to a specific git revision.
Cargo.lock Updates resolved dependency graph for the pinned Midge commit.
.github/workflows/ci-backend.yml Installs cntryl-tools and runs repository policy validators in backend CI.
.github/workflows/bench.yml Installs cntryl-tools, validates benchmark contract, and tweaks bench command flags/order (cache ordering should be fixed).
.cntryl/repository.toml Introduces repository policy configuration for required docs, benchmark contract, and module-size checks.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

#### Parsing Logic

Location: [src/protocol/kv_codec/mod.rs](../../src/protocol/kv_codec/mod.rs)
Location: [src/domains/kv/protocol.rs](../../src/domains/kv/protocol.rs)
| KV | [domains/kv/protocol.rs](../../src/domains/kv/protocol.rs) | [domains/kv/actor.rs](../../src/domains/kv/actor.rs) | [protocol/kv_codec/mod.rs](../../src/protocol/kv_codec/mod.rs) | [domains/kv/session.rs](../../src/domains/kv/session.rs) |
| Queue | [domains/queue/protocol.rs](../../src/domains/queue/protocol.rs) | [domains/queue/actor/mod.rs](../../src/domains/queue/actor/mod.rs) | [protocol/queue_codec.rs](../../src/protocol/queue_codec.rs) | [domains/queue/sink/mod.rs](../../src/domains/queue/sink/mod.rs) |
| RPC | [domains/rpc/protocol.rs](../../src/domains/rpc/protocol.rs) | [domains/rpc/actor.rs](../../src/domains/rpc/actor.rs) | [protocol/rpc_codec.rs](../../src/protocol/rpc_codec.rs) | [domains/rpc/session.rs](../../src/domains/rpc/session.rs) |
| RPC | [domains/rpc/mod.rs](../../src/domains/rpc/mod.rs) | [domains/rpc/mod.rs](../../src/domains/rpc/mod.rs) | [domains/rpc/protocol.rs](../../src/domains/rpc/protocol.rs) | [domains/rpc/sink/mod.rs](../../src/domains/rpc/sink/mod.rs) |
Comment on lines +23 to +27
- name: Install cntryl-tools
run: cargo install --locked --git https://github.com/cntryl/tools --rev b2a06b1a635de752803f5860339fc3cecbc19742 cntryl-tools

- name: Validate benchmark contract
run: cntryl-tools validate-benchmarks
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.

chore: migrate repository checks to cntryl-tools

2 participants