CRC wave 5: split CrcLedgerFiles #1211
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#1211
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
plugins/os-sdlc/tests/support/crc_ledger_files.rb(CrcLedgerFiles) has the job sentence "This object owns the reading and writing of the ledger.tsv file and the outcome of a crc command run for tests.", which holds two jobs. Extract it into separate files.Reproduce
n/a: structure-only refactor, no behavior change.
Approach
plugins/os-sdlc/tests/support/crc_ledger_files.rb(CrcLedgerFiles)Acceptance criteria
cd plugins/os-sdlc && ruby tests/all.rb0 failures.ruby -e 'require "./plugins/os-sdlc/lib/os_sdlc"; OsSdlc::Db.connect!(":memory:"); OsSdlc.loader.eager_load'silent.plugins/os-sdlc/bin/lint-sweepshows no unexplained new line.Owner sketch
Each part owns one job; the old file is removed.
Non-goals
Origin
01e4fd98; rows applied 1/1; rows deviated 0; rows blocked 0Follow-up dropped (skeptic, run 3 close-out): "New value-record category for CrcRunOutcome". The row fits "owns one parsed value", and StepOutcome set that precedent.
Resolution
Done: Wave 5 split applied: CrcLedgerFixture and CrcRunOutcome (both keep); split-rename stamping fixed.
Evidence:
01e4fd98; tool fix26c85bf0; records7971da13; HEADa2199744suite 2273 runs 5106 assertions 0 failures 0 errors 45.3s; rubocop on run 3 files: no new offenseFollow-ups: drop 23 (value-record category) noted on this ticket