breg tests: stale re-freeze command, unused migration helpers, and a stale source view copy
Los mantenedores suelen responder en 1 día
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 2/5
- Tiempo estimado
- 1-3 horas
- Aptitud para principiantes
- 76/100
Línea de trabajo
Lee el comando de re-freeze en crates/registry-breg/tests/frozen_rhai_package.rs, las advertencias del target postgres_migration y la vista de origen recreada en crates/registry-breg/tests/postgres_statistics_http.rs. Añade la funcionalidad runtime al comando documentado, elimina o utiliza los helpers sin usar que aparecen en la lista y haz que las opciones de la vista coincidan con las que genera el motor. Confírmalo con el comando cargo check indicado y verifica que el comando de fixture escriba la fixture.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
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.
- Lenguaje dominante
- Rust
- Estrellas
- 2
- Forks
- 0
- Merge medio
- 10 h 36 min
- PR fusionados (30 d)
- 257
Preparar el entorno
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de registrystack/registry-stack
-
Change-request explanation describes review stages and apply-on-submit that BReg does not haveAbiertoagent-ready area:breg area:docs criticality:p3 documentation triage:needs-implementation
Dificultad 1/5 1-3 horas Aptitud para principiantes 88/100
registrystack/registry-stack#1989 ·
Los mantenedores suelen responder en 1 día
-
agent-ready area:breg bug criticality:p3 triage:needs-implementation
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
registrystack/registry-stack#1941 ·
Los mantenedores suelen responder en 1 día
-
area:casework bug criticality:p3 rust
Dificultad 2/5 1-3 horas Aptitud para principiantes 85/100
registrystack/registry-stack#1934 ·
Los mantenedores suelen responder en 1 día
-
area:release area:scheduling bug criticality:p3 triage:needs-implementation
Dificultad 2/5 1-3 horas Aptitud para principiantes 68/100
registrystack/registry-stack#1909 ·
Los mantenedores suelen responder en 1 día
-
area:release bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 86/100
registrystack/registry-stack#1874 ·
Los mantenedores suelen responder en 1 día
Todos los issues de registrystack/registry-stack
Issues similares
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 74/100
Los mantenedores suelen responder en 1 día
-
V1 manifest lists written by Java lose added/existing/deleted file countsPosiblemente ocupada @kacper-li-airspace-intelligence la tomó hoy. Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
apache/iceberg-rust#3445 ·
Los mantenedores suelen responder en 4 días
-
Slack integration: links on self-hosted domains never unfurl (parseCapShareUrl only accepts cap.so / cap.link)Posiblemente ocupada @mangeshraut712 la tomó hoy. Abiertobug
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
CapSoftware/Cap#2546 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 62/100
Los mantenedores suelen responder en 1 día
-
sync: small cleanups after #69Abiertoarea::tern-sync kind::cleanup triage::ready
Dificultad 2/5 1-3 horas Aptitud para principiantes 82/100
Los mantenedores suelen responder en 1 día