Skip to content

fix(api-sync): drop stale spec-map ignore.schemas entries - #74

Merged
ericviana merged 1 commit into
mainfrom
eric/fix-stale-ignore-entry
Aug 4, 2026
Merged

ericviana merged 1 commit into
mainfrom
eric/fix-stale-ignore-entry

Conversation

@ericviana

Copy link
Copy Markdown
Member

Summary

  • The v5.3.0 spec refresh (feat: sync SDK with API changes (v5.3.0) #72) removed CreateInstanceRfiBody, CreateRfiBody, and LedgerOperation from the API spec, but .api-sync/spec-map.json's ignore.schemas still listed all three.
  • This fails map.test.ts's "every ignore.schemas name exists in the spec's components.schemas" assertion on main, which in turn fails the tests job of the Main workflow.

Fix

  • Removed the three stale ignore.schemas entries.
  • Checked every other entry (including the other Rfi-family ones: InstanceRfi, Rfi, RfiField, RfiSection) against the current .api-sync/spec-snapshot.json — those all still resolve, so only the three above were stale.
  • Also checked ignore.operations (the Rfi-family paths and POST /v1/upload/analyze) against the current spec — all still present, no changes needed there.

Test plan

  • bun run test — 182/182 passing (was 2 failing before this fix)
  • bun run lint:check — passes (3 pre-existing, unrelated warnings)
  • bun run sync:check — passes, no pending drift

https://claude.ai/code/session_01F1stiNzuNtJXoXtiW9ZCbs

The v5.3.0 spec refresh (#72) removed CreateInstanceRfiBody,
CreateRfiBody, and LedgerOperation from the API spec, but
.api-sync/spec-map.json's ignore.schemas still listed all three,
failing map.test.ts's "every ignore.schemas name exists in the
spec's components.schemas" check on main.

Verified every remaining ignore.schemas entry (including the other
Rfi-family ones: InstanceRfi, Rfi, RfiField, RfiSection) still
resolves against the committed spec-snapshot.json; only these three
were stale.

Claude-Session: https://claude.ai/code/session_01F1stiNzuNtJXoXtiW9ZCbs
@BernardoSM

BernardoSM commented Aug 4, 2026 •

Copy link
Copy Markdown
Contributor

✅ Snyk checks have passed. No issues have been found so far.

Status Scan Engine Critical High Medium Low Total (0)
✅ Open Source Security 0 0 0 0 0 issues
✅ Licenses 0 0 0 0 0 issues
✅ Code Security 0 0 0 0 0 issues

💻 Catch issues earlier using the plugins for VS Code, JetBrains IDEs, Visual Studio, and Eclipse.

@ericviana
ericviana merged commit 539fb4e into main Aug 4, 2026
11 checks passed
@ericviana
ericviana deleted the eric/fix-stale-ignore-entry branch August 4, 2026 18:47
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.

2 participants