Skip to content

Accept a request timeout outside Base instead of flagging it as an unknown key - #12

Open
Dovilė Sližytė (dovile-make) wants to merge 1 commit into
mainfrom
fix/timeout-on-component-requests
Open

Dovilė Sližytė (dovile-make) wants to merge 1 commit into
mainfrom
fix/timeout-on-component-requests

Conversation

@dovile-make

Copy link
Copy Markdown
Contributor

Problem

The bundled editor schemas list timeout for Base only, and as an integer. The validator therefore warns in two cases that work:

  • "timeout": 300000 on a module, RPC or webhook request (must NOT have additional properties {"additionalProperty":"timeout"})
  • the form the Base page documents, "timeout": "{{common.timeout}}"

editor-schema-validation.md § 2 says an unknown key "usually means the runtime ignores or misreads the value" and makes it a class (a) defect. In a blind review this produced a blocking finding for a long-running module with its own timeout, and the "fix" moved the value to Base, which raises the limit for every call the app makes.

Reproduction

A two-file synthetic app (a Base and one module request with "timeout": 300000):

WARNING modules/slowCall/api.imljson (api.json)
  /: must NOT have additional properties {"additionalProperty":"timeout"}

Change

One entry in § 3 "What is not a defect": timeout on a component request, or written as an IML expression, is not a finding; do not move it to Base; check only that the value is in milliseconds and at most 300000. The schema files are untouched, so they stay identical to their upstream source.

Checks

npm test passes. Text only, no script or schema change.

Offered in #8 (follow-up comment of 2026-11-12).

🤖 Generated with Claude Code

…known key

The editor schemas list `timeout` for Base only and as an integer, so a
timeout on a module request, and the documented `{{common.timeout}}` form,
both produce a warning that reviewers graded as a blocking defect and
"fixed" by moving the value to Base. Add the case to the not-a-defect list.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
@dovile-make Dovilė Sližytė (dovile-make) changed the title Accept a request timeout outside Base instead of flagging it as an unknown key Accept a request timeout outside Base instead of flagging it as an unknown key Nov 12, 2026
@dovile-make

Copy link
Copy Markdown
Contributor Author

Seen again in 2 of 20 blind reviews (third batch of 2026-11-12, skill at 98e7159): a timeout on a module request was reported as a blocking class (a) defect because the bundled schema allows the key only in Base, and both reviewers "fixed" it by moving the value into Base, which changes the timeout of every request in the app.

Related gap named in 8 of the 20 usage notes: the skill does not say whether the call timeout applies to one HTTP request or to the whole module run. Reviewers cannot judge create-then-poll modules without that.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant