daw_error_report/v1: on hold, following errors are daw_event/v1 events #21

Closed
opened 2026-11-17 16:49:32 +01:00 by michael · 1 comment
Owner

Problem

daw_error/v1 (section "following") sends whoever collects errors that
follow another error to daw_error_report/v1. In practice this is not
done: error handling has one error object, daw_error/v1, and an
incident while reacting to an error (a failed cleanup) is reported as
its own daw_event/v1 event, for example work_dir_cleanup_failed in
DAW/daw-module-manager. Nothing uses daw_error_report/v1, and there is
no Lua implementation of it.

The contract and the pointer to it disagree with what is done.

Scope

  • daw_error/v1: the section "following" names the event as the way,
    and daw_error_report/v1 as on hold; changelog entry
  • daw_error_report/v1: note "on hold" in the specification and the
    changelog; status stays draft
  • README: "on hold" at its line

Acceptance criteria

  • the three contract descriptions agree
  • no change to any contract field or example

DAW/daw-module-manager (progress.lua, cleanup events),
DAW/daw-contracts#20

## Problem `daw_error/v1` (section "following") sends whoever collects errors that follow another error to `daw_error_report/v1`. In practice this is not done: error handling has one error object, `daw_error/v1`, and an incident while reacting to an error (a failed cleanup) is reported as its own `daw_event/v1` event, for example `work_dir_cleanup_failed` in DAW/daw-module-manager. Nothing uses `daw_error_report/v1`, and there is no Lua implementation of it. The contract and the pointer to it disagree with what is done. ## Scope - `daw_error/v1`: the section "following" names the event as the way, and `daw_error_report/v1` as on hold; changelog entry - `daw_error_report/v1`: note "on hold" in the specification and the changelog; `status` stays `draft` - README: "on hold" at its line ## Acceptance criteria - [ ] the three contract descriptions agree - [ ] no change to any contract field or example ## Related DAW/daw-module-manager (`progress.lua`, cleanup events), DAW/daw-contracts#20
Author
Owner

Implemented on main

Commits: 8a5831b

Pushed. Follow-up points, if any, are tracked in their own issues.

## Implemented on main Commits: 8a5831b Pushed. Follow-up points, if any, are tracked in their own issues.
michael 2026-11-18 11:55:58 +01:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
DAW/daw-contracts#21
No description provided.