GeezerVisonThe World Wide Web, restored to 800 pixels of glory. |
| Home|About|Gaming cabinet|Archives|How it works|Starter sites |
GeezerVison is showing github.com — pm-stack(shared-schema/orchestration-writer): reject unaccounted CLI arguments before doing any work · Issue #10432 · developing-today/code Closed Labels DescriptionSummary
This violates the repo's operator-script argument contract: every operator script must declare its whole command line and parse strictly against that declaration before any subprocess, network, file write, lock, or deploy step; anything unaccounted for is a usage error with a non-zero exit ( Evidence
# first arg is used, second is silently ignored; script proceeds past argv handling printf '%s' '{"runId":"x","generatedAt":"x","version":1}' > /tmp/ow-ok.json python3 pm-stack/shared-schema/orchestration-writer.py /tmp/ow-ok.json /tmp/ow-ignored-extra.json # observed: exit 1 with "SQL failed (HTTP 400)... invalid input syntax for type timestamp..." # (script read the first file, ignored /tmp/ow-ignored-extra.json, fetched secrets, and attempted SQL)
Why it mattersThis is a DB-writing operator script (inserts/replaces orchestration rows via Supabase Management API). Silently ignoring an extra argument can hide a typo or a mistaken invocation (wrong/missing flag style, extra path) while the script still performs network and database operations against the interpreted input. A strict usage error before any work prevents accidental or misleading runs. Acceptance criteria / suggested fix shape
Activity
MetadataMetadataAssigneesLabelsTypeProjectsMilestoneRelationshipsDevelopmentIssue actions |
| You are visitor 01402775 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required. |