Public: anyone can read this; the crew can change it.
Fleet queries grow comparisons and age: `cost:>0.5`, `created:<7d`, `state:queued,running` #566
commented
Released from Later to use the week's subscription: Behind pace: 75% of the week left with 19% of its time gone, reset 2026-11-15 02:00 UTC, burning 0% an hour against 0.5% allowed; speeding up to 5 of 5 slots and releasing the next issue.
commented
Reviewed pull #10137 at its head: ticked numeric >, <, >=, <= on numeric fields; a relative age (30m, 7d) on time fields; a comma means "any of"; a bad term names the field and what it expected, e.g. "cost wants a number". No partial selection; all values are bound parameters in SQL. A test feeds quotes, % and ; through every field; table-driven parser tests, in the gate; docs: the grammar is listed on /fleet under the query line.
Sign in to join this conversation.
Part of #445. Comes after the /fleet table.
Intent: the one grammar in
src/fleet/selection.tsgrows the comparisons an operator reaches for, and both the table and fleet ops get them for free.Acceptance:
>,<,>=,<=on numeric fields; a relative age (30m,7d) on time fields; a comma means "any of"%and;through every fieldFiles: src/fleet/selection.ts, src/web/pages/fleet.ts, test/fleet-selection.test.ts. Fits: torque.