Skip to content

controller: return transient Substrate errors without a condition - #779

Merged
yongruilin merged 1 commit into
google:mainfrom
yongruilin:ax-substrate-unavailable-condition
Nov 25, 2026
Merged

yongruilin merged 1 commit into
google:mainfrom
yongruilin:ax-substrate-unavailable-condition

Conversation

@yongruilin

Copy link
Copy Markdown
Collaborator

The task manager and workspace prepare no longer set a SubstrateUnavailable condition when a call fails with a transient error; they only return the error. Part of #695.

Tasks and Workspaces no longer get a SubstrateUnavailable condition. The
error is still returned; a task is still Queued, a Workspace Preparing.
@yongruilin

Copy link
Copy Markdown
Collaborator Author

@rakyll the reason is now used only when a read cannot reach Substrate (Ready=Unknown). I would keep that: it is computed on each read and never stored, and failing the read instead makes ax get unusable during an outage. If you agree, this closes #695.

@rakyll rakyll left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you! ReasonSubstrateUnavailable may also be in the same category of reasons we can remove.

@yongruilin
yongruilin merged commit 393f0bc into google:main Nov 25, 2026
11 checks passed
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.

2 participants