eda: playbook.Load findings carry the offending YAML line #459

Closed
opened 2026-10-27 13:36:25 +00:00 by sam · 0 comments
Owner

archie-playbooks serve places a routing finding on its key's line (the path:line: prefix from t2db.20), but internal/domain/eda/playbook.Load errors name only the playbook path, so every EDA diagnostic sits on the file's first line. Decode EDA playbooks through yaml.Node (as the routing loaders now do) and prefix action-level findings with path:line of the offending action or args key; the language server picks the line up without change. Found while building t2db.28.

Close reason

Shipped. playbook.Load findings carry the offending YAML line: rawAction records line/whenLine/argLines via UnmarshalYAML and at() renders path:line. Verified: internal/domain/eda/playbook/lines_test.go (path:line assertions) passes.


Imported from beads archie-core-t2db.34 · GitHub #1089 · type task · priority P2 · created 2026-09-23 · closed 2026-09-29

archie-playbooks serve places a routing finding on its key's line (the path:line: prefix from t2db.20), but internal/domain/eda/playbook.Load errors name only the playbook path, so every EDA diagnostic sits on the file's first line. Decode EDA playbooks through yaml.Node (as the routing loaders now do) and prefix action-level findings with path:line of the offending action or args key; the language server picks the line up without change. Found while building t2db.28. ### Close reason Shipped. playbook.Load findings carry the offending YAML line: rawAction records line/whenLine/argLines via UnmarshalYAML and at() renders path:line. Verified: internal/domain/eda/playbook/lines_test.go (path:line assertions) passes. --- _Imported from beads `archie-core-t2db.34` · GitHub #1089 · type task · priority P2 · created 2026-09-23 · closed 2026-09-29_
sam added the mediumtask labels 2026-10-27 13:36:25 +00:00
sam self-assigned this 2026-10-27 13:36:25 +00:00
sam closed this issue 2026-10-27 13:36:25 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: sam/archie#459