Skip to content

fix(open-knowledge): reset worker content baseline for FileTree empty-space flakes (#1911)#185

Merged
inkeep-oss-sync[bot] merged 1 commit into
mainfrom
copybara/sync
Jun 17, 2026
Merged

fix(open-knowledge): reset worker content baseline for FileTree empty-space flakes (#1911)#185
inkeep-oss-sync[bot] merged 1 commit into
mainfrom
copybara/sync

Conversation

@inkeep-oss-sync

Copy link
Copy Markdown
Contributor

No description provided.

…-space flakes (#1911) (#1933)

* docs(open-knowledge): playbook lesson — verify flake fixes under full-suite contention

The restored e2e-stability detector's first run caught file-tree-deselect:61
still flaking under workers=4 full-suite contention, after it had verified
30/30 green in an isolated --repeat-each run. Adds Round-2 retro point 5:
an isolated single-spec run can false-green; the done-gate must run the
spec inside the full suite (detector invocation), not alone.

* fix(open-knowledge): reset worker content baseline before FileTree empty-space tests

The workerServer fixture is shared across every e2e test on a Playwright
worker, and api.testReset() only truncates the single test-doc doc, so docs
created by prior specs persist and accumulate on that worker. Under the full
concurrent suite the sidebar fills past the viewport, so the empty area the
deselect test clicks (box.height - 8) is actually a real row (selecting it
steals roving focus), and a leftover root note from an earlier drag-to-root
promotion collides with the next (two same-named rows). Both are contention-
only flakes the e2e-stability detector caught (#1911) that an isolated
--repeat-each run missed.

Adds a shared resetContentToFixtureBaseline helper (the shared form of the
per-spec clearVisibleContentEntries already in file-tree-create and editor-
tabs) plus a beforeEach in file-tree-deselect-to-root and file-tree-drag-to-
root that restores the boot-seeded baseline, preserving
REQUIRED_FIXTURE_ENTRY_NAMES.

GitOrigin-RevId: 0955c9f2d6d8e90013c4d0ea71583d4cb259e9c3

@inkeep-internal-ci inkeep-internal-ci Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Automated approval from agents-private public-mirror-sync (run: https://github.com/inkeep/agents-private/actions/runs/27714937182). Source of truth is the monorepo; direct edits on inkeep/open-knowledge are overwritten on next sync.

@inkeep-oss-sync
inkeep-oss-sync Bot merged commit 942a906 into main Jun 17, 2026
@inkeep-oss-sync
inkeep-oss-sync Bot deleted the copybara/sync branch June 17, 2026 19:43
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