Skip to content

Http1 short polling interactive async#2102

Merged
hulto merged 10 commits intomainfrom
add-http-short-poll-streaming
Mar 24, 2026
Merged

Http1 short polling interactive async#2102
hulto merged 10 commits intomainfrom
add-http-short-poll-streaming

Conversation

@hulto
Copy link
Copy Markdown
Collaborator

@hulto hulto commented Mar 17, 2026

What type of PR is this?

What this PR does / why we need it:

Which issue(s) this PR fixes:

Fixes #

google-labs-jules bot and others added 5 commits March 17, 2026 01:40
…ortal

Update the HTTP/1.1 transport to support bidirectional streaming via short polling for `ReverseShell` and `CreatePortal`. This enables interactive connections across agents restricted to HTTP-only communications.

- Define new gRPC stream configs for ReverseShell and CreatePortal.
- Add `handleShortPollStreaming` in `tavern` HTTP redirector for decoding POST payloads and replying with backend payloads.
- Update `http.rs` in `imix` transport to frequently POST requests to send output or ping, receiving commands iteratively.

Co-authored-by: hulto <7121375+hulto@users.noreply.github.com>
@github-actions
Copy link
Copy Markdown
Contributor

github-actions bot commented Mar 17, 2026

Summary

Tests 📝 Passed ✅ Failed ❌ Skipped ⏭️ Other ❓ Flaky 🍂 Duration ⏱️
2840    ±0 2840    ±0 0    ±0 0    ±0 0    ±0 0    ±0 1ms    ±0

Previous Results

Build 🏗️ Result 🧪 Tests 📝 Passed ✅ Failed ❌ Skipped ⏭️ Other ❓ Flaky 🍂 Duration ⏱️
#1867 2840 2840 0 0 0 0 40.7s

Insights

Average Tests per Run Total Flaky Tests Total Failed Slowest Test (p95)
2840 0 0 5.5s

Test Changes

0 test added, 0 removed

Slowest Tests

Test 📝 Results 📊 Duration (avg) ⏱️ Duration (p95) ⏱️
TestDockerExecutor_Build_ContextCancellation 1 5.5s 5.5s
eldritch-libsys: std::dll_inject_impl::tests::test_dll_inject_simple 1 5.1s 5.1s
TestInteractiveShell 1 5.1s 5.1s
TestOtherStreamOutput 1 5.0s 5.0s
imix::bin/imix: tests::task_tests::test_task_streaming_output 3 3.0s 3.0s
imix::bin/imix: tests::task_tests::test_task_streaming_output 3 3.0s 3.0s
imix::bin/imix: tests::task_tests::test_task_streaming_output 3 3.0s 3.0s
imix::bin/imix: tests::task_tests::test_task_eprint_behavior 3 3.0s 3.0s
imix::bin/imix: tests::task_tests::test_task_eprint_behavior 3 3.0s 3.0s
imix::bin/imix: tests::task_tests::test_task_eprint_behavior 3 3.0s 3.0s

🎉 No failed tests in this run. | 🍂 No flaky tests in this run.

Github Test Reporter by CTRF 💚

🔄 This comment has been updated

@hulto hulto merged commit 36ef934 into main Mar 24, 2026
8 checks passed
@hulto hulto deleted the add-http-short-poll-streaming branch March 24, 2026 03:50
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