Skip to content

test(ui-test): retain debugger tree fixtures across calls - #93

Merged
BartvHelvert merged 1 commit into
masterfrom
test/ui-runtime-tree
Nov 6, 2026
Merged

BartvHelvert merged 1 commit into
masterfrom
test/ui-runtime-tree

Conversation

@BartvHelvert

Copy link
Copy Markdown
Owner

What this changes

Retain debugger tree enumeration and fixture reads inside a driver context. The runtime UI test could previously lose its cached remote JTreeTextFixture to frontend garbage collection while polling variables. The regression explicitly requests frontend GC between fixture creation and reuse, and retains the step, resume, pause and stop assertions.

Fixes #75

How it was tested

  • All three Windows targeted repetitions passed: https://github.com/BartvHelvert/CodeBridge/actions/runs/42092858203.
  • A WSL baseline attempt timed out during debugger startup under severe shared-memory pressure, before reaching the fixture check. It is not counted as validation.
  • Normal PR CI provides the full-suite check; not repeated locally.

Checklist

  • Nothing is special-cased for one extension.
  • A new feature has a UI test. Existing regression strengthened and run.
  • No internal, override-only, obsolete or deprecated platform API.
  • docs/ is updated where behaviour changed, docs/status.md especially. Test fixture lifetime only.
  • Third-party material keeps its notice and is listed in NOTICE.md. No third-party material added.

Keep tree enumeration and fixture reads in one driver context. Exercise frontend GC between creation and reuse without dropping debugger-control assertions.

Refs #75
@BartvHelvert
BartvHelvert merged commit 11b9bac into master Nov 6, 2026
7 of 8 checks passed
@BartvHelvert
BartvHelvert deleted the test/ui-runtime-tree branch November 6, 2026 21:02
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.

Debugger UI test can lose its remote tree fixture to GC

1 participant