[{"id":"19638023754","type":"PullRequestReviewEvent","actor":{"id":1131315,"login":"phil-opp","display_login":"phil-opp","gravatar_id":"","url":"https://api.github.com/users/phil-opp","avatar_url":"https://avatars.githubusercontent.com/u/1131315?"},"repo":{"id":460615268,"name":"dora-rs/dora","url":"https://api.github.com/repos/dora-rs/dora"},"payload":{"review":{"id":5837797648,"node_id":"PRR_kwDOG3RuZM8AAAABW_W5EA","user":{"login":"phil-opp","id":1131315,"node_id":"MDQ6VXNlcjExMzEzMTU=","avatar_url":"https://avatars.githubusercontent.com/u/1131315?v=4","gravatar_id":"","url":"https://api.github.com/users/phil-opp","html_url":"https://github.com/phil-opp","followers_url":"https://api.github.com/users/phil-opp/followers","following_url":"https://api.github.com/users/phil-opp/following{/other_user}","gists_url":"https://api.github.com/users/phil-opp/gists{/gist_id}","starred_url":"https://api.github.com/users/phil-opp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/phil-opp/subscriptions","organizations_url":"https://api.github.com/users/phil-opp/orgs","repos_url":"https://api.github.com/users/phil-opp/repos","events_url":"https://api.github.com/users/phil-opp/events{/privacy}","received_events_url":"https://api.github.com/users/phil-opp/received_events","type":"User","user_view_type":"public","site_admin":false},"body":"🤖 *This is a fully automated review by Claude Code. No human checked it before it was posted, and it is advice only.*\n\nI re-reviewed head `5e124525`. The branch is now based on current `main` (`976e49e`) and merges cleanly.\n\n**The split request from 11-04 is done.** The diff against `main` only touches `send_reload` in `node_events.rs`, plus six tests in `tests.rs`. The strict `close_input`, the deferred-close tasks and tokens, the per-output Zenoh queues and receipts, and the lockfile and hub-client changes are all gone. So the open points from the 10-27, 10-28 and 10-30 reviews and the 11-04 comment no longer apply to this PR.\n\n**The fix is needed, and it looks correct:**\n- On `main`, `send_reload` returns `Ok(())` in three cases where the node never gets the reload: the channel is full, the channel is closed, or the local node has no subscription.\n- `Reload` counts as a control event in `send_timestamped`, so `Ok(false)` only happens when even the `CONTROL_EVENT_HEADROOM` slots are used up. Returning `Err` in that case is reasonable.\n- If the node runs on another daemon, `send_reload` still returns `Ok`. That is needed because `reload_dataflow` in the coordinator sends the request to every daemon of the dataflow and stops at the first `Err`.\n- No wire type or reply type changes, so this is a plain bug-fix behavior change.\n\n**I ran the tests.** I had to set `DORA_ZENOH_LISTEN=tcp/127.0.0.1:0` because my sandbox has no IPv6. On this head, all 6 `reload_*` tests pass. I then put back `main`'s `node_events.rs` and kept the new tests. Three of them fail as expected, each at its `expect_err`:\n- `reload_to_a_full_local_channel_reports_an_error`\n- `reload_to_a_closed_local_channel_reports_an_error_and_prunes_it`\n- `reload_to_a_local_node_without_a_subscription_explains_why`\n\nThe other three are guards for behavior that doesn't change, and they pass either way.\n\n**One small note, not blocking.** The CLI does not handle this error explicitly. The `--hot-reload` attach loop (`binaries/cli/src/command/start/attach.rs`, ~L130-140) has no arm for `ControlRequestReply::Error`, so the new error reaches the user as `Received unexpected Coordinator Reply: Error(...)`. The CLI keeps running, which is fine. If you want the message to read cleanly, a one-line `Error(err) => error!(\"reload failed: {err}\")` arm would do it. That could also be a follow-up.\n\n---\n_Generated by [Claude Code](https://claude.ai/code)_","commit_id":"5e124525228561707f0e097391e8c59a35df5af0","state":"commented","html_url":"https://github.com/dora-rs/dora/pull/3215#pullrequestreview-5837797648","pull_request_url":"https://api.github.com/repos/dora-rs/dora/pulls/3215","_links":{"html":{"href":"https://github.com/dora-rs/dora/pull/3215#pullrequestreview-5837797648"},"pull_request":{"href":"https://api.github.com/repos/dora-rs/dora/pulls/3215"}},"submitted_at":"2026-11-10T06:43:57Z","updated_at":"2026-11-10T06:43:57Z"},"pull_request":{"url":"https://api.github.com/repos/dora-rs/dora/pulls/3215","id":4303518268,"number":3215,"head":{"ref":"fix/bug-014-reload-delivery","sha":"5e124525228561707f0e097391e8c59a35df5af0","repo":{"id":1236526878,"url":"https://api.github.com/repos/SunSunSun689/dora","name":"dora"}},"base":{"ref":"main","sha":"976e49e106d5a059eb631074088ef349f8e155b2","repo":{"id":460615268,"url":"https://api.github.com/repos/dora-rs/dora","name":"dora"}}},"action":"created"},"public":true,"created_at":"2026-11-10T06:43:58Z","org":{"id":99922143,"login":"dora-rs","gravatar_id":"","url":"https://api.github.com/orgs/dora-rs","avatar_url":"https://avatars.githubusercontent.com/u/99922143?"}},{"id":"19637990793","type":"PullRequestReviewEvent","actor":{"id":1131315,"login":"phil-opp","display_login":"phil-opp","gravatar_id":"","url":"https://api.github.com/users/phil-opp","avatar_url":"https://avatars.githubusercontent.com/u/1131315?"},"repo":{"id":460615268,"name":"dora-rs/dora","url":"https://api.github.com/repos/dora-rs/dora"},"payload":{"review":{"id":5837793978,"node_id":"PRR_kwDOG3RuZM8AAAABW_Wqug","user":{"login":"phil-opp","id":1131315,"node_id":"MDQ6VXNlcjExMzEzMTU=","avatar_url":"https://avatars.githubusercontent.com/u/1131315?v=4","gravatar_id":"","url":"https://api.github.com/users/phil-opp","html_url":"https://github.com/phil-opp","followers_url":"https://api.github.com/users/phil-opp/followers","following_url":"https://api.github.com/users/phil-opp/following{/other_user}","gists_url":"https://api.github.com/users/phil-opp/gists{/gist_id}","starred_url":"https://api.github.com/users/phil-opp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/phil-opp/subscriptions","organizations_url":"https://api.github.com/users/phil-opp/orgs","repos_url":"https://api.github.com/users/phil-opp/repos","events_url":"https://api.github.com/users/phil-opp/events{/privacy}","received_events_url":"https://api.github.com/users/phil-opp/received_events","type":"User","user_view_type":"public","site_admin":false},"body":"🤖 *This is a fully automated review by Claude Code. No human checked it before it was posted, and it is advice only.*\n\nI re-reviewed head `3a384f7` (3 commits on top of `976e49e`, 4 files).\n\n**Earlier points are resolved**\n- **Split:** the PR now has exactly the scope suggested on 2026-11-04. That is the DDS domain context, forced reliable service/action QoS, the transient_local status channel, the Fibonacci `sequence` rename, and the docs. The startup wait, the event buffer (and its 65th-event bail), `GoalSendState`, the `run.rs` harnesses with the wrong server package, the tautological `handler-node` test, and the commits already on `main` are all gone.\n- **Domain cap:** the `<= 232` cap now applies only on the DDS path (`parse_dds_ros_domain_id`). The Zenoh call sites keep their old behavior.\n- **Merge:** the branch is based on current `main` and merges cleanly. `#4043`'s `subscriber_thread_tests` is kept.\n\n**Checked locally**\n- fmt and `clippy -p dora-ros2-bridge-node --all-targets -D warnings` are clean.\n- `cargo test -p dora-ros2-bridge-node` passes: 44 tests.\n- The domain regression test works. I changed `create_ros_node` back to `Context::new()` and kept everything else. `created_node_uses_requested_domain_id` then fails (`left: 0, right: 181`). The other 18 new tests still pass.\n\n**One remaining gap, not blocking**\n- The QoS tests only call the helpers. I changed the call sites in `run_service_mode` and `run_action_mode` back to `config.qos.to_rustdds_qos()`, and passed `qos` for the status channel. All 19 new tests still passed.\n- So nothing guards the part of the fix that actually picks reliable QoS for services and actions. This was first raised on 2026-09-24.\n- If you want to close it, a small `fn endpoint_qos_for(mode, &config)` used by both modes could be tested directly.\n\nOtherwise this looks like a correct, narrowly scoped bug fix.\n\n---\n_Generated by [Claude Code](https://claude.ai/code)_","commit_id":"3a384f7be28e9cb6b172b437425b2d85ae2a95f0","state":"commented","html_url":"https://github.com/dora-rs/dora/pull/2878#pullrequestreview-5837793978","pull_request_url":"https://api.github.com/repos/dora-rs/dora/pulls/2878","_links":{"html":{"href":"https://github.com/dora-rs/dora/pull/2878#pullrequestreview-5837793978"},"pull_request":{"href":"https://api.github.com/repos/dora-rs/dora/pulls/2878"}},"submitted_at":"2026-11-10T06:43:27Z","updated_at":"2026-11-10T06:43:27Z"},"pull_request":{"url":"https://api.github.com/repos/dora-rs/dora/pulls/2878","id":4156622485,"number":2878,"head":{"ref":"feat","sha":"3a384f7be28e9cb6b172b437425b2d85ae2a95f0","repo":{"id":1236526878,"url":"https://api.github.com/repos/SunSunSun689/dora","name":"dora"}},"base":{"ref":"main","sha":"976e49e106d5a059eb631074088ef349f8e155b2","repo":{"id":460615268,"url":"https://api.github.com/repos/dora-rs/dora","name":"dora"}}},"action":"created"},"public":true,"created_at":"2026-11-10T06:43:29Z","org":{"id":99922143,"login":"dora-rs","gravatar_id":"","url":"https://api.github.com/orgs/dora-rs","avatar_url":"https://avatars.githubusercontent.com/u/99922143?"}},{"id":"19637875446","type":"PullRequestReviewEvent","actor":{"id":1131315,"login":"phil-opp","display_login":"phil-opp","gravatar_id":"","url":"https://api.github.com/users/phil-opp","avatar_url":"https://avatars.githubusercontent.com/u/1131315?"},"repo":{"id":460615268,"name":"dora-rs/dora","url":"https://api.github.com/repos/dora-rs/dora"},"payload":{"review":{"id":5837780556,"node_id":"PRR_kwDOG3RuZM8AAAABW_V2TA","user":{"login":"phil-opp","id":1131315,"node_id":"MDQ6VXNlcjExMzEzMTU=","avatar_url":"https://avatars.githubusercontent.com/u/1131315?v=4","gravatar_id":"","url":"https://api.github.com/users/phil-opp","html_url":"https://github.com/phil-opp","followers_url":"https://api.github.com/users/phil-opp/followers","following_url":"https://api.github.com/users/phil-opp/following{/other_user}","gists_url":"https://api.github.com/users/phil-opp/gists{/gist_id}","starred_url":"https://api.github.com/users/phil-opp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/phil-opp/subscriptions","organizations_url":"https://api.github.com/users/phil-opp/orgs","repos_url":"https://api.github.com/users/phil-opp/repos","events_url":"https://api.github.com/users/phil-opp/events{/privacy}","received_events_url":"https://api.github.com/users/phil-opp/received_events","type":"User","user_view_type":"public","site_admin":false},"body":"🤖 *This is a fully automated review by Claude Code. No human checked it before it was posted, and it is advice only.*\n\nNo issues found.\n\nWhat I checked:\n- **The change is needed.** `SendMessage`/`OutputSent` carry `Metadata`, whose `Parameter` enum can grow, so on main a newer node's output can fail to decode while its variant tag is still valid. The daemon then writes a `DaemonReply::Result(Err)` that the node never reads, because `daemon_connection::tcp::request` returns `Empty` without reading for these variants. The node takes that stray frame as the reply to its next request. Reading the leading varint tag is the smallest fix that keeps the connection aligned.\n- **Tag classification.** The tag constants (2/3) match the variant order. `frame_tag_matches_the_reply_policy` pins them against `expects_tcp_binary_reply`/`expects_tcp_json_reply`. Unknown, multi-byte and empty tags fall back to \"expects a reply\", which follows the rule on `DaemonRequest`. `NodeConfig`'s payload is a plain `NodeId`, so it cannot hit this path in practice.\n- **Other paths.** `local_listener::receive_message`, the dynamic-node path, returns an error on a decode failure instead of replying, so it cannot desync. The node side's zenoh `Metadata` attachment decode already skips undecodable attachments. I found no other daemon-side `DaemonRequest` decode that replies.\n- **Dropping the frame.** The node had no way to receive an error for these requests before this PR either, since it never reads a reply. So dropping the frame with a daemon-side warning loses no signal the node relied on, and the wire format is unchanged.\n- **Regression tests.** With the PR's non-test change to `binaries/daemon/src/node_communication/tcp.rs` reverted and the tests kept, `undecodable_send_message_gets_no_reply` fails 1/1 (`the daemon must not reply to an undecodable SendMessage, got Ok(Ok(1))`). With the fix in place, both `undecodable*` daemon tests and all 3 `reply_policy_tests` in `dora-message` pass.\n\n---\n_Generated by [Claude Code](https://claude.ai/code)_","commit_id":"659555c20e44fb24846e5da3971f3b0d7ec8eaeb","state":"commented","html_url":"https://github.com/dora-rs/dora/pull/4117#pullrequestreview-5837780556","pull_request_url":"https://api.github.com/repos/dora-rs/dora/pulls/4117","_links":{"html":{"href":"https://github.com/dora-rs/dora/pull/4117#pullrequestreview-5837780556"},"pull_request":{"href":"https://api.github.com/repos/dora-rs/dora/pulls/4117"}},"submitted_at":"2026-11-10T06:41:45Z","updated_at":"2026-11-10T06:41:45Z"},"pull_request":{"url":"https://api.github.com/repos/dora-rs/dora/pulls/4117","id":5235797157,"number":4117,"head":{"ref":"claude/elegant-fermat-y8srtb-undecodable-no-reply","sha":"659555c20e44fb24846e5da3971f3b0d7ec8eaeb","repo":{"id":460615268,"url":"https://api.github.com/repos/dora-rs/dora","name":"dora"}},"base":{"ref":"main","sha":"976e49e106d5a059eb631074088ef349f8e155b2","repo":{"id":460615268,"url":"https://api.github.com/repos/dora-rs/dora","name":"dora"}}},"action":"created"},"public":true,"created_at":"2026-11-10T06:41:47Z","org":{"id":99922143,"login":"dora-rs","gravatar_id":"","url":"https://api.github.com/orgs/dora-rs","avatar_url":"https://avatars.githubusercontent.com/u/99922143?"}},{"id":"19637819388","type":"IssueCommentEvent","actor":{"id":818728,"login":"1bsyl","display_login":"1bsyl","gravatar_id":"","url":"https://api.github.com/users/1bsyl","avatar_url":"https://avatars.githubusercontent.com/u/818728?"},"repo":{"id":330008801,"name":"libsdl-org/SDL","url":"https://api.github.com/repos/libsdl-org/SDL"},"payload":{"action":"created","issue":{"url":"https://api.github.com/repos/libsdl-org/SDL/issues/14962","repository_url":"https://api.github.com/repos/libsdl-org/SDL","labels_url":"https://api.github.com/repos/libsdl-org/SDL/issues/14962/labels{/name}","comments_url":"https://api.github.com/repos/libsdl-org/SDL/issues/14962/comments","events_url":"https://api.github.com/repos/libsdl-org/SDL/issues/14962/events","html_url":"https://github.com/libsdl-org/SDL/pull/14962","id":3890277093,"node_id":"PR_kwDOE6uI4c7BJDRr","number":14962,"title":"Android: add command mechanism so that SDLActivity","user":{"login":"1bsyl","id":818728,"node_id":"MDQ6VXNlcjgxODcyOA==","avatar_url":"https://avatars.githubusercontent.com/u/818728?v=4","gravatar_id":"","url":"https://api.github.com/users/1bsyl","html_url":"https://github.com/1bsyl","followers_url":"https://api.github.com/users/1bsyl/followers","following_url":"https://api.github.com/users/1bsyl/following{/other_user}","gists_url":"https://api.github.com/users/1bsyl/gists{/gist_id}","starred_url":"https://api.github.com/users/1bsyl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/1bsyl/subscriptions","organizations_url":"https://api.github.com/users/1bsyl/orgs","repos_url":"https://api.github.com/users/1bsyl/repos","events_url":"https://api.github.com/users/1bsyl/events{/privacy}","received_events_url":"https://api.github.com/users/1bsyl/received_events","type":"User","user_view_type":"public","site_admin":false},"labels":[],"state":"open","locked":false,"assignees":[],"milestone":{"url":"https://api.github.com/repos/libsdl-org/SDL/milestones/38","html_url":"https://github.com/libsdl-org/SDL/milestone/38","labels_url":"https://api.github.com/repos/libsdl-org/SDL/milestones/38/labels","id":15326692,"node_id":"MI_kwDOE6uI4c4A6d3k","number":38,"title":"3.8.0","description":"","creator":{"login":"slouken","id":2100061,"node_id":"MDQ6VXNlcjIxMDAwNjE=","avatar_url":"https://avatars.githubusercontent.com/u/2100061?v=4","gravatar_id":"","url":"https://api.github.com/users/slouken","html_url":"https://github.com/slouken","followers_url":"https://api.github.com/users/slouken/followers","following_url":"https://api.github.com/users/slouken/following{/other_user}","gists_url":"https://api.github.com/users/slouken/gists{/gist_id}","starred_url":"https://api.github.com/users/slouken/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/slouken/subscriptions","organizations_url":"https://api.github.com/users/slouken/orgs","repos_url":"https://api.github.com/users/slouken/repos","events_url":"https://api.github.com/users/slouken/events{/privacy}","received_events_url":"https://api.github.com/users/slouken/received_events","type":"User","user_view_type":"public","site_admin":false},"open_issues":59,"closed_issues":0,"state":"open","created_at":"2026-03-27T20:28:36Z","updated_at":"2026-11-09T20:59:54Z","due_on":null,"closed_at":null},"comments":175,"created_at":"2026-02-03T09:42:33Z","updated_at":"2026-11-10T06:41:53Z","closed_at":null,"assignee":null,"issue_field_values":[],"type":null,"active_lock_reason":null,"draft":false,"pull_request":{"url":"https://api.github.com/repos/libsdl-org/SDL/pulls/14962","html_url":"https://github.com/libsdl-org/SDL/pull/14962","diff_url":"https://github.com/libsdl-org/SDL/pull/14962.diff","patch_url":"https://github.com/libsdl-org/SDL/pull/14962.patch","merged_at":null},"body":"- [x] I confirm that I am the author of this code and release it to the SDL project under the Zlib license. This contribution does not contain code from other sources, including code generated by a Large Language Model (\"AI\").\r\n\r\n\r\n\r\nAdd some RPC commands so that SDLActivity defers most of SDL code internal execution it to the SDL main thread\r\nsee #14925\r\n\r\n\r\nMost SDLActivity code is deferred to main SDL C thread with some command RPC.\r\nexcept: \r\n- lifecycle event (which remains in main SDL C thread).\r\n- code to count recreation of activity because it is SDLActivity only.\r\n- code to initialize (nativeSetupJNI / nativeQuit), because it occurs before C Thread.\r\n- code which doesn't return void. (nativeGetHint()). because, value is needed immediately .\r\n- nativeInitMainThread() / nativeInitMainThread(), already in C thread.\r\n \r\n(SDL_Window *)Android_Window global variable is removed.\r\nAndroid ActivityMutex is removed.\r\nAndroid_LifecycleMutex, is used to lock the SDLActivity state. (Android_WaitActiveAndLockActivity()).\r\nsince it prevents the SDLActivity to add new lifecylce message, it prevents it to change state.\r\nfactorisation of EGLSurface/native_window handling. (use in surfaceChanged/Created/Destroy, and SDLCreate/DestroyWindow()\r\n\r\n\r\nIt seem to work quite nicely from my side. I tested various stuff, but not fully.\r\n(onNativeFileDialog() was the less easy to update, and I really have to tested).\r\nother functions are always simple. I guess, the ways it's written with named struct, prevent lot of type mistake.\r\n\r\nStill a draft.  please give a try.\r\nI'll try it also in production maybe in a while\r\n\r\n\r\nmaybe 2 todo:\r\n- I didn't add the HID native functions .. I am not familiar with them. but then didn't rely on SDL and use no locking.\r\nso maybe it makes not difference. (they could be added anyway afterwards). \r\n\r\n- we probably lose some event timestamp precision because event are sent from Main thread, and not SDLActivity thread. maybe it's not a big deal.\r\n  but if we need it for some command, we could add. (just enabled the timestamp, and then send it with the event).\r\n  maybe we wait to see, if this is really useful\r\n","reactions":{"url":"https://api.github.com/repos/libsdl-org/SDL/issues/14962/reactions","total_count":1,"+1":1,"-1":0,"laugh":0,"hooray":0,"confused":0,"heart":0,"rocket":0,"eyes":0},"timeline_url":"https://api.github.com/repos/libsdl-org/SDL/issues/14962/timeline","performed_via_github_app":null,"state_reason":null},"comment":{"url":"https://api.github.com/repos/libsdl-org/SDL/issues/comments/6760901909","html_url":"https://github.com/libsdl-org/SDL/pull/14962#issuecomment-6760901909","issue_url":"https://api.github.com/repos/libsdl-org/SDL/issues/14962","id":6760901909,"node_id":"IC_kwDOE6uI4c8AAAABkvstFQ","user":{"login":"1bsyl","id":818728,"node_id":"MDQ6VXNlcjgxODcyOA==","avatar_url":"https://avatars.githubusercontent.com/u/818728?v=4","gravatar_id":"","url":"https://api.github.com/users/1bsyl","html_url":"https://github.com/1bsyl","followers_url":"https://api.github.com/users/1bsyl/followers","following_url":"https://api.github.com/users/1bsyl/following{/other_user}","gists_url":"https://api.github.com/users/1bsyl/gists{/gist_id}","starred_url":"https://api.github.com/users/1bsyl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/1bsyl/subscriptions","organizations_url":"https://api.github.com/users/1bsyl/orgs","repos_url":"https://api.github.com/users/1bsyl/repos","events_url":"https://api.github.com/users/1bsyl/events{/privacy}","received_events_url":"https://api.github.com/users/1bsyl/received_events","type":"User","user_view_type":"public","site_admin":false},"created_at":"2026-11-10T06:40:53Z","updated_at":"2026-11-10T06:41:05Z","body":"update to latest, manual merge with: https://github.com/libsdl-org/SDL/pull/16660/  and squash","reactions":{"url":"https://api.github.com/repos/libsdl-org/SDL/issues/comments/6760901909/reactions","total_count":0,"+1":0,"-1":0,"laugh":0,"hooray":0,"confused":0,"heart":0,"rocket":0,"eyes":0},"performed_via_github_app":null,"minimized":null}},"public":true,"created_at":"2026-11-10T06:40:53Z","org":{"id":77683370,"login":"libsdl-org","gravatar_id":"","url":"https://api.github.com/orgs/libsdl-org","avatar_url":"https://avatars.githubusercontent.com/u/77683370?"}},{"id":"19637427451","type":"PullRequestReviewEvent","actor":{"id":1131315,"login":"phil-opp","display_login":"phil-opp","gravatar_id":"","url":"https://api.github.com/users/phil-opp","avatar_url":"https://avatars.githubusercontent.com/u/1131315?"},"repo":{"id":460615268,"name":"dora-rs/dora","url":"https://api.github.com/repos/dora-rs/dora"},"payload":{"review":{"id":5837722048,"node_id":"PRR_kwDOG3RuZM8AAAABW_SRwA","user":{"login":"phil-opp","id":1131315,"node_id":"MDQ6VXNlcjExMzEzMTU=","avatar_url":"https://avatars.githubusercontent.com/u/1131315?v=4","gravatar_id":"","url":"https://api.github.com/users/phil-opp","html_url":"https://github.com/phil-opp","followers_url":"https://api.github.com/users/phil-opp/followers","following_url":"https://api.github.com/users/phil-opp/following{/other_user}","gists_url":"https://api.github.com/users/phil-opp/gists{/gist_id}","starred_url":"https://api.github.com/users/phil-opp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/phil-opp/subscriptions","organizations_url":"https://api.github.com/users/phil-opp/orgs","repos_url":"https://api.github.com/users/phil-opp/repos","events_url":"https://api.github.com/users/phil-opp/events{/privacy}","received_events_url":"https://api.github.com/users/phil-opp/received_events","type":"User","user_view_type":"public","site_admin":false},"body":"🤖 *This is a fully automated review by Claude Code. No human checked it before it was posted, and it is advice only.*\n\nNo issues found in the fix itself. This was a static review only: I did not build the code or run the new tests.\n\n- **The bug is real on main.** In `get_tensor_info`, the `tensor.contiguous()` copy (and an inline temporary argument) is referenced only by the local `tensor`, so it is freed when the function returns. `register_tensor_pool` and `write_tensor_pool` in `python/src/transport.rs` then read `size` bytes from that `ptr`. For a large CPU tensor that memory has been unmapped, and for a CUDA tensor the caching allocator can give the block to the next allocation.\n- **The fix is correct and minimal.** Both Rust readers only call `get_item` for `ptr`/`size`/`dtype`/`shape`/`device` and borrow the dict without keeping it, so the extra `\"tensor\"` key is ignored. The dict is also still referenced by the caller's frame for the whole call. The extra memory is bounded: one reference per dict, and it costs nothing extra for an input that is already contiguous. The usual send loop rebinds `tensor_info` every frame, so nothing builds up. Adding a key to the returned dict is not a breaking change in practice, and this extension is explicitly outside the 1.0 guarantee anyway.\n- **The tests depend on the allocator and are skipped in CI.** On main, the tests only fail if one of the eight same-size `torch.full` fillers reuses the freed 12 KB block. With glibc that is likely, but not guaranteed, since this is reading freed memory (UB). So the tests are a reasonable regression check, not a deterministic one. `gpu_copy_routing_and_completion` does discover this directory, but the CI interpreter has no torch, so the new tests are always skipped there. They only protect against regressions when someone runs them by hand with torch installed.\n\n---\n_Generated by [Claude Code](https://claude.ai/code)_","commit_id":"37117191f381c5a7ba04f9715f7af0fdbb0c99b2","state":"commented","html_url":"https://github.com/dora-rs/dora/pull/4116#pullrequestreview-5837722048","pull_request_url":"https://api.github.com/repos/dora-rs/dora/pulls/4116","_links":{"html":{"href":"https://github.com/dora-rs/dora/pull/4116#pullrequestreview-5837722048"},"pull_request":{"href":"https://api.github.com/repos/dora-rs/dora/pulls/4116"}},"submitted_at":"2026-11-10T06:34:58Z","updated_at":"2026-11-10T06:34:58Z"},"pull_request":{"url":"https://api.github.com/repos/dora-rs/dora/pulls/4116","id":5235746484,"number":4116,"head":{"ref":"fix/tensor-pool-tensor-info-lifetime","sha":"37117191f381c5a7ba04f9715f7af0fdbb0c99b2","repo":{"id":1452196042,"url":"https://api.github.com/repos/Nas01010101/dora","name":"dora"}},"base":{"ref":"main","sha":"976e49e106d5a059eb631074088ef349f8e155b2","repo":{"id":460615268,"url":"https://api.github.com/repos/dora-rs/dora","name":"dora"}}},"action":"created"},"public":true,"created_at":"2026-11-10T06:35:00Z","org":{"id":99922143,"login":"dora-rs","gravatar_id":"","url":"https://api.github.com/orgs/dora-rs","avatar_url":"https://avatars.githubusercontent.com/u/99922143?"}},{"id":"19636501831","type":"PullRequestReviewCommentEvent","actor":{"id":547897,"login":"Kontrabant","display_login":"Kontrabant","gravatar_id":"","url":"https://api.github.com/users/Kontrabant","avatar_url":"https://avatars.githubusercontent.com/u/547897?"},"repo":{"id":330008801,"name":"libsdl-org/SDL","url":"https://api.github.com/repos/libsdl-org/SDL"},"payload":{"action":"created","comment":{"url":"https://api.github.com/repos/libsdl-org/SDL/pulls/comments/4517375979","pull_request_review_id":5831943034,"id":4517375979,"node_id":"PRRC_kwDOE6uI4c8AAAABDUGv6w","diff_hunk":"@@ -1759,6 +1757,12 @@ bool Wayland_VideoInit(SDL_VideoDevice *_this)\n     Wayland_InitMouse(data);\n     Wayland_InitKeyboard(_this);\n \n+    // *nix platforms traditionally map the lower pen button to middle mouse and upper to right mouse.","path":"src/video/wayland/SDL_waylandvideo.c","commit_id":"3241994685675e402086b63fd5f96fe6aa54805a","original_commit_id":"3241994685675e402086b63fd5f96fe6aa54805a","user":{"login":"Kontrabant","id":547897,"node_id":"MDQ6VXNlcjU0Nzg5Nw==","avatar_url":"https://avatars.githubusercontent.com/u/547897?v=4","gravatar_id":"","url":"https://api.github.com/users/Kontrabant","html_url":"https://github.com/Kontrabant","followers_url":"https://api.github.com/users/Kontrabant/followers","following_url":"https://api.github.com/users/Kontrabant/following{/other_user}","gists_url":"https://api.github.com/users/Kontrabant/gists{/gist_id}","starred_url":"https://api.github.com/users/Kontrabant/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Kontrabant/subscriptions","organizations_url":"https://api.github.com/users/Kontrabant/orgs","repos_url":"https://api.github.com/users/Kontrabant/repos","events_url":"https://api.github.com/users/Kontrabant/events{/privacy}","received_events_url":"https://api.github.com/users/Kontrabant/received_events","type":"User","user_view_type":"public","site_admin":false},"body":"I edited the comments to try and make this more clear. The expected X11/Wayland mouse button emulation mapping is pen button 1 to middle mouse, and pen button 2 to right mouse, which differs from the default SDL mapping of button 1 to right mouse, and button 2 to middle mouse (the expected defaults on other platforms).","created_at":"2026-11-09T20:04:41Z","updated_at":"2026-11-09T20:04:41Z","html_url":"https://github.com/libsdl-org/SDL/pull/16681#discussion_r4517375979","pull_request_url":"https://api.github.com/repos/libsdl-org/SDL/pulls/16681","_links":{"self":{"href":"https://api.github.com/repos/libsdl-org/SDL/pulls/comments/4517375979"},"html":{"href":"https://github.com/libsdl-org/SDL/pull/16681#discussion_r4517375979"},"pull_request":{"href":"https://api.github.com/repos/libsdl-org/SDL/pulls/16681"}},"reactions":{"url":"https://api.github.com/repos/libsdl-org/SDL/pulls/comments/4517375979/reactions","total_count":0,"+1":0,"-1":0,"laugh":0,"hooray":0,"confused":0,"heart":0,"rocket":0,"eyes":0},"in_reply_to_id":4517183294,"original_position":20,"position":1,"subject_type":"line"},"pull_request":{"url":"https://api.github.com/repos/libsdl-org/SDL/pulls/16681","id":5229410696,"number":16681,"head":{"ref":"pen_map","sha":"63a3576d2387027b09ac7d093901544b568e0480","repo":{"id":346085855,"url":"https://api.github.com/repos/Kontrabant/SDL","name":"SDL"}},"base":{"ref":"main","sha":"c172ab7164145a6a3ffabecc1c0a02dc0bde673d","repo":{"id":330008801,"url":"https://api.github.com/repos/libsdl-org/SDL","name":"SDL"}}}},"public":true,"created_at":"2026-11-09T20:04:41Z","org":{"id":77683370,"login":"libsdl-org","gravatar_id":"","url":"https://api.github.com/orgs/libsdl-org","avatar_url":"https://avatars.githubusercontent.com/u/77683370?"}},{"id":"19636178006","type":"PullRequestReviewCommentEvent","actor":{"id":547897,"login":"Kontrabant","display_login":"Kontrabant","gravatar_id":"","url":"https://api.github.com/users/Kontrabant","avatar_url":"https://avatars.githubusercontent.com/u/547897?"},"repo":{"id":330008801,"name":"libsdl-org/SDL","url":"https://api.github.com/repos/libsdl-org/SDL"},"payload":{"action":"created","comment":{"url":"https://api.github.com/repos/libsdl-org/SDL/pulls/comments/4517343019","pull_request_review_id":5831897259,"id":4517343019,"node_id":"PRRC_kwDOE6uI4c8AAAABDUEvKw","diff_hunk":"@@ -150,6 +154,13 @@ void SDL_QuitPen(void)\n     pen_device_rwlock = NULL;\n }\n \n+void SDL_SetPenMouseButtonMapping(const Uint8 *mapping, size_t size)\n+{\n+    SDL_assert(mapping);\n+    SDL_assert(size == SDL_arraysize(default_mouse_buttons));","path":"src/events/SDL_pen.c","commit_id":"3241994685675e402086b63fd5f96fe6aa54805a","original_commit_id":"3241994685675e402086b63fd5f96fe6aa54805a","user":{"login":"Kontrabant","id":547897,"node_id":"MDQ6VXNlcjU0Nzg5Nw==","avatar_url":"https://avatars.githubusercontent.com/u/547897?v=4","gravatar_id":"","url":"https://api.github.com/users/Kontrabant","html_url":"https://github.com/Kontrabant","followers_url":"https://api.github.com/users/Kontrabant/followers","following_url":"https://api.github.com/users/Kontrabant/following{/other_user}","gists_url":"https://api.github.com/users/Kontrabant/gists{/gist_id}","starred_url":"https://api.github.com/users/Kontrabant/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Kontrabant/subscriptions","organizations_url":"https://api.github.com/users/Kontrabant/orgs","repos_url":"https://api.github.com/users/Kontrabant/repos","events_url":"https://api.github.com/users/Kontrabant/events{/privacy}","received_events_url":"https://api.github.com/users/Kontrabant/received_events","type":"User","user_view_type":"public","site_admin":false},"body":"Done.","created_at":"2026-11-09T20:01:11Z","updated_at":"2026-11-09T20:01:12Z","html_url":"https://github.com/libsdl-org/SDL/pull/16681#discussion_r4517343019","pull_request_url":"https://api.github.com/repos/libsdl-org/SDL/pulls/16681","_links":{"self":{"href":"https://api.github.com/repos/libsdl-org/SDL/pulls/comments/4517343019"},"html":{"href":"https://github.com/libsdl-org/SDL/pull/16681#discussion_r4517343019"},"pull_request":{"href":"https://api.github.com/repos/libsdl-org/SDL/pulls/16681"}},"reactions":{"url":"https://api.github.com/repos/libsdl-org/SDL/pulls/comments/4517343019/reactions","total_count":0,"+1":0,"-1":0,"laugh":0,"hooray":0,"confused":0,"heart":0,"rocket":0,"eyes":0},"in_reply_to_id":4517169307,"original_position":25,"position":1,"subject_type":"line"},"pull_request":{"url":"https://api.github.com/repos/libsdl-org/SDL/pulls/16681","id":5229410696,"number":16681,"head":{"ref":"pen_map","sha":"63a3576d2387027b09ac7d093901544b568e0480","repo":{"id":346085855,"url":"https://api.github.com/repos/Kontrabant/SDL","name":"SDL"}},"base":{"ref":"main","sha":"c172ab7164145a6a3ffabecc1c0a02dc0bde673d","repo":{"id":330008801,"url":"https://api.github.com/repos/libsdl-org/SDL","name":"SDL"}}}},"public":true,"created_at":"2026-11-09T20:01:11Z","org":{"id":77683370,"login":"libsdl-org","gravatar_id":"","url":"https://api.github.com/orgs/libsdl-org","avatar_url":"https://avatars.githubusercontent.com/u/77683370?"}},{"id":"26719836579","type":"PushEvent","actor":{"id":2100061,"login":"slouken","display_login":"slouken","gravatar_id":"","url":"https://api.github.com/users/slouken","avatar_url":"https://avatars.githubusercontent.com/u/2100061?"},"repo":{"id":583475974,"name":"slouken/SDL","url":"https://api.github.com/repos/slouken/SDL"},"payload":{"repository_id":583475974,"push_id":49599773211,"ref":"refs/heads/update","head":"0b4e7997a4d3f4daa6fd2aa44034d7a3de0c9dae","before":"d3789527dce4233b750e97aae1bc5eb7b603d267"},"public":true,"created_at":"2026-11-09T17:12:23Z"},{"id":"26719331104","type":"PushEvent","actor":{"id":1131315,"login":"phil-opp","display_login":"phil-opp","gravatar_id":"","url":"https://api.github.com/users/phil-opp","avatar_url":"https://avatars.githubusercontent.com/u/1131315?"},"repo":{"id":460615268,"name":"dora-rs/dora","url":"https://api.github.com/repos/dora-rs/dora"},"payload":{"repository_id":460615268,"push_id":49524828847,"ref":"refs/heads/claude/elegant-fermat-1s6oo4-register-timeout-free","head":"e309dadb54c78817d2fe6dc22808bf4f7628dafb","before":"f757902825b18fffec160e279ef00ec54ad76481"},"public":true,"created_at":"2026-11-09T04:34:01Z","org":{"id":99922143,"login":"dora-rs","gravatar_id":"","url":"https://api.github.com/orgs/dora-rs","avatar_url":"https://avatars.githubusercontent.com/u/99922143?"}},{"id":"26719299364","type":"CreateEvent","actor":{"id":1034582,"login":"emaste","display_login":"emaste","gravatar_id":"","url":"https://api.github.com/users/emaste","avatar_url":"https://avatars.githubusercontent.com/u/1034582?"},"repo":{"id":6606271,"name":"emaste/freebsd","url":"https://api.github.com/repos/emaste/freebsd"},"payload":{"ref":"openssh-10.6p2","ref_type":"branch","full_ref":"refs/heads/openssh-10.6p2","master_branch":"main","description":"FreeBSD src tree","pusher_type":"user"},"public":true,"created_at":"2026-11-09T17:12:57Z"},{"id":"19634995518","type":"IssueCommentEvent","actor":{"id":7539214,"login":"ValorZard","display_login":"ValorZard","gravatar_id":"","url":"https://api.github.com/users/ValorZard","avatar_url":"https://avatars.githubusercontent.com/u/7539214?"},"repo":{"id":330008801,"name":"libsdl-org/SDL","url":"https://api.github.com/repos/libsdl-org/SDL"},"payload":{"action":"created","issue":{"url":"https://api.github.com/repos/libsdl-org/SDL/issues/16020","repository_url":"https://api.github.com/repos/libsdl-org/SDL","labels_url":"https://api.github.com/repos/libsdl-org/SDL/issues/16020/labels{/name}","comments_url":"https://api.github.com/repos/libsdl-org/SDL/issues/16020/comments","events_url":"https://api.github.com/repos/libsdl-org/SDL/issues/16020/events","html_url":"https://github.com/libsdl-org/SDL/pull/16020","id":4918704786,"node_id":"PR_kwDOE6uI4c7zWGZE","number":16020,"title":"GPU: Experimental WebGPU SDLGPU Backend","user":{"login":"TheeStickmahn","id":105667019,"node_id":"U_kgDOBkxZyw","avatar_url":"https://avatars.githubusercontent.com/u/105667019?v=4","gravatar_id":"","url":"https://api.github.com/users/TheeStickmahn","html_url":"https://github.com/TheeStickmahn","followers_url":"https://api.github.com/users/TheeStickmahn/followers","following_url":"https://api.github.com/users/TheeStickmahn/following{/other_user}","gists_url":"https://api.github.com/users/TheeStickmahn/gists{/gist_id}","starred_url":"https://api.github.com/users/TheeStickmahn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TheeStickmahn/subscriptions","organizations_url":"https://api.github.com/users/TheeStickmahn/orgs","repos_url":"https://api.github.com/users/TheeStickmahn/repos","events_url":"https://api.github.com/users/TheeStickmahn/events{/privacy}","received_events_url":"https://api.github.com/users/TheeStickmahn/received_events","type":"User","user_view_type":"public","site_admin":false},"labels":[],"state":"open","locked":false,"assignees":[],"milestone":null,"comments":137,"created_at":"2026-07-18T14:43:54Z","updated_at":"2026-11-10T06:25:26Z","closed_at":null,"assignee":null,"issue_field_values":[],"type":null,"active_lock_reason":null,"draft":false,"pull_request":{"url":"https://api.github.com/repos/libsdl-org/SDL/pulls/16020","html_url":"https://github.com/libsdl-org/SDL/pull/16020","diff_url":"https://github.com/libsdl-org/SDL/pull/16020.diff","patch_url":"https://github.com/libsdl-org/SDL/pull/16020.patch","merged_at":null},"body":"- [x] I confirm that I am the author of this code and release it to the SDL project under the Zlib license. This contribution does not contain code from other sources, including code generated by a Large Language Model (\"AI\").\r\n\r\n<!--- Provide a general summary of your changes in the Title above -->\r\n\r\n## Description\r\n<!--- Describe your changes in detail -->\r\nThis is my SDLGPU WebGPU backend. It has consumed the past six months of my life, and has likely given me some permanent mental scarring. It is some of the least legible, demented code I've ever written, but hey, it kinda works!\r\n\r\nIt also adds a WebGPU video backend for funsies.\r\n\r\nCurrently working: \r\n- All 34 GPU examples\r\n- Decent amount of FNA traces [(see notes)](https://pastes.dev/Pi2FiQqiOy)\r\n- [Lego Island](https://github.com/isledecomp/isle-portable) & [Lego Racers](https://github.com/isledecomp/racers) (Native since I couldn't figure out the build process for Emscripten)\r\n- [Taisei](https://github.com/taisei-project/taisei/tree/sdl-webgpu) (thank you Akaricchi for all your help <3)\r\n- [Dear ImGui](https://github.com/ocornut/imgui) (via my [fork](https://github.com/TheeStickmahn/imgui-sdlwgpu) which adds the necessary shaders) \r\n\r\nIt supports:\r\n- Windows (Natively, and through Emscripten)\r\n- Linux (Natively, and through Emscripten) (Note that it is WebGPU... on Linux. I'm putting makeup on a pig here.)\r\n- MacOS & iOS (No native support, only supported through Emscripten. Objective-C terrifies me.)\r\n(Android should work in theory but I don't own an Android device so I can't test it)\r\n- Really anything with a modern web browser\r\n\r\nThere's also my (somewhat shoddy) [fork of Shadercross](https://github.com/TheeStickmahn/SDL_shadercross_wgsl) which adds WGSL transpilation through [Taint](https://github.com/taisei-project/taint).\r\n*(again, thank you Akaricchi; you're a saint)*\r\n\r\n### TODO:\r\n- [ ] The backend is very hungry and will eat up as much CPU as you give it. This makes it potentially slow down the rest of the web page on Emscripten since it spins for very short time periods (5000ns)\r\n- [ ] The backend is incredibly thread-unsafe. Like, crash my computer unsafe.\r\n- [ ] 2D array mipmap generation is probably broken? I haven't bothered looking at it for like two months 🥀\r\n- [ ] CI build errors. I hate CI.\r\n- [ ] Releasing the WebGPU GPU device leaks memory for... mysterious reasons. (Not releasing it doesn't. Somehow) \r\n- [ ] Pushing more than 1MiB worth of uniform data in a single pass is blocked since uniform buffers are created once and then just reused.\r\n- [ ] Documentation is sparse.\r\n- [ ] More stuff I've certainly forgotten\r\n\r\n## Existing Issue(s)\r\n<!--- If it fixes an open issue, please link to the issue here. -->\r\nResolves issue [10768](https://github.com/libsdl-org/SDL/issues/10768).\r\n\r\n<img width=\"1125\" height=\"1080\" alt=\"image\" src=\"https://github.com/user-attachments/assets/11e8390f-9572-4668-9518-39f6adfcb265\" />","reactions":{"url":"https://api.github.com/repos/libsdl-org/SDL/issues/16020/reactions","total_count":57,"+1":11,"-1":0,"laugh":7,"hooray":9,"confused":0,"heart":18,"rocket":8,"eyes":4},"timeline_url":"https://api.github.com/repos/libsdl-org/SDL/issues/16020/timeline","performed_via_github_app":null,"state_reason":null},"comment":{"url":"https://api.github.com/repos/libsdl-org/SDL/issues/comments/6760235621","html_url":"https://github.com/libsdl-org/SDL/pull/16020#issuecomment-6760235621","issue_url":"https://api.github.com/repos/libsdl-org/SDL/issues/16020","id":6760235621,"node_id":"IC_kwDOE6uI4c8AAAABkvECZQ","user":{"login":"ValorZard","id":7539214,"node_id":"MDQ6VXNlcjc1MzkyMTQ=","avatar_url":"https://avatars.githubusercontent.com/u/7539214?v=4","gravatar_id":"","url":"https://api.github.com/users/ValorZard","html_url":"https://github.com/ValorZard","followers_url":"https://api.github.com/users/ValorZard/followers","following_url":"https://api.github.com/users/ValorZard/following{/other_user}","gists_url":"https://api.github.com/users/ValorZard/gists{/gist_id}","starred_url":"https://api.github.com/users/ValorZard/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ValorZard/subscriptions","organizations_url":"https://api.github.com/users/ValorZard/orgs","repos_url":"https://api.github.com/users/ValorZard/repos","events_url":"https://api.github.com/users/ValorZard/events{/privacy}","received_events_url":"https://api.github.com/users/ValorZard/received_events","type":"User","user_view_type":"public","site_admin":false},"created_at":"2026-11-10T05:56:55Z","updated_at":"2026-11-10T05:56:55Z","body":"This might be hard to test reliably, but do we know how much \"extra overhead\" using sdl_gpu with webgpu would compare to just using webgpu raw with javascript FFI?\r\nI'm curious what the percent difference would be","reactions":{"url":"https://api.github.com/repos/libsdl-org/SDL/issues/comments/6760235621/reactions","total_count":0,"+1":0,"-1":0,"laugh":0,"hooray":0,"confused":0,"heart":0,"rocket":0,"eyes":0},"performed_via_github_app":null,"minimized":null}},"public":true,"created_at":"2026-11-10T05:56:55Z","org":{"id":77683370,"login":"libsdl-org","gravatar_id":"","url":"https://api.github.com/orgs/libsdl-org","avatar_url":"https://avatars.githubusercontent.com/u/77683370?"}},{"id":"26718581724","type":"PushEvent","actor":{"id":1131315,"login":"phil-opp","display_login":"phil-opp","gravatar_id":"","url":"https://api.github.com/users/phil-opp","avatar_url":"https://avatars.githubusercontent.com/u/1131315?"},"repo":{"id":460615268,"name":"dora-rs/dora","url":"https://api.github.com/repos/dora-rs/dora"},"payload":{"repository_id":460615268,"push_id":49523943604,"ref":"refs/heads/claude/elegant-fermat-1s6oo4-register-timeout-free","head":"f757902825b18fffec160e279ef00ec54ad76481","before":"b81a2985ae725f5f17853deff4ad85f61e640cd4"},"public":true,"created_at":"2026-11-09T04:21:37Z","org":{"id":99922143,"login":"dora-rs","gravatar_id":"","url":"https://api.github.com/orgs/dora-rs","avatar_url":"https://avatars.githubusercontent.com/u/99922143?"}},{"id":"26718524965","type":"PushEvent","actor":{"id":1131315,"login":"phil-opp","display_login":"phil-opp","gravatar_id":"","url":"https://api.github.com/users/phil-opp","avatar_url":"https://avatars.githubusercontent.com/u/1131315?"},"repo":{"id":460615268,"name":"dora-rs/dora","url":"https://api.github.com/repos/dora-rs/dora"},"payload":{"repository_id":460615268,"push_id":49523886213,"ref":"refs/heads/claude/elegant-fermat-1s6oo4-mirror-descriptor","head":"13ea7b69360e5cf72720aeb7f6ffc91894cf741e","before":"a4011e9ae97ff5a865a9efbcb303e019a09f08cd"},"public":true,"created_at":"2026-11-09T04:20:49Z","org":{"id":99922143,"login":"dora-rs","gravatar_id":"","url":"https://api.github.com/orgs/dora-rs","avatar_url":"https://avatars.githubusercontent.com/u/99922143?"}},{"id":"26718182354","type":"DeleteEvent","actor":{"id":193105,"login":"msridhar","display_login":"msridhar","gravatar_id":"","url":"https://api.github.com/users/msridhar","avatar_url":"https://avatars.githubusercontent.com/u/193105?"},"repo":{"id":102137661,"name":"uber/NullAway","url":"https://api.github.com/repos/uber/NullAway"},"payload":{"ref":"renovate/third-party-projects-built-in-ci","ref_type":"branch","full_ref":"refs/heads/renovate/third-party-projects-built-in-ci","pusher_type":"user"},"public":true,"created_at":"2026-11-09T04:15:38Z","org":{"id":538264,"login":"uber","gravatar_id":"","url":"https://api.github.com/orgs/uber","avatar_url":"https://avatars.githubusercontent.com/u/538264?"}},{"id":"26717043532","type":"CreateEvent","actor":{"id":1034582,"login":"emaste","display_login":"emaste","gravatar_id":"","url":"https://api.github.com/users/emaste","avatar_url":"https://avatars.githubusercontent.com/u/1034582?"},"repo":{"id":6606271,"name":"emaste/freebsd","url":"https://api.github.com/repos/emaste/freebsd"},"payload":{"ref":"openssh-10.6p1","ref_type":"branch","full_ref":"refs/heads/openssh-10.6p1","master_branch":"main","description":"FreeBSD src tree","pusher_type":"user"},"public":true,"created_at":"2026-11-09T16:54:21Z"},{"id":"19633108238","type":"IssueCommentEvent","actor":{"id":50538166,"login":"CasualPokePlayer","display_login":"CasualPokePlayer","gravatar_id":"","url":"https://api.github.com/users/CasualPokePlayer","avatar_url":"https://avatars.githubusercontent.com/u/50538166?"},"repo":{"id":330008801,"name":"libsdl-org/SDL","url":"https://api.github.com/repos/libsdl-org/SDL"},"payload":{"action":"created","issue":{"url":"https://api.github.com/repos/libsdl-org/SDL/issues/15403","repository_url":"https://api.github.com/repos/libsdl-org/SDL","labels_url":"https://api.github.com/repos/libsdl-org/SDL/issues/15403/labels{/name}","comments_url":"https://api.github.com/repos/libsdl-org/SDL/issues/15403/comments","events_url":"https://api.github.com/repos/libsdl-org/SDL/issues/15403/events","html_url":"https://github.com/libsdl-org/SDL/issues/15403","id":4285667338,"node_id":"I_kwDOE6uI4c7_chgK","number":15403,"title":"Enumerate DirectInput devices in SDL_JoystickThread (or have another hotplug thread for DirectInput)","user":{"login":"CasualPokePlayer","id":50538166,"node_id":"MDQ6VXNlcjUwNTM4MTY2","avatar_url":"https://avatars.githubusercontent.com/u/50538166?v=4","gravatar_id":"","url":"https://api.github.com/users/CasualPokePlayer","html_url":"https://github.com/CasualPokePlayer","followers_url":"https://api.github.com/users/CasualPokePlayer/followers","following_url":"https://api.github.com/users/CasualPokePlayer/following{/other_user}","gists_url":"https://api.github.com/users/CasualPokePlayer/gists{/gist_id}","starred_url":"https://api.github.com/users/CasualPokePlayer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CasualPokePlayer/subscriptions","organizations_url":"https://api.github.com/users/CasualPokePlayer/orgs","repos_url":"https://api.github.com/users/CasualPokePlayer/repos","events_url":"https://api.github.com/users/CasualPokePlayer/events{/privacy}","received_events_url":"https://api.github.com/users/CasualPokePlayer/received_events","type":"User","user_view_type":"public","site_admin":false},"labels":[],"state":"closed","locked":false,"assignees":[{"login":"slouken","id":2100061,"node_id":"MDQ6VXNlcjIxMDAwNjE=","avatar_url":"https://avatars.githubusercontent.com/u/2100061?v=4","gravatar_id":"","url":"https://api.github.com/users/slouken","html_url":"https://github.com/slouken","followers_url":"https://api.github.com/users/slouken/followers","following_url":"https://api.github.com/users/slouken/following{/other_user}","gists_url":"https://api.github.com/users/slouken/gists{/gist_id}","starred_url":"https://api.github.com/users/slouken/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/slouken/subscriptions","organizations_url":"https://api.github.com/users/slouken/orgs","repos_url":"https://api.github.com/users/slouken/repos","events_url":"https://api.github.com/users/slouken/events{/privacy}","received_events_url":"https://api.github.com/users/slouken/received_events","type":"User","user_view_type":"public","site_admin":false}],"milestone":{"url":"https://api.github.com/repos/libsdl-org/SDL/milestones/32","html_url":"https://github.com/libsdl-org/SDL/milestone/32","labels_url":"https://api.github.com/repos/libsdl-org/SDL/milestones/32/labels","id":13563727,"node_id":"MI_kwDOE6uI4c4AzvdP","number":32,"title":"3.6.0","description":"","creator":{"login":"slouken","id":2100061,"node_id":"MDQ6VXNlcjIxMDAwNjE=","avatar_url":"https://avatars.githubusercontent.com/u/2100061?v=4","gravatar_id":"","url":"https://api.github.com/users/slouken","html_url":"https://github.com/slouken","followers_url":"https://api.github.com/users/slouken/followers","following_url":"https://api.github.com/users/slouken/following{/other_user}","gists_url":"https://api.github.com/users/slouken/gists{/gist_id}","starred_url":"https://api.github.com/users/slouken/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/slouken/subscriptions","organizations_url":"https://api.github.com/users/slouken/orgs","repos_url":"https://api.github.com/users/slouken/repos","events_url":"https://api.github.com/users/slouken/events{/privacy}","received_events_url":"https://api.github.com/users/slouken/received_events","type":"User","user_view_type":"public","site_admin":false},"open_issues":108,"closed_issues":333,"state":"open","created_at":"2025-08-26T21:55:55Z","updated_at":"2026-11-10T02:31:25Z","due_on":null,"closed_at":null},"comments":8,"created_at":"2026-04-17T22:32:46Z","updated_at":"2026-11-10T05:32:15Z","closed_at":"2026-11-10T02:31:24Z","assignee":{"login":"slouken","id":2100061,"node_id":"MDQ6VXNlcjIxMDAwNjE=","avatar_url":"https://avatars.githubusercontent.com/u/2100061?v=4","gravatar_id":"","url":"https://api.github.com/users/slouken","html_url":"https://github.com/slouken","followers_url":"https://api.github.com/users/slouken/followers","following_url":"https://api.github.com/users/slouken/following{/other_user}","gists_url":"https://api.github.com/users/slouken/gists{/gist_id}","starred_url":"https://api.github.com/users/slouken/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/slouken/subscriptions","organizations_url":"https://api.github.com/users/slouken/orgs","repos_url":"https://api.github.com/users/slouken/repos","events_url":"https://api.github.com/users/slouken/events{/privacy}","received_events_url":"https://api.github.com/users/slouken/received_events","type":"User","user_view_type":"public","site_admin":false},"issue_field_values":[],"type":null,"active_lock_reason":null,"sub_issues_summary":{"total":0,"completed":0,"percent_completed":0},"issue_dependencies_summary":{"blocked_by":0,"total_blocked_by":0,"blocking":0,"total_blocking":0},"body":"Title. Currently, if a native Windows device change event gets alerted to SDL (possibly in SDL_JoystickThread's thread, if that hint is enabled), then IDirectInput8_EnumDevices is called within WINDOWS_JoystickDetect -> SDL_DINPUT_JoystickDetect (and this is likely on the main thread, or at least whichever input thread is calling SDL_UpdateJoysticks).\n\nIgnoring known issues with buggy drivers causing IDirectInput8_EnumDevices to sometimes take several seconds, IDirectInput8_EnumDevices is a fairly slow call, even worse if there are a ton of USB devices present on the user's machine. Even with a single gamepad connected on my own laptop, IDirectInput8_EnumDevices ends up taking at least 15ms, which is enough to cause a noticeable stutter for a user. With more devices present, it might take even longer (some users reporting up to 70ms), causing a very noticeable stutter. This is even worse as any device change triggers a re-enumeration (so like unplugging a mouse suddenly causes IDirectInput8_EnumDevices to be called).\n\nIdeally, this call wouldn't occur on the main thread nor whatever thread is calling SDL_UpdateJoysticks (instead probably SDL_JoystickThread, that or a dedicated DirectInput hotplug thread). Assuming that is safe to do here (some basic testing seems to indicate that functions just fine, but I'm not entirely sure that is safe and DirectInput docs don't give any insight to this kind of multi-threading).","reactions":{"url":"https://api.github.com/repos/libsdl-org/SDL/issues/15403/reactions","total_count":0,"+1":0,"-1":0,"laugh":0,"hooray":0,"confused":0,"heart":0,"rocket":0,"eyes":0},"timeline_url":"https://api.github.com/repos/libsdl-org/SDL/issues/15403/timeline","performed_via_github_app":null,"state_reason":"completed","pinned_comment":null},"comment":{"url":"https://api.github.com/repos/libsdl-org/SDL/issues/comments/6759795995","html_url":"https://github.com/libsdl-org/SDL/issues/15403#issuecomment-6759795995","issue_url":"https://api.github.com/repos/libsdl-org/SDL/issues/15403","id":6759795995,"node_id":"IC_kwDOE6uI4c8AAAABkupNGw","user":{"login":"CasualPokePlayer","id":50538166,"node_id":"MDQ6VXNlcjUwNTM4MTY2","avatar_url":"https://avatars.githubusercontent.com/u/50538166?v=4","gravatar_id":"","url":"https://api.github.com/users/CasualPokePlayer","html_url":"https://github.com/CasualPokePlayer","followers_url":"https://api.github.com/users/CasualPokePlayer/followers","following_url":"https://api.github.com/users/CasualPokePlayer/following{/other_user}","gists_url":"https://api.github.com/users/CasualPokePlayer/gists{/gist_id}","starred_url":"https://api.github.com/users/CasualPokePlayer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CasualPokePlayer/subscriptions","organizations_url":"https://api.github.com/users/CasualPokePlayer/orgs","repos_url":"https://api.github.com/users/CasualPokePlayer/repos","events_url":"https://api.github.com/users/CasualPokePlayer/events{/privacy}","received_events_url":"https://api.github.com/users/CasualPokePlayer/received_events","type":"User","user_view_type":"public","site_admin":false},"created_at":"2026-11-10T05:26:00Z","updated_at":"2026-11-10T05:32:15Z","body":"This is not exactly a *full* fix for the issue. The user *will still end up noticing a hitch* because their controller will now suddenly stop accepting inputs for a time (again, the issue would present itself to applications already offloading SDL_UpdateJoysticks to another thread due to such; my own application which users have complaints against this behavior already offloads SDL_UpdateJoysticks to a separate thread), at most only avoiding a visual/audial hitch from the main thread no longer being blocked. The desire for this issue is that *controller hotplugging* would not block the thread which updates the state of controllers still plugged in.","pin":null,"reactions":{"url":"https://api.github.com/repos/libsdl-org/SDL/issues/comments/6759795995/reactions","total_count":0,"+1":0,"-1":0,"laugh":0,"hooray":0,"confused":0,"heart":0,"rocket":0,"eyes":0},"performed_via_github_app":null,"minimized":null}},"public":true,"created_at":"2026-11-10T05:26:00Z","org":{"id":77683370,"login":"libsdl-org","gravatar_id":"","url":"https://api.github.com/orgs/libsdl-org","avatar_url":"https://avatars.githubusercontent.com/u/77683370?"}},{"id":"19630359663","type":"WatchEvent","actor":{"id":202408215,"login":"Drauwood","display_login":"Drauwood","gravatar_id":"","url":"https://api.github.com/users/Drauwood","avatar_url":"https://avatars.githubusercontent.com/u/202408215?"},"repo":{"id":330008801,"name":"libsdl-org/SDL","url":"https://api.github.com/repos/libsdl-org/SDL"},"payload":{"action":"started"},"public":true,"created_at":"2026-11-10T04:40:44Z","org":{"id":77683370,"login":"libsdl-org","gravatar_id":"","url":"https://api.github.com/orgs/libsdl-org","avatar_url":"https://avatars.githubusercontent.com/u/77683370?"}},{"id":"26713637592","type":"PushEvent","actor":{"id":547897,"login":"Kontrabant","display_login":"Kontrabant","gravatar_id":"","url":"https://api.github.com/users/Kontrabant","avatar_url":"https://avatars.githubusercontent.com/u/547897?"},"repo":{"id":330008801,"name":"libsdl-org/SDL","url":"https://api.github.com/repos/libsdl-org/SDL"},"payload":{"repository_id":330008801,"push_id":49594520568,"ref":"refs/heads/main","head":"9839848a4906a273c01f4592b1bfde5be6fd920b","before":"c23719860604abd836f3369a7ec3669d39ccdbda"},"public":true,"created_at":"2026-11-09T16:26:36Z","org":{"id":77683370,"login":"libsdl-org","gravatar_id":"","url":"https://api.github.com/orgs/libsdl-org","avatar_url":"https://avatars.githubusercontent.com/u/77683370?"}},{"id":"19629510629","type":"PullRequestEvent","actor":{"id":1131315,"login":"phil-opp","display_login":"phil-opp","gravatar_id":"","url":"https://api.github.com/users/phil-opp","avatar_url":"https://avatars.githubusercontent.com/u/1131315?"},"repo":{"id":460615268,"name":"dora-rs/dora","url":"https://api.github.com/repos/dora-rs/dora"},"payload":{"action":"opened","number":4117,"pull_request":{"url":"https://api.github.com/repos/dora-rs/dora/pulls/4117","id":5235797157,"number":4117,"head":{"ref":"claude/elegant-fermat-y8srtb-undecodable-no-reply","sha":"659555c20e44fb24846e5da3971f3b0d7ec8eaeb","repo":{"id":460615268,"url":"https://api.github.com/repos/dora-rs/dora","name":"dora"}},"base":{"ref":"main","sha":"976e49e106d5a059eb631074088ef349f8e155b2","repo":{"id":460615268,"url":"https://api.github.com/repos/dora-rs/dora","name":"dora"}}}},"public":true,"created_at":"2026-11-10T04:26:44Z","org":{"id":99922143,"login":"dora-rs","gravatar_id":"","url":"https://api.github.com/orgs/dora-rs","avatar_url":"https://avatars.githubusercontent.com/u/99922143?"}},{"id":"26712669761","type":"PushEvent","actor":{"id":2100061,"login":"slouken","display_login":"slouken","gravatar_id":"","url":"https://api.github.com/users/slouken","avatar_url":"https://avatars.githubusercontent.com/u/2100061?"},"repo":{"id":330008801,"name":"libsdl-org/SDL","url":"https://api.github.com/repos/libsdl-org/SDL"},"payload":{"repository_id":330008801,"push_id":49609889518,"ref":"refs/heads/main","head":"7c840e09fa8fd9ac326a5da1faa09cf8262d09fc","before":"531acc0a76cf910b7616b2c5f63de2c5b3a4ba0a"},"public":true,"created_at":"2026-11-09T18:46:10Z","org":{"id":77683370,"login":"libsdl-org","gravatar_id":"","url":"https://api.github.com/orgs/libsdl-org","avatar_url":"https://avatars.githubusercontent.com/u/77683370?"}},{"id":"19628535185","type":"PullRequestEvent","actor":{"id":193105,"login":"msridhar","display_login":"msridhar","gravatar_id":"","url":"https://api.github.com/users/msridhar","avatar_url":"https://avatars.githubusercontent.com/u/193105?"},"repo":{"id":102137661,"name":"uber/NullAway","url":"https://api.github.com/repos/uber/NullAway"},"payload":{"action":"opened","number":2151,"pull_request":{"url":"https://api.github.com/repos/uber/NullAway/pulls/2151","id":5235659782,"number":2151,"head":{"ref":"fix-2150-excluded-nested-nullmarked","sha":"3fa2752a2e9d2fe155e69c363b95d326edbea86b","repo":{"id":102137661,"url":"https://api.github.com/repos/uber/NullAway","name":"NullAway"}},"base":{"ref":"master","sha":"62fea2ad94e587ff1b35bc1b0e7dcd0710b6b23b","repo":{"id":102137661,"url":"https://api.github.com/repos/uber/NullAway","name":"NullAway"}}}},"public":true,"created_at":"2026-11-10T04:10:57Z","org":{"id":538264,"login":"uber","gravatar_id":"","url":"https://api.github.com/orgs/uber","avatar_url":"https://avatars.githubusercontent.com/u/538264?"}},{"id":"19627847927","type":"PullRequestReviewEvent","actor":{"id":193105,"login":"msridhar","display_login":"msridhar","gravatar_id":"","url":"https://api.github.com/users/msridhar","avatar_url":"https://avatars.githubusercontent.com/u/193105?"},"repo":{"id":102137661,"name":"uber/NullAway","url":"https://api.github.com/repos/uber/NullAway"},"payload":{"review":{"id":5836577289,"node_id":"PRR_kwDOBhZ_Pc8AAAABW-MaCQ","user":{"login":"msridhar","id":193105,"node_id":"MDQ6VXNlcjE5MzEwNQ==","avatar_url":"https://avatars.githubusercontent.com/u/193105?v=4","gravatar_id":"","url":"https://api.github.com/users/msridhar","html_url":"https://github.com/msridhar","followers_url":"https://api.github.com/users/msridhar/followers","following_url":"https://api.github.com/users/msridhar/following{/other_user}","gists_url":"https://api.github.com/users/msridhar/gists{/gist_id}","starred_url":"https://api.github.com/users/msridhar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/msridhar/subscriptions","organizations_url":"https://api.github.com/users/msridhar/orgs","repos_url":"https://api.github.com/users/msridhar/repos","events_url":"https://api.github.com/users/msridhar/events{/privacy}","received_events_url":"https://api.github.com/users/msridhar/received_events","type":"User","user_view_type":"public","site_admin":false},"body":"Thanks for the contribution","commit_id":"52b5c8be1be08d9de42bc4a21f46d3a5eb2d1bb9","state":"changes_requested","html_url":"https://github.com/uber/NullAway/pull/2149#pullrequestreview-5836577289","pull_request_url":"https://api.github.com/repos/uber/NullAway/pulls/2149","_links":{"html":{"href":"https://github.com/uber/NullAway/pull/2149#pullrequestreview-5836577289"},"pull_request":{"href":"https://api.github.com/repos/uber/NullAway/pulls/2149"}},"submitted_at":"2026-11-10T03:59:57Z","updated_at":"2026-11-10T03:59:57Z"},"pull_request":{"url":"https://api.github.com/repos/uber/NullAway/pulls/2149","id":5223154621,"number":2149,"head":{"ref":"fix/malformed-contract-crash","sha":"52b5c8be1be08d9de42bc4a21f46d3a5eb2d1bb9","repo":{"id":1232686702,"url":"https://api.github.com/repos/codingkiddo/NullAway","name":"NullAway"}},"base":{"ref":"master","sha":"fec19f7c6c3c82121d433a9247a05c7044454878","repo":{"id":102137661,"url":"https://api.github.com/repos/uber/NullAway","name":"NullAway"}}},"action":"created"},"public":true,"created_at":"2026-11-10T03:59:59Z","org":{"id":538264,"login":"uber","gravatar_id":"","url":"https://api.github.com/orgs/uber","avatar_url":"https://avatars.githubusercontent.com/u/538264?"}},{"id":"19627847880","type":"PullRequestReviewEvent","actor":{"id":193105,"login":"msridhar","display_login":"msridhar","gravatar_id":"","url":"https://api.github.com/users/msridhar","avatar_url":"https://avatars.githubusercontent.com/u/193105?"},"repo":{"id":102137661,"name":"uber/NullAway","url":"https://api.github.com/repos/uber/NullAway"},"payload":{"review":{"id":5836577289,"node_id":"PRR_kwDOBhZ_Pc8AAAABW-MaCQ","user":{"login":"msridhar","id":193105,"node_id":"MDQ6VXNlcjE5MzEwNQ==","avatar_url":"https://avatars.githubusercontent.com/u/193105?v=4","gravatar_id":"","url":"https://api.github.com/users/msridhar","html_url":"https://github.com/msridhar","followers_url":"https://api.github.com/users/msridhar/followers","following_url":"https://api.github.com/users/msridhar/following{/other_user}","gists_url":"https://api.github.com/users/msridhar/gists{/gist_id}","starred_url":"https://api.github.com/users/msridhar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/msridhar/subscriptions","organizations_url":"https://api.github.com/users/msridhar/orgs","repos_url":"https://api.github.com/users/msridhar/repos","events_url":"https://api.github.com/users/msridhar/events{/privacy}","received_events_url":"https://api.github.com/users/msridhar/received_events","type":"User","user_view_type":"public","site_admin":false},"body":"Thanks for the contribution","commit_id":"52b5c8be1be08d9de42bc4a21f46d3a5eb2d1bb9","state":"changes_requested","html_url":"https://github.com/uber/NullAway/pull/2149#pullrequestreview-5836577289","pull_request_url":"https://api.github.com/repos/uber/NullAway/pulls/2149","_links":{"html":{"href":"https://github.com/uber/NullAway/pull/2149#pullrequestreview-5836577289"},"pull_request":{"href":"https://api.github.com/repos/uber/NullAway/pulls/2149"}},"submitted_at":"2026-11-10T03:59:57Z","updated_at":"2026-11-10T03:59:57Z"},"pull_request":{"url":"https://api.github.com/repos/uber/NullAway/pulls/2149","id":5223154621,"number":2149,"head":{"ref":"fix/malformed-contract-crash","sha":"52b5c8be1be08d9de42bc4a21f46d3a5eb2d1bb9","repo":{"id":1232686702,"url":"https://api.github.com/repos/codingkiddo/NullAway","name":"NullAway"}},"base":{"ref":"master","sha":"fec19f7c6c3c82121d433a9247a05c7044454878","repo":{"id":102137661,"url":"https://api.github.com/repos/uber/NullAway","name":"NullAway"}}},"action":"updated"},"public":true,"created_at":"2026-11-10T03:59:58Z","org":{"id":538264,"login":"uber","gravatar_id":"","url":"https://api.github.com/orgs/uber","avatar_url":"https://avatars.githubusercontent.com/u/538264?"}},{"id":"26710267901","type":"PushEvent","actor":{"id":1222034,"login":"justinlubin","display_login":"justinlubin","gravatar_id":"","url":"https://api.github.com/users/justinlubin","avatar_url":"https://avatars.githubusercontent.com/u/1222034?"},"repo":{"id":788273153,"name":"justinlubin/honeybee","url":"https://api.github.com/repos/justinlubin/honeybee"},"payload":{"repository_id":788273153,"push_id":49514860606,"ref":"refs/heads/main","head":"62fe774e3dcf49b726c4b7dec69a20ef48bfbd2f","before":"c6b32afeb969536cd664170c1b495fc4f1988607"},"public":true,"created_at":"2026-11-09T02:14:30Z"},{"id":"19626082712","type":"IssueCommentEvent","actor":{"id":2100061,"login":"slouken","display_login":"slouken","gravatar_id":"","url":"https://api.github.com/users/slouken","avatar_url":"https://avatars.githubusercontent.com/u/2100061?"},"repo":{"id":330008801,"name":"libsdl-org/SDL","url":"https://api.github.com/repos/libsdl-org/SDL"},"payload":{"action":"created","issue":{"url":"https://api.github.com/repos/libsdl-org/SDL/issues/15403","repository_url":"https://api.github.com/repos/libsdl-org/SDL","labels_url":"https://api.github.com/repos/libsdl-org/SDL/issues/15403/labels{/name}","comments_url":"https://api.github.com/repos/libsdl-org/SDL/issues/15403/comments","events_url":"https://api.github.com/repos/libsdl-org/SDL/issues/15403/events","html_url":"https://github.com/libsdl-org/SDL/issues/15403","id":4285667338,"node_id":"I_kwDOE6uI4c7_chgK","number":15403,"title":"Enumerate DirectInput devices in SDL_JoystickThread (or have another hotplug thread for DirectInput)","user":{"login":"CasualPokePlayer","id":50538166,"node_id":"MDQ6VXNlcjUwNTM4MTY2","avatar_url":"https://avatars.githubusercontent.com/u/50538166?v=4","gravatar_id":"","url":"https://api.github.com/users/CasualPokePlayer","html_url":"https://github.com/CasualPokePlayer","followers_url":"https://api.github.com/users/CasualPokePlayer/followers","following_url":"https://api.github.com/users/CasualPokePlayer/following{/other_user}","gists_url":"https://api.github.com/users/CasualPokePlayer/gists{/gist_id}","starred_url":"https://api.github.com/users/CasualPokePlayer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CasualPokePlayer/subscriptions","organizations_url":"https://api.github.com/users/CasualPokePlayer/orgs","repos_url":"https://api.github.com/users/CasualPokePlayer/repos","events_url":"https://api.github.com/users/CasualPokePlayer/events{/privacy}","received_events_url":"https://api.github.com/users/CasualPokePlayer/received_events","type":"User","user_view_type":"public","site_admin":false},"labels":[],"state":"closed","locked":false,"assignees":[{"login":"slouken","id":2100061,"node_id":"MDQ6VXNlcjIxMDAwNjE=","avatar_url":"https://avatars.githubusercontent.com/u/2100061?v=4","gravatar_id":"","url":"https://api.github.com/users/slouken","html_url":"https://github.com/slouken","followers_url":"https://api.github.com/users/slouken/followers","following_url":"https://api.github.com/users/slouken/following{/other_user}","gists_url":"https://api.github.com/users/slouken/gists{/gist_id}","starred_url":"https://api.github.com/users/slouken/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/slouken/subscriptions","organizations_url":"https://api.github.com/users/slouken/orgs","repos_url":"https://api.github.com/users/slouken/repos","events_url":"https://api.github.com/users/slouken/events{/privacy}","received_events_url":"https://api.github.com/users/slouken/received_events","type":"User","user_view_type":"public","site_admin":false}],"milestone":{"url":"https://api.github.com/repos/libsdl-org/SDL/milestones/32","html_url":"https://github.com/libsdl-org/SDL/milestone/32","labels_url":"https://api.github.com/repos/libsdl-org/SDL/milestones/32/labels","id":13563727,"node_id":"MI_kwDOE6uI4c4AzvdP","number":32,"title":"3.6.0","description":"","creator":{"login":"slouken","id":2100061,"node_id":"MDQ6VXNlcjIxMDAwNjE=","avatar_url":"https://avatars.githubusercontent.com/u/2100061?v=4","gravatar_id":"","url":"https://api.github.com/users/slouken","html_url":"https://github.com/slouken","followers_url":"https://api.github.com/users/slouken/followers","following_url":"https://api.github.com/users/slouken/following{/other_user}","gists_url":"https://api.github.com/users/slouken/gists{/gist_id}","starred_url":"https://api.github.com/users/slouken/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/slouken/subscriptions","organizations_url":"https://api.github.com/users/slouken/orgs","repos_url":"https://api.github.com/users/slouken/repos","events_url":"https://api.github.com/users/slouken/events{/privacy}","received_events_url":"https://api.github.com/users/slouken/received_events","type":"User","user_view_type":"public","site_admin":false},"open_issues":108,"closed_issues":333,"state":"open","created_at":"2025-08-26T21:55:55Z","updated_at":"2026-11-10T02:31:25Z","due_on":null,"closed_at":null},"comments":8,"created_at":"2026-04-17T22:32:46Z","updated_at":"2026-11-10T05:32:15Z","closed_at":"2026-11-10T02:31:24Z","assignee":{"login":"slouken","id":2100061,"node_id":"MDQ6VXNlcjIxMDAwNjE=","avatar_url":"https://avatars.githubusercontent.com/u/2100061?v=4","gravatar_id":"","url":"https://api.github.com/users/slouken","html_url":"https://github.com/slouken","followers_url":"https://api.github.com/users/slouken/followers","following_url":"https://api.github.com/users/slouken/following{/other_user}","gists_url":"https://api.github.com/users/slouken/gists{/gist_id}","starred_url":"https://api.github.com/users/slouken/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/slouken/subscriptions","organizations_url":"https://api.github.com/users/slouken/orgs","repos_url":"https://api.github.com/users/slouken/repos","events_url":"https://api.github.com/users/slouken/events{/privacy}","received_events_url":"https://api.github.com/users/slouken/received_events","type":"User","user_view_type":"public","site_admin":false},"issue_field_values":[],"type":null,"active_lock_reason":null,"sub_issues_summary":{"total":0,"completed":0,"percent_completed":0},"issue_dependencies_summary":{"blocked_by":0,"total_blocked_by":0,"blocking":0,"total_blocking":0},"body":"Title. Currently, if a native Windows device change event gets alerted to SDL (possibly in SDL_JoystickThread's thread, if that hint is enabled), then IDirectInput8_EnumDevices is called within WINDOWS_JoystickDetect -> SDL_DINPUT_JoystickDetect (and this is likely on the main thread, or at least whichever input thread is calling SDL_UpdateJoysticks).\n\nIgnoring known issues with buggy drivers causing IDirectInput8_EnumDevices to sometimes take several seconds, IDirectInput8_EnumDevices is a fairly slow call, even worse if there are a ton of USB devices present on the user's machine. Even with a single gamepad connected on my own laptop, IDirectInput8_EnumDevices ends up taking at least 15ms, which is enough to cause a noticeable stutter for a user. With more devices present, it might take even longer (some users reporting up to 70ms), causing a very noticeable stutter. This is even worse as any device change triggers a re-enumeration (so like unplugging a mouse suddenly causes IDirectInput8_EnumDevices to be called).\n\nIdeally, this call wouldn't occur on the main thread nor whatever thread is calling SDL_UpdateJoysticks (instead probably SDL_JoystickThread, that or a dedicated DirectInput hotplug thread). Assuming that is safe to do here (some basic testing seems to indicate that functions just fine, but I'm not entirely sure that is safe and DirectInput docs don't give any insight to this kind of multi-threading).","reactions":{"url":"https://api.github.com/repos/libsdl-org/SDL/issues/15403/reactions","total_count":0,"+1":0,"-1":0,"laugh":0,"hooray":0,"confused":0,"heart":0,"rocket":0,"eyes":0},"timeline_url":"https://api.github.com/repos/libsdl-org/SDL/issues/15403/timeline","performed_via_github_app":null,"state_reason":"completed","pinned_comment":null},"comment":{"url":"https://api.github.com/repos/libsdl-org/SDL/issues/comments/6757584498","html_url":"https://github.com/libsdl-org/SDL/issues/15403#issuecomment-6757584498","issue_url":"https://api.github.com/repos/libsdl-org/SDL/issues/15403","id":6757584498,"node_id":"IC_kwDOE6uI4c8AAAABksiOcg","user":{"login":"slouken","id":2100061,"node_id":"MDQ6VXNlcjIxMDAwNjE=","avatar_url":"https://avatars.githubusercontent.com/u/2100061?v=4","gravatar_id":"","url":"https://api.github.com/users/slouken","html_url":"https://github.com/slouken","followers_url":"https://api.github.com/users/slouken/followers","following_url":"https://api.github.com/users/slouken/following{/other_user}","gists_url":"https://api.github.com/users/slouken/gists{/gist_id}","starred_url":"https://api.github.com/users/slouken/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/slouken/subscriptions","organizations_url":"https://api.github.com/users/slouken/orgs","repos_url":"https://api.github.com/users/slouken/repos","events_url":"https://api.github.com/users/slouken/events{/privacy}","received_events_url":"https://api.github.com/users/slouken/received_events","type":"User","user_view_type":"public","site_admin":false},"created_at":"2026-11-10T02:50:40Z","updated_at":"2026-11-10T02:50:40Z","body":"Fixed!\n\nJust call `SDL_SetHint(SDL_HINT_JOYSTICK_ASYNC, \"1\")` and you should no longer get any controller related hitches.","pin":null,"reactions":{"url":"https://api.github.com/repos/libsdl-org/SDL/issues/comments/6757584498/reactions","total_count":0,"+1":0,"-1":0,"laugh":0,"hooray":0,"confused":0,"heart":0,"rocket":0,"eyes":0},"performed_via_github_app":null,"minimized":null}},"public":true,"created_at":"2026-11-10T02:50:40Z","org":{"id":77683370,"login":"libsdl-org","gravatar_id":"","url":"https://api.github.com/orgs/libsdl-org","avatar_url":"https://avatars.githubusercontent.com/u/77683370?"}},{"id":"19625127969","type":"IssueCommentEvent","actor":{"id":211382996,"login":"eafton","display_login":"eafton","gravatar_id":"","url":"https://api.github.com/users/eafton","avatar_url":"https://avatars.githubusercontent.com/u/211382996?"},"repo":{"id":330008801,"name":"libsdl-org/SDL","url":"https://api.github.com/repos/libsdl-org/SDL"},"payload":{"action":"created","issue":{"url":"https://api.github.com/repos/libsdl-org/SDL/issues/16504","repository_url":"https://api.github.com/repos/libsdl-org/SDL","labels_url":"https://api.github.com/repos/libsdl-org/SDL/issues/16504/labels{/name}","comments_url":"https://api.github.com/repos/libsdl-org/SDL/issues/16504/comments","events_url":"https://api.github.com/repos/libsdl-org/SDL/issues/16504/events","html_url":"https://github.com/libsdl-org/SDL/issues/16504","id":5805006544,"node_id":"I_kwDOE6uI4c8AAAABWgFe0A","number":16504,"title":"SDL 3.6 tray proposal","user":{"login":"slouken","id":2100061,"node_id":"MDQ6VXNlcjIxMDAwNjE=","avatar_url":"https://avatars.githubusercontent.com/u/2100061?v=4","gravatar_id":"","url":"https://api.github.com/users/slouken","html_url":"https://github.com/slouken","followers_url":"https://api.github.com/users/slouken/followers","following_url":"https://api.github.com/users/slouken/following{/other_user}","gists_url":"https://api.github.com/users/slouken/gists{/gist_id}","starred_url":"https://api.github.com/users/slouken/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/slouken/subscriptions","organizations_url":"https://api.github.com/users/slouken/orgs","repos_url":"https://api.github.com/users/slouken/repos","events_url":"https://api.github.com/users/slouken/events{/privacy}","received_events_url":"https://api.github.com/users/slouken/received_events","type":"User","user_view_type":"public","site_admin":false},"labels":[],"state":"open","locked":false,"assignees":[],"milestone":{"url":"https://api.github.com/repos/libsdl-org/SDL/milestones/32","html_url":"https://github.com/libsdl-org/SDL/milestone/32","labels_url":"https://api.github.com/repos/libsdl-org/SDL/milestones/32/labels","id":13563727,"node_id":"MI_kwDOE6uI4c4AzvdP","number":32,"title":"3.6.0","description":"","creator":{"login":"slouken","id":2100061,"node_id":"MDQ6VXNlcjIxMDAwNjE=","avatar_url":"https://avatars.githubusercontent.com/u/2100061?v=4","gravatar_id":"","url":"https://api.github.com/users/slouken","html_url":"https://github.com/slouken","followers_url":"https://api.github.com/users/slouken/followers","following_url":"https://api.github.com/users/slouken/following{/other_user}","gists_url":"https://api.github.com/users/slouken/gists{/gist_id}","starred_url":"https://api.github.com/users/slouken/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/slouken/subscriptions","organizations_url":"https://api.github.com/users/slouken/orgs","repos_url":"https://api.github.com/users/slouken/repos","events_url":"https://api.github.com/users/slouken/events{/privacy}","received_events_url":"https://api.github.com/users/slouken/received_events","type":"User","user_view_type":"public","site_admin":false},"open_issues":108,"closed_issues":333,"state":"open","created_at":"2025-08-26T21:55:55Z","updated_at":"2026-11-10T02:31:25Z","due_on":null,"closed_at":null},"comments":3,"created_at":"2026-10-11T20:42:45Z","updated_at":"2026-11-10T02:22:11Z","closed_at":null,"assignee":null,"issue_field_values":[],"type":null,"active_lock_reason":null,"sub_issues_summary":{"total":0,"completed":0,"percent_completed":0},"issue_dependencies_summary":{"blocked_by":0,"total_blocked_by":0,"blocking":0,"total_blocking":0},"body":"Okay, thank you for your patience everyone, while I took some time to think this through.\n\nHere's my new proposal:\n* We remove the callback properties added to the API\n* We extend the click callback to take a button, and a screen position and return whether the click was handled\n* We add a new function `bool SDL_SetTrayClickCallback(SDL_Tray *tray, Uint32 button_mask, callback, userdata)` (and GetTrayClickCallback)\n* We add a new function `bool SDL_SetTrayClickWindow(SDL_Tray *tray, Uint32 button_mask, SDL_Window *window)` (and GetTrayClickWindow)\n* We add a new internal function `bool SDL_DispatchTrayClick()` which handles dispatching tray clicks\n\nThe code for SDL_DispatchTrayClick() looks something like this:\n```c\ncallback = SDL_GetTrayClickCallback(tray, button, &userdata);\nif (callback && callback(userdata, ...) {\n     return true;\n}\n\nwindow = SDL_GetTrayClickWindow(tray, button);\nif (window) {\n    // Position window\n    SDL_ShowWindow(window);\n    return true;\n}\n```\n\nSDL_SetTrayClickCallback() and SDL_SetTrayClickWindow() can return false if the documented behavior isn't supported by the OS.\n\nDefault action for left and right click if unhandled by DispatchTrayClick: show menu\nMiddle mouse button and mouse wheel callbacks can be added in a future release if there's enough demand for it.\n\nCallbacks can dynamically change menus or change the click window, allowing customization based on current game state. We'll take advantage of this to temporarily hide menus when the dispatch returns true if we need to not show the menu and suppressing it isn't supported by the OS. (Is this possible? a good idea? If not, then we should fail SDL_SetTrayClickCallback() if the tray has a menu)\n\nShould we add SDL_TrayMouseClickCallback that behaves identically to the existing callback, but takes a mouse button and position?\n\n@icculus, @Semphriss, @eafton, thoughts?\n\nPrior work and discussion:\nhttps://github.com/libsdl-org/SDL/pull/16361\nhttps://github.com/libsdl-org/SDL/pull/16332\nhttps://github.com/libsdl-org/SDL/pull/16309","reactions":{"url":"https://api.github.com/repos/libsdl-org/SDL/issues/16504/reactions","total_count":0,"+1":0,"-1":0,"laugh":0,"hooray":0,"confused":0,"heart":0,"rocket":0,"eyes":0},"timeline_url":"https://api.github.com/repos/libsdl-org/SDL/issues/16504/timeline","performed_via_github_app":null,"state_reason":null,"pinned_comment":null},"comment":{"url":"https://api.github.com/repos/libsdl-org/SDL/issues/comments/6757156451","html_url":"https://github.com/libsdl-org/SDL/issues/16504#issuecomment-6757156451","issue_url":"https://api.github.com/repos/libsdl-org/SDL/issues/16504","id":6757156451,"node_id":"IC_kwDOE6uI4c8AAAABksIGYw","user":{"login":"eafton","id":211382996,"node_id":"U_kgDODJly1A","avatar_url":"https://avatars.githubusercontent.com/u/211382996?v=4","gravatar_id":"","url":"https://api.github.com/users/eafton","html_url":"https://github.com/eafton","followers_url":"https://api.github.com/users/eafton/followers","following_url":"https://api.github.com/users/eafton/following{/other_user}","gists_url":"https://api.github.com/users/eafton/gists{/gist_id}","starred_url":"https://api.github.com/users/eafton/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/eafton/subscriptions","organizations_url":"https://api.github.com/users/eafton/orgs","repos_url":"https://api.github.com/users/eafton/repos","events_url":"https://api.github.com/users/eafton/events{/privacy}","received_events_url":"https://api.github.com/users/eafton/received_events","type":"User","user_view_type":"public","site_admin":false},"created_at":"2026-11-10T02:22:11Z","updated_at":"2026-11-10T02:22:11Z","body":"> > 2. [@slouken](https://github.com/slouken)\n> > So, upon further thinking, I have a few thoughts.\n> > Even if we modify the callback system to take windows, it still wouldnt solve the custom UI problem of wanting to create a custom popup at the tray icon coordinates on Wayland, the only solution for this would be this:\n> > -Extend the SNI protocol so it creates a small subsurface or surface on the bounding box of the tray icon upon request\n> > -SNI protocol exposes that surface via xdg_foreign\n> > -We import that Wayland window and give a SDL_Window handle you can use as a parent for your popup.\n> > Also, I dont think using real SDL mouse buttons is a good idea, since SNI doesnt actually call them mouse buttons, they call them Activate, SecondaryActivate, etc, so having 3 seperate properties but with a better name might be better?\n> > I think we should extend the capabilities mask idea, but have a union of coordinates and a SDL_Window handle, and add flags to saying \"you need to use the handle as a parent here but there you can trust these coordinates, etc\" and pitch the xdg_foreign idea to KDE and see how they react\n> \n> I think we should go off on the existing 3 PRs, maybe combining them so they dont step on each other in terms of dynapi and leave Wayland support as a thought for the moment, we can use the misc properties interface to expose this \"use this window for parent\" trick for Wayland if I can convince KDE to extend the SNI specs. Maybe we can reserve a SDL_TRAY_MISC_PROPERTY_WINDOW_REPRESNTATION key today and mention that its reserved for this future use in the docs. If anyone from KDE or anywhere else with the power to meld SNI is reading this, please contact me through a comment here.\n\n@slouken Any updates? A few people are looking at my SNI extension too (https://gitlab.freedesktop.org/xdg/xdg-specs/-/merge_requests/128). Also Discord support wont budge, so we will have to talk through here or email :(","pin":null,"reactions":{"url":"https://api.github.com/repos/libsdl-org/SDL/issues/comments/6757156451/reactions","total_count":0,"+1":0,"-1":0,"laugh":0,"hooray":0,"confused":0,"heart":0,"rocket":0,"eyes":0},"performed_via_github_app":null,"minimized":null}},"public":true,"created_at":"2026-11-10T02:22:11Z","org":{"id":77683370,"login":"libsdl-org","gravatar_id":"","url":"https://api.github.com/orgs/libsdl-org","avatar_url":"https://avatars.githubusercontent.com/u/77683370?"}},{"id":"19624921765","type":"PullRequestReviewCommentEvent","actor":{"id":2100061,"login":"slouken","display_login":"slouken","gravatar_id":"","url":"https://api.github.com/users/slouken","avatar_url":"https://avatars.githubusercontent.com/u/2100061?"},"repo":{"id":330008801,"name":"libsdl-org/SDL","url":"https://api.github.com/repos/libsdl-org/SDL"},"payload":{"action":"created","comment":{"url":"https://api.github.com/repos/libsdl-org/SDL/pulls/comments/4517882533","pull_request_review_id":5832595014,"id":4517882533,"node_id":"PRRC_kwDOE6uI4c8AAAABDUlqpQ","diff_hunk":"@@ -239,6 +239,10 @@ typedef enum SDL_EventType\n     SDL_EVENT_PINCH_FIRST = SDL_EVENT_PINCH_BEGIN,\n     SDL_EVENT_PINCH_LAST = SDL_EVENT_PINCH_END,\n \n+    /* Hold events */\n+    SDL_EVENT_HOLD_BEGIN = 0x720, /**< Hold gesture started */\n+    SDL_EVENT_HOLD_END,           /**< Hold gesture ended */","path":"include/SDL3/SDL_events.h","commit_id":"ac7d97ab68146249b8d4e1a583df7a1de5b1dd92","original_commit_id":"e70f1bfe4051ec1f5bb9bc135cb63b61f00cc495","user":{"login":"slouken","id":2100061,"node_id":"MDQ6VXNlcjIxMDAwNjE=","avatar_url":"https://avatars.githubusercontent.com/u/2100061?v=4","gravatar_id":"","url":"https://api.github.com/users/slouken","html_url":"https://github.com/slouken","followers_url":"https://api.github.com/users/slouken/followers","following_url":"https://api.github.com/users/slouken/following{/other_user}","gists_url":"https://api.github.com/users/slouken/gists{/gist_id}","starred_url":"https://api.github.com/users/slouken/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/slouken/subscriptions","organizations_url":"https://api.github.com/users/slouken/orgs","repos_url":"https://api.github.com/users/slouken/repos","events_url":"https://api.github.com/users/slouken/events{/privacy}","received_events_url":"https://api.github.com/users/slouken/received_events","type":"User","user_view_type":"public","site_admin":false},"body":"Do we need HOLD_FIRST and HOLD_LAST?","created_at":"2026-11-09T20:56:27Z","updated_at":"2026-11-09T20:56:27Z","html_url":"https://github.com/libsdl-org/SDL/pull/15965#discussion_r4517882533","pull_request_url":"https://api.github.com/repos/libsdl-org/SDL/pulls/15965","_links":{"self":{"href":"https://api.github.com/repos/libsdl-org/SDL/pulls/comments/4517882533"},"html":{"href":"https://github.com/libsdl-org/SDL/pull/15965#discussion_r4517882533"},"pull_request":{"href":"https://api.github.com/repos/libsdl-org/SDL/pulls/15965"}},"reactions":{"url":"https://api.github.com/repos/libsdl-org/SDL/pulls/comments/4517882533/reactions","total_count":0,"+1":0,"-1":0,"laugh":0,"hooray":0,"confused":0,"heart":0,"rocket":0,"eyes":0},"original_position":6,"position":6,"subject_type":"line"},"pull_request":{"url":"https://api.github.com/repos/libsdl-org/SDL/pulls/15965","id":4030410186,"number":15965,"head":{"ref":"scroll_finger","sha":"ac7d97ab68146249b8d4e1a583df7a1de5b1dd92","repo":{"id":346085855,"url":"https://api.github.com/repos/Kontrabant/SDL","name":"SDL"}},"base":{"ref":"main","sha":"c172ab7164145a6a3ffabecc1c0a02dc0bde673d","repo":{"id":330008801,"url":"https://api.github.com/repos/libsdl-org/SDL","name":"SDL"}}}},"public":true,"created_at":"2026-11-09T20:56:27Z","org":{"id":77683370,"login":"libsdl-org","gravatar_id":"","url":"https://api.github.com/orgs/libsdl-org","avatar_url":"https://avatars.githubusercontent.com/u/77683370?"}},{"id":"19624685954","type":"IssueCommentEvent","actor":{"id":1131315,"login":"phil-opp","display_login":"phil-opp","gravatar_id":"","url":"https://api.github.com/users/phil-opp","avatar_url":"https://avatars.githubusercontent.com/u/1131315?"},"repo":{"id":460615268,"name":"dora-rs/dora","url":"https://api.github.com/repos/dora-rs/dora"},"payload":{"action":"created","issue":{"url":"https://api.github.com/repos/dora-rs/dora/issues/3462","repository_url":"https://api.github.com/repos/dora-rs/dora","labels_url":"https://api.github.com/repos/dora-rs/dora/issues/3462/labels{/name}","comments_url":"https://api.github.com/repos/dora-rs/dora/issues/3462/comments","events_url":"https://api.github.com/repos/dora-rs/dora/issues/3462/events","html_url":"https://github.com/dora-rs/dora/issues/3462","id":5397503682,"node_id":"I_kwDOG3RuZM8AAAABQbdewg","number":3462,"title":"Automatic reviews","user":{"login":"phil-opp","id":1131315,"node_id":"MDQ6VXNlcjExMzEzMTU=","avatar_url":"https://avatars.githubusercontent.com/u/1131315?v=4","gravatar_id":"","url":"https://api.github.com/users/phil-opp","html_url":"https://github.com/phil-opp","followers_url":"https://api.github.com/users/phil-opp/followers","following_url":"https://api.github.com/users/phil-opp/following{/other_user}","gists_url":"https://api.github.com/users/phil-opp/gists{/gist_id}","starred_url":"https://api.github.com/users/phil-opp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/phil-opp/subscriptions","organizations_url":"https://api.github.com/users/phil-opp/orgs","repos_url":"https://api.github.com/users/phil-opp/repos","events_url":"https://api.github.com/users/phil-opp/events{/privacy}","received_events_url":"https://api.github.com/users/phil-opp/received_events","type":"User","user_view_type":"public","site_admin":false},"labels":[],"state":"open","locked":false,"assignees":[],"milestone":null,"comments":591,"created_at":"2026-09-09T09:17:32Z","updated_at":"2026-11-10T03:09:45Z","closed_at":null,"assignee":null,"issue_field_values":[],"type":null,"active_lock_reason":null,"sub_issues_summary":{"total":0,"completed":0,"percent_completed":0},"issue_dependencies_summary":{"blocked_by":0,"total_blocked_by":0,"blocking":0,"total_blocking":0},"body":"Summary issues for automatic reviews.","reactions":{"url":"https://api.github.com/repos/dora-rs/dora/issues/3462/reactions","total_count":0,"+1":0,"-1":0,"laugh":0,"hooray":0,"confused":0,"heart":0,"rocket":0,"eyes":0},"timeline_url":"https://api.github.com/repos/dora-rs/dora/issues/3462/timeline","performed_via_github_app":null,"state_reason":null,"pinned_comment":null},"comment":{"url":"https://api.github.com/repos/dora-rs/dora/issues/comments/6757864388","html_url":"https://github.com/dora-rs/dora/issues/3462#issuecomment-6757864388","issue_url":"https://api.github.com/repos/dora-rs/dora/issues/3462","id":6757864388,"node_id":"IC_kwDOG3RuZM8AAAABkszTxA","user":{"login":"phil-opp","id":1131315,"node_id":"MDQ6VXNlcjExMzEzMTU=","avatar_url":"https://avatars.githubusercontent.com/u/1131315?v=4","gravatar_id":"","url":"https://api.github.com/users/phil-opp","html_url":"https://github.com/phil-opp","followers_url":"https://api.github.com/users/phil-opp/followers","following_url":"https://api.github.com/users/phil-opp/following{/other_user}","gists_url":"https://api.github.com/users/phil-opp/gists{/gist_id}","starred_url":"https://api.github.com/users/phil-opp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/phil-opp/subscriptions","organizations_url":"https://api.github.com/users/phil-opp/orgs","repos_url":"https://api.github.com/users/phil-opp/repos","events_url":"https://api.github.com/users/phil-opp/events{/privacy}","received_events_url":"https://api.github.com/users/phil-opp/received_events","type":"User","user_view_type":"public","site_admin":false},"created_at":"2026-11-10T03:09:45Z","updated_at":"2026-11-10T03:09:45Z","body":"🤖 **Scheduled automated Claude check: review of recent commits and PRs (2026-11-08 → 2026-11-10)**\n\nThis comment was created by a scheduled automated Claude check. No human checked it.\n\n**Result: nothing new to review. No new issues opened.**\n- No commits landed on `main` in this window. `main` is still at `976e49e` (#4076, merged 2026-11-06 21:01Z). I checked this with both `git log` and the GitHub commits API.\n- No PRs were merged or closed in this window.\n- The last batch of merges, on 2026-11-06 (#3634, #3635, #3941, #4047, #4048, #4060, #4069, #4070, #4072, #4074, #4075, #4076), was reviewed in the 2026-11-07 runs. Their findings are tracked in #4083, #4092, #4100 and #4101. The later component reviews filed #4114.\n\n---\n_Generated by [Claude Code](https://claude.ai/code)_","pin":null,"reactions":{"url":"https://api.github.com/repos/dora-rs/dora/issues/comments/6757864388/reactions","total_count":0,"+1":0,"-1":0,"laugh":0,"hooray":0,"confused":0,"heart":0,"rocket":0,"eyes":0},"performed_via_github_app":{"id":1236702,"client_id":"Iv23liqTIFEtdIu6Vn1r","slug":"claude","node_id":"A_kwHOBIuudM4AEt7e","owner":{"login":"anthropics","id":76263028,"node_id":"MDEyOk9yZ2FuaXphdGlvbjc2MjYzMDI4","avatar_url":"https://avatars.githubusercontent.com/u/76263028?v=4","gravatar_id":"","url":"https://api.github.com/users/anthropics","html_url":"https://github.com/anthropics","followers_url":"https://api.github.com/users/anthropics/followers","following_url":"https://api.github.com/users/anthropics/following{/other_user}","gists_url":"https://api.github.com/users/anthropics/gists{/gist_id}","starred_url":"https://api.github.com/users/anthropics/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/anthropics/subscriptions","organizations_url":"https://api.github.com/users/anthropics/orgs","repos_url":"https://api.github.com/users/anthropics/repos","events_url":"https://api.github.com/users/anthropics/events{/privacy}","received_events_url":"https://api.github.com/users/anthropics/received_events","type":"Organization","user_view_type":"public","site_admin":false},"name":"Claude","description":"Run Claude Code from your GitHub Pull Requests and Issues to respond to reviewer feedback, fix CI errors, or modify code, turning it into a virtual teammate that works alongside your development pipelines.\r\n\r\nThis is built on the publicly available Claude Code SDK.","external_url":"https://anthropic.com/claude-code","html_url":"https://github.com/apps/claude","created_at":"2025-04-30T17:54:24Z","updated_at":"2026-11-06T04:29:41Z","permissions":{"actions":"write","administration":"read","checks":"write","contents":"write","discussions":"write","issues":"write","members":"read","merge_queues":"read","metadata":"read","pull_requests":"write","repository_creation":"write","repository_hooks":"write","statuses":"read","workflows":"write"},"events":["branch_protection_rule","check_run","check_suite","commit_comment","discussion","discussion_comment","issues","issue_comment","merge_group","merge_queue_entry","pull_request","pull_request_review","pull_request_review_comment","pull_request_review_thread","push","release","repository_ruleset","status","sub_issues"]},"minimized":null}},"public":true,"created_at":"2026-11-10T03:09:45Z","org":{"id":99922143,"login":"dora-rs","gravatar_id":"","url":"https://api.github.com/orgs/dora-rs","avatar_url":"https://avatars.githubusercontent.com/u/99922143?"}},{"id":"19624522259","type":"IssueCommentEvent","actor":{"id":1131315,"login":"phil-opp","display_login":"phil-opp","gravatar_id":"","url":"https://api.github.com/users/phil-opp","avatar_url":"https://avatars.githubusercontent.com/u/1131315?"},"repo":{"id":460615268,"name":"dora-rs/dora","url":"https://api.github.com/repos/dora-rs/dora"},"payload":{"action":"created","issue":{"url":"https://api.github.com/repos/dora-rs/dora/issues/3462","repository_url":"https://api.github.com/repos/dora-rs/dora","labels_url":"https://api.github.com/repos/dora-rs/dora/issues/3462/labels{/name}","comments_url":"https://api.github.com/repos/dora-rs/dora/issues/3462/comments","events_url":"https://api.github.com/repos/dora-rs/dora/issues/3462/events","html_url":"https://github.com/dora-rs/dora/issues/3462","id":5397503682,"node_id":"I_kwDOG3RuZM8AAAABQbdewg","number":3462,"title":"Automatic reviews","user":{"login":"phil-opp","id":1131315,"node_id":"MDQ6VXNlcjExMzEzMTU=","avatar_url":"https://avatars.githubusercontent.com/u/1131315?v=4","gravatar_id":"","url":"https://api.github.com/users/phil-opp","html_url":"https://github.com/phil-opp","followers_url":"https://api.github.com/users/phil-opp/followers","following_url":"https://api.github.com/users/phil-opp/following{/other_user}","gists_url":"https://api.github.com/users/phil-opp/gists{/gist_id}","starred_url":"https://api.github.com/users/phil-opp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/phil-opp/subscriptions","organizations_url":"https://api.github.com/users/phil-opp/orgs","repos_url":"https://api.github.com/users/phil-opp/repos","events_url":"https://api.github.com/users/phil-opp/events{/privacy}","received_events_url":"https://api.github.com/users/phil-opp/received_events","type":"User","user_view_type":"public","site_admin":false},"labels":[],"state":"open","locked":false,"assignees":[],"milestone":null,"comments":591,"created_at":"2026-09-09T09:17:32Z","updated_at":"2026-11-10T03:09:45Z","closed_at":null,"assignee":null,"issue_field_values":[],"type":null,"active_lock_reason":null,"sub_issues_summary":{"total":0,"completed":0,"percent_completed":0},"issue_dependencies_summary":{"blocked_by":0,"total_blocked_by":0,"blocking":0,"total_blocking":0},"body":"Summary issues for automatic reviews.","reactions":{"url":"https://api.github.com/repos/dora-rs/dora/issues/3462/reactions","total_count":0,"+1":0,"-1":0,"laugh":0,"hooray":0,"confused":0,"heart":0,"rocket":0,"eyes":0},"timeline_url":"https://api.github.com/repos/dora-rs/dora/issues/3462/timeline","performed_via_github_app":null,"state_reason":null,"pinned_comment":null},"comment":{"url":"https://api.github.com/repos/dora-rs/dora/issues/comments/6757826236","html_url":"https://github.com/dora-rs/dora/issues/3462#issuecomment-6757826236","issue_url":"https://api.github.com/repos/dora-rs/dora/issues/3462","id":6757826236,"node_id":"IC_kwDOG3RuZM8AAAABksw-vA","user":{"login":"phil-opp","id":1131315,"node_id":"MDQ6VXNlcjExMzEzMTU=","avatar_url":"https://avatars.githubusercontent.com/u/1131315?v=4","gravatar_id":"","url":"https://api.github.com/users/phil-opp","html_url":"https://github.com/phil-opp","followers_url":"https://api.github.com/users/phil-opp/followers","following_url":"https://api.github.com/users/phil-opp/following{/other_user}","gists_url":"https://api.github.com/users/phil-opp/gists{/gist_id}","starred_url":"https://api.github.com/users/phil-opp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/phil-opp/subscriptions","organizations_url":"https://api.github.com/users/phil-opp/orgs","repos_url":"https://api.github.com/users/phil-opp/repos","events_url":"https://api.github.com/users/phil-opp/events{/privacy}","received_events_url":"https://api.github.com/users/phil-opp/received_events","type":"User","user_view_type":"public","site_admin":false},"created_at":"2026-11-10T03:07:09Z","updated_at":"2026-11-10T03:07:09Z","body":"🤖 **Scheduled automated Claude check** (2026-11-10, at `976e49e`)\n\n**Component reviewed:** `binaries/daemon/src/node_communication/tcp.rs`, the daemon's TCP node listener. I also traced its callers and peers: `Listener::run` in `node_communication/mod.rs`, the `DaemonRequest` reply policy in `libraries/message/src/node_to_daemon.rs`, and the node-side client in `apis/rust/node/src/daemon_connection/tcp.rs`.\n\n**Findings:**\n- #4114: an undecodable `SendMessage`/`OutputSent` frame gets an unsolicited error reply, which shifts every later request/reply pair on the connection by one. The frozen-variant rule only covers the outer variant tag. The `Parameter` and `DataMessage` enums inside the payload are still allowed to grow, since the wire gate only warns on a new variant.\n\n**Checked, no issues found:** listener shutdown and accept backoff, framing desync handling (oversized header or stalled body closes the connection), and the register handshake path. The AI-specific checks (prompt injection, model output handling) don't apply to this component.\n\n---\n_Generated by [Claude Code](https://claude.ai/code)_","pin":null,"reactions":{"url":"https://api.github.com/repos/dora-rs/dora/issues/comments/6757826236/reactions","total_count":0,"+1":0,"-1":0,"laugh":0,"hooray":0,"confused":0,"heart":0,"rocket":0,"eyes":0},"performed_via_github_app":{"id":1236702,"client_id":"Iv23liqTIFEtdIu6Vn1r","slug":"claude","node_id":"A_kwHOBIuudM4AEt7e","owner":{"login":"anthropics","id":76263028,"node_id":"MDEyOk9yZ2FuaXphdGlvbjc2MjYzMDI4","avatar_url":"https://avatars.githubusercontent.com/u/76263028?v=4","gravatar_id":"","url":"https://api.github.com/users/anthropics","html_url":"https://github.com/anthropics","followers_url":"https://api.github.com/users/anthropics/followers","following_url":"https://api.github.com/users/anthropics/following{/other_user}","gists_url":"https://api.github.com/users/anthropics/gists{/gist_id}","starred_url":"https://api.github.com/users/anthropics/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/anthropics/subscriptions","organizations_url":"https://api.github.com/users/anthropics/orgs","repos_url":"https://api.github.com/users/anthropics/repos","events_url":"https://api.github.com/users/anthropics/events{/privacy}","received_events_url":"https://api.github.com/users/anthropics/received_events","type":"Organization","user_view_type":"public","site_admin":false},"name":"Claude","description":"Run Claude Code from your GitHub Pull Requests and Issues to respond to reviewer feedback, fix CI errors, or modify code, turning it into a virtual teammate that works alongside your development pipelines.\r\n\r\nThis is built on the publicly available Claude Code SDK.","external_url":"https://anthropic.com/claude-code","html_url":"https://github.com/apps/claude","created_at":"2025-04-30T17:54:24Z","updated_at":"2026-11-06T04:29:41Z","permissions":{"actions":"write","administration":"read","checks":"write","contents":"write","discussions":"write","issues":"write","members":"read","merge_queues":"read","metadata":"read","pull_requests":"write","repository_creation":"write","repository_hooks":"write","statuses":"read","workflows":"write"},"events":["branch_protection_rule","check_run","check_suite","commit_comment","discussion","discussion_comment","issues","issue_comment","merge_group","merge_queue_entry","pull_request","pull_request_review","pull_request_review_comment","pull_request_review_thread","push","release","repository_ruleset","status","sub_issues"]},"minimized":null}},"public":true,"created_at":"2026-11-10T03:07:09Z","org":{"id":99922143,"login":"dora-rs","gravatar_id":"","url":"https://api.github.com/orgs/dora-rs","avatar_url":"https://avatars.githubusercontent.com/u/99922143?"}},{"id":"19624512849","type":"IssuesEvent","actor":{"id":1131315,"login":"phil-opp","display_login":"phil-opp","gravatar_id":"","url":"https://api.github.com/users/phil-opp","avatar_url":"https://avatars.githubusercontent.com/u/1131315?"},"repo":{"id":460615268,"name":"dora-rs/dora","url":"https://api.github.com/repos/dora-rs/dora"},"payload":{"action":"opened","issue":{"url":"https://api.github.com/repos/dora-rs/dora/issues/4114","repository_url":"https://api.github.com/repos/dora-rs/dora","labels_url":"https://api.github.com/repos/dora-rs/dora/issues/4114/labels{/name}","comments_url":"https://api.github.com/repos/dora-rs/dora/issues/4114/comments","events_url":"https://api.github.com/repos/dora-rs/dora/issues/4114/events","html_url":"https://github.com/dora-rs/dora/issues/4114","id":6299388872,"node_id":"I_kwDOG3RuZM8AAAABd3kLyA","number":4114,"title":"daemon: undecodable `SendMessage`/`OutputSent` frame gets an unsolicited error reply, misaligning every later reply on the connection","user":{"login":"phil-opp","id":1131315,"node_id":"MDQ6VXNlcjExMzEzMTU=","avatar_url":"https://avatars.githubusercontent.com/u/1131315?v=4","gravatar_id":"","url":"https://api.github.com/users/phil-opp","html_url":"https://github.com/phil-opp","followers_url":"https://api.github.com/users/phil-opp/followers","following_url":"https://api.github.com/users/phil-opp/following{/other_user}","gists_url":"https://api.github.com/users/phil-opp/gists{/gist_id}","starred_url":"https://api.github.com/users/phil-opp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/phil-opp/subscriptions","organizations_url":"https://api.github.com/users/phil-opp/orgs","repos_url":"https://api.github.com/users/phil-opp/repos","events_url":"https://api.github.com/users/phil-opp/events{/privacy}","received_events_url":"https://api.github.com/users/phil-opp/received_events","type":"User","user_view_type":"public","site_admin":false},"labels":[],"state":"open","locked":false,"assignees":[],"milestone":null,"comments":0,"created_at":"2026-11-10T03:07:01Z","updated_at":"2026-11-10T03:07:01Z","closed_at":null,"assignee":null,"issue_field_values":[],"type":null,"active_lock_reason":null,"sub_issues_summary":{"total":0,"completed":0,"percent_completed":0},"issue_dependencies_summary":{"blocked_by":0,"total_blocked_by":0,"blocking":0,"total_blocking":0},"body":"> 🤖 **This issue was created by a scheduled automated Claude check** (a periodic review of a randomly chosen component). Please verify before acting on it.\n\n## Summary\n\nWhen the daemon's TCP node listener cannot decode a `DaemonRequest` frame, it **always** answers with `DaemonReply::Result(Err(\"unsupported request ...\"))` and keeps the connection open (`binaries/daemon/src/node_communication/tcp.rs:142-166`). That is only safe if the undecodable frame was a request whose sender waits for a binary reply.\n\nThe code and docs rely on this invariant (`libraries/message/src/node_to_daemon.rs:11-20`, `docs/api-rust.md:801`): the no-reply requests `SendMessage`, `OutputSent` and `NodeConfig` \"are fixed by the frozen wire format and always decode.\" **The variant tag is frozen, but the payload is not.** `SendMessage` and `OutputSent` carry `Metadata` → `MetadataParameters` = `BTreeMap<String, Parameter>`, and `SendMessage` also carries `Option<DataMessage>`. Both are plain postcard enums:\n\n```rust\n// libraries/message/src/metadata.rs:228\npub enum Parameter { Bool(bool), Integer(i64), String(String), ListInt(..), Float(f64), ListFloat(..), ListString(..), Timestamp(..) }\n\n// libraries/message/src/common.rs:373\npub enum DataMessage { Vec(..) }\n```\n\nThe breaking-change gate treats a new variant on a postcard enum as an allowed growth path: it reports `WARN`, not `BREAK` (`scripts/qa/breaking_changes.py:984-990`, \"it is how the protocol is meant to grow\"). So a later 1.x release could add, for example, `Parameter::Bytes(..)` or `Parameter::ListBool(..)`, and nothing would block it.\n\n## Failure scenario\n\n1. A newer node (with a new `Parameter` variant) runs against an older daemon, e.g. during a rolling upgrade or with a newer Python wheel.\n2. The node calls `send_output` with metadata that uses the new variant. The node sends `SendMessage` and, because `expects_tcp_binary_reply()` is `false`, it **does not read a reply** (`apis/rust/node/src/daemon_connection/tcp.rs:27-35`).\n3. The daemon fails to decode the frame and writes `DaemonReply::Result(Err(..))` to the socket anyway.\n4. The node's next request that does read a reply (`NextEvent`, `CloseOutputs`, `ExtensionLoad`, ...) receives that stale error frame instead of its own reply. From then on, every request/reply pair on the connection is shifted by one. The node gets wrong replies, such as a `Result(Err)` where it expects `NextEvents`, or a reply meant for a different request, instead of a clear error. The output is also silently dropped.\n\n`docs/api-rust.md:801` names exactly this hazard: \"an unsolicited error frame would shift every later request/reply pair on that connection by one.\" Today it can still be reached through the payload, not only through a new variant.\n\n## Possible fixes (pick one)\n\n- **Make the invariant true:** freeze `Parameter` and `DataMessage` (and anything else reachable from `SendMessage`/`OutputSent`) in the breaking-change gate, so that adding a variant is a `BREAK` for those types. Document that new parameter kinds need a new request variant.\n- **Make the daemon robust:** when decoding fails, peek the outer `DaemonRequest` variant index (the leading postcard varint after the `Timestamped` header). If it is a known no-reply variant (`SendMessage`/`OutputSent`/`NodeConfig`), log the error and drop the frame, or close the connection, instead of replying. Send the error reply only for an unknown variant index.\n- Add a regression test next to `undecodable_frame_gets_an_error_reply_and_keeps_the_connection` (`tcp.rs:212`): a `SendMessage` frame with a valid variant tag but an unknown `Parameter` discriminant must not produce a reply.\n\nThe same decode-then-reply pattern should be checked in any other `Connection` implementation (shmem/unix-domain listeners) that copies this logic.","reactions":{"url":"https://api.github.com/repos/dora-rs/dora/issues/4114/reactions","total_count":0,"+1":0,"-1":0,"laugh":0,"hooray":0,"confused":0,"heart":0,"rocket":0,"eyes":0},"timeline_url":"https://api.github.com/repos/dora-rs/dora/issues/4114/timeline","performed_via_github_app":{"id":1236702,"client_id":"Iv23liqTIFEtdIu6Vn1r","slug":"claude","node_id":"A_kwHOBIuudM4AEt7e","owner":{"login":"anthropics","id":76263028,"node_id":"MDEyOk9yZ2FuaXphdGlvbjc2MjYzMDI4","avatar_url":"https://avatars.githubusercontent.com/u/76263028?v=4","gravatar_id":"","url":"https://api.github.com/users/anthropics","html_url":"https://github.com/anthropics","followers_url":"https://api.github.com/users/anthropics/followers","following_url":"https://api.github.com/users/anthropics/following{/other_user}","gists_url":"https://api.github.com/users/anthropics/gists{/gist_id}","starred_url":"https://api.github.com/users/anthropics/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/anthropics/subscriptions","organizations_url":"https://api.github.com/users/anthropics/orgs","repos_url":"https://api.github.com/users/anthropics/repos","events_url":"https://api.github.com/users/anthropics/events{/privacy}","received_events_url":"https://api.github.com/users/anthropics/received_events","type":"Organization","user_view_type":"public","site_admin":false},"name":"Claude","description":"Run Claude Code from your GitHub Pull Requests and Issues to respond to reviewer feedback, fix CI errors, or modify code, turning it into a virtual teammate that works alongside your development pipelines.\r\n\r\nThis is built on the publicly available Claude Code SDK.","external_url":"https://anthropic.com/claude-code","html_url":"https://github.com/apps/claude","created_at":"2025-04-30T17:54:24Z","updated_at":"2026-11-06T04:29:41Z","permissions":{"actions":"write","administration":"read","checks":"write","contents":"write","discussions":"write","issues":"write","members":"read","merge_queues":"read","metadata":"read","pull_requests":"write","repository_creation":"write","repository_hooks":"write","statuses":"read","workflows":"write"},"events":["branch_protection_rule","check_run","check_suite","commit_comment","discussion","discussion_comment","issues","issue_comment","merge_group","merge_queue_entry","pull_request","pull_request_review","pull_request_review_comment","pull_request_review_thread","push","release","repository_ruleset","status","sub_issues"]},"state_reason":null,"pinned_comment":null}},"public":true,"created_at":"2026-11-10T03:07:02Z","org":{"id":99922143,"login":"dora-rs","gravatar_id":"","url":"https://api.github.com/orgs/dora-rs","avatar_url":"https://avatars.githubusercontent.com/u/99922143?"}}]