Stop load-time calls from appearing as steps in a journey #1582
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#1582
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
A journey must hold only the steps of its command. The recorder traces every Ruby
:callinside ause_caseblock, and it also traces calls that run while Ruby loads a class. So a journey can show steps that its command never makes, and these steps move between journeys when the test order changes.Observed
plugins/os-backlog/lib/backlog/issues.rb:58-66callsroute_to_backend9 times in the class body. These calls run once, at load. After fast-batch-1579, the 9 steps moved fromos_backlog_occurrence.c4toos_backlog_comment.c4with no change to either command.Reproduce
Origin
b9824613.Backlog::Issuesrecords its class-body calls (lib/backlog/issues.rb:58) ←plugins/os-sdlc/lib/os_sdlc/system_model/recorder/trace.rb:14traces all:callevents and does not skip load time. Ends atDESIGN:recorder/trace.rb.VERDICT: CREATE