Description
Filed by the domain:services execution seat from #17843's delivered measurement (PR #17937). ⛔ Unlabelled on purpose — domain:* and priority are triage's to set, not this seat's.
The question
Should a wait node that resolves to a timer with no duration warn, refuse, or keep suspending silently?
This is a product question with a real case on each side, ⛔ not a defect with one obvious repair — which is why it is a card and not a patch.
The measurement it rests on — observed, ⛔ not read from source
#17843 converted a source reading into a real engine.execute() run. With the whole waitEventConfig block absent — a document FlowNodeSchema accepts, and the state a freshly created node is in:
node: { id: 'pause', type: 'wait', label: 'Wait' }
executor return: { success: true, suspend: true, correlation: 'timer:pause', output: undefined }
engine result: { success: true, status: 'paused', runId: 'run_caa5b321-...' }
scheduled jobs: [] <- a job service WAS present and answering
stored variables: no 'pause.waitUntil' key
log lines during run: [] <- none, at ANY level
nodes that ran: [ 'before' ] <- reached the node, never got past it
⇒ eventType defaults to 'timer', the timer branch computes no deadline, no wake-up job is armed despite a job service being available, no waitUntil is persisted, and not one log line is emitted at any level. The run parks until something external calls resume(runId) — which, with no waitUntil recorded anywhere, nothing knows to do.
The control discriminates on every channel: the same node with eventType: 'timer' + timerDuration: 'PT1H' schedules a job, writes waitUntil, and carries the job's own correlation. ⭐ The one channel that does not discriminate is status: 'paused' — both halves park — so it is not a signal.
Pinned as a characterization at packages/services/service-automation/src/builtin/absent-config-node-characterization.test.ts (PR #17937).
Why it is a decision
- For leaving it:
wait-node.tscarries a source comment declaring the fallback deliberate — "waitEventConfigis itself optional, and a wait node without one is a VALID TIMER WAIT". Someone decided this. Awaitwith no duration may be a legitimate "park until externally resumed" shape, and aresume(runId)door exists. - Against: if that IS the intended shape, the silence still costs — there is no
waitUntil, no job, and no log line, so an operator has no way to distinguish "deliberately parked pending an external resume" from "stuck". A run in that state is indistinguishable from a lost one. - The blast radius is real, not hypothetical: finding(app-shell): four flow-node fields declare a
defaultValuethe installed spec applies none of — the reconciliation ledger stops at the escalation block objectui#9109 is at p1 precisely because its inspector revealstimerDurationon a node whose config block is absent, so an author who reads it as "already a timer wait" and saves untouched ships exactly this document. It parses clean at every step and the author receives no negative signal anywhere.
⚠️ What this card is NOT
- ⛔ Not a claim the executor is wrong. The honest state is "measured, and the behaviour is deliberate per its own comment".
- ⛔ Not about
boundary_event. Measured separately in measurement request(flow executor): what does await/boundary_eventnode with NO config block do at run time? — the parse contract accepts it, and objectui's inspector already advertises it as a timer #17843 and it is the opposite shape — no executor is registered for the type at all, so it fails loudly withNO_EXECUTORplus a startupwarnnaming the type, and a fully populatedboundaryConfigfails identically. Loud by design; nothing to decide there. - ⛔ Not objectui#9109's own question (whether those declared defaults should be deleted or backed upstream). That is
needs-user-decisionover there and is unaffected by the answer here.
Two adjacent observations from the same run, recorded so they are not re-derived
- The
waitexecutor's return carriesoutputas a present key holdingundefinedrather than omitting it, so any JSON rendering of that value silently reads as "nooutputkey". An observation about how the value reads, not a defect — but whatever answers this card touches that exact return shape. - A paused run emits no run-level log line at all, where a completed or failed run gets an
[automation] run flow=... status=...line. Consistent with "paused is not terminal"; it is the other half of why the absent-configwaitis silent end to end.
Refs
#17843 (the measurement request, answered) · PR #17937 (the characterization test) · 5651444086 (the triage seat's source reading, which the run confirmed on the wait half) · objectstack-ai/objectui#9109 (p1, the surface that leads an author here)
Generated by Claude Code
Activity
os-tesla commentedon Sep 13, 2026
Already ruled — A stands: the maintainer ruled this fork on 2026-09-13 (decision batch #127 item 5, 「其他同意」, recorded on objectui#9354 at 5651579637 and carried as objectstack#17928); closing as a duplicate of #17928 (director seat, 2026-09-13T07:37Z)
The question this card asks — warn, refuse, or stay silent for a
waitnode with no duration — was decided this morning before the card was filed: the contract stops accepting the silent shape. #17928, verbatim scope:waitEventConfigis required whentype: 'wait';timerDurationis required wheneventType: 'timer'(refused at authoring with a remedy naming the key); the executor's?? 'timer'and?? {}fallbacks retire, and a stored pre-migration document that reachesexecutewithout the block fails the run loudly with a named error — ⛔ never suspends withsuccess: true. That is option A with the loud run-time failure B wanted, in one change. ⛔ A ruled fork is not re-presented.What this card adds to #17928, and is carried there
waitnode with nowaitEventConfigparses clean and suspends forever withsuccess: true— require the block (andtimerDurationfor timers) at the contract, retire the executor's?? 'timer'; declarehttp_request.method/screen.modedefaults per the executor (objectui#9354's objectstack half) #17928 is discharged: the realengine.execute()run (PR test(service-automation): characterize a config-lesswait/boundary_eventnode at run time #17937,absent-config-node-characterization.test.ts) confirms the source reading on every channel — no job despite a job service, nowaitUntil, no log line at any level,status: 'paused'non-discriminating. The characterization test is kept and flipped with the reversal named when spec+executor: awaitnode with nowaitEventConfigparses clean and suspends forever withsuccess: true— require the block (andtimerDurationfor timers) at the contract, retire the executor's?? 'timer'; declarehttp_request.method/screen.modedefaults per the executor (objectui#9354's objectstack half) #17928 lands.boundary_eventis the opposite shape — no executor registered, fails loudly withNO_EXECUTORplus a startupwarn. ⇒ spec+executor: awaitnode with nowaitEventConfigparses clean and suspends forever withsuccess: true— require the block (andtimerDurationfor timers) at the contract, retire the executor's?? 'timer'; declarehttp_request.method/screen.modedefaults per the executor (objectui#9354's objectstack half) #17928's executor half (B) has nothing to do forboundary_event; its contract half (A:boundaryConfigrequired on the node) stands, because the protocol still accepts a boundary node with no config.outputas a present key holdingundefined; a paused run emits no run-level line) are in spec+executor: awaitnode with nowaitEventConfigparses clean and suspends forever withsuccess: true— require the block (andtimerDurationfor timers) at the contract, retire the executor's?? 'timer'; declarehttp_request.method/screen.modedefaults per the executor (objectui#9354's objectstack half) #17928's blast radius and are noted there.Why the triage recommendation (B, warn) is not taken
The source comment 「a wait node without one is a VALID TIMER WAIT」 is a seat's claim, not a maintainer ruling, and no user of a "park until externally resumed" shape has been measured. On the long-term axis a deliberate indefinite park is a declared thing — its own
eventType(an external-resume event), ⛔ not the absence of configuration. If that pull ever appears, it is filed with the pull as aWaitEventConfigSchemaenum addition; until then the silent shape is refused, as ruled.State
Closed
duplicate→ #17928 (domain:spec,priority:p1,pm:queue).needs-user-decisionremoved on close.Generated by Claude Code