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: 6f55b0479069b07d9775c13fb7f7dce66a3c469e # Release 1.149.0 - the commit @abap2ui5/node-runtime 1.149.0 was built from
ref: af05dce4f614a1ce5009b8765952fdcee86e666d # Release 1.150.0 - the commit @abap2ui5/node-runtime 1.150.0 was built from
path: deps/abap2UI5
sparse-checkout: app/webapp
persist-credentials: false
Expand Down
17 changes: 17 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,23 @@

## Unreleased

- **node-runtime host and CI's UI5 frontend on abap2UI5 1.150.0** (1.149.0
before). `@abap2ui5/node-runtime` 1.150.0 in the host, and the frontend
job checks out the release commit `af05dce` it was built from. The
release changes no protocol (draft-owner strictness, RTTI error handling,
own apps' `_ddic.mjs`, and the frontend's row delta of a windowed table
behind a data reference); the specification revision stays 0.5.
node-runtime passes 93 of 93 as before; its suite traffic, recorded
again, is identical check by check but for the page (357,791 characters,
357,162 before), and so are the UI5 frontend's and the agent client's.
The UI5 SPA passes 82 of 86 (4 skipped, no failure): it passes
`window.edit-as-delta-reference` - the fix of `2cc0344` is in the
release - and the pin in `test/frontend.test.mjs` `UI5_KNOWN_FAILS` is
gone. The cap2UI5 host stays on `@cap2ui5/cds-plugin` 0.7.0, which pins
the runtime 1.149.0 (92 of 93, one SHOULD warning, unchanged).
`conformance/RESULTS.md` (*The move from 1.149.0 to 1.150.0*) and the
README's status updated.

- **cap2UI5 host on `@cap2ui5/cds-plugin` 0.7.0** (0.6.0 before), the
release with `t.ref( )` - a field `TYPE REF TO data` in a JavaScript
app. The twin of `Z2UI5_CL_CONF_REF` starts now and passes
Expand Down
16 changes: 7 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -59,22 +59,20 @@ source file and method it was derived from ([spec/README.md](spec/README.md#sour
resolved, three are open
([spec/open-questions.md](spec/open-questions.md)).
- **Backend suite: 93 checks** (75 MUST, 18 SHOULD; 86 core, 7 UI5 profile).
`node-runtime` (`@abap2ui5/node-runtime` 1.149.0) passes 93/93;
`cap2ui5` (`@cap2ui5/cds-plugin` 0.7.0, on the same runtime) 92/93 with
one SHOULD warning and no failure - the two checks of a table behind a
data reference pass with the plugin's `t.ref( )`, new in 0.7.0
`node-runtime` (`@abap2ui5/node-runtime` 1.150.0) passes 93/93;
`cap2ui5` (`@cap2ui5/cds-plugin` 0.7.0, on the runtime 1.149.0 it pins)
92/93 with one SHOULD warning and no failure - the two checks of a table
behind a data reference pass with the plugin's `t.ref( )`, new in 0.7.0
([conformance/RESULTS.md](conformance/RESULTS.md)).
- **Schemas** validate all 490 recorded requests, 474 responses and 26 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: 86 checks** (71 MUST, 15 SHOULD; 69 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 but one (81, 1
failed, 4 skipped: a cell behind a data reference sent whole, fixed in
abap2UI5 `2cc0344`, which passes 82); the agent client (mcp-server
`332a0b0`), the
Adaptive Cards renderer and the terminal renderer pass every check that
SPA of abap2UI5 1.150.0 passes every check that applies (82, 4 skipped;
1.149.0 failed one, a cell behind a data reference sent whole); the
agent client (mcp-server `332a0b0`), the Adaptive Cards renderer and the terminal renderer pass every check that
applies to them (64, 69 and 75 - 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
Expand Down
71 changes: 53 additions & 18 deletions conformance/RESULTS.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,13 +12,15 @@ reference (`model.reference-delta`, `window.delta-positions-reference`);
cap2UI5 0.6.0 failed those two - its JavaScript apps could not declare a
field `TYPE REF TO data` - and the cap2UI5 host moved to
`@cap2ui5/cds-plugin` 0.7.0, whose `t.ref( )` declares one
([below](#tables-behind-a-data-reference)). Both backends pass every MUST
([below](#tables-behind-a-data-reference)). On 2026-11-20 the node-runtime
host moved to abap2UI5 1.150.0, which changes nothing the suite checks
([below](#the-move-from-11490-to-11500)). Both backends pass every MUST
now; the one pinned result is cap2UI5's SHOULD warning `error.details`
([`../test/lib/expected.mjs`](../test/lib/expected.mjs)).

| Backend | Version | Apps | Pass | Fail | Warn | Skip | Verdict |
|---|---|---|---:|---:|---:|---:|---|
| `node-runtime` | `@abap2ui5/node-runtime` 1.149.0 (abap2UI5 1.149.0, transpiled) | the ABAP apps, transpiled together with the framework by the package's `abap2ui5-transpile` (`@abaplint/transpiler-cli` 2.14.33) | 93 | 0 | 0 | 0 | conformant (ui5) |
| `node-runtime` | `@abap2ui5/node-runtime` 1.150.0 (abap2UI5 1.150.0, transpiled) | the ABAP apps, transpiled together with the framework by the package's `abap2ui5-transpile` (`@abaplint/transpiler-cli` 2.14.33) | 93 | 0 | 0 | 0 | conformant (ui5) |
| `cap2ui5` | `@cap2ui5/cds-plugin` 0.7.0 on `@abap2ui5/node-runtime` 1.149.0 (the version the plugin pins), `@sap/cds` 10 | the JavaScript apps | 92 | 0 | 1 | 0 | conformant (ui5); one SHOULD warning: `error.details` (below) |

Per area (both backends identical except `error`):
Expand All @@ -42,13 +44,40 @@ The ABAP system itself (abap2UI5 on NetWeaver / ABAP Cloud) has not been run
yet - it needs a system with the apps pulled in by abapGit; the transpiled
runtime is the same framework source.

Both hosts run the same framework release now: cap2UI5 0.7.0 (like 0.6.0)
pins `@abap2ui5/node-runtime` 1.149.0, the version the node-runtime host
runs (with 0.5.0 the cap2UI5 host was on 1.147.0). The recorded traffic of
the two is identical for every check but `error.details`, the windowed
tables and the app REF included
The two hosts are one framework release apart: cap2UI5 0.7.0 (like 0.6.0)
pins `@abap2ui5/node-runtime` 1.149.0, the node-runtime host runs 1.150.0
(with 0.5.0 the cap2UI5 host was on 1.147.0). The recorded traffic of the
two is identical for every check but `error.details`, the windowed tables
and the app REF included
([below](#differences-between-the-two-backends)).

## The move from 1.149.0 to 1.150.0

Until 2026-11-20 the node-runtime host ran abap2UI5 1.149.0: 93 of 93
passed. On `@abap2ui5/node-runtime` 1.150.0 (built from the release commit
`af05dce`, transpiled by `@abaplint/transpiler` 2.14.33 like 1.149.0) the
same 93 pass, 0 fail, 0 warn. The release changes no protocol - draft-owner
strictness, RTTI error handling, own apps' `_ddic.mjs`, and in the
frontend the row delta of a windowed table behind a data reference. As
measured:

- **The suite traffic is identical** check by check with the recording of
1.149.0 (draft ids, the version and time lines of the error bodies and
the page's `ETag` normalized), except the page itself, which grew from
357,162 to 357,791 characters.
- **The UI5 frontend's requests and the agent client's traffic are the
same**: `traffic/node-runtime/ui5-frontend.json` (the frontend of
abap2UI5 1.150.0 run in Node) and `agent-client.json` differ from the
recording of 1.149.0 in nothing but draft ids, the measured
`MS_CLIENT_PREV` and the host's port.
- **The UI5 SPA passes `window.edit-as-delta-reference`** - finding 3,
fixed in `2cc0344` and released with 1.150.0; CI pins the release commit
`af05dce` now and the pin in `test/frontend.test.mjs` is gone
([Frontend suite](#frontend-suite)).

The cap2UI5 host stays on `@cap2ui5/cds-plugin` 0.7.0 and with it on the
runtime 1.149.0 until a plugin release pins 1.150.0.

## The move from 1.148.0 to 1.149.0

Until 2026-11-16 the node-runtime host ran abap2UI5 1.148.0: 77 of 77
Expand Down Expand Up @@ -123,7 +152,7 @@ backend has to offer stays

| Frontend | Rows shown | More rows, sort, filter | A cell edit |
|---|---|---|---|
| UI5 SPA (abap2UI5 1.149.0), in Chromium | the window; the growing trigger reads `[ 4 / 12 ]` | window requests: `ui5.window-growth`, `ui5.window-sort-filter` pass | `__delta` of the position (`window.edit-as-delta`) |
| UI5 SPA (abap2UI5 1.149.0 and 1.150.0), in Chromium | the window; the growing trigger reads `[ 4 / 12 ]` | window requests: `ui5.window-growth`, `ui5.window-sort-filter` pass | `__delta` of the position (`window.edit-as-delta`) |
| agent client (mcp-server `8efb3d7`) | the window, and that it is one: `rowCount` 4, `total` 12, `truncated` true, `window: { size: 4, more }` - `more` names the `app_act` that loads rows 5-8 | window requests: `app_act { window }` sends `["/T_ROWS","8"]` for the next window, a sort or a filter it builds itself; the two `BINDING_CALL` buttons are the action `@BINDING_CALL` and send what the UI5 list binding sends (below) | `__delta` of the position |
| Adaptive Cards renderer | the four rows as the whole table | none; a `BINDING_CALL` wire is outside the portable profile | `__delta` of the position |
| terminal renderer | the four rows as the whole table - also end to end against the node-runtime host, where the app's `SORT` then shows the first four of the new order and a box ticked before lands in its row | none | `__delta` of the position |
Expand All @@ -137,7 +166,8 @@ added after abap2UI5 #3026; synthetic - model `/MR_ROWS/*`, state at
`/__WINDOW/MR_ROWS/*`, a box ticked in row 2): the agent client (mcp-server
`332a0b0`), the Adaptive Cards and the terminal renderer send
`{ "MR_ROWS": { "*": { "__delta": { "2": { "DONE": true } } } } }` and pass.
The UI5 SPA of 1.149.0 fails it (finding 3 below) - as did the agent client
The UI5 SPA of 1.149.0 fails it (finding 3 below), that of 1.150.0
passes it - as the agent client failed it the agent client
before `7f71d5f`, which ported `buildDeltaFromPaths` and sent the same
whole attribute. Besides the UI5 SPA only the agent client tells
its user that rows are missing and asks for them - since abap2UI5/mcp-server
Expand Down Expand Up @@ -176,7 +206,7 @@ descending); the two checks send `{ "MR_TAB": { "*": { "__delta": { "1":

| Backend | `model.reference-delta` | `window.delta-positions-reference` |
|---|---|---|
| `node-runtime` 1.149.0 | pass - exactly row 2 changed, `SUMMARY` `1:one:,2:zwei:X,3:three:;` | pass - positions 0 and 2 land in the rows with `ID` 4 and 5, `SUMMARY` `...;4,5` |
| `node-runtime` 1.149.0, 1.150.0 | pass - exactly row 2 changed, `SUMMARY` `1:one:,2:zwei:X,3:three:;` | pass - positions 0 and 2 land in the rows with `ID` 4 and 5, `SUMMARY` `...;4,5` |
| `cap2ui5` 0.6.0 (until 2026-11-20) | fail, was pinned - the start answers `500` | fail, was pinned - the same |
| `cap2ui5` 0.7.0 (`t.ref( )`) | pass - as node-runtime | pass - as node-runtime |

Expand Down Expand Up @@ -356,8 +386,7 @@ records - as a rule, or as an implementation note:
## Frontend suite

Frontend suite, 86 checks (71 MUST, 15 SHOULD; 69 core, 8 portable, 6 UI5,
3 semantic), run 2026-11-16 against the traffic of the 1.149.0 recording
(`window.edit-as-delta-reference`, the 86th, run 2026-11-18) -
3 semantic), run 2026-11-20 against the traffic of the 1.150.0 recording -
the UI5 SPA, the agent client, the Adaptive Cards and the terminal
renderer; the Web Components row is the run of 2026-10-03 (81 checks) and
was not repeated - with
Expand All @@ -370,7 +399,7 @@ perform.

| Frontend | Version | Profile | Pass | Fail | Warn | Skip | Verdict |
|---|---|---|---:|---:|---:|---:|---|
| UI5 SPA (`ui5`) | abap2UI5 1.149.0 `app/webapp` (release commit `6f55b04`, which CI pins), OpenUI5 1.153.0 (npm), Chromium 153 | ui5 | 81 | 1 | 0 | 4 | not conformant: `window.edit-as-delta-reference` (finding 3, fixed after the release in `2cc0344`; that frontend passes 82) |
| UI5 SPA (`ui5`) | abap2UI5 1.150.0 `app/webapp` (release commit `af05dce`, which CI pins), OpenUI5 1.153.0 (npm), Chromium 153 | ui5 | 82 | 0 | 0 | 4 | conformant (ui5) - finding 3 fixed in the release |
| agent client (`agent`) | abap2UI5/mcp-server `lib/appclient.mjs` @ `332a0b0` (vendored - `adapters/vendor/mcp-server/source.json`), run 2026-11-18 | semantic | 64 | 0 | 0 | 22 | conformant (semantic) - the five MUST deviations of `ea4e9fa` fixed |
| Adaptive Cards renderer (`adaptive-cards`) | [`renderers/adaptive-cards/`](../renderers/adaptive-cards/README.md) of this repository (prototype), Adaptive Cards 1.5 | portable | 69 | 0 | 0 | 17 | every check it can be driven through holds |
| terminal renderer (`terminal`) | [`renderers/terminal/`](../renderers/terminal/README.md) of this repository, driven with keys through its state machine | portable | 75 | 0 | 0 | 11 | every check it can be driven through holds, the router checks included |
Expand Down Expand Up @@ -407,7 +436,13 @@ checks of before pass as before, and the four new ones pass -
`ui5.window-sort-filter` ([above](#windowed-tables)): 81 pass, 0 fail, 0
warn, 4 skip, in two consecutive runs. The last two drive a real growing
`sap.m.Table` over the recorded answers of the conformance app WINDOW: a
click on its "More" trigger and two `BINDING_CALL` buttons.
click on its "More" trigger and two `BINDING_CALL` buttons. The 86th,
`window.edit-as-delta-reference`, failed (finding 3).

Since 2026-11-20 CI pins the release commit of abap2UI5 1.150.0
(`af05dce`), the frontend `@abap2ui5/node-runtime` 1.150.0 ships: 82 pass,
0 fail, 0 warn, 4 skip - the 81 of before, and
`window.edit-as-delta-reference`, whose pin is removed. Every MUST holds.

### Findings - the UI5 SPA

Expand Down Expand Up @@ -441,10 +476,10 @@ click on its "More" trigger and two `BINDING_CALL` buttons.
and binds the tolerance rule to the other renderers; the check skips a
UI5-profile frontend ([open question 6](../spec/open-questions.md#6-the-ui5-frontend-and-the-portable-tolerance-rule)).
3. **A cell of a windowed table behind a data reference is sent whole** -
`window.edit-as-delta-reference`, MUST; *the frontend is wrong* (fixed
in abap2UI5 `2cc0344`, #3026, after 1.149.0; pinned in
`test/frontend.test.mjs` `UI5_KNOWN_FAILS` while CI pins the 1.149.0
release commit). The cell path is `/MR_ROWS/*/2/DONE`; `buildDeltaFromPaths`
`window.edit-as-delta-reference`, MUST; *the frontend was wrong* (fixed
in abap2UI5 `2cc0344`, #3026, released with 1.150.0; pinned in
`test/frontend.test.mjs` `UI5_KNOWN_FAILS` while CI pinned the 1.149.0
release commit, unpinned with the move to 1.150.0). The cell path is `/MR_ROWS/*/2/DONE`; `buildDeltaFromPaths`
took the `*` for an unknown shape and sent
`{ "MR_ROWS": { "*": [ ...the four rows... ] } }`, which the backend
refuses for a windowed table ([MOD] `main_json_to_attri`) - the edit
Expand Down
8 changes: 4 additions & 4 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@
"tui"
],
"devDependencies": {
"@abap2ui5/node-runtime": "1.149.0",
"@abap2ui5/node-runtime": "1.150.0",
"@abaplint/cli": "2.120.75",
"@abaplint/transpiler-cli": "2.14.33",
"@openui5/sap.m": "1.153.0",
Expand Down
12 changes: 6 additions & 6 deletions test/frontend.test.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -223,12 +223,12 @@ test("the terminal renderer: every portable-profile check it can be driven throu

const skipBrowser = process.env.PROTOCOL_SKIP_BROWSER ? "PROTOCOL_SKIP_BROWSER is set" : false;
// The UI5 SPA's known deviations (RESULTS.md) - a deviation goes here with
// the place of its fix; every other failure fails the test. CI's abap2UI5
// commit is the release 1.149.0, which ships a cell behind a data reference
// as the whole attribute: window.edit-as-delta-reference, fixed in abap2UI5
// 2cc0344 (#3026, core/Lib.js buildDeltaFromPaths) - unpin it once CI's
// commit carries that.
const UI5_KNOWN_FAILS = ["window.edit-as-delta-reference"];
// the place of its fix; every other failure fails the test. None today:
// window.edit-as-delta-reference (a cell behind a data reference sent as the
// whole attribute) was pinned while CI's abap2UI5 commit was the release
// 1.149.0; fixed in abap2UI5 2cc0344 (#3026, core/Lib.js
// buildDeltaFromPaths), released with 1.150.0, the commit CI pins now.
const UI5_KNOWN_FAILS = [];

test("the UI5 SPA in Chromium: every MUST but the recorded deviation holds", { skip: skipBrowser, timeout: 900_000 }, async (t) => {
if (!locateWebapp()) {
Expand Down
Loading