Skip to content

feat(sdk)!: remove ExportGltfOptions (#5701) - #6156

Merged
louistrue merged 2 commits into
mainfrom
fix/5701-remove-gltf-options
Sep 27, 2026
Merged

louistrue merged 2 commits into
mainfrom
fix/5701-remove-gltf-options

Conversation

@louistrue

@louistrue louistrue commented Sep 26, 2026 •

Copy link
Copy Markdown
Collaborator

Closes #5701

Removes ExportGltfOptions from @ifc-lite/sdk (namespaces/export.ts and the index.ts re-export). bim.export has never had a glTF or GLB method, the type has zero consumers repo-wide, and it was deprecated in #5735.

  • Changeset: @ifc-lite/sdk major, as check-changeset-bump requires for a removed export on a package ≥ 1.0. This does not cut a release by itself. The changeset waits in the version PR (chore: version packages #5979) and ships as 8.0.0 with the next regular release, alongside the other pending changes.
  • api-surface: the single entry is removed by hand (no regenerate over stale sibling dists).

Verified:

  • check-api-surface: no SDK drift.
  • check-changeset-bump: @ifc-lite/sdk major >= major (1 removed).
  • SDK vitest: 299 pass.
  • turbo typecheck for sdk, sandbox, mcp and their dependencies: 40/40.
  • git grep ExportGltfOptions: no references left outside changelogs.

Revert oracle: exempted via revert-oracle-exempt (type-only export removal; check-api-surface is the observer). See the PR comment.

bim.export has no glTF/GLB method; the type had zero consumers and implied a
capability the SDK does not have. Deprecated in 7.1.x. Major changeset; it
rides the next regular release rather than cutting one on its own.
@vercel

vercel Bot commented Sep 26, 2026 •

Copy link
Copy Markdown
Contributor

The latest updates on your projects. Learn more about Vercel for GitHub.

2 Skipped Deployments
Project Deployment Actions Updated
ifc-lite-dev Ignored Ignored Sep 27, 2026 2:12am UTC
ifc-lite-viewer-embed Ignored Ignored Sep 27, 2026 2:12am UTC

@coderabbitai

coderabbitai Bot commented Sep 26, 2026 •

Copy link
Copy Markdown

Warning

Review limit reached

  • Run on-demand review

This review includes 4 billable files and costs up to $1.00.

  • Ask an admin to make reviews automatic

Open in CodeRabbit

Reviews can continue after your included limit without a manual trigger. An admin must approve usage-based billing.

Or wait 8 minutes for your next included review.

Check out review usage here.

View limit details

Limit details: You’ve used all 2 included reviews currently available.

Learn how review limits work.

Review configuration:

⚙️ Run configuration

Configuration used: Repository: LTplus-AG/ifc-lite/.coderabbit.yaml

Review profile: CHILL

Plan: Team

Run ID: 13c2633a-9656-4f16-8307-a23d4f9e37ca

📥 Commits

Reviewing files that changed from the base of the PR and between 866cfe8 and 74da29a.

📒 Files selected for processing (4)
  • .changeset/sdk-remove-gltf-options.md
  • packages/sdk/src/index.ts
  • packages/sdk/src/namespaces/export.ts
  • scripts/api-surface.json

Comment @coderabbitai help to get the list of available commands.

@cursor

cursor Bot commented Sep 26, 2026

Copy link
Copy Markdown

Bugbot couldn't run - usage limit reached

Bugbot is counted against Cursor usage for this user or team, and this run hit a usage or spend limit.

A user or team admin can review and increase usage limits in the Cursor dashboard.

(requestId: serverGenReqId_620f7a4f-894e-4526-9baf-167646054d87)

@louistrue louistrue added the revert-oracle-exempt Maintainer-approved: executable test-observation check is inapplicable to this refactor label Sep 26, 2026
@louistrue

Copy link
Copy Markdown
Collaborator Author

Applied revert-oracle-exempt. This branch removes a type-only export: the index.ts and export.ts changes erase to identical JavaScript, so no runtime test can observe them. The oracle's typecheck channel only applies when every production file is TypeScript, and scripts/api-surface.json (the required snapshot) isn't. The observer for this change is check-api-surface itself: restore the export without the snapshot and it fails; drop the snapshot entry without removing the export and it fails too.

@louistrue
louistrue enabled auto-merge September 26, 2026 17:55
@cursor

cursor Bot commented Sep 27, 2026

Copy link
Copy Markdown

Bugbot couldn't run - usage limit reached

Bugbot is counted against Cursor usage for this user or team, and this run hit a usage or spend limit.

A user or team admin can review and increase usage limits in the Cursor dashboard.

(requestId: serverGenReqId_14662be9-b5df-4bec-a9c2-dfb03e7e3680)

@louistrue
louistrue merged commit b8b8c8f into main Sep 27, 2026
52 of 54 checks passed
@louistrue
louistrue deleted the fix/5701-remove-gltf-options branch September 27, 2026 04:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

revert-oracle-exempt Maintainer-approved: executable test-observation check is inapplicable to this refactor

Projects

None yet

Development

Successfully merging this pull request may close these issues.

sdk: remove ExportGltfOptions, a public type with zero consumers for a method that does not exist

1 participant