Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

CI never runs the Casework task_grant_invalidation suite

オープン 初心者向け
#1,936 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

まだ誰も着手していません。

評価

難易度
2/5
見積もり時間
1〜3時間
初心者へのやさしさ
78/100
issue の種類
機能追加
明瞭さ
明確に書かれている
活発さ
活発
技術スタック
github-actions, postgresql, rust
領域
ci-cd

調査の方向性

まず .github/workflows/ci.yml の、特に Casework の PostgreSQL ジョブと CASEWORK_ASSIGNMENT_TEST_DATABASE_URL を設定する assignment/routing ステップから始める。crates/registry-casework/tests/task_grant_invalidation.rs と、crates/registry-casework/Cargo.toml 内の required-features = ["postgres-test"] を持つ [[test]] エントリを読み、そのフィクスチャがどのデータベース環境変数を期待しているかを確認する。Casework の変更時に CI ジョブが cargo test --test task_grant_invalidation を呼び出し、スイート内の失敗したテストがビルドを壊すようになれば完了。任意で、Cargo.toml のテストターゲットと ci.yml 内の --test 名を比較するスクリプトを追加する。

索引モデルが issue の本文から書いたものです。

説明

area:casework bug criticality:p2 rust

Problem

crates/registry-casework/tests/task_grant_invalidation.rs is a PostgreSQL suite (required-features = ["postgres-test"]) that proves task grants are revoked when authority is lost:

  • directory_loss_is_permanent_but_atomic_replacement_preserves_grants
  • holder_and_proposal_loss_are_permanent_but_revision_churn_is_allowed
  • item_erasure_removes_selector_bearing_grant_records

No job in .github/workflows/ci.yml names --test task_grant_invalidation, so CI never builds or runs it. A regression in grant revocation would merge unnoticed. The suite passes locally (3 tests, run against a disposable database while verifying #1933).

Proposal

Run it in the Casework PostgreSQL job. It reads CASEWORK_ASSIGNMENT_TEST_DATABASE_URL, like the "assignment and routing" step, so it can join that step if its fixture isolates itself from the other two suites; otherwise give it its own database the way the review and task-approval steps do.

Also worth a one-off check: whether any other [[test]] target in a product crate with required-features = ["postgres-test"] is missing from CI. A small script comparing the targets declared in Cargo.toml with the --test names in ci.yml would catch the next one.

Done when

CI runs task_grant_invalidation on every change that touches Casework, and fails when a test in it fails.

主要言語
Rust
スター
2
フォーク
0
平均マージ
9時間 14分
マージ済み PR(30日)
241

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

registrystack/registry-stack のほかの issue

registrystack/registry-stack の issue をすべて見る

似ている issue

Rust の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。