fix: restore CI compatibility regressions#17334
Closed
BeliefanX wants to merge 21 commits into
Closed
Conversation
d55acb7 to
583f5f2
Compare
This was referenced Apr 29, 2026
753bab9 to
0730e32
Compare
6f235db to
bf93d86
Compare
Contributor
Author
|
Closing this older CI-compatibility bundle to reduce stale/dirty PR surface. If any narrow fix from here is still needed, I'll split it into a smaller focused PR instead. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
This PR is a CI compatibility / regression-fix bundle only. It does not intentionally add product features.
It refreshes the branch onto current
mainand keeps a set of small defensive fixes that were needed to make the current test matrix reliable:gateway.session.normalize_whatsapp_identifieras a compatibility re-export;_rpc_lock, TUI session history stubs withoutinclude_ancestors, PTY/websocket EOF handling, Gemini native adapter mocks, stale dashboard process checks, config category merging, and gateway cancellation cleanup;VERCEL_PROJECT_ID/VERCEL_TEAM_IDenvironment leakage;The intent is to keep this as a maintenance PR that restores CI compatibility on top of current upstream, rather than a behavior-changing feature PR.
Rebase / conflict status
origin-upstream/main.hermes_cli/web_server.pyby preserving upstream structure and keeping the config-category compatibility mapping.dirty/conflicting after GitHub recomputes mergeability.Test plan
python -m py_compile agent/anthropic_adapter.py agent/auxiliary_client.py agent/copilot_acp_client.py agent/redact.py gateway/platforms/base.py gateway/run.py gateway/session.py hermes_cli/main.py hermes_cli/pty_bridge.py hermes_cli/web_server.py tools/mcp_tool.py tui_gateway/server.py tests/agent/test_anthropic_adapter.py tests/tools/test_mcp_dynamic_discovery.pypython -m pytest -q tests/agent/test_minimax_provider.py::TestMinimaxPreserveDots::test_normalize_converts_without_preserve tests/hermes_cli/test_auth_commands.py::test_credential_sources_registry_has_expected_steps tests/hermes_cli/test_setup.py::test_vercel_setup_prefills_project_and_team_from_link_file tests/test_cli_skin_integration.py::TestCompactBannerSkinIntegration::test_compact_banner_shows_version_label tests/hermes_cli/test_web_server.py::TestPtyWebSocket::test_pub_broadcasts_to_events_subscribers→5 passedpython -m pytest -q tests/agent/test_anthropic_adapter.py tests/agent/test_minimax_provider.py tests/hermes_cli/test_auth_commands.py tests/hermes_cli/test_setup.py tests/hermes_cli/test_web_server.py::TestBuildSchemaFromConfig::test_no_single_field_categories tests/hermes_cli/test_web_server.py::TestPtyWebSocket::test_pub_broadcasts_to_events_subscribers tests/gateway/test_gateway_shutdown.py::test_cancel_background_tasks_cancels_inflight_message_processing tests/hermes_cli/test_gateway_service.py tests/hermes_cli/test_gateway_wsl.py tests/hermes_cli/test_backup.py tests/hermes_cli/test_claw.py tests/tools/test_mcp_dynamic_discovery.py tests/tools/test_local_interrupt_cleanup.py tests/tools/test_browser_orphan_reaper.py tests/run_agent/test_background_review_toolset_restriction.py→546 passed