breg tests: stale re-freeze command, unused migration helpers, and a stale source view copy
Maintainers usually reply within 1 day
Nobody has claimed this yet.
Assessment
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Newbie friendliness
- 76/100
Research direction
Read the re-freeze command in crates/registry-breg/tests/frozen_rhai_package.rs, the warnings from the postgres_migration target, and the recreated source view in crates/registry-breg/tests/postgres_statistics_http.rs. Add the runtime feature to the documented command, remove or use the listed unused helpers, and match the view options to those generated by the engine. Confirm with the stated cargo check command and verify the fixture command writes the fixture.
Written by the indexing model from the issue text.
Description
Three small leftovers in the registry-breg test tree, noticed while working on #1564. None changes behaviour.
-
The re-freeze command for the frozen Rhai package fixture runs no test. The header of
crates/registry-breg/tests/frozen_rhai_package.rsdocumentscargo test --locked -p registry-breg --test frozen_rhai_package -- --ignored write_frozen_fixture. The file is gated on#![cfg(feature = "runtime")]andruntimeis not a default feature, so the command exits green with 0 tests and writes nothing. It needs--features runtime. -
postgres_migrationbuilds with 10 unused-code warnings under--features postgres-test,tooling, on main as of 2026-10-13:- unused imports
successor_plan_is_empty_for_predecessorandsuccessor_plan_is_empty - unused functions
load_rewritten_person_package,copy_package_tree,person_registration_acceptance_root,person_registration_project,person_registration_assets,compile_person_registration,prepare_and_load_person_registration source_bytesanddrop_null_membersfromtests/support/source_bytes.rs, unused in this binary only
They look like helpers of tests that were removed. No gate reports them because the clippy job does not build the
postgres-testtargets. - unused imports
-
Once #2030 merges, one test keeps a stale copy of the source view options.
crates/registry-breg/tests/postgres_statistics_http.rsrecreates a source viewWITH (security_invoker=true, security_barrier=true)to inject a delay. The engine no longer emitssecurity_barrierthere. The test still passes; the copy should match the engine.
Done when
- The documented re-freeze command writes the fixture.
cargo check --locked -p registry-breg --features postgres-test,tooling --test postgres_migrationis free of warnings.- The statistics test recreates the view with the options the engine generates.
- Dominant language
- Rust
- Stars
- 2
- Forks
- 0
- Avg merge
- 10h 36m
- Merged PRs (30d)
- 257
Getting set up
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
-
agent-ready area:breg area:docs criticality:p3 documentation triage:needs-implementation
Difficulty 1/5 1-3 hours Newbie friendliness 88/100
registrystack/registry-stack#1989 ·
Maintainers usually reply within 1 day
-
agent-ready area:breg bug criticality:p3 triage:needs-implementation
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
registrystack/registry-stack#1941 ·
Maintainers usually reply within 1 day
-
area:casework bug criticality:p3 rust
Difficulty 2/5 1-3 hours Newbie friendliness 85/100
registrystack/registry-stack#1934 ·
Maintainers usually reply within 1 day
-
area:release area:scheduling bug criticality:p3 triage:needs-implementation
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
registrystack/registry-stack#1909 ·
Maintainers usually reply within 1 day
-
area:release bug
Difficulty 2/5 1-3 hours Newbie friendliness 86/100
registrystack/registry-stack#1874 ·
Maintainers usually reply within 1 day
All issues in registrystack/registry-stack
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
bytecodealliance/rustix#1703 ·
Maintainers usually reply within 3 days
-
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
Maintainers usually reply within 1 day
-
linux build warningOpen
Difficulty 1/5 Under an hour Newbie friendliness 88/100
Pomax/vst-plugins#24 ·
Maintainers usually reply within 1 day
-
V1 manifest lists written by Java lose added/existing/deleted file countsPossibly taken @kacper-li-airspace-intelligence claimed this today. Open
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
apache/iceberg-rust#3445 ·
Maintainers usually reply within 4 days
-
Slack integration: links on self-hosted domains never unfurl (parseCapShareUrl only accepts cap.so / cap.link)Possibly taken @mangeshraut712 claimed this today. Openbug
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
CapSoftware/Cap#2546 · 1 comment ·
Maintainers usually reply within 1 day