Commit ef66fb8
feat(webapp): default the cancel in-progress runs option to on for billing limits
**Before:** the first time you configured a billing limit, the "Cancel
in-progress runs when this limit is reached" checkbox started unchecked.
Unless you noticed it and ticked it, runs that were already executing
when the limit was reached kept going until they finished, so spend
could keep climbing past the limit even though new triggers were already
being held.
**After:** the checkbox now starts checked for a limit that has not been
configured yet, so cancelling already-executing runs is the default.
Organizations that have already saved a billing limit keep whatever they
chose, including an explicit opt-out.
**How:** the form's initial checked state for an unconfigured limit is
now on instead of off. Nothing about saved settings or submitted values
changed: a missing checkbox on submit is still read as off, so unticking
the box and saving still disables cancellation.
Mono-RevId: c1068f09f9a8db53e45bf3f91c879569becccb251 parent 7842bd5 commit ef66fb8
2 files changed
Lines changed: 10 additions & 1 deletion
File tree
- .server-changes
- apps/webapp/app/components/billing
Lines changed: 6 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
Lines changed: 4 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
115 | 115 | | |
116 | 116 | | |
117 | 117 | | |
118 | | - | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
119 | 122 | | |
120 | 123 | | |
121 | 124 | | |
| |||
0 commit comments