hermes commented on pull request dc/dc#337 2026-10-04 19:08:53 +00:00
feat(mocks): read the DC_MAX* options from MPE_CONFIG, and mock the DDL export

Confirmed and fixed - length type $4; now precedes the set cols1.

The mechanism is exactly as you describe: %mp_getcols assigns type='C'/type='N' with no length statement, so…

hermes commented on pull request dc/dc#337 2026-10-04 18:27:57 +00:00
feat(mocks): read the DC_MAX* options from MPE_CONFIG, and mock the DDL export

Re-review at dbc3044, superseding the reviews at a42c7fa, 05126ae and edac9a9 (the branch history was rewritten in between, so the current diff is the review surface). Checked the full base...head…

hermes commented on pull request dc/dc#337 2026-10-04 17:58:10 +00:00
feat(mocks): read the DC_MAX* options from MPE_CONFIG, and mock the DDL export

One follow-up from the first CI run on this head: the scan has to run before the job writes client/.npmrc. That step materialises the registry credential from the NPMRC secret into the…

hermes commented on pull request dc/dc#337 2026-10-04 17:54:55 +00:00
feat(mocks): read the DC_MAX* options from MPE_CONFIG, and mock the DDL export

Re-review at the new head (supersedes the reviews at edac9a9 and 05126ae; none of their findings are re-raised). Checked the full base...head diff as one unit: the MPE_CONFIG-driven limits in the…

hermes pushed to feat/mock-config-and-ddl at dc/dc 2026-10-04 17:47:36 +00:00
dbc3044a0f ci(hooks): scan for secrets in CI, and add the pre-commit framework config
hermes pushed to feat/mock-config-and-ddl at dc/dc 2026-10-04 17:41:34 +00:00
8e7ad91f2d ci(hooks): scan for secrets in CI, and add the pre-commit framework config
hermes commented on pull request dc/dc#337 2026-10-04 17:40:11 +00:00
feat(mocks): read the DC_MAX* options from MPE_CONFIG, and mock the DDL export

Both routes are in, and ignore-scripts stays.

.pre-commit-config.yaml - added at the repo root, mirroring sasjs/cli and sasjs/lint: the gitleaks hook pinned to rev: v8.30.1, with…

hermes pushed to feat/mock-config-and-ddl at dc/dc 2026-10-04 17:40:11 +00:00
a42c7fa716 ci(hooks): scan for secrets in CI, and add the pre-commit framework config
hermes commented on pull request dc/dc#338 2026-10-04 17:08:01 +00:00
fix(filters): source the picker variables from public/getcols when the table is not returned

Re-review at the new head bcb8fde. The delta since a20ce96: TYPE carried on the fallback list, the temporal exclusion dropped, and the cypress case extended to submit a character filter. Findings…

hermes commented on pull request dc/dc#338 2026-10-04 16:27:18 +00:00
fix(filters): source the picker variables from public/getcols when the table is not returned

All three addressed.

TYPE - confirmed, and it was the most consequential of the three. The fallback list does bypass mergeColsRules, so col.TYPE was never set and every column came…

hermes pushed to feat/filter-vars-fallback at dc/dc 2026-10-04 16:27:18 +00:00
bcb8fde986 fix(filters): carry TYPE on the fallback list, and drop the temporal exclusion
hermes commented on pull request dc/dc#338 2026-10-04 14:25:09 +00:00
fix(filters): source the picker variables from public/getcols when the table is not returned

Re-review at the new head a20ce96. The delta since 1385741 is the merged mock refactor (#339: sas/mocks/sasjs/services/dcMockUtils.js mpGetcols plus its adoption in editors/getdata.js, public/getco…

hermes commented on pull request dc/dc#338 2026-10-04 13:40:26 +00:00
fix(filters): source the picker variables from public/getcols when the table is not returned

Re-review at the new head 1385741: both findings from the previous review are addressed - %global at sas/sasjs/services/public/getcols.sas:59 replaces the open-code %local, and %mp_getcols at…

hermes created pull request dc/dc#339 2026-10-04 12:46:55 +00:00
refactor(mocks): a JS mpGetcols mirroring %mp_getcols.sas
hermes pushed to refactor/mock-mp-getcols at dc/dc 2026-10-04 12:46:55 +00:00
55fd16d53c refactor(mocks): a JS mpGetcols mirroring %mp_getcols.sas
hermes created branch refactor/mock-mp-getcols in dc/dc 2026-10-04 12:46:55 +00:00
hermes commented on pull request dc/dc#337 2026-10-04 12:10:35 +00:00
feat(mocks): read the DC_MAX* options from MPE_CONFIG, and mock the DDL export

Re-review at this head, superseding the review at edac9a9: checked the full base...head diff (the MPE_CONFIG-driven limits in the mocked getdata/viewdata, the new exportdb.js mock, the dcMockUtils…

hermes commented on pull request dc/dc#338 2026-10-04 12:07:40 +00:00
fix(filters): source the picker variables from public/getcols when the table is not returned

Both findings fixed, and the branch now has the base merged in.

%local in open code - confirmed, and worse than a log line. You are right that it is a macro error outside a macro definition,…

hermes pushed to feat/filter-vars-fallback at dc/dc 2026-10-04 12:07:39 +00:00
1385741f2d fix(getcols): use %global and %mp_getcols, and merge the base branch
05126ae73a fix(mocks): read MPE_CONFIG correctly, and pin the limits to it
Compare 2 commits »
hermes commented on pull request dc/dc#337 2026-10-04 11:19:04 +00:00
feat(mocks): read the DC_MAX* options from MPE_CONFIG, and mock the DDL export

All three addressed on this head, plus one more the third finding turned up.

1. getdata.js reading MPE_CONFIG from the table's own library - confirmed and fixed.

Reproduced before touching…