ticket-dispatch: retry the board read, and fit it under the tick (WR-90) #44

Merged
pit merged 3 commits from hermes/WR-90-retry-the-dispatch-sweep-s-vikunja-reads into main 2026-11-06 16:22:14 +00:00
Member

Implements WR-90

Summary

The pump's and the sweep's board read now retry inside the run, and the per-request timeout drops
below the tick both triggers run on.

 Get queues / Get sweep queues
   options.timeout        15000 -> 10000
+  retryOnFail            true
+  maxTries               3        # engine honours 2..5, clamps silently otherwise
+  waitBetweenTries       5000     # engine honours 0..5000

Those numbers are priced against the tick, not picked: the triggers are */5 * * * * and
2-59/5 * * * * — five minutes — and each read node runs once per board, six of them.

Case Arithmetic Total
one board, every try timing out 3 × 10 s + 2 × 5 s 40 s
one node, six boards, every try failing 3 × (6 × 10 s) + 2 × 5 s 190 s
the same at 15 s, the value it replaces 3 × (6 × 15 s) + 2 × 5 s 280 s

The old 15 s fits no budget once retries sit under it: 280 s of a 300 s tick leaves nothing for the
rest of the run. 10 s is also the value the HTTP Request node declares for the field itself.

What this does not bound, and what that costs. The 300 s in the incident was not
options.timeout. That field is documented as "time in ms to wait for the server to send response
headers (and start the response body)" — it never covered a body that started and then stalled. The
stall is cut by the instance's N8N_HTTP_RESPONSE_BODY_READ_TIMEOUT (default 300000 ms, in
@n8n/config's HttpRequestConfig), which no node field or export setting reaches. Until that is
lowered, a stalling read costs 300 s per try, so three tries make that class worse than it is
today. Setting it to 10000 on the instance makes both terms price the same and lands the run at
190 s; that is a one-line change to /opt/n8n.env on Guest 128 plus a restart, and it is named in
the handoff as the step this change needs beside it.

The change is one node setting per read; the sweep's other reads (Get teams, Get pump teams,
Get view tasks, Get sweep hooks) are untouched, as the ticket's out-of-scope says. WR-91 landed
on main while this branch was open, so the merge commit carries it; the branch's own diff is still
the two nodes' timeout and retry fields.

Evidence

Suite origin/main 99d8fb3 head c3d544a
ticket-dispatch/tests/retry.test.js 11/18, rc 1 18/18, rc 0
ticket-dispatch/tests/gate.test.js 79/79 79/79
ticket-dispatch/tests/pump.test.js 67/67 67/67
ticket-dispatch/tests/notices.test.js 23/23 23/23
ticket-dispatch/tests/provision-buckets.test.sh 50 50
pr-review-loop/tests/parse.test.js 12/12 12/12
pr-review-loop/tests/decide.test.js 95/95 95/95
nas-disk-report/tests/scan.test.py 24 24
nas-disk-report/tests/render.test.py 141 141
scripts/tests/protect-main.test.sh 131 131
scripts/tests/onboard-repo.test.sh 41 41
make docs-check 3 assertions 3 assertions

The new suite's left column is that same suite handed the base export
(git show origin/main:ticket-dispatch/workflows/vikunja-ticket-dispatch.json after the merge), so
every check it adds reds against the nodes as they are:

FAIL  both reads retry on failure  -> []
FAIL  both reads carry the tries and the wait the engine honours  -> [[null,null,1,0],[null,null,1,0]]
FAIL  a read is not timed out later than a stalled body would be  -> [false,false]
FAIL  Get queues: a read that fails once and then succeeds ends green  -> [false,0,6]
FAIL  Get queues: a read that fails twice and then succeeds ends green  -> [false,6]
FAIL  Get sweep queues: a read that fails once and then succeeds ends green  -> [false,0,6]
FAIL  Get sweep queues: a read that fails twice and then succeeds ends green  -> [false,6]

The suite's behavioural half is the ticket's second criterion driven at fake-vikunja.py, which now
answers the board read and can fail one on purpose: reset drops the connection before answering, as
a proxy that cannot spool the reply does, and status answers 500. A node whose read drops once
recovers on its second try and stays green — twelve requests for six boards, because n8n reruns the
whole node, not the one board that failed. Dropped twice, it recovers on the third. A read that keeps
failing 500s reaches the third try and fails there, which is what fails the run; the error workflow is
unchanged and sends one POST per failed run, which the incident itself measured — 21 failed runs,
21 alerts.

Where the 300 s came from — read from the live instance, not inferred. Execution 69426 on
Guest 128 ran 316548 ms and failed at Get queues with the node carrying options.timeout: 15000:

Error: Response body timed out after 300000ms without data
    at @n8n/backend-network/src/http/binary-buffer.ts:35:13

binary-buffer.ts reads the timer from HttpRequestConfig.responseBodyReadTimeout, whose decorator
is @Env('N8N_HTTP_RESPONSE_BODY_READ_TIMEOUT') and whose default is 300_000. The same sweep's
other failures were ECONNRESET/aborted after 20277 ms — the class retries do cover.

Merge Danger

Door: two-way. Revert the commit and republish; no data moves, and the ledger, the buckets and
the tick are untouched by these fields.

Blast Radius: the dispatch workflow only, and not until it is republished.

  • Nothing changes until the Operator republishes. The instance runs version 0e7fe518; this
    branch edits an export. versionId is deliberately left alone, because it is the published
    version read back after a publish (WR-60), not the draft's.
  • The republish carries WR-91 — merged into main while this branch was open, and the export on
    this branch already carries it. #42's open-only board filter is still open and would ride the same
    publish if it merges first; that is not this PR's change, and it reduces the same latency.
  • The ticket's fourth criterion is a post-publish observation and cannot be checked here:
    activeVersion.sameAsDraft true after the publish, and the next real sweep green. The stall bound
    above is the other half of that observation, and it lives on the instance, not in this repo.
Implements [WR-90](https://vikunja.thepit.space/tasks/295) ## Summary The pump's and the sweep's board read now retry inside the run, and the per-request timeout drops below the tick both triggers run on. ```diff Get queues / Get sweep queues options.timeout 15000 -> 10000 + retryOnFail true + maxTries 3 # engine honours 2..5, clamps silently otherwise + waitBetweenTries 5000 # engine honours 0..5000 ``` Those numbers are priced against the tick, not picked: the triggers are `*/5 * * * *` and `2-59/5 * * * *` — five minutes — and each read node runs once per board, six of them. | Case | Arithmetic | Total | | --- | --- | --- | | one board, every try timing out | 3 × 10 s + 2 × 5 s | 40 s | | one node, six boards, every try failing | 3 × (6 × 10 s) + 2 × 5 s | **190 s** | | the same at 15 s, the value it replaces | 3 × (6 × 15 s) + 2 × 5 s | 280 s | The old 15 s fits no budget once retries sit under it: 280 s of a 300 s tick leaves nothing for the rest of the run. 10 s is also the value the HTTP Request node declares for the field itself. **What this does not bound, and what that costs.** The 300 s in the incident was not `options.timeout`. That field is documented as "time in ms to wait for the server to send response headers (and start the response body)" — it never covered a body that started and then stalled. The stall is cut by the instance's `N8N_HTTP_RESPONSE_BODY_READ_TIMEOUT` (default `300000` ms, in `@n8n/config`'s `HttpRequestConfig`), which no node field or export setting reaches. Until that is lowered, a stalling read costs 300 s *per try*, so three tries make that class worse than it is today. Setting it to `10000` on the instance makes both terms price the same and lands the run at 190 s; that is a one-line change to `/opt/n8n.env` on Guest 128 plus a restart, and it is named in the handoff as the step this change needs beside it. The change is one node setting per read; the sweep's other reads (`Get teams`, `Get pump teams`, `Get view tasks`, `Get sweep hooks`) are untouched, as the ticket's out-of-scope says. WR-91 landed on `main` while this branch was open, so the merge commit carries it; the branch's own diff is still the two nodes' timeout and retry fields. ## Evidence | Suite | `origin/main` `99d8fb3` | head `c3d544a` | | --- | --- | --- | | `ticket-dispatch/tests/retry.test.js` | 11/18, rc 1 | **18/18**, rc 0 | | `ticket-dispatch/tests/gate.test.js` | 79/79 | 79/79 | | `ticket-dispatch/tests/pump.test.js` | 67/67 | 67/67 | | `ticket-dispatch/tests/notices.test.js` | 23/23 | 23/23 | | `ticket-dispatch/tests/provision-buckets.test.sh` | 50 | 50 | | `pr-review-loop/tests/parse.test.js` | 12/12 | 12/12 | | `pr-review-loop/tests/decide.test.js` | 95/95 | 95/95 | | `nas-disk-report/tests/scan.test.py` | 24 | 24 | | `nas-disk-report/tests/render.test.py` | 141 | 141 | | `scripts/tests/protect-main.test.sh` | 131 | 131 | | `scripts/tests/onboard-repo.test.sh` | 41 | 41 | | `make docs-check` | 3 assertions | 3 assertions | The new suite's left column is that same suite handed the base export (`git show origin/main:ticket-dispatch/workflows/vikunja-ticket-dispatch.json` after the merge), so every check it adds reds against the nodes as they are: ```text FAIL both reads retry on failure -> [] FAIL both reads carry the tries and the wait the engine honours -> [[null,null,1,0],[null,null,1,0]] FAIL a read is not timed out later than a stalled body would be -> [false,false] FAIL Get queues: a read that fails once and then succeeds ends green -> [false,0,6] FAIL Get queues: a read that fails twice and then succeeds ends green -> [false,6] FAIL Get sweep queues: a read that fails once and then succeeds ends green -> [false,0,6] FAIL Get sweep queues: a read that fails twice and then succeeds ends green -> [false,6] ``` The suite's behavioural half is the ticket's second criterion driven at `fake-vikunja.py`, which now answers the board read and can fail one on purpose: `reset` drops the connection before answering, as a proxy that cannot spool the reply does, and `status` answers 500. A node whose read drops once recovers on its second try and stays green — twelve requests for six boards, because n8n reruns the whole node, not the one board that failed. Dropped twice, it recovers on the third. A read that keeps failing 500s reaches the third try and fails there, which is what fails the run; the error workflow is unchanged and sends one POST per failed run, which the incident itself measured — 21 failed runs, 21 alerts. **Where the 300 s came from** — read from the live instance, not inferred. Execution 69426 on Guest 128 ran 316548 ms and failed at `Get queues` with the node carrying `options.timeout: 15000`: ```text Error: Response body timed out after 300000ms without data at @n8n/backend-network/src/http/binary-buffer.ts:35:13 ``` `binary-buffer.ts` reads the timer from `HttpRequestConfig.responseBodyReadTimeout`, whose decorator is `@Env('N8N_HTTP_RESPONSE_BODY_READ_TIMEOUT')` and whose default is `300_000`. The same sweep's other failures were `ECONNRESET`/`aborted` after 20277 ms — the class retries do cover. ## Merge Danger **Door:** two-way. Revert the commit and republish; no data moves, and the ledger, the buckets and the tick are untouched by these fields. **Blast Radius:** the dispatch workflow only, and not until it is republished. - **Nothing changes until the Operator republishes.** The instance runs version `0e7fe518`; this branch edits an export. `versionId` is deliberately left alone, because it is the published version read back after a publish (WR-60), not the draft's. - **The republish carries WR-91** — merged into `main` while this branch was open, and the export on this branch already carries it. #42's open-only board filter is still open and would ride the same publish if it merges first; that is not this PR's change, and it reduces the same latency. - **The ticket's fourth criterion is a post-publish observation** and cannot be checked here: `activeVersion.sameAsDraft` true after the publish, and the next real sweep green. The stall bound above is the other half of that observation, and it lives on the instance, not in this repo.
ticket-dispatch: retry the board read, and fit it under the tick (WR-90)
All checks were successful
pr-checks / loop-decide (pull_request) Successful in 10s
pr-checks / protect-main (pull_request) Successful in 17s
32bf0e65bc
One slow Vikunja read failed a whole run on Nov 6, and every failed run sent its own
alert -- 21 of them for one incident. `Get queues` and `Get sweep queues` now retry
inside the run: `retryOnFail` with `maxTries: 3` and `waitBetweenTries: 5000`, both
sides of what n8n's engine clamps to, and the per-request timeout drops from 15 s to
10 s, the value the node declares for the field itself.

The numbers are chosen against the tick the two triggers run on. Five minutes, six
boards per read, so every try timing out on every board is 3 x 6 x 10 s + 2 x 5 s =
190 s, inside the tick; keeping 15 s would have made it 280 s. A read that fails once
and then succeeds stays green and never reaches the error workflow. One that keeps
failing still fails the run, on its last try, and speaks once.

The suite beside it reads the policy out of the export rather than restating it, prices
it against the tick parsed from the triggers, and drives it at fake-vikunja.py, which
now answers a board read and can fail one on purpose.

What this does not bound: a response body that stalls mid-transfer. The node's
`timeout` covers the response headers and the start of the body only, and that stall is
cut by the instance's N8N_HTTP_RESPONSE_BODY_READ_TIMEOUT (300000 ms by default), which
no node field or export setting reaches.
Member

Review started (round 1/5) on 32bf0e65bc — reading the diff now.

**Review started** (round 1/5) on 32bf0e65bc24a424dd60ce6ce5ddf0e6dd385951 — reading the diff now.
ticket-dispatch: drive the retried reads from the whole Config (WR-90)
All checks were successful
pr-checks / loop-decide (pull_request) Successful in 10s
pr-checks / protect-main (pull_request) Successful in 19s
c3d544a009
WR-91 moved the reads' origin onto Config's vikunja_api_origin, so the suite builds the
Config value the workflow is handed rather than a copy of the two keys it needed before.
That keeps the URLs under test the ones the export builds after the merge that landed
while this branch was open.
bot-minos approved these changes 2026-11-06 16:21:29 +00:00
bot-minos left a comment

repo olympus/workshop · PR #44 · reviewed head c3d544a0093d31f6bc4be2070fc3561819cc0377 · round 1/5 (the review list held 0 reviews, so this is the first; the step-0 line said 1/5 as dispatched) · verdict: APPROVE

Recommendation: merge

The head moved during the review. The dispatch named 32bf0e6. Before I posted, refs/pull/44/head on the forge resolved to c3d544a: the author merged main (#43, WR-91) in as d68b2ef, then added c3d544a (a test-only change in retry.test.js). Both are stacked on 32bf0e6. I reviewed 32bf0e6 and then re-drove everything at c3d544a; the findings below are for c3d544a. The merge's files (gate/notices/pump tests, the LAN-origin edits to the workflow) are #43's to answer for. The change this PR owns is git diff 99d8fb3 c3d544a: README, fake-vikunja.py, retry.test.js, and ten lines of the workflow export.

Spec: WR-90 (Vikunja project 5, index 90, task id 295), read live. The ticket body's four acceptance criteria plus the triage Agent Brief comment. The PR body's own description agrees with the ticket.
Standards: AGENTS.md, docs/agents/*, docs/adr/0001–0012 read at the head. None binds a node-setting change in the n8n export beyond ADR 0009's merge-to-main path, which this PR does not touch. No repo convention covers the PR body's section layout; I judged that by general good practice.

Spec

Ticket criteria, one by one:

# Criterion (WR-90 body) Result at c3d544a
1 Both nodes carry retryOnFail, maxTries, waitBetweenTries; options.timeout < sweep interval; values quoted Met. Get queues and Get sweep queues: retryOnFail: true, maxTries: 3, waitBetweenTries: 5000, timeout: 10000 (ticket-dispatch/workflows/vikunja-ticket-dispatch.json:517–519 and :815–817). Values and the 190 s / 280 s arithmetic are in the PR body; I recounted them (3×6×10+2×5 = 190, 3×6×15+2×5 = 280, six boards in Config).
2 One failed read, then success: green, no alert, shown against a stand-in Met for the policy as the suite models it. retry.test.js drives fake-vikunja.py with a reset once and twice; 12 and 18 requests, green.
3 A read that keeps failing fails the run; the error workflow alerts once Met structurally: onError is unset on both nodes, settings.errorWorkflow equals the errors export's id, and the errors export is one trigger, one render, one POST.
4 Published, sameAsDraft true, next real sweep green Post-publish, not checkable here. The PR says so. Not charged.

ADVISORY 1 (spec): the stalled-body bound the Agent Brief asks for is not delivered, and the change alone makes that class slower. ticket-dispatch/tests/retry.test.js:55 (BODY_STALL_MS = 10000) and the PR body's "What this does not bound". The brief's Desired behavior says "The stalled-body case is bounded too" and its criterion 3 says "a body that stalls mid-transfer is cut off within the stated bound, not after 300 s". The 300 s failures were the dominant class in the incident. This PR does not bound them; it states they depend on N8N_HTTP_RESPONSE_BODY_READ_TIMEOUT on Guest 128. With only this change published, a stalling read costs 3 × 300 s per board set instead of 300 s: the author says this too. The checks at retry.test.js:131-136 ("a read is not timed out later than a stalled body would be", "every board stalling at the body bound still fits the tick") are priced against a constant the test writes, not against anything the instance carries. They cannot go red if the instance is left at 300 s. The prerequisite is also not recorded anywhere that outlives the PR: no ticket is cited for it, and no doc in this repo names the variable. The author disclosed all of this, which is why it is an ADVISORY and not a BLOCKER: the change is two-way, nothing moves until the Operator republishes, and the PR names the step. The weight is real, though. Do not republish this export before the instance setting is lowered, and file the instance change as its own ticket so the ordering is on the record. I did not verify whether the export's settings.executionTimeout could bound the stall inside the repo; I could not run n8n here, so I name it as a question for the author, not a finding.

Standards

ADVISORY 2 (standards): the PR body's evidence is pinned to a superseded head. PR body "Evidence" table is headed "head 32bf0e6". The head is now c3d544a, and the counts moved with the merge of #43: gate.test.js 79/79 (body: 75/75), pump.test.js 67/67 (body: 65/65), notices.test.js 23/23 (body: 21/21). retry.test.js is still 18/18. The numbers I measured are all green; only the body lags. Refresh the column or drop the head hash from it.

Verified by my own hand (at c3d544a)

Claim How Result
Head resolved git ls-remote origin refs/pull/44/head before posting c3d544a…, stacked on 32bf0e6 (merge-base --is-ancestor true)
retry.test.js green mise exec -- node ticket-dispatch/tests/retry.test.js 18/18, rc 0
retry.test.js red at base 7800152 workflow with the errors export beside it 11/18, rc 1, 7 FAIL: matches the PR body (the first run without the errors export gave 9/18, my harness)
Suites the body cites gate / pump / notices / provision-buckets / make docs-check / parse / decide 79/79, 67/67, 23/23, 50, 3 assertions, 12/12, 95/95; all rc 0
The suite can fail five mutations of the export, one each: Get queues timeout 15000; Get sweep queues maxTries 2; Get sweep queues onError: continueRegularOutput; Get queues maxTries 5 + wait 20000; settings.errorWorkflow wrong Each reds the check that names it (rc 1). The suite is not a tautology on the export.
Tree clean git status --porcelain in the review worktree empty

Named, not charged

  • The behavioural half drives the test's own retry loop (readNodeWithRetries), not n8n. The suite header says so ("nothing here can start the engine"). It proves the policy's outcome against a failing upstream, and the export checks prove the policy is what the nodes carry; the engine's own retry behaviour is n8n's. Disclosed; not charged.
  • Ticket criterion 4 (publish, sameAsDraft, next real sweep) is post-publish by nature.
  • The Agent Brief's other criteria and the live-instance claims (Execution 69426 and its 316548 ms, the binary-buffer.ts stack, HttpRequestConfig default 300_000, the engine's 2..5 / 0..5000 clamps) I could not verify: no n8n instance or n8n source is reachable from this review. They are the author's reading of the instance, and the arithmetic built on them is internally consistent.
  • fake-vikunja.py moved from HTTPServer to ThreadingHTTPServer. provision-buckets.test.sh passes at 50 and the other suites do not use it; not charged.
  • Other Vikunja reads (Get teams, Get pump teams, Get view tasks, Get sweep hooks) untouched, as the ticket's out-of-scope says.

Summary

Axis Findings Worst
Spec 1 (0 BLOCKER, 1 ADVISORY) ADVISORY 1: the stalled-body bound lives on the instance, not in this repo, and until it is lowered the change makes the 300 s class slower; republish must wait for it
Standards 1 (0 BLOCKER, 1 ADVISORY) ADVISORY 2: the PR body's evidence table is pinned to 32bf0e6

Two advisories: under the three-advisory volume rule, so Recommendation: merge. No BLOCKER, so the review state is APPROVE. The recommendation turns on the count, not on the weight: the first advisory carries real weight and I ask that its ordering condition be honoured at republish.

<!-- minos review-loop: repo=olympus/workshop pr=44 head=c3d544a0093d31f6bc4be2070fc3561819cc0377 round=1/5 axes=standards,spec --> repo olympus/workshop · PR #44 · reviewed head `c3d544a0093d31f6bc4be2070fc3561819cc0377` · round 1/5 (the review list held 0 reviews, so this is the first; the step-0 line said 1/5 as dispatched) · verdict: APPROVE Recommendation: merge **The head moved during the review.** The dispatch named `32bf0e6`. Before I posted, `refs/pull/44/head` on the forge resolved to `c3d544a`: the author merged `main` (#43, WR-91) in as `d68b2ef`, then added `c3d544a` (a test-only change in `retry.test.js`). Both are stacked on `32bf0e6`. I reviewed `32bf0e6` and then re-drove everything at `c3d544a`; the findings below are for `c3d544a`. The merge's files (`gate`/`notices`/`pump` tests, the LAN-origin edits to the workflow) are #43's to answer for. The change this PR owns is `git diff 99d8fb3 c3d544a`: README, `fake-vikunja.py`, `retry.test.js`, and ten lines of the workflow export. **Spec:** WR-90 (Vikunja project 5, index 90, task id 295), read live. The ticket body's four acceptance criteria plus the triage Agent Brief comment. The PR body's own description agrees with the ticket. **Standards:** `AGENTS.md`, `docs/agents/*`, `docs/adr/0001–0012` read at the head. None binds a node-setting change in the n8n export beyond ADR 0009's merge-to-main path, which this PR does not touch. No repo convention covers the PR body's section layout; I judged that by general good practice. ## Spec Ticket criteria, one by one: | # | Criterion (WR-90 body) | Result at `c3d544a` | | --- | --- | --- | | 1 | Both nodes carry `retryOnFail`, `maxTries`, `waitBetweenTries`; `options.timeout` < sweep interval; values quoted | Met. `Get queues` and `Get sweep queues`: `retryOnFail: true`, `maxTries: 3`, `waitBetweenTries: 5000`, `timeout: 10000` (`ticket-dispatch/workflows/vikunja-ticket-dispatch.json:517–519` and `:815–817`). Values and the 190 s / 280 s arithmetic are in the PR body; I recounted them (3×6×10+2×5 = 190, 3×6×15+2×5 = 280, six boards in Config). | | 2 | One failed read, then success: green, no alert, shown against a stand-in | Met for the policy as the suite models it. `retry.test.js` drives `fake-vikunja.py` with a reset once and twice; 12 and 18 requests, green. | | 3 | A read that keeps failing fails the run; the error workflow alerts once | Met structurally: `onError` is unset on both nodes, `settings.errorWorkflow` equals the errors export's id, and the errors export is one trigger, one render, one POST. | | 4 | Published, `sameAsDraft` true, next real sweep green | Post-publish, not checkable here. The PR says so. Not charged. | **ADVISORY 1 (spec): the stalled-body bound the Agent Brief asks for is not delivered, and the change alone makes that class slower.** `ticket-dispatch/tests/retry.test.js:55` (`BODY_STALL_MS = 10000`) and the PR body's "What this does not bound". The brief's *Desired behavior* says "The stalled-body case is bounded too" and its criterion 3 says "a body that stalls mid-transfer is cut off within the stated bound, not after 300 s". The 300 s failures were the dominant class in the incident. This PR does not bound them; it states they depend on `N8N_HTTP_RESPONSE_BODY_READ_TIMEOUT` on Guest 128. With only this change published, a stalling read costs 3 × 300 s per board set instead of 300 s: the author says this too. The checks at `retry.test.js:131-136` ("a read is not timed out later than a stalled body would be", "every board stalling at the body bound still fits the tick") are priced against a constant the test writes, not against anything the instance carries. They cannot go red if the instance is left at 300 s. The prerequisite is also not recorded anywhere that outlives the PR: no ticket is cited for it, and no doc in this repo names the variable. The author disclosed all of this, which is why it is an ADVISORY and not a BLOCKER: the change is two-way, nothing moves until the Operator republishes, and the PR names the step. The weight is real, though. **Do not republish this export before the instance setting is lowered**, and file the instance change as its own ticket so the ordering is on the record. I did not verify whether the export's `settings.executionTimeout` could bound the stall inside the repo; I could not run n8n here, so I name it as a question for the author, not a finding. ## Standards **ADVISORY 2 (standards): the PR body's evidence is pinned to a superseded head.** PR body "Evidence" table is headed "head `32bf0e6`". The head is now `c3d544a`, and the counts moved with the merge of #43: `gate.test.js` 79/79 (body: 75/75), `pump.test.js` 67/67 (body: 65/65), `notices.test.js` 23/23 (body: 21/21). `retry.test.js` is still 18/18. The numbers I measured are all green; only the body lags. Refresh the column or drop the head hash from it. ## Verified by my own hand (at `c3d544a`) | Claim | How | Result | | --- | --- | --- | | Head resolved | `git ls-remote origin refs/pull/44/head` before posting | `c3d544a…`, stacked on `32bf0e6` (`merge-base --is-ancestor` true) | | `retry.test.js` green | `mise exec -- node ticket-dispatch/tests/retry.test.js` | 18/18, rc 0 | | `retry.test.js` red at base | `7800152` workflow with the errors export beside it | 11/18, rc 1, 7 FAIL: matches the PR body (the first run without the errors export gave 9/18, my harness) | | Suites the body cites | gate / pump / notices / provision-buckets / `make docs-check` / `parse` / `decide` | 79/79, 67/67, 23/23, 50, 3 assertions, 12/12, 95/95; all rc 0 | | The suite can fail | five mutations of the export, one each: Get queues timeout 15000; Get sweep queues `maxTries` 2; Get sweep queues `onError: continueRegularOutput`; Get queues `maxTries` 5 + wait 20000; `settings.errorWorkflow` wrong | Each reds the check that names it (rc 1). The suite is not a tautology on the export. | | Tree clean | `git status --porcelain` in the review worktree | empty | ## Named, not charged - **The behavioural half drives the test's own retry loop (`readNodeWithRetries`), not n8n.** The suite header says so ("nothing here can start the engine"). It proves the policy's outcome against a failing upstream, and the export checks prove the policy is what the nodes carry; the engine's own retry behaviour is n8n's. Disclosed; not charged. - **Ticket criterion 4** (publish, `sameAsDraft`, next real sweep) is post-publish by nature. - **The Agent Brief's other criteria and the live-instance claims** (Execution 69426 and its 316548 ms, the `binary-buffer.ts` stack, `HttpRequestConfig` default `300_000`, the engine's 2..5 / 0..5000 clamps) I could not verify: no n8n instance or n8n source is reachable from this review. They are the author's reading of the instance, and the arithmetic built on them is internally consistent. - **`fake-vikunja.py` moved from `HTTPServer` to `ThreadingHTTPServer`.** `provision-buckets.test.sh` passes at 50 and the other suites do not use it; not charged. - **Other Vikunja reads** (`Get teams`, `Get pump teams`, `Get view tasks`, `Get sweep hooks`) untouched, as the ticket's out-of-scope says. ## Summary | Axis | Findings | Worst | | --- | --- | --- | | Spec | 1 (0 BLOCKER, 1 ADVISORY) | ADVISORY 1: the stalled-body bound lives on the instance, not in this repo, and until it is lowered the change makes the 300 s class slower; republish must wait for it | | Standards | 1 (0 BLOCKER, 1 ADVISORY) | ADVISORY 2: the PR body's evidence table is pinned to `32bf0e6` | Two advisories: under the three-advisory volume rule, so `Recommendation: merge`. No BLOCKER, so the review state is APPROVE. The recommendation turns on the count, not on the weight: the first advisory carries real weight and I ask that its ordering condition be honoured at republish.
pit merged commit 61cc3a25dc into main 2026-11-06 16:22:14 +00:00
pit deleted branch hermes/WR-90-retry-the-dispatch-sweep-s-vikunja-reads 2026-11-06 16:22:14 +00:00
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
2 participants
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
olympus/workshop!44
No description provided.