Commit 871b993
committed
fix(webapp): early-return reconcile when per-org basins disabled
Without this guard `reconcileBasinForOrg` would still call into
`provisionBasinForOrg` / `reconfigureBasinForOrg`, which both no-op
behind the feature flag, but the reconciler then logged
"provisioned (paid upgrade)" and returned `{ kind: "provisioned" }`.
Misleading on a cloud install where billing is wired but per-org
basins are off — the logs claim work that didn't happen, and we paid
for a billing API round-trip we couldn't act on.
Bail at the top with `{ kind: "skipped", reason: "feature-disabled" }`
so the result and the logs match the actual no-op behaviour.1 parent 97eb08e commit 871b993
1 file changed
Lines changed: 18 additions & 1 deletion
Lines changed: 18 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
| 21 | + | |
21 | 22 | | |
22 | 23 | | |
23 | 24 | | |
| |||
60 | 61 | | |
61 | 62 | | |
62 | 63 | | |
63 | | - | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
64 | 72 | | |
65 | 73 | | |
66 | 74 | | |
| |||
96 | 104 | | |
97 | 105 | | |
98 | 106 | | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
99 | 116 | | |
100 | 117 | | |
101 | 118 | | |
| |||
0 commit comments