Skip to content

Finalize timeline API and remove proposal checks - #344984

Merged
Logan Ramos (lramos15) merged 3 commits into
mainfrom
agents/finalize-timeline-api-vscode-dts
Oct 30, 2026
Merged

Logan Ramos (lramos15) merged 3 commits into
mainfrom
agents/finalize-timeline-api-vscode-dts

Conversation

@lramos15

Copy link
Copy Markdown
Member

Fixes #84297

@vs-code-engineering

vs-code-engineering Bot commented Oct 29, 2026 •

Copy link
Copy Markdown
Contributor

📬 CODENOTIFY

The following users are being notified based on files changed in this PR:

Ladislau Szomoru (@lszomoru)

Matched files:

  • extensions/git/package.json
  • extensions/git/src/timelineProvider.ts
  • extensions/git/tsconfig.json
  • extensions/github/package.json
  • extensions/github/tsconfig.json

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🔵 Needs a closer look

The change deletes an entire 1,461-line historical simulation fixture unnecessarily; restore it, update only its Timeline check, or move its removal to a separate cleanup PR.

No open issues 🎉

What changed in this PR

Promotes the Timeline API to the stable VS Code extension API, addressing #84297 by allowing extensions to contribute file, folder, and workspace timelines without proposal opt-in.

Changes:

  • Moves Timeline declarations into vscode.d.ts and removes runtime proposal checks.
  • Updates extension manifests, TypeScript includes, and tests for stable API access.
  • Deletes the Copilot simulation API source fixture.
File Description
src/​vscode-dts/​vscode.proposed.timeline.d.ts Removes the former proposal declarations.
src/​vscode-dts/​vscode.d.ts Adds stable Timeline types and registration APIs.
src/​vs/​workbench/​api/​test/​browser/​extHostTimeline.test.ts Tests argument resolution without proposal opt-in.
src/​vs/​workbench/​api/​common/​extHostTimeline.ts Removes proposal gating from item resolution.
src/​vs/​workbench/​api/​common/​extHost.api.impl.ts Removes proposal checks from provider registration.
src/​vs/​platform/​extensions/​common/​extensionsApiProposals.ts Removes Timeline from the proposal registry.
extensions/​vscode-api-tests/​package.json Removes Timeline proposal opt-in.
extensions/​github/​tsconfig.json Removes the obsolete proposal declaration include.
extensions/​github/​package.json Removes Timeline proposal opt-in.
extensions/​git/​tsconfig.json Removes the obsolete proposal declaration include.
extensions/​git/​package.json Removes Timeline proposal opt-in.
extensions/​copilot/​test/​simulation/​fixtures/​vscode/​extHost.api.impl.ts Deletes the simulation source fixture containing an old proposal check.

Review effort: Balanced

Comment thread src/vscode-dts/vscode.d.ts Resolved
Comment thread src/vscode-dts/vscode.d.ts Resolved
Match the other provider registration APIs by passing provider identity to registerTimelineProvider and registerWorkspaceTimelineProvider instead of reading it from provider objects.

Co-authored-by: Copilot <[email protected]>
Comment thread src/vscode-dts/vscode.d.ts Resolved
@Cleanskiier27

Copy link
Copy Markdown

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

API support for Timeline view

5 participants