• Joined on 2026-08-13
hermes suggested changes for dc/dc#306 2026-08-18 13:31:22 +00:00
fix: core major bump plus autofix of viya context on deploy

Hermes Agent Code Review (new commits 45226e1, 003550b)

hermes commented on pull request dc/dc#306 2026-08-18 13:31:22 +00:00
fix: core major bump plus autofix of viya context on deploy

Critical: _debug=131 is still hard-enabled. The comment says it will be turned off before final release, but there is no guard (env flag, build conditional, or linked TODO) to ensure that happens. Please revert to ' ' (debug off) or gate behind environment.production ? ' ' : '&_debug=131' so debug output only appears in dev builds. This is the only blocking item.

hermes commented on pull request dc/dc#306 2026-08-18 13:31:22 +00:00
fix: core major bump plus autofix of viya context on deploy

Carried over (non-blocking): const anyDetails: any = details bypasses the ComputeContextDetails type to probe runAsUserId / environment.runAsUserId. If these fields appear on Viya responses, extend the model so the fallbacks are type-checked.

hermes commented on pull request dc/dc#306 2026-08-18 13:31:22 +00:00
fix: core major bump plus autofix of viya context on deploy

Carried from first review: symget('_contextname') is concatenated directly into the PRX replacement string. A context name containing $ or \ would be interpreted as a backreference. Practical risk is low (context names are plain identifiers), but confirm context names can never contain $/\, or escape the value before embedding.

hermes commented on pull request dc/dc#306 2026-08-18 13:30:18 +00:00
fix: core major bump plus autofix of viya context on deploy

Test Coverage

**Services: 22/60 (37%)

hermes pushed to sasfixes at dc/dc 2026-08-18 12:11:03 +00:00
003550b965 chore: reference configurator improvements for Viya deploy
45226e19d6 chore: address PR #306 review feedback
Compare 2 commits »
hermes closed pull request dc/dc#307 2026-08-18 12:02:34 +00:00
fix: core major bump plus autofix of viya context on deploy (review feedback)
hermes commented on pull request dc/dc#306 2026-08-18 11:46:50 +00:00
fix: core major bump plus autofix of viya context on deploy

Review feedback has been addressed in PR #307 (pushed from a fork since the hermes token does not have write access to dc/dc directly).

Changes:

  1. Debug mode comments improved to explain the…
hermes created pull request dc/dc#307 2026-08-18 11:46:30 +00:00
fix: core major bump plus autofix of viya context on deploy (review feedback)
hermes commented on pull request dc/dc#306 2026-08-18 11:35:47 +00:00
fix: core major bump plus autofix of viya context on deploy

Test Coverage

**Services: 22/60 (37%)

hermes commented on pull request dc/dc#306 2026-08-18 11:35:35 +00:00
fix: core major bump plus autofix of viya context on deploy

Hermes Agent Code Review (new commit df2027d)

hermes commented on pull request dc/dc#306 2026-08-18 11:35:35 +00:00
fix: core major bump plus autofix of viya context on deploy

Suggestion: anyDetails: any = details bypasses ComputeContextDetails to probe runAsUserId / environment.runAsUserId. If these fields are part of the Viya response, model them on Attributes/ComputeContextDetails (as was done for runServerAs/reuseServerProcesses) so the fallbacks are type-checked rather than any-probed.

hermes commented on pull request dc/dc#306 2026-08-18 11:35:35 +00:00
fix: core major bump plus autofix of viya context on deploy

Suggestion: getFilteredComputeContexts() is called in the @for expression, so it re-runs (filter + new array) on every change-detection cycle. Consider caching the result in a property updated by onBatchIdChange / onShowAllContextsChange / getComputeContextDetails and binding the @for to that property instead.

hermes commented on pull request dc/dc#306 2026-08-18 11:35:35 +00:00
fix: core major bump plus autofix of viya context on deploy

Warning: font-size: 0.55rem (≈8.8px) for .deploy-field-description is unusually small for the help text beneath each deploy field, and combined with opacity: 0.75 it will be hard to read. This looks like a typo — 0.85rem or 0.75rem would be more in line with Clarity's body text. Please confirm the intended size.

hermes commented on pull request dc/dc#306 2026-08-18 11:35:35 +00:00
fix: core major bump plus autofix of viya context on deploy

Critical: debug is hard-enabled here ('&_debug=131') with the off-variant commented out. The previous reviewed commit had _debug = ' ' (off). This appears to be a debug leftover — every makedata run from this tab will now stream the full debug log. Revert to ' ' unless this is intentionally toggled elsewhere.

hermes commented on pull request dc/dc#306 2026-08-17 15:00:23 +00:00
fix: core major bump plus autofix of viya context on deploy

Test Coverage Report

Ran npx @sasjs/cli c -t server-ci from sas/sasjs/ against this PR branch (commit 6527c10).

Result: SAS compile succeeded.

hermes commented on pull request dc/dc#306 2026-08-17 14:59:53 +00:00
fix: core major bump plus autofix of viya context on deploy

(anchor test - will be removed)

hermes commented on pull request dc/dc#306 2026-08-17 14:59:53 +00:00
fix: core major bump plus autofix of viya context on deploy

ANCHOR TEST: regex metachar concern at line 249

hermes commented on pull request dc/dc#306 2026-08-17 14:59:10 +00:00
fix: core major bump plus autofix of viya context on deploy

Hermes Agent Code Review

hermes commented on pull request dc/dc#306 2026-08-17 14:59:10 +00:00
fix: core major bump plus autofix of viya context on deploy

Suggestion: the new DC.html context-rewrite logic (lines 214-267) has no test. testsetup.sas runs makedata but doesn't assert that contextname="..." in DC.html was updated to &_contextname. Consider reading DC.html back after makedata and asserting the contextname= value equals &defaultcontext.