Skip to content

fix(e2e): keep hosted-search checks aligned with Pi - #1375

Merged
vastsa merged 4 commits into
mainfrom
codex/fix-pr1364-hosted-search-pin
Oct 4, 2026
Merged

vastsa merged 4 commits into
mainfrom
codex/fix-pr1364-hosted-search-pin

Conversation

@vastsa

@vastsa vastsa commented Oct 4, 2026

Copy link
Copy Markdown
Owner

This follow-up carries shabhui's original #1364 fix and removes the version-drift cause instead of replacing one hard-coded version with another.

The hosted-search E2E now derives its expected version from agent-runtime's exact @earendil-works/pi-ai pin and asserts all three installed Pi packages match it. Running the harness also exposed a fixture gap: the Pi 1.0.1 runtime persists transcript messages with session.appendMessage, which the offline host had not implemented. The fixture now stores those messages idempotently by message id.

Validation:

  • node scripts/e2e-hosted-search.mjs passed all 7 offline scenarios on a freshly built task-candidate bundle.
  • node --check passed for both changed scripts.
  • git diff --check passed.
  • origin/main is an ancestor of this head; latest base is included.
  • pnpm automatically materialized missing workspace dependencies during the isolated build because the fresh worktree had no compatible installation state. No live provider or credential was used.

Supersedes #1364.

shabhui and others added 2 commits October 4, 2026 11:02
PR #1357 bumped the workspace to Pi 1.0.1 but left the hosted-search e2e asserting manifest.version === '1.0.0', so the run fails on the installed 1.0.1 packages. Track the locked version.
The hosted-search regression should track the exact Pi version declared by agent-runtime so future dependency upgrades do not stale the harness. Keep all Pi packages aligned to that pin and make the offline fixture persist runtime messages through the host RPC it exposes.
Copilot AI balanced review requested due to automatic review settings October 4, 2026 03:09

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

@vastsa
vastsa merged commit f784eed into main Oct 4, 2026
3 checks passed
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.

3 participants