You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
scripts/backfill-line-number.ts and scripts/backfill-owner-id.ts fail on 17.6.0 before writing anything: the query door refuses their request bodies (filters: [] and sort: 'id asc') #1999
Filing gate: ① product defect with reach measured. Class (a). reach: named producers. Both scripts were run report-only against a fresh @objectstack/* 17.6.0 boot:
Release-text exception too: the pending, unreleased .changeset/line-item-line-number-writer.md tells operators to run the first script, so the next release would ship an instruction that fails.
Who acts on it: the repo:hotcrm seat, which dispatches a dev. Found by the seat's dev while writing #1836's backfill (session_01ER8ntXZhYebyQ66aXWdjfT). ⛔ Not a claim; the first-touch grade is owed.
Measured
On 17.6.0, POST /api/v1/data/OBJECT/query refuses two body shapes the scripts send:
an empty filters: [] (query.filtersmin_items);
a string sort: 'id asc' (query.sortinvalid_shape).
Both scripts run report-only and --apply green on a fresh 17.6.0 boot.
A test or a probe keeps their query bodies inside the installed query schema, so the next schema tightening fails at verify rather than at an operator's terminal.
The changeset text stays true.
Duplicate check
All hotcrm issues, open and closed: 748 issues over 19 REST pages. Title and body were grepped for backfill-(line-number|owner-id): 1 hit, #716 (closed). It concerns demo_bootstrap ownership claims, not these query shapes.
Filing gate: ① product defect with reach measured. Class (a). reach: named producers. Both scripts were run report-only against a fresh
@objectstack/*17.6.0 boot:scripts/backfill-line-number.ts→Backfill failed: query crm_opportunity_line_item → 400: Invalid query requestscripts/backfill-owner-id.ts→Backfill failed: cannot read sys_user (400)Release-text exception too: the pending, unreleased
.changeset/line-item-line-number-writer.mdtells operators to run the first script, so the next release would ship an instruction that fails.Who acts on it: the
repo:hotcrmseat, which dispatches a dev. Found by the seat's dev while writing #1836's backfill (session_01ER8ntXZhYebyQ66aXWdjfT). ⛔ Not a claim; the first-touch grade is owed.Measured
POST /api/v1/data/OBJECT/queryrefuses two body shapes the scripts send:filters: [](query.filtersmin_items);sort: 'id asc'(query.sortinvalid_shape).scripts/backfill-contact-mailing-address.ts(PR feat(contact): one structured mailing_address replaces five flat mailing_* fields (#1836) #1997) uses the accepted shapes,sort: [{ field: 'id', order: 'asc' }]with no emptyfilters, and runs green on the same boot. It is the in-repo reference.Done when
--applygreen on a fresh 17.6.0 boot.Duplicate check
All hotcrm issues, open and closed: 748 issues over 19 REST pages. Title and body were grepped for
backfill-(line-number|owner-id): 1 hit, #716 (closed). It concerns demo_bootstrap ownership claims, not these query shapes.Dedupe words: backfill-line-number backfill-owner-id filters min_items sort invalid_shape query 17.6.0
Generated by Claude Code