TDD: Graph route with an edge to a non-existent target node executes partially then exits silently instead of failing config validation #92
Labels
No labels
auto/blocked-by-deps
auto/ci-timeout
auto/claimed-implementer
auto/claimed-merge
auto/claimed-reviewer
auto/driver-down
auto/invariant-violation
auto/last-attempt-tier-0
auto/last-attempt-tier-1
auto/last-attempt-tier-2
auto/last-attempt-tier-min
Automation Tracking
auto/needs-conflict-resolution
auto/needs-implementer
auto/postmortem
auto/ready-to-merge
auto/restart-throttled
auto/revert
auto/sentinel
auto/stale-inactivity
auto/unstable
Blocked
Bounty
$100
Bounty
$1000
Bounty
$10000
Bounty
$20
Bounty
$2000
Bounty
$250
Bounty
$50
Bounty
$500
Bounty
$5000
Bounty
$750
MoSCoW
Could have
MoSCoW
Must have
MoSCoW
Should have
Needs Feedback
Points
1
Points
13
Points
2
Points
21
Points
3
Points
34
Points
5
Points
55
Points
8
Points
88
Priority
Backlog
Priority
CI Blocker
Priority
Critical
Priority
High
Priority
Low
Priority
Medium
Signed-off: Owner
Signed-off: Scrum Master
Signed-off: Tech Lead
Spike
State
Completed
State
Duplicate
State
In Progress
State
In Review
State
Paused
State
Unverified
State
Verified
State
Wont Do
Type
Automation
Type
Bug
Type
Discussion
Type
Documentation
Type
Epic
Type
Feature
Type
Legendary
Type
Refactor
Type
Support
Type
Task
Type
Testing
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Blocks
Depends on
#9 Align cleveractors-core to The Actor Configuration Standard v1.0.0
cleveragents/cleveractors-core
#102 test(graph): capture unvalidated edge target regression (#91)
cleveragents/cleveractors-core
Reference
cleveragents/cleveractors-core#92
Loading…
Add table
Add a link
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?
Metadata
test(graph): capture unvalidated edge target regression (#91)tdd/m1-graph-edge-target-validationBackground and context
Companion TDD issue-capture test for the bug: a graph route whose edge
target(or
source) references a non-existent node is accepted at load time and onlyfails by silently truncating execution, violating §11 (load-time validation,
ConfigurationError), §11.3.4 (edge source/target must reference existingnodes) and §6.11.5 (edge validation) of the Actor Configuration Standard.
This issue delivers a failing-first Behave regression test that proves the
bug exists. The actual fix is delivered by the bug issue on a
bugfix/branch.Current behavior
No test asserts that loading a graph with a dangling edge target/source raises
ConfigurationErrorbefore execution. The defect can regress undetected.Expected behavior
A Behave scenario exists that:
targetnames an undefined node.ConfigurationErrorbefore any agent isinstantiated or any message is processed.
AssertionError) while the bug is present, and passes once the fixlands.
Acceptance criteria
targetis not a defined node is expected to raiseConfigurationErrorat load time; the assertion fails while the bug is present.
@tdd_issue,@tdd_issue_91,@tdd_expected_fail.AssertionErroronly(
assert .../raise AssertionError(...)) — neverValueError,RuntimeError,OSError, or any other exception type.@tdd_expected_failpresent,nox -s unit_testsis green (the hookinverts the failing assertion).
tdd/m1-graph-edge-target-validation(same suffixas the companion
bugfix/branch).Supporting information
docs/index.md— §11 preamble, §11.3.4, §6.11.5, §6.4, §6.2.1.cleveractors-contributingworkflow: the TDDhook only inverts
AssertionError; the three tags are mandatory; only@tdd_expected_failis removed by the bug-fix developer,@tdd_issueand@tdd_issue_91remain forever as regression guards.Subtasks
features/reproducing the danglingedge-target defect, tagged
@tdd_issue @tdd_issue_91 @tdd_expected_fail."bug still present" only via
AssertionError.@tdd_expected_fail,and that
nox -s unit_testsis green with the tag present.nox -s coverage_report.nox(all default sessions), fix any errors.Definition of Done
This issue is complete when:
Metadata exactly.
master, reviewed (test quality, correct tagging,AssertionErrorusage), and merged.