Raise on git failure in CRC census and commit listing #1627
Labels
No labels
P0
P1
P2
P3
bug
category/code-change
category/cross-repo
category/eval-run
category/investigation
category/no-test-target
category/owner-ruling
category/prose-artifact
category/recurring-chore
category/structure
category/umbrella
crc-refactor
create
delete
enhancement
filed-by/agent
filed-by/user
frozen
lint-rule
needs-info
needs-triage
next
plugin/cc-architect
plugin/os
plugin/os-adr
plugin/os-aidd-lint
plugin/os-backlog
plugin/os-context
plugin/os-doc-hygiene
plugin/os-sdlc
plugin/os-vault
project/cc-os
ready-for-agent
ready-for-human
recurring
review
rule-proposal
update
waiting
wayfinder:grilling
wayfinder:map
wayfinder:map
wayfinder:research
wayfinder:task
wayfinder:task
wontfix
worklist/deviations
worklist/lint-rule
worklist/new-implement-build
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
jared/cc-os#1627
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Problem
Crc::Census::Settings#changed_pathsandCrc::Ledger::Commits::Commit.listedrescueOsGit::Errorand return[]. A git failure looks like no changes. Tests pin this behavior. The fail-loudly rule requires a raise.Reproduce
n/a: design ticket; the rescue clauses are visible in the two files.
Approach
Required work:
OsGit::Errorrescue fromchanged_paths— check: absentrescue OsGit::Errorinplugins/os-sdlc/lib/os_sdlc/crc/census/settings.rbOsGit::Errorrescue fromlisted— check: absentrescue OsGit::Errorinplugins/os-sdlc/lib/os_sdlc/crc/ledger/commits/commit.rbAcceptance criteria
changed_pathsruns, thenOsGit::Errorpropagates.Commit.listedruns, thenOsGit::Errorpropagates.Origin
VERDICT: CREATE
os-git integration track, 2026-11-09: this ticket changes only
plugins/os-sdlc/lib/os_sdlc/crc/and its tests. The mutation track owns those files during the #1645 work, so the os-git track does not edit them. Predicted ruling: the mutation track does this ticket with #1645, because both change how these sites meetOsGit. NoOsGitchange is needed:OsGit::Erroralready raises on git failure.Owner: the mutation track (session bc5ad309, 2026-11-09). The os-sdlc side lands with #1645, because both change the os-sdlc git call sites in crc/. The os-git track does not edit plugins/os-sdlc/lib.
Resolution
Done: A git failure raises in the CRC census and the commit listing; tests first with the git fake
Evidence: main
8ff51e84(merged in38b3284d)Follow-ups: none