Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ jobs:
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
with:
repository: abap2UI5/abap2UI5
ref: 610d9ae098b1fc17c2eda2b27b922659b1ed2eb3 # Release 1.148.0 - the commit @abap2ui5/node-runtime 1.148.0 was built from
ref: 6f55b0479069b07d9775c13fb7f7dce66a3c469e # Release 1.149.0 - the commit @abap2ui5/node-runtime 1.149.0 was built from
path: deps/abap2UI5
sparse-checkout: app/webapp
persist-credentials: false
Expand Down
4 changes: 2 additions & 2 deletions AGENTS.md
Original file line number Diff line number Diff line change
Expand Up @@ -54,8 +54,8 @@ down, and the spec records what the implementations do.
and `renderers/terminal/README.md` (the mapping tables, from each
renderer's `mapping.mjs`) - run `npm run generate`.
- **Known failures of a reference are pinned, not hidden.** A backend check
the reference backends fail goes into `test/lib/expected.mjs` with the
place of its fix; the tests fail when it starts to pass (unpin it, record
a reference backend fails goes into `test/lib/expected.mjs` - per
backend, failures and warnings - with the place of its fix; the tests fail when it starts to pass (unpin it, record
again) as well as when another check fails.
- **`profiles/semantic.md` is the normative snapshot v1** (moved from
abap2UI5/mcp-server `docs/agent-snapshot.md`). Changes to the snapshot
Expand Down
93 changes: 93 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,99 @@

## Unreleased

- **Specification revision 0.5 - re-derived from abap2UI5 1.149.0**
(release commit `6f55b04`; revision 0.4 was derived from `610d9ae`,
1.148.0). Unlike the release before, this one changes the wire.
Protocol 2 stays: `c_protocol` is 2 in 1.149.0, the frontend's
`PROTOCOL` too, and what is new is additive - a reserved model key, a
reserved event the backend answers itself, three follow-up actions
(`spec/versioning.md`). For the 77 checks of revision 0.4 the recorded
traffic of 1.149.0 is identical to that of 1.148.0 (draft ids, the
version line of the error bodies and the page's `ETag` normalized). What
moved, each confirmed in the release's source and in recorded traffic
unless it says otherwise:
- *Windowed tables* - new [spec/windowed-tables.md](spec/windowed-tables.md).
A table bound with `window_bind_tab( )` arrives as its first window,
the window state under `/__WINDOW/<path>` (`TOTAL`, `COUNT`, `SIZE`).
The reserved event `___ZZZ_WIN` asks for more rows (`[path, count]`), a
sort (`[path, count, sortJSON]`) or a filter (`[path, count, "",
filterJSON]`); the backend answers it without calling `main( )`. A part
that is missing, empty or `null` is kept, `[]` clears it; the order is
the backend's and travels with the draft; there is one sort, the last
one set; the app's filter and the list's are ANDed; the rows of a
`__delta` are positions in the order the backend sent, and a whole
table value is refused. Core rules with thirteen backend checks
(`window.*`) and two frontend checks (`window.rows-shown`,
`window.edit-as-delta`); what the UI5 list binding sends is the UI5
profile's (`profiles/ui5.md#windowed-tables`, frontend checks
`ui5.window-growth`, `ui5.window-sort-filter`). Not in portable v1.
Two provisional decisions:
[open questions 12 and 13](spec/open-questions.md#12-windowed-tables-as-a-part-of-the-core-protocol).
- *Schemas.* `response.schema.json` describes `MODEL.__WINDOW`,
`request.schema.json` the arguments of `___ZZZ_WIN`; both stay open for
everything else.
- *Follow-up actions.* `SET_APP_FULL_WIDTH`, `CROSS_APP_NAV_GET_LINKS`
(its answer is a backend event whose first argument is the text of a
JSON array) and the experimental `OFFLINE_QUEUE`, which changes when
requests are sent and nothing in them (`spec/actions.md`). All three
are UI5-profile actions and excluded from the portable profile
(`profiles/portable-v1.json`, `frontendActions.excluded`). Their shapes
were read from the source and seen once in a scratch transpile
(`["SET_APP_FULL_WIDTH","X"]`, `["SET_APP_FULL_WIDTH"]`,
`["OFFLINE_QUEUE", <text>, <event>...]`,
`["CROSS_APP_NAV_GET_LINKS", <target>, <params>, <event>]`); no
conformance app queues them, so they are not in `traffic/`.
- *Bound action arguments.* A `${/PATH}` argument of a queued action is
resolved against the model of the slot the answering app filled, no
longer MAIN's ([SL] `responseModel`; open question 11 unchanged).
- *Model delta.* The rule for a value the backend cannot write names a
whole scalar as well as a cell (new backend check
`model.unconvertible-scalar-skipped`, SHOULD) - behaviour of the
reference before 1.149.0 too, which only documents it now.
- *Launchpad.* The UI5 frontend names the logon client on the endpoint
(`sap-client=<3 digits>`) when the endpoint is on the page's origin and
names none - a query parameter, implementation note in
`spec/transport.md` (source only: no launchpad in the suite).
- *App-state hash.* A draft that exists but cannot be restored ends in
an error response instead of the "expired" toast (implementation note
in `spec/navigation.md`, source only).
- *UI5 profile.* The eight invisible custom controls (`z2ui5.cc.Timer`,
`Focus`, `Scrolling`, `Title`, `LPTitle`, `Favicon`, `History`, `Info`)
are gone; a view that names one fails to load. No schema, enum or
profile list of this repository named them - `z2ui5.cc` is excluded
from the portable profile as a namespace. The UI5 frontend no longer
refuses to send while `navigator.onLine` is false.
- *Not on the wire.* The draft frame that keeps a windowed table next to
the app's serialization and reuses its serialized rows ([TY]
`ty_s_kept`) is internal: no message differs, and
`window.order-with-the-draft` reads the same draft back twice.
- *Citations.* The message box's type mapping is [MSG] `box_resolve`
(`z2ui5_cl_ui5_srv_message`; it left [FE]). New source abbreviations
[WIN], [BND], [MSG], [WM], [LP], [OFF].
- **Conformance app WINDOW** (`Z2UI5_CL_CONF_WINDOW`, ABAP and cap2UI5
twin): twelve rows, four at a time, an app sort and filter, a counter of
`main( )` calls, two wired `BINDING_CALL` buttons.
- **node-runtime host on 1.149.0.** `@abap2ui5/node-runtime` 1.148.0 ->
1.149.0, `@abaplint/transpiler-cli` 2.14.5 -> 2.14.33 (the transpiler the
package names); `build.mjs` and `serve.mjs` are unchanged - the recipe of
1.148.0 holds. Traffic recorded again from both hosts with the UI5
frontend of the release commit, whose `core/WindowModel.js` the recorder
now runs as well. Results: `node-runtime` 91 of 91.
- **cap2UI5 host on `@cap2ui5/cds-plugin` 0.6.0** (0.5.0 before), which
hosts the runtime 1.149.0 and has `window_bind_tab( )`: 90 of 91 pass,
with the known `error.details` warning. On 0.5.0 (runtime 1.147.0) the
start of the app WINDOW failed and the thirteen window checks with it;
they were pinned for `cap2ui5` until the plugin was released, and are
unpinned. The pins of `test/lib/expected.mjs` are per backend now,
failures and warnings (one list for both hosts before);
`test/traffic.test.mjs` compares the two recordings for every check, the
window exchanges included - they are identical.
- **CI's frontend job pins abap2UI5 `6f55b04`** (Release 1.149.0); the UI5
SPA passes 81 of the 85 frontend checks, 4 skipped.
- **The vendored agent client is `82b75d8`** - README and RESULTS named
`a4d9f07`, the commit before the re-vendoring of #5; settled from
`adapters/vendor/mcp-server/source.json` and `vendor-agent-client.mjs
--check`. The agent traffic is recorded from a checkout of that commit.
- **Specification revision 0.4 - re-derived from abap2UI5 1.148.0**
(release commit `610d9ae`; revisions 0.1 to 0.3 were derived from
`b812079`, 1.146.0). Protocol 2 stays: `c_protocol` is 2 in 1.148.0, and
Expand Down
34 changes: 18 additions & 16 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -52,28 +52,30 @@ source file and method it was derived from ([spec/README.md](spec/README.md#sour

## Status

- **Protocol 2**, specification revision 0.4, derived from abap2UI5 1.148.0
(its release commit `610d9ae`); the maintainer decided ten open
questions in revision 0.3, an eleventh is open
- **Protocol 2**, specification revision 0.5, derived from abap2UI5 1.149.0
(its release commit `6f55b04`) - the release that brought windowed
tables ([spec/windowed-tables.md](spec/windowed-tables.md)); the
maintainer decided ten open questions in revision 0.3, three are open
([spec/open-questions.md](spec/open-questions.md)).
- **Backend suite: 77 checks** (62 MUST, 15 SHOULD; 70 core, 7 UI5 profile).
- **Backend suite: 91 checks** (73 MUST, 18 SHOULD; 84 core, 7 UI5 profile).
Both reference backends pass every MUST - `node-runtime`
(`@abap2ui5/node-runtime` 1.148.0) 77/77, `cap2ui5`
(`@cap2ui5/cds-plugin` 0.5.0) 76/77 with one SHOULD warning
([conformance/RESULTS.md](conformance/RESULTS.md)). No failure is pinned:
`error.no-reflection` passes since both hosts run a release with the fix.
- **Schemas** validate all 344 recorded requests, 328 responses and 18 agent
(`@abap2ui5/node-runtime` 1.149.0) 91/91, `cap2ui5`
(`@cap2ui5/cds-plugin` 0.6.0, on the same runtime) 90/91 with one SHOULD
warning ([conformance/RESULTS.md](conformance/RESULTS.md)). No failure
is pinned.
- **Schemas** validate all 474 recorded requests, 458 responses and 18 agent
snapshots, checked by the shipped validator and by ajv.
- **Portable profile v1** filled from a census of 247 core apps (73.7 % by
controls, 64.8 % run unchanged).
- **Frontend suite: 81 checks** (66 MUST, 15 SHOULD; 66 core, 8 portable,
4 UI5, 3 semantic), scripted from the recorded traffic. The official UI5
SPA of abap2UI5 1.148.0 passes every check that applies (77, 4 skipped);
the agent client (mcp-server `a4d9f07`), the
- **Frontend suite: 85 checks** (70 MUST, 15 SHOULD; 68 core, 8 portable,
6 UI5, 3 semantic), scripted from the recorded traffic. The official UI5
SPA of abap2UI5 1.149.0 passes every check that applies (81, 4 skipped);
the agent client (mcp-server `82b75d8`), the
Adaptive Cards renderer and the terminal renderer pass every check that
applies to them (61, 66 and 72 - the terminal's include the router
checks); the Web Components frontend 68 of 68, with one intermittent
failure ([conformance/RESULTS.md](conformance/RESULTS.md#frontend-suite)).
applies to them (63, 68 and 74 - the terminal's include the router
checks); the Web Components frontend passed 68 of 68 of the 81 checks of
2026-10-03, with one intermittent failure, and was not run again
([conformance/RESULTS.md](conformance/RESULTS.md#frontend-suite)).
- **Adaptive Cards renderer** (prototype, [renderers/adaptive-cards/](renderers/adaptive-cards/README.md)):
all 65 portable controls mapped onto Adaptive Cards 1.5, the way back from
an `Action.Submit` to the next request, golden cards of recorded traffic.
Expand Down
4 changes: 2 additions & 2 deletions conformance/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ swapped independently:

| Suite | Plays | Tests | Status |
|---|---|---|---|
| [backend/](backend/README.md) | the frontend | a backend, over HTTP, against the conformance apps | implemented - 76 checks, `abap2ui5-conformance backend` |
| [frontend/](frontend/README.md) | the backend | a frontend, by scripted responses (recorded traffic + synthetic edge cases), through an adapter per frontend | implemented - 81 checks, `abap2ui5-conformance frontend --adapter ui5\|agent\|webcomponent\|adaptive-cards` |
| [backend/](backend/README.md) | the frontend | a backend, over HTTP, against the conformance apps | implemented - 91 checks, `abap2ui5-conformance backend` |
| [frontend/](frontend/README.md) | the backend | a frontend, by scripted responses (recorded traffic + synthetic edge cases), through an adapter per frontend | implemented - 85 checks, `abap2ui5-conformance frontend --adapter ui5\|agent\|webcomponent\|adaptive-cards` |

The **conformance apps** ([apps/](apps/README.md)) are what a backend serves
for the backend suite: small apps with exactly specified behaviour, shipped
Expand Down
Loading
Loading