Skip to content

test(desktop): harden divergence-probe + theme-sync smoke specs (research-validated)#311

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

test(desktop): harden divergence-probe + theme-sync smoke specs (research-validated)#311
inkeep-oss-sync[bot] merged 1 commit into
mainfrom
copybara/sync

Conversation

@inkeep-oss-sync

Copy link
Copy Markdown
Contributor

No description provided.

…arch-validated) (#2169)

Implements the research-validated follow-ups from #2162 (the items that survived
a /research pass on the flakiness-audit backlog):

- Port detection: replace the `ps -axww` argv-scrape in the agent-patch and
  rename divergence probes with an in-renderer read of
  window.okDesktop.config.apiOrigin (the canonical value, same source as the
  argv; the editor-content gate already guarantees it's live). Deletes the macOS
  basename hack + argv-truncation / no-retry hard-fail mode. Sibling specs
  already read config this way.
- Human-sentinel oracle: keep the reorder-tolerant single-char count (a
  multi-char token would be LESS CRDT-tolerant) but make the no-collision
  invariant explicit -- a guard assertion that the seed + agent replacement
  contain no sentinel char, failing loud on a future content change.
- Drop the redundant wait(150) before the keystroke phase (the awaited
  toContainText already proves the seed converged); leave the bold-mark settle
  (no deterministic signal in the production renderer).
- theme-sync: flatten the two already-settled 1s toPass reads to direct
  assertions (the awaited setThemeSource resolves only after main set the
  value); leave the racing toPass that needs late-resolution tolerance.

Verified vs real Electron: rename 2/2 + agent-patch 5/5. theme-sync verifies on
CI (does not reproduce on a local non-packaged build). Remaining #2162 items
(intentional race fuzz, CI-skipped terminal-dock) left as-is per the research.

GitOrigin-RevId: 9e70f4e7a95880b8ffe62e1f6ab0ad3af22eba4c

@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/28216623782). 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 6035317 into main Jun 26, 2026
@inkeep-oss-sync inkeep-oss-sync Bot deleted the copybara/sync branch June 26, 2026 04:14
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