Skip to content

fix: preserve instance selections missing from response metadata - #239

Merged
novykh merged 1 commit into
mainfrom
fix/preserve-unmatched-instance-selection
Sep 29, 2026
Merged

novykh merged 1 commit into
mainfrom
fix/preserve-unmatched-instance-selection

Conversation

@ktsaou

@ktsaou ktsaou commented Sep 29, 2026

Copy link
Copy Markdown
Member

Summary

Preserve each valid instance selector when it has no match in a response's instance summary. Continue resolving matching IDs, names and patterns and deduplicating them as before.

Previously an empty or incomplete summary removed unmatched selections. If every selection disappeared, the next data request used instances: ["*"], silently broadening a chart intended for a specific instance/node. A partial summary also permanently lost missing members of a multi-selection.

Scope

One normalization fallback and focused regression tests. No changes to chart rendering, caching, routing or anomaly scoring. This fixes the independently reproduced selector loss; it does not claim to establish the cause of every delayed chart render.

Validation

  • Observed four regression assertions fail before the fix.
  • Ran normalization, payload parsing and data request builder tests after the fix.
  • git diff --check.

@ktsaou
ktsaou marked this pull request as ready for review September 29, 2026 10:11
@novykh
novykh merged commit 06a9883 into main Sep 29, 2026
1 of 2 checks passed
@novykh
novykh deleted the fix/preserve-unmatched-instance-selection branch September 29, 2026 12:03
novykh added a commit that referenced this pull request Sep 29, 2026
* Drop touch gestures that gain a finger the chart never saw

dygraphs records the touches of touchstart and, on a two-finger touchmove,
reads initialTouches[1]. When the second finger lands outside the chart its
touchstart never reaches the canvas, yet later touchmove events list both
fingers, so moveTouch read initialTouches[1].pageX of undefined. touchMove now
clears the stale gesture and ignores the event when it carries more touches than
the gesture started with.

* fix: preserve instance selections missing from response metadata (#239)

* v6.12.16

---------

Co-authored-by: Costa Tsaousis <costa@tsaousis.gr>
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.

2 participants