Skip to content

Fixed error handling on /flowsheet/end and changed http method to POST#2

Merged
AyBruno merged 1 commit into
mainfrom
flowsheet_end
Aug 14, 2023
Merged

Fixed error handling on /flowsheet/end and changed http method to POST#2
AyBruno merged 1 commit into
mainfrom
flowsheet_end

Conversation

@AyBruno
Copy link
Copy Markdown
Collaborator

@AyBruno AyBruno commented Aug 14, 2023

No description provided.

@AyBruno AyBruno merged commit 4cf5476 into main Aug 14, 2023
@AyBruno AyBruno deleted the flowsheet_end branch May 29, 2024 03:40
jakebromberg added a commit that referenced this pull request May 15, 2026
scripts/check-legacy-entry-id-writes.mjs enforces an allowlist of files that
may contain `legacy_entry_id:` (object-literal key form). Each entry registers
the use case: #1 webhook upsert, #2 mirror loop-guard, #3 ETL incremental
sync, or "READS only" / "column declaration". A new write site without a
registered rationale fails CI.

- schema.ts: 16-line invariant comment on the column declaration enumerating
  the three uses and the failure mode (silently break the loop-guard).
- flowsheet.mirror.ts addEntry guard: comment naming use #2 and cross-
  referencing the schema.ts invariant + the CI check.
- tests/unit/scripts/check-legacy-entry-id-writes.test.ts: source-grep
  + child-process tests covering exit codes 0/1/2 and pinning the rationale
  taxonomy against the allowlist.
- .github/workflows/test.yml: new "legacy_entry_id writes" step in the
  lint-and-typecheck job, alongside the existing cross-cache-identity guards.

Closes #908
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant