Skip to content

test: add E2E tests for parity sync features#9

Merged
0xeb merged 2 commits intomainfrom
feature/parity-sync
Feb 13, 2026
Merged

test: add E2E tests for parity sync features#9
0xeb merged 2 commits intomainfrom
feature/parity-sync

Conversation

@0xeb
Copy link
Owner

@0xeb 0xeb commented Feb 13, 2026

Summary

  • Add 10 new E2E tests covering parity sync features: foreground session API, graceful stop, lifecycle events, hooks (pre/post tool use, user prompt submitted), user input handlers, tool error handling, and make_tool with normalize_result
  • All tests use BYOK infrastructure and follow existing E2ETest fixture patterns
  • All 10 tests pass (verified locally, 30/30 including matched unit tests)

Test plan

  • All 10 new tests pass locally with BYOK credentials
  • Existing tests unaffected (30/30 total with filter)

0xeb added 2 commits February 12, 2026 15:10
…uilder

- Add LogLevel, ToolResultType, ReasoningEffort enums with JSON serde
- Add StopError struct and MCPServerConfig variant type
- Add on_lifecycle(), get/set_foreground_session_id() client methods
- Change stop() to return future<vector<StopError>>
- Set COPILOT_SDK_AUTH_TOKEN env var when github_token provided
- Smart use_logged_in_user default (false with token, true without)
- Add SessionShutdown event type with full data parsing
- Add normalize_result<T>() and error-safe handler wrappers in tool builder
- Add URL parsing, large payload JSONRPC, and event forward-compat tests
Cover foreground session API, graceful stop, lifecycle events,
user input handlers, pre/post tool hooks, user prompt submitted
hook, tool handler exception safety, and make_tool normalize_result.
@0xeb 0xeb merged commit 5404601 into main Feb 13, 2026
3 checks passed
@0xeb 0xeb deleted the feature/parity-sync branch February 13, 2026 17:31
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