hermes commented on pull request dc/dc#360 2026-10-25 22:26:04 +00:00
fix(derived): hold derived columns read-only regardless of CLS, and register MPE_DERIVED in the mock

Reviewed the full base...head diff (SAS getdata + mpe_derived_postedit hook, mock services, Cypress specs). No package.json, .npmrc or CI change in the diff, so the JS hardening checklist and the…

hermes commented on pull request dc/dc#360 2026-10-25 22:19:22 +00:00
fix(derived): hold derived columns read-only regardless of CLS, and register MPE_DERIVED in the mock

d7cadc0 addresses two of the three; the first does not hold.

isLive requiring ACTIVE=1 - this is parity, not a gap. The read-time engine uses the same…

hermes pushed to fix/derived-readonly-and-mock-config at dc/dc 2026-10-25 22:19:07 +00:00
d7cadc0b7b refactor(derived): name the invalid-character test, and prefix the cycle message
hermes commented on pull request dc/dc#360 2026-10-25 21:43:12 +00:00
fix(derived): hold derived columns read-only regardless of CLS, and register MPE_DERIVED in the mock

Reviewed the full base...head diff: cypress specs + support/commands.ts, mock services (makedata, getdata, loadfile, stagedata, viewdata) and the new hooks/mpe_derived_postedit.js mock, plus…

hermes commented on pull request dc/dc#360 2026-10-25 21:39:36 +00:00
fix(derived): hold derived columns read-only regardless of CLS, and register MPE_DERIVED in the mock

Review 473 and 474, addressed in e0ee99c and 9914790.

474 - all four were right

loadfile.js:183 - the hook was silently dead there. It reads jsDataRows; loadfile names the rows rows,…

hermes pushed to fix/derived-readonly-and-mock-config at dc/dc 2026-10-25 21:39:25 +00:00
9914790777 fix(derived): close four gaps in the MPE_DERIVED hook
e0ee99c178 test(derived): wait for the editor before asserting its absence
Compare 2 commits »
hermes commented on pull request dc/dc#360 2026-10-25 21:10:13 +00:00
fix(derived): hold derived columns read-only regardless of CLS, and register MPE_DERIVED in the mock

For the record on d14395a (superseded by fa7a468 and 5d183d1): Build-and-test-development failed, but not on anything in the diff - editor.cy.ts test 21 timed out waiting for .app-loading to…

hermes commented on pull request dc/dc#360 2026-10-25 21:03:13 +00:00
fix(derived): hold derived columns read-only regardless of CLS, and register MPE_DERIVED in the mock

Reviewed the full base...head diff at 5d183d13 (10 files: Cypress spec and support command, mock makedata/getdata/loadfile/stagedata/viewdata, new mock hook mpe_derived_postedit.js, getdata.sas…

hermes commented on pull request dc/dc#360 2026-10-25 20:59:29 +00:00
fix(derived): hold derived columns read-only regardless of CLS, and register MPE_DERIVED in the mock

Added in 5d183d1: sas/mocks/sasjs/services/hooks/mpe_derived_postedit.js, plus the small protocol it needs in stagedata.js and loadfile.js.

Why it was missing. The MPE_TABLES row has…

hermes pushed to fix/derived-readonly-and-mock-config at dc/dc 2026-10-25 20:59:20 +00:00
5d183d1350 feat(mocks): validate a submitted MPE_DERIVED row like the hook does
hermes commented on pull request dc/dc#360 2026-10-25 20:55:24 +00:00
fix(derived): hold derived columns read-only regardless of CLS, and register MPE_DERIVED in the mock

Reviewed the full base...head diff (Cypress e2e and support command, the two SASJS mocks, getdata.sas and its test). Commit type fix(derived) is correct; no package.json/lockfile/CI change, so the…

hermes commented on pull request dc/dc#360 2026-10-25 20:50:47 +00:00
fix(derived): hold derived columns read-only regardless of CLS, and register MPE_DERIVED in the mock

One of the four needed a change; the other three do not hold at fa7a468, with the evidence below.

getdata.sas:682 - work.derived_vars is created on every returning path. Data Controller's…

hermes pushed to fix/derived-readonly-and-mock-config at dc/dc 2026-10-25 20:50:39 +00:00
fa7a468fd3 test(derived): state the negative assertion's wait explicitly
hermes commented on pull request dc/dc#360 2026-10-25 20:35:17 +00:00
fix(derived): hold derived columns read-only regardless of CLS, and register MPE_DERIVED in the mock

Reviewed the full base...head diff of the new head (previous review was at an older head): getdata.sas/.test.sas, viewdata.js, getdata.js mock, makedata.js, commands.ts, derived-variables.cy.ts.…

hermes commented on pull request dc/dc#360 2026-10-25 20:30:57 +00:00
fix(derived): hold derived columns read-only regardless of CLS, and register MPE_DERIVED in the mock

Both addressed in f411b7d and d14395a.

derived-variables.cy.ts:85 - the case was worse than the finding said. Not only was focus the wrong thing to type at, the screen opens read-only until…

hermes pushed to fix/derived-readonly-and-mock-config at dc/dc 2026-10-25 20:30:51 +00:00
d14395a0f8 test(derived): enter edit mode, and add the positive control
f411b7d269 fix(mocks): copy the physical column list before deriving
Compare 2 commits »
hermes commented on pull request dc/dc#360 2026-10-25 19:34:43 +00:00
fix(derived): hold derived columns read-only regardless of CLS, and register MPE_DERIVED in the mock

Reviewed the full base...head diff (getdata.sas + getdata.test.sas, the getdata/viewdata mocks, makedata fixtures, the Cypress command and the new e2e spec) at head be8f445. Cross-checked the…

hermes closed pull request dc/dc#361 2026-10-25 19:31:24 +00:00
fix(cypress): apply the licence key when the estate has none
hermes commented on pull request dc/dc#361 2026-10-25 19:31:23 +00:00
fix(cypress): apply the licence key when the estate has none

Folded into #360 as be8f445 rather than merged separately: the red CI on #360 is exactly the failure this commit fixes, so keeping them apart leaves the derived PR unable to show a green run - and…

hermes pushed to fix/derived-readonly-and-mock-config at dc/dc 2026-10-25 19:31:18 +00:00
be8f445ae1 fix(cypress): apply the licence key when the estate has none