trace: safely snapshot tracked paths below ignored directories
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 初心者へのやさしさ
- 48/100
調査の方向性
Start by reading issue #3625 and PR #3631 to understand the existing worktree snapshot behavior, then locate the walker and its race enabled tests. Trace how it applies .gitignore and identifies tracked paths; add coverage for the listed ignored directory, intent-to-add, symlink, path confinement, and special file cases. Done means all acceptance criteria pass without scanning unrelated ignored content or opening non-regular files.
索引モデルが issue の本文から書いたものです。
説明
Context
Follow-up to #3625 and PR #3631. The PR is restoring the existing worktree snapshot behavior from main while narrowing its same-call fix, following maintainer review.
The existing walker prunes directories matched by .gitignore. A force-added tracked file below such a directory can therefore be absent from the snapshot.
Scope
- include tracked regular files below ignored directories without scanning unrelated ignored content;
- keep untracked ignored paths excluded;
- define the interaction with intent-to-add entries tracked in #3698;
- reject symlinked path components and final symlinks;
- avoid opening FIFOs, devices, sockets, and other non-regular files;
- keep every read confined to the checkout root.
Expected behavior
Tracked regular files receive correct before/after snapshots even below ignored directories. Expanding coverage must not allow path traversal outside the checkout or block on special files.
Acceptance criteria
- A force-added tracked file below an ignored directory is snapshotted and compared.
- An untracked ignored sibling is not snapshotted.
- Intent-to-add paths follow the semantics decided in #3698.
- Escaping and in-repository symlink ancestors are not followed.
- FIFOs and other non-regular files are checked before open and skipped.
- Race-enabled tests cover ignored-directory and path-safety behavior.
- 主要言語
- Go
- スター
- 582
- フォーク
- 61
- 平均マージ
- 12時間 47分
- マージ済み PR(30日)
- 137
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートなし
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
chainloop-dev/chainloop のほかの issue
-
feature-parity trace-provider
難易度 2/5 1〜3時間 初心者へのやさしさ 70/100
chainloop-dev/chainloop#3802 ·
メンテナーはふだん 1 日以内に返信
-
bug trace-provider
難易度 4/5 3〜5日 初心者へのやさしさ 48/100
chainloop-dev/chainloop#3803 ·
メンテナーはふだん 1 日以内に返信
-
feat(trace): support GitHub Copilot (CLI and VS Code) in Chainloop Trace対応中かも @migmartri が今日担当しました。 オープンFeature spec trace-provider
chainloop-dev/chainloop#3800 · コメント 1 件 · 担当者 1 名 ·
メンテナーはふだん 1 日以内に返信
-
Allow enabling policy enforcement at the workflow contract level対応中かも @migmartri が 10 日前に担当しました。 オープンcomponent/backend new-policy spec
chainloop-dev/chainloop#3762 · コメント 1 件 · 担当者 1 名 ·
メンテナーはふだん 1 日以内に返信
-
chainloop component/CLI performance trace-provider
難易度 4/5 3〜5日 初心者へのやさしさ 62/100
chainloop-dev/chainloop#3756 ·
メンテナーはふだん 1 日以内に返信
chainloop-dev/chainloop の issue をすべて見る
似ている issue
-
GitHub webhook is not subscribed to release events, so `event: release` never triggers対応中かも @qsun が今日担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
woodpecker-ci/woodpecker#7542 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 74/100
zilliztech/milvus-backup#1386 ·
メンテナーはふだん 1 日以内に返信
-
Pipelined flush no longer observes kill signals after #2042: flush backoffer is built with nil varsオープン
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
メンテナーはふだん 1 日以内に返信
-
model:sonnet runtime:claude security size:S
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
FootprintAI/Containarium#3624 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 86/100
メンテナーはふだん 1 日以内に返信