breg tests: stale re-freeze command, unused migration helpers, and a stale source view copy
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
- 難易度
- 2/5
- 見積もり時間
- 1〜3時間
- 初心者へのやさしさ
- 76/100
調査の方向性
crates/registry-breg/tests/frozen_rhai_package.rs の re-freeze コマンド、postgres_migration ターゲットからの警告、crates/registry-breg/tests/postgres_statistics_http.rs の再作成されたソースビューを確認してください。文書化されたコマンドに runtime 機能を追加し、一覧にある未使用のヘルパーを削除するか使用し、ビューのオプションをエンジンが生成するものに合わせてください。指定された cargo check コマンドで確認し、fixture コマンドが fixture を書き込むことを検証してください。
索引モデルが issue の本文から書いたものです。
説明
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.
- 主要言語
- Rust
- スター
- 2
- フォーク
- 0
- 平均マージ
- 11時間 3分
- マージ済み PR(30日)
- 246
環境構築
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
registrystack/registry-stack のほかの issue
-
agent-ready area:breg area:docs criticality:p3 documentation triage:needs-implementation
難易度 1/5 1〜3時間 初心者へのやさしさ 88/100
registrystack/registry-stack#1989 ·
メンテナーはふだん 1 日以内に返信
-
agent-ready area:breg bug criticality:p3 triage:needs-implementation
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
registrystack/registry-stack#1941 ·
メンテナーはふだん 1 日以内に返信
-
area:casework bug criticality:p3 rust
難易度 2/5 1〜3時間 初心者へのやさしさ 85/100
registrystack/registry-stack#1934 ·
メンテナーはふだん 1 日以内に返信
-
area:release area:scheduling bug criticality:p3 triage:needs-implementation
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
registrystack/registry-stack#1909 ·
メンテナーはふだん 1 日以内に返信
-
area:release bug
難易度 2/5 1〜3時間 初心者へのやさしさ 86/100
registrystack/registry-stack#1874 ·
メンテナーはふだん 1 日以内に返信
registrystack/registry-stack の issue をすべて見る
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 66/100
ActivityWatch/aw-notify-rs#47 · コメント 1 件 ·
-
`inverse()` of a controlled `CUGate` drops the phase parameter γ対応中かも @rupasri118 が今日担当しました。 オープンbug mod: circuit
難易度 2/5 1〜3時間 初心者へのやさしさ 66/100
Qiskit/qiskit#17223 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
難易度 1/5 1時間未満 初心者へのやさしさ 84/100
メンテナーはふだん 2 日以内に返信
-
agent:triaged bug bughunt pm:bundler priority:p1
難易度 2/5 1〜3時間 初心者へのやさしさ 70/100
SocketDev/socket-patch#1573 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 62/100
bytecodealliance/rustix#1706 · コメント 1 件 ·
メンテナーはふだん 11 日以内に返信