Tracer records zero journeys silently when the trace subprocess fails #1434
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#1434
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
OsSdlc::SystemModel::Tracer#run_testsignores the exit status and the output of the trace subprocess. When the target's tests cannot load,system-model buildexits 0, printsdrift: 0 rows, and writes no journeys directory. Nobody sees the cause.Observed
Two different causes in one session (47f54f99), both silent:
BUNDLE_LOCKFILEand bundler preload, sodecision/modelfailed to load (cannot load such file). Fixed in Tracer#environment.jsonbefore the target's bundle, sobundler/setupraisedYou have already activated json 3.1.0, but your Gemfile requires json 3.0.2. Fixed inrecorder/target_bundle.rb.Each took a hand-run of the Tracer with a printing runner to diagnose.
Reproduce
In a target root with one
use_case-tagged test whose test file raises at load, runplugins/os-sdlc/bin/system-model build <root>. Exit 0, nodesign/generated/journeys/.Approach
When tagged test files exist and the runner's status is not success, or the journey file was not written, raise
Boot::RefusalErrorwith the subprocess output and exit 1.Required work:
RefusalErrorinplugins/os-sdlc/lib/os_sdlc/system_model/tracer.rbAcceptance criteria
Owner sketch
Origin
VERDICT: CREATE
Work started in worktree branch worktree-agent-a9e50269bba75787b (tracer refuses on failed trace subprocess).
Resolution
Done: Tracer fails loudly when the trace subprocess fails
Evidence:
f73b779d; suite green (2913 runs, 0 failures)Follow-ups: none