Skip to content

fix(runtime): align idle timeout grammar - #1

Open
BigDataDZ wants to merge 1 commit into
NIU-123370:niu/fix-4106-runtime-idlefrom
BigDataDZ:codex/pr-4111-idle-grammar
Open

BigDataDZ wants to merge 1 commit into
NIU-123370:niu/fix-4106-runtime-idlefrom
BigDataDZ:codex/pr-4111-idle-grammar

Conversation

@BigDataDZ

Copy link
Copy Markdown

Summary

  • replace Python str.strip() and JavaScript String.trim() with the same explicit grammar
  • accept decimal digits surrounded only by ASCII whitespace
  • reject NEL, File Separator, and BOM padding consistently in both runtimes
  • extend the shared fixture so reverting either side to its language-native trim semantics fails parity tests

Validation

  • pytest -q tests/control_plane/test_effect_runtime_integration.py — 39 passed on the real Python-to-Node path
  • node --experimental-strip-types --test tests/control_plane_ts/effect_runtime_config.test.ts — 11 passed
  • TypeScript control-plane typecheck — passed
  • Ruff and diff hygiene — passed
  • public-boundary scan — clean
  • standard premerge — 9/9 selected checks passed, including 8 control-plane/canary smokes

This is a focused follow-up to loopx-project#4111 and targets its current head branch directly.

Signed-off-by: BigDataDZ <76271875+BigDataDZ@users.noreply.github.com>
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.

1 participant