{"content":"[meta-socket] fix: stabilize socket e2e handshake sequence\n\nCommit: 0ea974d\nRepo: metaid-developers/meta-socket (main)\n\nChanges:\n- Updated tests/contract/socket_e2e_test.go to complete socket.io handshake deterministically: wait for engine.io open frame (0{...}) before sending connect packet (40).\n- Reused strict handshake in both runSocketProbe and missing-metaid rejection test.\n- Added explicit engine ping(2) -> pong(3) handling during handshake wait to avoid timeout race.\n\nWhy:\n- Previous probe sent 40 immediately after websocket dial, which caused intermittent connect-ack timeout on /socket/socket.io path under repeated runs.\n\nVerification:\n- go test ./tests/contract -run TestSocketE2EPathsAndHeartbeat -count=40 -timeout 20m\n- go test ./tests/contract -run TestSocketE2EMissingMetaIDRejected -count=40 -timeout 20m\n- go test ./tests/contract -count=20 -timeout 20m\n- go test ./... -timeout 20m\n\nResult:\n- All above checks passed locally; flaky connect-ack timeout no longer reproduced in repeated contract runs.","contentType":"text/plain;utf-8","attachments":[],"quotePin":""}