Skip to content

VS Code for the Web: open-steamgate in vscode.dev (logo, staging on Pages, F8, notebooks, Fiori) - #828

Merged
oisee merged 33 commits into
mainfrom
feat/vsix-cloud
Oct 22, 2026
Merged

oisee merged 33 commits into
mainfrom
feat/vsix-cloud

Conversation

@oisee

@oisee oisee commented Oct 21, 2026

Copy link
Copy Markdown
Owner

Draft: open-steamgate in vscode.dev. The browser entry of the VS Code extension grows from a probe to a usable extension, and the PR preview publishes it at <preview>/vscode-web/ for Developer: Install Extension From Location...

In this draft so far:

  • the new gear-gate logo (2026-10-20) as the extension icon and activity bar glyph;
  • scripts/stage-vscode-web.mjs + a preview.yml step: the web extension as a plain directory inside the preview build, built after every preview check;
  • palette fix: the jobs, Run ABAP Unit and F8-dispatch commands were visible in the browser (web:vscode:test was red on main);
  • scripts/equiv-vscode-hosts.mjs: the same Playwright scenario on openvscode-server (desktop main) and @vscode/test-web (browser), text compared and screenshots side by side.

Coming in this PR:

  • F8 Data Preview and SQL notebooks in the browser, reusing the desktop code with the in-worker gateway as fetch;
  • Fiori launchpad and apps in a webview over the same gateway (UI5 XHR bridge).

🤖 Generated with Claude Code

https://claude.ai/code/session_01J7SujA8XPm3nV6t2r2bFzZ

oisee and others added 6 commits October 21, 2026 23:01
…de jobs, unit and F8-dispatch commands in the web palette

The preview deployment now carries editors/vscode as a plain directory
(scripts/stage-vscode-web.mjs: dist/web, resources, walkthrough, media, the
manifest without the desktop main), so vscode.dev installs it with
"Install Extension From Location" from <preview>/vscode-web/. It is built
after every preview check and screenshot and never touches build/preview.

web:vscode:test on main failed its palette check: the jobs view, Run ABAP Unit
and Run object (F8 dispatch) commands, added after the check was written, had no
commandPalette entry and so showed in the browser too.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01J7SujA8XPm3nV6t2r2bFzZ
…gateway

The webview loads webapp/ (copied to dist/web/app by web:vscode) with
SAPUI5 from the CDN; an XMLHttpRequest subclass and a fetch wrapper send
/sap/opu/odata/ and /sap/bc/ URLs over the postMessage bridge, async.
osd: Open Fiori Launchpad and a click on an Apps row open it.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@github-actions

github-actions Bot commented Oct 21, 2026 •

Copy link
Copy Markdown
Contributor

Preview: open the launchpad - the OData gateway, the demo and Zork run in your browser, no server.

Screenshots - built from aa9be29

…ode inside the isolated webview

vscode.dev's CSP lets Install Extension From Location fetch only from
https://localhost:* and the Marketplace CDN, so a Pages URL is refused although
Pages answers CORS (measured in vscode.dev). scripts/serve-vscode-web.mjs serves
the staged directory, or relays a published preview, on https://localhost with
the Private Network Access preflight answer and CORP that vscode.dev's
cross-origin isolation needs.

The same isolation (COEP require-corp) reaches every webview frame: ui5.sap.com
sends CORS but no CORP, so sap-ui-core.js and sandbox.js were blocked and the
launchpad stayed blank in vscode.dev while @vscode/test-web showed it. The page's
CDN tags and every script/link/img UI5 creates toward the CDN now load with
crossorigin=anonymous. Checked in vscode.dev: all launchpad tiles render.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01J7SujA8XPm3nV6t2r2bFzZ
@github-actions

github-actions Bot commented Oct 22, 2026 •

Copy link
Copy Markdown
Contributor

PR tests: 🟢 pass

Commit: 746976b1 · Full test log

Job Result Time
build 🟢 pass 283 s
adt-lifecycle 🟢 pass 1138 s
osgo-host 🟢 pass 162 s
e2e 🟢 pass 172 s
kernel-conformance 🟢 pass 145 s
packaging 🟢 pass 315 s
suites (1) 🟢 pass 906 s
suites (6) 🟢 pass 604 s
suites (4) 🟢 pass 1708 s
suites (3) 🟢 pass 675 s
suites (5) 🟢 pass 538 s
suites (2) 🟢 pass 818 s

ADT lifecycle: PASS

Commit: aa9be29 · SDK 8.4.3 · VSP baac6f4c97fb3ea1dee9b7772e24d52855af2985

124 PASS, 4 N/A, 3 MISSING

Functional operations, active readback, cleanup and warm-swap checks determine the required gate.

Timing advisory: QUIET

Client wall time in ms. VSP update includes Check and Activate. Cold REPORT/DDLS are measured too. Parallel CI job; operations within each server are sequential.

Reference: median of ABAP-FS/CLAS/edit, ABAP-FS/CLAS/readback-active, ABAP-FS/INTF/edit, ABAP-FS/INTF/readback-active; current 37.5 ms.

History: 5/5 compatible green main runs (newest first; fewer when unavailable). Each run is normalized by its own reference before taking the main median.

Warn when at least 2 operations exceed 1.3x, or any operation reaches 2x. Timing never fails the CI gate.

Client/type/operation Median ms Samples ms main ms (raw median) Current/reference main normalized median Ratio Main runs Timing
ABAP-FS/CLAS/edit 61 100, 61, 57 78 1.627 1.580 1.030x 5 quiet
ABAP-FS/CLAS/check 1482 1274, 1482, 1889 2655 39.520 44.594 0.886x 5 quiet
ABAP-FS/CLAS/activate-edit 2477 2139, 2477, 2713 4011 66.053 65.594 1.007x 5 quiet
ABAP-FS/CLAS/readback-active 24 24, 18, 25 33 0.640 0.568 1.126x 5 quiet
ABAP-FS/INTF/edit 51 51, 49, 74 93 1.360 1.432 0.950x 5 quiet
ABAP-FS/INTF/check 1524 1529, 1524, 1489 2486 40.640 41.681 0.975x 5 quiet
ABAP-FS/INTF/activate-edit 2492 2492, 2329, 2993 3934 66.453 65.609 1.013x 5 quiet
ABAP-FS/INTF/readback-active 18 17, 18, 22 17 0.480 0.358 1.341x 5 above margin
ABAP-FS/PROG/edit 81 81, 83, 75 99 2.160 1.789 1.207x 5 quiet
ABAP-FS/PROG/check 3303 3237, 3644, 3303 4801 88.080 84.431 1.043x 5 quiet
ABAP-FS/PROG/activate-edit 33701 34261, 33701, 30237 51251 898.693 866.696 1.037x 5 quiet
ABAP-FS/PROG/readback-active 65 57, 65, 68 85 1.733 1.420 1.220x 5 quiet
ABAP-FS/INCL/edit 72 74, 72, 54 101 1.920 1.870 1.027x 5 quiet
ABAP-FS/INCL/check 1526 1321, 1526, 1587 2368 40.693 40.058 1.016x 5 quiet
ABAP-FS/INCL/activate-edit 2519 2209, 2519, 2785 3724 67.173 64.168 1.047x 5 quiet
ABAP-FS/INCL/readback-active 17 14, 17, 26 29 0.453 0.464 0.977x 5 quiet
ABAP-FS/DDLS/edit 76 76, 76, 71 100 2.027 1.745 1.161x 5 quiet
ABAP-FS/DDLS/check 4197 5078, 4068, 4197 6767 111.920 115.802 0.966x 5 quiet
ABAP-FS/DDLS/activate-edit 33740 38635, 33740, 33605 55290 899.733 913.725 0.985x 5 quiet
ABAP-FS/DDLS/readback-active 64 665, 64, 63 100 1.707 1.527 1.118x 5 quiet
VSP/CLAS/edit+check+activate 4421 3618, 4421, 4482 6578 117.893 111.115 1.061x 5 quiet
VSP/INTF/edit+check+activate 4121 3580, 4121, 4188 6549 109.893 105.420 1.042x 5 quiet
VSP/PROG/edit+check+activate 33492 35667, 32800, 33492 55537 893.120 921.913 0.969x 5 quiet
VSP/INCL/edit+check+activate 4562 4308, 4643, 4562 6690 121.653 118.857 1.024x 5 quiet
VSP/DDLS/edit+check+activate 40244 41336, 38609, 40244 61352 1073.173 1041.899 1.030x 5 quiet
Client Type Operation Result ms Note
ABAP-FS DEVC validate PASS 21
ABAP-FS DEVC create PASS 71
ABAP-FS DEVC edit N/A Package metadata update has no SDK/VSP source operation
ABAP-FS DEVC activate N/A Package is created active; no source activation
ABAP-FS CLAS validate PASS 13
ABAP-FS CLAS create PASS 49
ABAP-FS CLAS write-initial PASS 60
ABAP-FS INTF validate PASS 11
ABAP-FS INTF create PASS 34
ABAP-FS INTF write-initial PASS 49
ABAP-FS PROG validate MISSING 7 /sap/bc/adt/programs/validation is not served by OSD
ABAP-FS PROG create PASS 28
ABAP-FS PROG write-initial PASS 53
ABAP-FS INCL validate MISSING 7 /sap/bc/adt/includes/validation is not served by OSD
ABAP-FS INCL create PASS 5048
ABAP-FS INCL write-initial PASS 326
ABAP-FS DDLS validate MISSING 8 /sap/bc/adt/ddic/ddl/validation is not served by OSD
ABAP-FS DDLS create PASS 30
ABAP-FS DDLS write-initial PASS 52
ABAP-FS ALL5 activate-initial PASS 30899
ABAP-FS CLAS edit #1 PASS 100
ABAP-FS CLAS check #1 PASS 1274
ABAP-FS CLAS activate-edit #1 PASS 2139
ABAP-FS CLAS readback-active #1 PASS 24
ABAP-FS CLAS edit #2 PASS 61
ABAP-FS CLAS check #2 PASS 1482
ABAP-FS CLAS activate-edit #2 PASS 2477
ABAP-FS CLAS readback-active #2 PASS 18
ABAP-FS CLAS edit #3 PASS 57
ABAP-FS CLAS check #3 PASS 1889
ABAP-FS CLAS activate-edit #3 PASS 2713
ABAP-FS CLAS readback-active #3 PASS 25
ABAP-FS INTF edit #1 PASS 51
ABAP-FS INTF check #1 PASS 1529
ABAP-FS INTF activate-edit #1 PASS 2492
ABAP-FS INTF readback-active #1 PASS 17
ABAP-FS INTF edit #2 PASS 49
ABAP-FS INTF check #2 PASS 1524
ABAP-FS INTF activate-edit #2 PASS 2329
ABAP-FS INTF readback-active #2 PASS 18
ABAP-FS INTF prepare-baseline PASS 29143
ABAP-FS INTF edit #3 PASS 74
ABAP-FS INTF check #3 PASS 1489
ABAP-FS INTF activate-edit #3 PASS 2993
ABAP-FS INTF readback-active #3 PASS 22
ABAP-FS PROG edit #1 PASS 81
ABAP-FS PROG check #1 PASS 3237
ABAP-FS PROG activate-edit #1 PASS 34261
ABAP-FS PROG readback-active #1 PASS 57
ABAP-FS PROG edit #2 PASS 83
ABAP-FS PROG check #2 PASS 3644
ABAP-FS PROG activate-edit #2 PASS 33701
ABAP-FS PROG readback-active #2 PASS 65
ABAP-FS PROG edit #3 PASS 75
ABAP-FS PROG check #3 PASS 3303
ABAP-FS PROG activate-edit #3 PASS 30237
ABAP-FS PROG readback-active #3 PASS 68
ABAP-FS INCL edit #1 PASS 74
ABAP-FS INCL check #1 PASS 1321
ABAP-FS INCL activate-edit #1 PASS 2209
ABAP-FS INCL readback-active #1 PASS 14
ABAP-FS INCL edit #2 PASS 72
ABAP-FS INCL check #2 PASS 1526
ABAP-FS INCL activate-edit #2 PASS 2519
ABAP-FS INCL readback-active #2 PASS 17
ABAP-FS INCL edit #3 PASS 54
ABAP-FS INCL check #3 PASS 1587
ABAP-FS INCL activate-edit #3 PASS 2785
ABAP-FS INCL readback-active #3 PASS 26
ABAP-FS DDLS edit #1 PASS 76
ABAP-FS DDLS check #1 PASS 5078
ABAP-FS DDLS activate-edit #1 PASS 38635
ABAP-FS DDLS readback-active #1 PASS 665
ABAP-FS DDLS edit #2 PASS 76
ABAP-FS DDLS check #2 PASS 4068
ABAP-FS DDLS activate-edit #2 PASS 33740
ABAP-FS DDLS readback-active #2 PASS 64
ABAP-FS DDLS edit #3 PASS 71
ABAP-FS DDLS check #3 PASS 4197
ABAP-FS DDLS activate-edit #3 PASS 33605
ABAP-FS DDLS readback-active #3 PASS 63
VSP DEVC create PASS 73
VSP DEVC edit N/A VSP has CreatePackage; no package metadata update tool
VSP DEVC activate N/A Created active
VSP CLAS create+write+activate PASS 27941
VSP CLAS edit+check+activate #1 PASS 3618
VSP CLAS edit+check+activate #2 PASS 4421
VSP CLAS edit+check+activate #3 PASS 4482
VSP CLAS check-explicit PASS 1518
VSP CLAS activate-explicit PASS 1947
VSP CLAS readback-vsp PASS 15
VSP INTF create+write+activate PASS 38744
VSP INTF edit+check+activate #1 PASS 3580
VSP INTF edit+check+activate #2 PASS 4121
VSP INTF edit+check+activate #3 PASS 4188
VSP INTF check-explicit PASS 1481
VSP INTF activate-explicit PASS 1769
VSP INTF readback-vsp PASS 18
VSP PROG create+write+activate PASS 35050
VSP PROG edit+check+activate #1 PASS 35667
VSP PROG edit+check+activate #2 PASS 32800
VSP PROG edit+check+activate #3 PASS 33492
VSP PROG check-explicit PASS 1272
VSP PROG activate-explicit PASS 16679
VSP PROG readback-vsp PASS 17
VSP INCL create+write+activate PASS 36744
VSP INCL edit+check+activate #1 PASS 4308
VSP INCL edit+check+activate #2 PASS 4643
VSP INCL edit+check+activate #3 PASS 4562
VSP INCL check-explicit PASS 1695
VSP INCL activate-explicit PASS 1961
VSP INCL readback-vsp PASS 22
VSP DDLS create+write+activate PASS 40288
VSP DDLS edit+check+activate #1 PASS 41336
VSP DDLS edit+check+activate #2 PASS 38609
VSP DDLS edit+check+activate #3 PASS 40244
VSP DDLS check-explicit PASS 3002
VSP DDLS activate-explicit PASS 17458
VSP DDLS readback-vsp PASS 19
VSP DDLS delete+confirmed-404 PASS 64
VSP INCL delete+confirmed-404 PASS 1612
VSP PROG delete+confirmed-404 PASS 47
VSP INTF delete+confirmed-404 PASS 41
VSP CLAS delete+confirmed-404 PASS 41
VSP DEVC delete+confirmed-404 PASS 45
ABAP-FS DDLS delete+confirmed-404 PASS 46
ABAP-FS INCL delete+confirmed-404 PASS 1360
ABAP-FS PROG delete+confirmed-404 PASS 45
ABAP-FS INTF delete+confirmed-404 PASS 43
ABAP-FS CLAS delete+confirmed-404 PASS 38
ABAP-FS DEVC delete+confirmed-404 PASS 40

Required merge checks: test + scan. ADT lifecycle timing, Docker, gogen, preview, size and queue are advisory on PRs; lifecycle functional checks remain required (Alice, 2026-10-07).

oisee and others added 21 commits October 22, 2026 00:22
… the desktop code

Data Preview's panel and the SQL notebook (serializer, controller, New SQL
notebook) move out of extension.js into data-preview-view.js and sql-notebook.js,
which take vscode, the client and lib as parameters. The desktop passes its Osd
over HTTP as before; the browser entry passes new Osd("https://osd.invalid",
gatewayFetch), the same client calling the in-worker gateway. ABAP and SQLScript
cells say they are not available in the browser instead of failing.

Built by codex-z (glm-5.3); desktop suite 233 passing; web test red without the
command registration.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01J7SujA8XPm3nV6t2r2bFzZ
…quest bodies over the Fiori fetch bridge; serve-vscode-web grants CORS to VS Code origins only

- MUST: the extracted Data Preview captured launcher/managedUrl when the panel
  opened, so Refresh after Start still said stopped. They are read on every load
  again (systemState()), as before the extraction; test fails without it.
- fetch(new Request(gateway, {method: POST, body})) lost its body (a stream) on
  the bridge: the Request is read out first, init overriding it as fetch does.
- serve-vscode-web.mjs answered CORS * on the loopback address: now only
  vscode.dev, *.vscode-cdn.net and localhost (OSD_WEB_ORIGINS overrides), and
  no dot-files in local mode.
- equiv-vscode-hosts: F8 tries the browser's own command name first.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01J7SujA8XPm3nV6t2r2bFzZ
… and where the wasm is

Co-Authored-By: Claude Opus 5.5 <[email protected]>
…DB, as the Node host does

Co-Authored-By: Claude Opus 5.5 <[email protected]>
…e bundle, loaded lazily

Co-Authored-By: Claude Opus 5.5 <[email protected]>
…the UI and checks the DuckDB gateway

Co-Authored-By: Claude Opus 5.5 <[email protected]>
…s JSON in a modal editor, the cell below the fold

Co-Authored-By: Claude Opus 5.5 <[email protected]>
… not a gateway that never answers

Co-Authored-By: Claude Opus 5.5 <[email protected]>
…DP tile and SQLScript cells do there

Co-Authored-By: Claude Opus 5.5 <[email protected]>
…ase asks for it

build-vsix's marketplace profile dropped dist/ and the browser field ("no web
bundle before S2"). With OSD_VSIX_WEB=1 it keeps both and fails closed when
dist/web/extension.js is missing; without it nothing changes, so a dist/ left
over from a local build never ships by accident. release.yml builds
web:vscode fresh and sets the flag, so vscode.dev installs the Marketplace
extension directly.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01J7SujA8XPm3nV6t2r2bFzZ
…, gateway media, outside links

The launchpad opens a non-UI5 tile in a new window (on GitHub Pages too).
A webview cannot, so the page's runtime routes window.open, link clicks and
form submits: a gateway page is fetched by the extension and rendered in a
panel (in place for a link or form, in a new panel for a new window), an
/app/ page opens as a Fiori page, an outside address goes to openExternal.
Clicks are taken in the capture phase because UI5 stops its own, and stopped
before VS Code's webview link handler, which ignores defaultPrevented and
opened the bare webview host page beside the GitHub window.

The same runtime gives every page a WebSocket for /sap/bc/apc/ that the
extension drives through preview-backend's openChannel/channelMessage/
closeChannel, pictures and audio from the gateway as blob: URLs (img, audio,
source and the background image sap.m.Avatar paints), and script-less
sandboxed srcdoc frames (the WEBGUI HTML viewer) same-origin so their forms
are routed too.

The SMW0 media are copied to dist/web/media and read by a W3MI loader over
the extension's own files ('%' stored as '@'). The launchpad's HEAD on ADT
discovery is answered 404 in the page, so the Workbench is greyed as on
Pages. Also fixes the sandbox.js match, which the CORS-mode crossorigin
attribute had broken (component URLs were no longer rebased).

Co-Authored-By: Claude Opus 5.5 <[email protected]>
…x rewrite, injective media names, bounded media cache, observer works per attribute (critic r3)

page-host.mjs holds the parts without VS Code: pageChannels registers an
open before its first await, so closeAll (dispose, navigate, new HTML) and an
apc-close of a CONNECTING socket cancel it, and drops sends of an ended
document; sandboxScriptlessFrames parses attributes and tokens
case-insensitively and touches only srcdoc frames without src;
mediaFileName escapes @ and % with @ (injective). The page runtime revokes
blobs no element shows past 16, forgets failed loads, scans only added
subtrees, hooks each frame once, and records what played.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
…ork over frames, and that the demos' music plays

Co-Authored-By: Claude Opus 5.5 <[email protected]>
…ound, media file names

Co-Authored-By: Claude Opus 5.5 <[email protected]>
oisee and others added 5 commits October 22, 2026 03:50
… rewrite, media blobs revoked only when the live document no longer uses them (critic r4)

Co-Authored-By: Claude Opus 5.5 <[email protected]>
…eAttribute, the src setter); tile test of the copied and the cleared media cases

Co-Authored-By: Claude Opus 5.5 <[email protected]>
…, media revoked only when unused (critic r4)

Co-Authored-By: Claude Opus 5.5 <[email protected]>
…he in-use scan reads shadow trees, CSSOM rules and treats a frame past the depth bound as using everything

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01J7SujA8XPm3nV6t2r2bFzZ
@oisee
oisee marked this pull request as ready for review October 22, 2026 05:43
@oisee
oisee merged commit 9df2b8d into main Oct 22, 2026
26 checks passed
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