trace: make same-call worktree comparison Git-clean aware
Maintainer antworten meist innerhalb von 1 Tag
Dieses Issue hat noch niemand übernommen.
Bewertung
- Schwierigkeit
- 5/5
- Geschätzter Aufwand
- Über eine Woche
- Anfängerfreundlichkeit
- 35/100
Rechercherichtung
Read the linked issue #3625 and PR #3631 to understand same-call checkpoint reconciliation and the decision to compare staged blobs with worktree bytes. Start by locating that comparison and its existing tests in the repository; the issue does not name specific files. Add coverage for attribute sources, text and EOL conversion, filters, and mode semantics. Done means Git-compatible conversion where safe, with uncertain paths kept pending and repository-controlled filters never run implicitly.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Beschreibung
Context
Follow-up to #3625 and PR #3631. The PR is being narrowed to a raw staged-blob versus worktree-byte comparison, as requested in maintainer review.
That conservative comparison can keep a pending range when Git would consider the worktree clean. This issue tracks complete gitattributes and clean-conversion behavior separately.
Scope
- honor attribute precedence across system, global, repository, nested, and
.git/info/attributessources; - honor
core.attributesFile; - reproduce text and EOL normalization, including
text,-text,eol, andcore.autocrlf; - define safe behavior for
filter.<driver>.cleanandfilter.<driver>.processwithout unexpectedly executing repository-controlled commands; - include relevant mode comparison semantics.
Expected behavior
Same-call checkpoint reconciliation should distinguish a real unstaged edit from bytes that differ only because Git's clean conversion changes the indexed representation. Attribution must stay conservative when a configured transformation cannot be reproduced safely.
Acceptance criteria
- Tests cover global, local, nested, and info attribute sources.
- CRLF/LF behavior matches Git for text and binary paths.
- No-op and transforming clean filters have explicit, tested behavior.
- Repository-controlled filters are not executed implicitly without an approved security design.
- A documented fallback keeps uncertain paths pending instead of consuming attribution.
- Vorherrschende Sprache
- Go
- Sterne
- 582
- Forks
- 61
- Ø Merge
- 12 Std. 47 Min.
- Gemergte PRs (30 T.)
- 137
Entwicklungsumgebung
- Kein Dockerfile und keine Docker-Compose-Datei
- Keine Pull-Request-Vorlage
- Beitragsleitfaden lesen
Erste Schritte
- Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
- Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
- Forken Sie das Repository und arbeiten Sie in einem Branch.
- Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.
Mehr aus chainloop-dev/chainloop
-
feature-parity trace-provider
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 70/100
chainloop-dev/chainloop#3802 ·
Maintainer antworten meist innerhalb von 1 Tag
-
bug trace-provider
Schwierigkeit 4/5 3-5 Tage Anfängerfreundlichkeit 48/100
chainloop-dev/chainloop#3803 ·
Maintainer antworten meist innerhalb von 1 Tag
-
feat(trace): support GitHub Copilot (CLI and VS Code) in Chainloop TraceEvtl. vergeben @migmartri hat das heute übernommen. OffenFeature spec trace-provider
chainloop-dev/chainloop#3800 · 1 Kommentar · 1 zugewiesene Person ·
Maintainer antworten meist innerhalb von 1 Tag
-
Allow enabling policy enforcement at the workflow contract levelEvtl. vergeben @migmartri hat das vor 10 Tagen übernommen. Offencomponent/backend new-policy spec
chainloop-dev/chainloop#3762 · 1 Kommentar · 1 zugewiesene Person ·
Maintainer antworten meist innerhalb von 1 Tag
-
chainloop component/CLI performance trace-provider
Schwierigkeit 4/5 3-5 Tage Anfängerfreundlichkeit 62/100
chainloop-dev/chainloop#3756 ·
Maintainer antworten meist innerhalb von 1 Tag
Alle Issues in chainloop-dev/chainloop
Ähnliche Issues
-
model:sonnet runtime:claude security size:S
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 78/100
FootprintAI/Containarium#3624 · 1 Kommentar ·
Maintainer antworten meist innerhalb von 1 Tag
-
bug
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 76/100
Judgment-Pack/judgment-pack-runtime#367 ·
Maintainer antworten meist innerhalb von 1 Tag
-
bug
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 84/100
Maintainer antworten meist innerhalb von 1 Tag
-
enhancement help wanted
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 87/100
pulseaiclub/phi#482 ·
Maintainer antworten meist innerhalb von 1 Tag
-
bug raised-by:desk
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 72/100
medici-finance/assay#6102 ·
Maintainer antworten meist innerhalb von 1 Tag