Skip to content

Unit tests: the framework at the abap2UI5 commit src/ follows - #24

Merged
oblomov-dev merged 1 commit into
mainfrom
claude/lucid-dijkstra-coflbk
Dec 1, 2026
Merged

oblomov-dev merged 1 commit into
mainfrom
claude/lucid-dijkstra-coflbk

Conversation

@oblomov-dev

Copy link
Copy Markdown
Member

ABAP_UNIT is red on main since #20/#21: src/ calls z2ui5_cl_ui5_headless and z2ui5_cl_ui5_ajs, which abap2UI5 main has (the lint reads main) but the published @abap2ui5/node-runtime 1.151.0 does not. Every test failed with Void type: Z2UI5_CL_UI5_HEADLESS.

  • .github/scripts/unit.mjs: CONFIG.framework.ref pins an abap2UI5 commit (now d0fac63, main today). The script checks it out under .unit/abap2UI5, runs npm ci --ignore-scripts and npm run downport there (about a minute), and transpiles src/ with that node/downport via the package's transpileConfig( ). The package's transpiler, open-abap-core and express-icf-shim stay the same. UNIT_ABAP2UI5_REF overrides the pin, and release uses the package's downport/.
  • AGENTS.md, CONTRIBUTING.md and the workflow comment are updated. Set the ref back to null when bumping to the release after 1.151.0.

No test was changed or skipped.

Checks: npm run check reports 0 issues (lint, lint:cloud, rename). npm run unit passes 40 of 40, also from an empty work folder.


Generated by Claude Code

ABAP_UNIT has been red on main since #20/#21: src/ calls z2ui5_cl_ui5_headless
and z2ui5_cl_ui5_ajs, which abap2UI5 main has (the lint reads main) but the
published @abap2ui5/node-runtime 1.151.0 does not - every test died with
"Void type: Z2UI5_CL_UI5_HEADLESS".

unit.mjs can now take the framework's ABAP from a pinned abap2UI5 commit
(CONFIG.framework.ref): a checkout under .unit/abap2UI5, npm ci and
npm run downport there, and transpileConfig( ) of the package with that
node/ as package folder - the package's transpiler, open-abap-core and
express-icf-shim stay. Pinned to abap2UI5 d0fac63 (main today); back to
null with the bump to the release after 1.151.0. UNIT_ABAP2UI5_REF
overrides it ("release" takes the package). No test changed: 40 of 40 pass.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_014YZFmEJNd4Wq7CUg8t8a2C
@oblomov-dev
oblomov-dev merged commit 11e8f62 into main Dec 1, 2026
9 checks passed
@oblomov-dev
oblomov-dev deleted the claude/lucid-dijkstra-coflbk branch December 1, 2026 00:00
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