Skip to content

CI shadow: fix5661-final (#5763) - #1

Open
philphauler wants to merge 4 commits into
develfrom
ci/fix5661-final
Open

philphauler wants to merge 4 commits into
develfrom
ci/fix5661-final

Conversation

@philphauler

Copy link
Copy Markdown
Owner

Fork-only CI preflight for nasa#5763. Not for review.

philphauler and others added 4 commits August 21, 2026 02:39
…RNING events

When paused, updateDebugTelemetryStruct() calls deserializeDirective() on
every telemetry tick. If the directive fails to deserialize, a WARNING_HI
event repeats at the telemetry rate. Caches the statement index so the
event fires only once per statement.

Fixes nasa#5661
sylvesterkaczmarek: m_debug.cachedStmtIndex was not cleared in
resetRuntime(), causing the cached-deserialization optimization to skip
deserialize when a new sequence starts at the same statement index as the
previous one. Set to 0xFFFFFFFF (sentinel for 'no cached entry') so the
first statement in any new sequence always deserializes properly.
- tlmWriteDebugCachesFailedDeserialize: paused on a statement that fails to
  deserialize, two telemetry ticks emit exactly one DirectiveDeserializeError;
  the cached path still refreshes Debug_StackSize. Without the fix: two events.
- tlmWriteDebugCacheKeyedOnStatementIndex: moving to a different failing
  statement emits a fresh event for that index.
- tlmWriteDebugCacheClearedOnRuntimeReset: cancel and run a second sequence
  whose statement 0 also fails; the first tick must emit a new event. Without
  invalidating cachedStmtIndex in resetRuntime the stale entry short-circuits
  and nothing is emitted for the new sequence.
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