Skip to content

Specification revision 0.5: windowed tables, re-derived from abap2UI5 1.149.0; hosts on node-runtime 1.149.0 and cap2UI5 0.6.0 - #13

Merged
oblomov-dev merged 6 commits into
mainfrom
claude/great-mendel-aiaiwu
Nov 17, 2026
Merged

oblomov-dev merged 6 commits into
mainfrom
claude/great-mendel-aiaiwu

Conversation

@oblomov-dev

Copy link
Copy Markdown
Member

What

abap2UI5 1.149.0 (2026-11-16) is the first release since revision 0.4 that changes the wire. Six commits:

  1. node-runtime host on @abap2ui5/node-runtime 1.149.0 (transpiler-cli 2.14.33; the CI frontend job pins the release commit 6f55b04).
  2. Windowed tables checked: conformance app Z2UI5_CL_CONF_WINDOW (ABAP, abaplint-clean) with a cap2UI5 twin, backend and frontend checks, schemas.
  3. A scalar that does not convert is skipped, not an error — a check for behaviour 1.147.0 already has and 1.149.0 documents.
  4. Traffic recorded again, now with the UI5 frontend's own window requests (the recorder runs the release's core/WindowModel.js).
  5. Specification revision 0.5: the new spec/windowed-tables.md, profiles, README, RESULTS, CHANGELOG.
  6. cap2UI5 host on @cap2ui5/cds-plugin 0.6.0 (runtime 1.149.0), which unpins the windowed tables for it.

If this is squash-merged: the messages of commits 2 and 5 still describe the cap2UI5 host as pinned on 0.5.0, which commit 6 supersedes — the squash message should say 0.6.0.

The wire, 1.148.0 → 1.149.0

c_protocol is still 2; everything new is additive. For the 77 checks of revision 0.4 the new recordings are identical to the old ones on both hosts.

Windowed tables (source, recorded traffic and a real browser):

  • The response carries the first window at the table's path and MODEL.__WINDOW.<path> = { TOTAL, COUNT, SIZE }. The view binding is a plain {/T_ROWS}; only the model marks the table as windowed.
  • The window request is the event ___ZZZ_WIN; main( ) is not called. Arguments: [path, count], [path, count, sortJSON], [path, count, "", filterJSON]; count is cumulative from row 1.
  • A part that is missing, "" or null is kept; [] clears it. One sort, the last one set. The app's filter and the binding's filter are ANDed, each replaced only by its own side.
  • The order travels with the draft; no response names it. __delta row keys are positions in the backend's order; a whole table value is refused.

Also new: the actions SET_APP_FULL_WIDTH, CROSS_APP_NAV_GET_LINKS, OFFLINE_QUEUE (excluded from the portable profile); ${/PATH} action arguments resolve against the model of the slot the answering app filled; sap-client as a query parameter on a same-origin endpoint; an app-state draft that exists but cannot be restored ends in a 500 instead of the "expired" toast.

Rules and checks

  • Backend: 14 new checks (91 in total: 73 MUST, 18 SHOULD) — window.first-window, .more-rows, .sort, .filter, .growth-keeps-order, .parts-kept-and-cleared, .filters-anded, .sort-last-set, .order-with-the-draft, .delta-positions, .whole-table-refused (MUST); window.count-bounds, window.unknown-path-ignored, model.unconvertible-scalar-skipped (SHOULD).
  • Frontend: 4 new checks (85 in total) — window.rows-shown, window.edit-as-delta (core); ui5.window-growth, ui5.window-sort-filter (UI5 profile, a real growing sap.m.Table in Chromium).
  • Core or profile, with the reason per rule in the spec: the window state, the request, keep/clear, the sort, the two filters, the order with the draft and delta positions are core (they live in core messages, and the same app must behave alike on every backend); sending window requests is optional for a frontend; what the UI5 list binding sends is the UI5 profile; window_bind_tab( ) is not in portable v1.
  • Open questions 12 and 13 stay open: whether windowed tables are a part every backend must offer (two reference backends offer them now, but both host the same framework — no independent port implements them), and what a non-UI5 frontend must do with one.

Verified (committed tree)

Command Result
npm run lint:abap 0 issues
PROTOCOL_REQUIRE_BROWSER=1 npm test 90 pass, 0 fail, 0 skip
npm run generate && git diff --exit-code clean
backend conformance, node-runtime 91 pass, 0 fail, 0 warn
backend conformance, cap2UI5 0.6.0 90 pass, 0 fail, 1 warn (error.details, the known SHOULD)
frontend, UI5 SPA of 1.149.0 81 pass, 0 fail, 4 skip
frontend, agent / adaptive-cards / terminal 63 / 68 / 74 pass, 0 fail

test/traffic.test.mjs compares all 91 checks of the two hosts, the 13 window.* ones included: identical on status, media type and JSON body. No failure pin remains for either backend; one warning pin (error.details, cap2UI5).

What the other frontends do with a windowed table

The agent client, the Adaptive Cards renderer and the terminal renderer show the window rows as the whole table — no hint that more exist — and send no window requests; cell edits go as __delta positions and land in the right row. None of this breaks a rule of this revision; it is recorded in RESULTS.md and is open question 13. The Web Components frontend was not run; from its source it has no __WINDOW or ___ZZZ_WIN handling.

Not verified

  • Source only, not in recorded traffic: the three new actions' frontend behaviour, sap-client, the app-state restore error, the offline-queue replay, the ${/PATH} slot change, /__WINDOW/… for a table behind a data reference.
  • The app-side t_sort / t_filter semantics on a re-render have no check here.
  • No ABAP system, as before. The CI workflow edit has not run on GitHub.

Generated by Claude Code

- @abap2ui5/node-runtime 1.148.0 -> 1.149.0, @abaplint/transpiler-cli
  2.14.5 -> 2.14.33 (the transpiler the package names: abap2ui5.transpiler
  of 1.149.0); build.mjs and serve.mjs stay as they are - the recipe of
  1.148.0 (abap2ui5-transpile, the output's host.mjs) holds
- the cap2UI5 host stays on @cap2ui5/cds-plugin 0.5.0 (runtime 1.147.0) -
  no newer plugin is released
- CI: the frontend job pins abap2UI5 6f55b04 (Release 1.149.0), the commit
  the package was built from

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_014YZFmCjdbLvb757NWCFVeA
…, backend and frontend checks, schemas

- conformance app Z2UI5_CL_CONF_WINDOW (ABAP, abaplint-clean, and its
  cap2UI5 twin): twelve rows bound with window_bind_tab( ), four at a time,
  an app sort and filter, a counter of main( ) calls, two wired
  BINDING_CALL buttons
- thirteen backend checks window.* (11 MUST, 2 SHOULD, core): the first
  window and /__WINDOW totals, a window request answered without main( ),
  count bounds, sort, filter groups (ANDed, conditions ORed), a growth
  request keeps the order after an app sort, a part that is missing, empty
  or null is kept and [] clears it, the app's filter and the binding's are
  ANDed, one sort - the last one set, the order travels with the draft,
  __delta rows are positions in the backend's order, a whole table is
  refused, a path that is no window is ignored
- four frontend checks: window.rows-shown and window.edit-as-delta (core),
  ui5.window-growth and ui5.window-sort-filter (UI5 profile, a real growing
  sap.m.Table in Chromium over the recorded answers)
- schemas: MODEL.__WINDOW in the response, the arguments of ___ZZZ_WIN in
  the request
- the pins of test/lib/expected.mjs are per backend, failures and
  warnings: the cap2UI5 host (plugin 0.5.0, runtime 1.147.0) has no
  window_bind_tab( ) and fails the start of the app - eleven MUST checks
  pinned as failing, two SHOULD checks and error.details as warning; no
  check is weakened or skipped for it. run-conformance --expected and the
  tests read the backend's own list, test/traffic.test.mjs compares the
  two recordings for every check neither host is pinned apart on
- the twin app was run once against cap2UI5 main 0f8d821 with the runtime
  1.149.0 in a scratch copy of the host: 90 of 91 pass, one warning
  (error.details)

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_014YZFmCjdbLvb757NWCFVeA
- new backend check model.unconvertible-scalar-skipped (SHOULD, core): the
  attribute keeps its value, the rest of the delta is applied, the
  roundtrip answers 200 ([MOD] whole_value_trace); both reference hosts
  pass - the reference skipped such a value before 1.149.0 too, the release
  documents it (z2ui5_if_client ty_s_model_skip)

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_014YZFmCjdbLvb757NWCFVeA
…tend's window requests

- scripts/lib/ui5-frontend.mjs loads core/WindowModel.js of the checkout
  (abap2UI5 1.149.0) on stand-ins for the two UI5 classes it extends, and
  stubs the two modules Server.js imports since 1.149.0 (Offline, Router);
  the recorder adds the scenario WINDOW: what the frontend's list binding
  sends for more rows, a sort, a filter and growth inside them, and a cell
  edit in a sorted window. Left out, with a line, where the backend does
  not start the app (cap2UI5 0.5.0) or the frontend has no WindowModel
- traffic/ recorded from both hosts with the frontend of the release commit
  6f55b04 and the agent client of the vendored commit 82b75d8:
  node-runtime 91 passed; cap2ui5 77 passed, 11 failed, 3 warnings (the
  pinned ones)
- for the 77 checks of revision 0.4 the recording is identical to the one
  of 1.148.0 on both hosts (draft ids, the version line of the error
  bodies and the page's ETag normalized), and so are the UI5 frontend's
  and the agent client's exchanges and snapshots
- check lists regenerated (91 backend, 85 frontend checks)

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_014YZFmCjdbLvb757NWCFVeA
What moved on the wire between the release commits of abap2UI5 1.148.0
(610d9ae) and 1.149.0 (6f55b04), from a scripted diff of the wire-relevant
sources and the recorded traffic. Protocol 2 stays (c_protocol is 2): the
changes are additive.

- new spec/windowed-tables.md: the window state /__WINDOW/<path> (TOTAL,
  COUNT, SIZE), the window request ___ZZZ_WIN and its arguments, sorters
  and filter groups, the keep / clear rule, the order kept by the backend
  with the draft, edits as positions, what a frontend has to do - and per
  rule why it is core, UI5 profile or outside the portable profile
- request, response, sessions, versioning, core: the reserved event and
  model key, a windowed table in MODEL, the delta rule for a scalar that
  does not convert
- actions: SET_APP_FULL_WIDTH, CROSS_APP_NAV_GET_LINKS, the experimental
  OFFLINE_QUEUE (it changes when requests are sent, not what is in them);
  a ${/PATH} argument is resolved against the model of the slot the
  answering app filled; the message box mapping is cited from [MSG]
- transport, navigation: sap-client on the launchpad's roundtrip URL, a
  bookmarked draft that cannot be restored (implementation notes, source
  only)
- profiles: the UI5 list binding of a windowed table, the removed invisible
  custom controls (no schema or profile list named them); the three new
  actions excluded from portable v1, window_bind_tab( ) not in portable v1;
  rowCount of a snapshot for a windowed table
- open questions 12 (windowed tables as a core part every backend offers)
  and 13 (frontends that are not the UI5 frontend) - provisional
- README, RESULTS and CHANGELOG: the results measured on 2026-11-16 -
  node-runtime 91 of 91; cap2ui5 77 of 91, the eleven MUST and two SHOULD
  checks of the windowed tables pinned (its runtime is 1.147.0), not
  conformant at this revision until a newer plugin is released; the UI5 SPA
  of 1.149.0 81 pass and 4 skip; agent client 63, Adaptive Cards 68,
  terminal 74; what each frontend does with a windowed table
- the vendored agent client is mcp-server 82b75d8 (source.json, since #5) -
  README and RESULTS named a4d9f07

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_014YZFmCjdbLvb757NWCFVeA
…owed tables

- @cap2ui5/cds-plugin 0.5.0 -> 0.6.0 (published 2026-11-16), which hosts
  @abap2ui5/node-runtime 1.149.0 - the runtime of the node-runtime host -
  and has window_bind_tab( ) and window_get_row( ); the host's lockfile
- cap2ui5: 90 of 91 pass, 0 fail, 1 warning (was 77, 11, 3 on 0.5.0, whose
  runtime 1.147.0 failed the start of the app WINDOW). The eleven failures
  and two warnings of the windowed tables are unpinned; the pins stay per
  backend, both failure lists are empty, the one pinned warning is
  error.details of cap2ui5 (a JavaScript app's exception text is hidden
  by design). No check was changed
- traffic recorded again from both hosts; test/traffic.test.mjs compares
  every check of the two recordings again, the thirteen window checks
  included: status, media type and JSON body are identical, and so are the
  WINDOW exchanges of the UI5 frontend's request code. For the 77 checks of
  revision 0.4 the cap2UI5 recording equals the one of plugin 0.5.0
- RESULTS, README, CHANGELOG, spec/README: both hosts on the runtime
  1.149.0, both conformant (ui5); open question 12 names the fact that
  changed - two backends offer windowed tables, both hosting the same
  framework - and stays open

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_014YZFmCjdbLvb757NWCFVeA
@oblomov-dev
oblomov-dev merged commit 09b3d10 into main Nov 17, 2026
3 checks passed
@oblomov-dev
oblomov-dev deleted the claude/great-mendel-aiaiwu branch November 17, 2026 00:11
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