breg tests: stale re-freeze command, unused migration helpers, and a stale source view copy
I maintainer di solito rispondono entro 1 giorno
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 2/5
- Tempo stimato
- 1-3 ore
- Idoneità per principianti
- 76/100
Direzione di ricerca
Leggi il comando di re-freeze in crates/registry-breg/tests/frozen_rhai_package.rs, gli avvisi del target postgres_migration e la vista sorgente ricreata in crates/registry-breg/tests/postgres_statistics_http.rs. Aggiungi la funzionalità runtime al comando documentato, rimuovi o usa gli helper inutilizzati elencati e fai corrispondere le opzioni della vista a quelle generate dal motore. Conferma con il comando cargo check indicato e verifica che il comando fixture scriva la fixture.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
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.
- Lingua principale
- Rust
- Stelle
- 2
- Fork
- 0
- Merge medio
- 11h 3m
- PR unite (30g)
- 246
Preparare l'ambiente
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di registrystack/registry-stack
-
Change-request explanation describes review stages and apply-on-submit that BReg does not haveApertaagent-ready area:breg area:docs criticality:p3 documentation triage:needs-implementation
Difficoltà 1/5 1-3 ore Idoneità per principianti 88/100
registrystack/registry-stack#1989 ·
I maintainer di solito rispondono entro 1 giorno
-
agent-ready area:breg bug criticality:p3 triage:needs-implementation
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
registrystack/registry-stack#1941 ·
I maintainer di solito rispondono entro 1 giorno
-
area:casework bug criticality:p3 rust
Difficoltà 2/5 1-3 ore Idoneità per principianti 85/100
registrystack/registry-stack#1934 ·
I maintainer di solito rispondono entro 1 giorno
-
area:release area:scheduling bug criticality:p3 triage:needs-implementation
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
registrystack/registry-stack#1909 ·
I maintainer di solito rispondono entro 1 giorno
-
area:release bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 86/100
registrystack/registry-stack#1874 ·
I maintainer di solito rispondono entro 1 giorno
Tutte le issue di registrystack/registry-stack
Issue simili
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
bytecodealliance/rustix#1703 ·
I maintainer di solito rispondono entro 3 giorni
-
bug discussion
Difficoltà 2/5 1-3 ore Idoneità per principianti 70/100
medialab/xan#1201 · 2 commenti ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 74/100
farion1231/cc-switch#8298 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 74/100
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
ajeetdsouza/zoxide#1323 ·
I maintainer di solito rispondono entro 1 giorno