Decide whether BReg needs a minimal in-process review option
Nobody has claimed this yet.
Assessment
- Difficulty
- 5/5
- Estimated time
- Over a week
- Newbie friendliness
- 25/100
- Issue type
- Feature
- Clarity
- Needs clarification
- Activity status
- Active
- Tech stack
- rust
- Domain
- authentication, authorization, backend
Research direction
Start with crates/registry-breg/src/runtime_config.rs:537-556 and review PR #1189 to understand how review authorities are activated. Trace the current Casework and OIDC requirements, then document whether a minimal in-process option belongs in BReg or the external-service requirement is intentional. Done means the product decision and its scope are recorded.
Written by the indexing model from the issue text.
Description
After PR #1189, the smallest possible BReg deployment that needs a two-eyes review now requires standing up Casework plus an OIDC issuer and token flow. activate_review_authorities (crates/registry-breg/src/runtime_config.rs:537-556) only returns None (no review authority active) when no change request in the compiled registry declares a review requirement; as soon as one does, BReg needs a full external review authority, currently only Casework, wired in.
This is a product/scope decision, not a bug: before this PR, BReg had (or could plausibly grow) an in-process, no-external-dependency approve/reject path for the simplest two-eyes case. Now every registry project that wants any review at all takes on the operational cost of a second service plus an identity provider, even for a single-reviewer, single-registry deployment that has no other reason to run Casework.
Question for a product decision:
- Should BReg keep or reintroduce a minimal in-process review option for the smallest deployments, or is requiring Casework (plus an OIDC issuer) for any review now the intended floor?
Filed from the review of #1189; not merge-blocking.
- Dominant language
- Rust
- Stars
- 2
- Forks
- 0
- Avg merge
- 3h 45m
- Merged PRs (30d)
- 134
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from registrystack/registry-stack
-
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
registrystack/registry-stack#1239 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
registrystack/registry-stack#1235 ·
-
area:breg bug good first issue rust
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
registrystack/registry-stack#1227 ·
-
area:casework documentation
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
registrystack/registry-stack#1217 ·
-
area:breg documentation
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
registrystack/registry-stack#1213 ·
All issues in registrystack/registry-stack
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 85/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
Eynzof/Hermes-CN-Desktop#610 ·
-
bug team:backend track:services-maintenance
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
cowprotocol/services#4950 ·
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
gitbutlerapp/gitbutler#15998 · 1 comment ·
-
bug triage:deciding
Difficulty 1/5 Under an hour Newbie friendliness 88/100
open-telemetry/otel-arrow#4132 ·