remove: require event_id and source in the response, set source on the event #28
Labels
No labels
coordination/cross-repo
coordination/needed
effort
large
effort
medium
effort
small
meta/duplicate
meta/planning
meta/wontfix
priority
high
priority
low
priority
medium
session
blocker
session
handover
session
next
status
blocked
status
done
status
in-progress
status
review
status
to-go
type
admin
type
bug
type
config
type
deployment
type
docs
type
enhancement
type
feature
type
handover
type
infrastructure
type
installation
type
maintenance
type
migration
type
research
type
security
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
DAW/daw-module-manager#28
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?
Problem
The removal confirmation (
removereturnswaiting, the host calls againwith the same
operation_idandopts.response) has gaps found in acode review:
schemaandoperation_idmatch.event_idandsource, both required bydaw_event_response/v1, arenever read. A response without them, with a foreign
event_id, orwith an
operation_idthat was never asked, removes the module.source(required bydaw_event/v1); the sink is expected to add it, which would change afinished event.
data.answer(see the companion issuein DAW/daw-contracts).
Matching a response to the event that was asked is the job of the holder
of the pending event (the host, with the registry planned in
DAW/daw-modul-berhtjan-core); the module does not remember events.
Scope
sourceon the event it buildsread_answerrequiresevent_idandsourceas non-empty strings(completeness, as the contract demands); the correlation itself stays
with the host
event_id, withoutsource, with a wrongoperation_id, missingdataAcceptance criteria
fragjan code .andmake test(Lua 5.1 and 5.4) passRelated
DAW/daw-contracts (companion issue), DAW/daw-modul-berhtjan-core
(pending decisions registry), DAW/daw-modul-berhtjan-cli#15
Implemented on develop
Commits:
e7c68daPushed. Follow-up points, if any, are tracked in their own issues.