Skip to content

Commit c413e8e

Browse files
committed
improvement(workflow-code): v7 benchmark residuals (column-name hints, retry docs, workspace-less errors)
- check: a row write naming a renamed column's key says which column it meant ("Did you mean <name>?"); primer, INDEX and cookbook say row data is keyed by column name - API block retries: document that a host that does not resolve or refuses the connection is not retried (block, tool, docs page, INDEX, ops help) - CLI: a 404 from a workspace-scoped command names the workspace searched and where it came from; the no-workspace error points at -w and SIM_WORKSPACE - ops help: condition ids come from position, a passed id is replaced
1 parent bf6bc31 commit c413e8e

22 files changed

Lines changed: 302 additions & 167 deletions

File tree

‎apps/docs/content/docs/cli/reference.mdx‎

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7792,12 +7792,14 @@ Inputs:
77927792
manualTableId; a string goes to the typed field). Add the type it answers with: `blocks get
77937793
table` answers table_v2, and an add of legacy table is refused.
77947794
conditions (condition): [{"title":"if","value":"<start.n> > 3"},{"title":"else if","value":"…"},
7795-
{"title":"else","value":""}]; the last entry is the else, and ids are assigned.
7795+
{"title":"else","value":""}]; the last entry is the else. Each entry's id comes from its
7796+
position (<block id>-if, <block id>-else-if-0, …, <block id>-else): an id you pass is replaced.
77967797
inputFormat (Start): [{"name":"email","type":"string"}]; types string, number, boolean,
77977798
object, array, file[]; an optional default "value" as text.
77987799
Block settings, beside inputs in an add's or edit's params:
77997800
"retry":{"enabled":true,"maxTries":3,"waitBetweenTriesMs":1000} retries a failed block; null
7800-
clears it.
7801+
clears it. An api block's retries input repeats the request after a timeout, reset, 429 or
7802+
5xx, not when the host does not resolve or refuses the connection; "retry" covers that.
78017803
Outputs:
78027804
A block that fails outputs {"error":"<message>"}: connect its error handle and read
78037805
<name.error> there (without one, the run fails). A Workflow block's result is the child's

‎apps/docs/content/docs/cli/workflows.mdx‎

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -362,12 +362,14 @@ Inputs:
362362
manualTableId; a string goes to the typed field). Add the type it answers with: `blocks get
363363
table` answers table_v2, and an add of legacy table is refused.
364364
conditions (condition): [{"title":"if","value":"<start.n> > 3"},{"title":"else if","value":"…"},
365-
{"title":"else","value":""}]; the last entry is the else, and ids are assigned.
365+
{"title":"else","value":""}]; the last entry is the else. Each entry's id comes from its
366+
position (<block id>-if, <block id>-else-if-0, …, <block id>-else): an id you pass is replaced.
366367
inputFormat (Start): [{"name":"email","type":"string"}]; types string, number, boolean,
367368
object, array, file[]; an optional default "value" as text.
368369
Block settings, beside inputs in an add's or edit's params:
369370
"retry":{"enabled":true,"maxTries":3,"waitBetweenTriesMs":1000} retries a failed block; null
370-
clears it.
371+
clears it. An api block's retries input repeats the request after a timeout, reset, 429 or
372+
5xx, not when the host does not resolve or refuses the connection; "retry" covers that.
371373
Outputs:
372374
A block that fails outputs {"error":"<message>"}: connect its error handle and read
373375
<name.error> there (without one, the run fails). A Workflow block's result is the child's

‎apps/docs/content/docs/workflows/blocks/api.mdx‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ Keep keys and proxy credentials in [secrets](/platform/credentials), referenced
3333
| Field | Default and limit |
3434
| --- | --- |
3535
| **Timeout (ms)** | 300,000 ms (5 minutes); maximum 600,000 ms (10 minutes). |
36-
| **Retries** | `0`. When enabled, retry network failures, timeouts, `429`, and `5xx` responses; not ordinary `400` or `404` errors. |
36+
| **Retries** | `0`. When enabled, retry timeouts, connection resets, `429`, and `5xx` responses; not a host that does not resolve or refuses the connection, and not ordinary `400` or `404` errors. |
3737
| **Retry delay (ms)** | `500`; exponential backoff starts here. |
3838
| **Max retry delay (ms)** | `30,000`; caps the backoff delay. |
3939
| **Retry non-idempotent methods** | Off. Enable POST/PATCH retries only when repeated requests are safe. |

0 commit comments

Comments
 (0)