You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@texera.apache.org by "mengw15 (via GitHub)" <gi...@apache.org> on 2026/09/18 07:12:34 UTC
[I] "Needs a warehouse it does not have" is answered in three places [texera]
mengw15 opened a new issue, #8593:
URL: https://github.com/apache/texera/issues/8593
Three components decide whether a run is missing a warehouse, and none of them shares the answer:
- `ComputingUnitSelectionComponent.warehouseRequiredButMissing` — `warehouseEnabled` from the `GET /warehouse/status` response (falling back to the boot-time config when that request fails, so a transport error cannot un-gate a run), and the pick from `WarehouseService`. This one also decides whether the picker renders at all.
- `ExecuteWorkflowService` — the boot-time `config.env.warehouseEnabled` and the same pick. This is the one that actually refuses the run.
- `WorkflowFormComponent.hasNoWarehouse` (#8592) — the same pair as the service, so the form view's button predicts the refusal exactly.
They agree today only because `status.enabled` and `config.env.warehouseEnabled` both come from `StorageConfig.warehouseEnabled` server-side. Raised as a P3 during the picker's review (#8551): if `status.enabled` ever becomes dynamic or per-user, a run could be refused by the service while the picker stays hidden, or offered by a button the service then rejects.
The fix is one owner — `WarehouseService` exposing the predicate, with the status response and the boot config reconciled in one place — and three readers. Deliberately not done inside #8592, which is an eight-line fix, or #8590, which is already rewriting the picker.
Not urgent: the three agree today, and a divergence would at worst cost an extra toast or a hidden picker — the backend (#7751) is the authority on whether a run is allowed. This is the cleanup to do **before** `status.enabled` becomes dynamic or per-user, not before that.
Part of #6870.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@texera.apache.org.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] "Needs a warehouse it does not have" is answered in three places [texera]
Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on issue #8593:
URL: https://github.com/apache/texera/issues/8593#issuecomment-5726533147
<!-- texera:template-compliance -->
👋 Thanks for opening this issue, @mengw15!
It looks like the issue description doesn't quite follow our template yet:
- This issue doesn't appear to use one of our templates (Bug, Feature, or Task). Please open it using a template so the required details are captured.
Filling out the template helps reviewers understand and triage your contribution faster. Please edit the description to complete it. This message will disappear automatically once the template is followed.
You can find the template prompts by editing the description, or see [CONTRIBUTING.md](https://github.com/apache/texera/blob/main/CONTRIBUTING.md) for the full contribution flow.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@texera.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org