René's URL Explorer Experiment


Title: id(ssh): PR #720's dropped-input notice still cannot fire in explorer sessions — the shared counter is counted for them but never claimed · Issue #723 · developing-today/code · GitHub

Open Graph Title: id(ssh): PR #720's dropped-input notice still cannot fire in explorer sessions — the shared counter is counted for them but never claimed · Issue #723 · developing-today/code

X Title: id(ssh): PR #720's dropped-input notice still cannot fire in explorer sessions — the shared counter is counted for them but never claimed · Issue #723 · developing-today/code

Description: Finding PR #720 fixes #602 for world shells: the russh data() handler and SshIo now share one Arc dropped-input counter, so bytes refused after the shell opens reach SshIo::send, which claims the notice at the documented INP...

Open Graph Description: Finding PR #720 fixes #602 for world shells: the russh data() handler and SshIo now share one Arc dropped-input counter, so bytes refused after the shell opens reach SshIo::send, which...

X Description: Finding PR #720 fixes #602 for world shells: the russh data() handler and SshIo now share one Arc<AtomicUsize> dropped-input counter, so bytes refused after the shell opens reach SshIo::send,...

Opengraph URL: https://github.com/developing-today/code/issues/723

X: @github

direct link

Domain: github.com

IPv4 address: 140.82.114.4


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"id(ssh): PR #720's dropped-input notice still cannot fire in explorer sessions — the shared counter is counted for them but never claimed","articleBody":"## Finding\n\nPR #720 fixes #602 for world shells: the russh `data()` handler and `SshIo` now share one `Arc\u003cAtomicUsize>` dropped-input counter, so bytes refused after the shell opens reach `SshIo::send`, which claims the notice at the documented `INPUT_DROP_NOTICE_BYTES` (1024) threshold.\n\nThe same handler and the same input queue also serve the other session type in the same function, and that branch is not wired:\n\n- In `shell_request` on PR #720's head (`c7756f8c`, `pkgs/id/src/world_ssh.rs:319-325`), the `login.explore` branch creates its own `mpsc::channel(INPUT_QUEUE)` (256 frames, `:42` on the head), stores the sender in `self.input`, and spawns `run_explorer(explorer, handle, channel, bytes)` — with no dropped-input counter.\n- The non-explorer branch right below it (`:352`) is the only place that clones the shared counter: `dropped_input: Arc::clone(&self.dropped_input)` into `SshIo`.\n- The handler (`data()`, `:371`, counting at `:389` via `record_dropped_input`) counts refused bytes on `TrySendError::Full` regardless of which session type owns `self.input` — it cannot distinguish explorer input from world-shell input.\n- `run_explorer` (`:1148-1153` on the head) takes only `explorer, handle, channel, bytes`; nothing in its loop ever calls `claim_dropped_input_notice` / `dropped_input_notice`. The only claim site in the file is `SshIo::send` (`:639`).\n\nSo for an explorer (`explore:`) session, refused bytes are still counted into a counter nobody reads and logged with `tracing::warn!` only — the viewer is never told their input was dropped. That is the exact silent-drop shape #549 / #602 were filed for, surviving in the second branch of the same `shell_request` after #720 lands. The explorer drains its queue one line at a time and awaits a hub/directory call per submitted line, so a paste/flood arriving while a line executes can fill the 256-frame queue in the same way.\n\nThis does not block PR #720: it correctly satisfies #602's acceptance criteria as written (which scope to the world shell / `SshIo`). This issue tracks the residual branch #602 did not name.\n\n## Evidence\n\n- PR: #720 (`fix(id): share the SSH dropped-input counter with the session so the notice can fire`, fixes #602, 1 commit `c7756f8ce520db275e51a5088b40f655068de9b4`, OPEN at filing, 1 file `pkgs/id/src/world_ssh.rs`, +95/-28). Its diff touches the handler counter, `SshIo`, and the two notice tests — no `run_explorer` / explorer-branch hunk.\n- Verified on the PR head via `gh api .../contents/pkgs/id/src/world_ssh.rs?ref=c7756f8c`: `grep -n dropped_input` returns the handler, `SshClient`/`SshIo` fields, `record_dropped_input`/`claim_dropped_input_notice`, and the `SshIo::send` claim — no occurrence in the explorer branch or in `run_explorer`.\n- Verified on current main (`df383659`, base of #720, local clone == `gh api commits/main`): the pre-fix structure is the same two branches — explorer at `shell_request` spawns `run_explorer` with no counter, world shell copies the (then-`usize`) counter into `SshIo`.\n- Cross-repo: `git grep dropped_input_notice` is clean in the opencode, openchamber and nix clones — `pkgs/id` SSH code lives only in this repo.\n- Dedup: `gh search issues \"dropped input\"` returns only #602 (OPEN, world-shell scope); searches for `explorer dropped`, `explorer input`, `run_explorer dropped` and `INPUT_DROP` return nothing. No open or closed issue tracks the explorer branch.\n\n## Why it matters\n\nAn explorer user whose keystrokes/paste are refused under load gets the same \"my input vanished\" experience #549 set out to eliminate, with only a server-side warn log as evidence. Because the counter is now shared and incremented for explorer sessions too, the post-#720 code gives the impression the notice is handled uniformly — a reader of `data()` sees one counter and one notice mechanism, not a per-branch exception.\n\n## Acceptance criteria\n\n- [ ] The explorer branch in `shell_request` passes the shared dropped-input counter (the same `Arc\u003cAtomicUsize>` the handler counts on) into `run_explorer`.\n- [ ] `run_explorer` claims the notice with the same helper/threshold as `SshIo::send` (`claim_dropped_input_notice`, `INPUT_DROP_NOTICE_BYTES`) and writes it to the channel before the next explorer output once the threshold is reached; a failed notice write restores the claimed bytes, so drops are neither lost nor double-counted (same reset-only-on-delivery rule as #602).\n- [ ] A test drives the shared counter the way the handler does (or fills a live explorer session's input queue) and observes the `[-- input dropped: N bytes ... --]` notice on the explorer channel; below-threshold drops stay quiet and counted.\n- [ ] World-shell behaviour from #720 is unchanged: the existing `world_ssh::` suite (incl. `dropped_input_notice_counts_and_quiet_zero` and `dropped_input_notice_follows_the_shared_counter`) still passes.\n- [ ] Alternatively, if explorer sessions are deliberately excluded, that decision is recorded in a code comment at the explorer branch / counter definition and on this issue before closing — not left as a silent gap.\n","author":{"url":"https://github.com/dezren39","@type":"Person","name":"dezren39"},"datePublished":"2026-10-24T06:41:14Z","url":"https://github.com/developing-today/code/issues/723"}

react-profiling0
react-import-mapreact,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322
route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:dd25f13f-743a-9a84-ec12-b1099467ffba
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idDCD6:3AABA8:C11921:FFF010:6B06415F
html-safe-nonce352478c6c3c016a756758232ead509436d8de21d97ec0239f5399827d999a34b
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEQ0Q2OjNBQUJBODpDMTE5MjE6RkZGMDEwOjZCMDY0MTVGIiwidmlzaXRvcl9pZCI6IjU0MzQ0OTIyMzI0NzA1MTE5NjgiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmac8e103011e623aacdad41a4bcc37f5a11e2e034b63ce8ae82b55464300914ffc9
hovercard-subject-tagissue:6010230889
github-keyboard-shortcutsrepository,issues,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/issues_fragments/issue_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/developing-today/code/723/issue_layout
twitter:imagehttps://opengraph.githubassets.com/1851912977cea00ba888abd1b6bddfc499a86ddd298a3b7eda9859ecbd2f2a14/developing-today/code/issues/723
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/1851912977cea00ba888abd1b6bddfc499a86ddd298a3b7eda9859ecbd2f2a14/developing-today/code/issues/723
og:image:altFinding PR #720 fixes #602 for world shells: the russh data() handler and SshIo now share one Arc dropped-input counter, so bytes refused after the shell opens reach SshIo::send, which...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamedezren39
hostnamegithub.com
expected-hostnamegithub.com
None1bff4f6bfaa96dc9c42cacf315424c24ebb548b06142ced5e3aaccb2a42dd652
turbo-cache-controlno-preview
go-importgithub.com/developing-today/code git https://github.com/developing-today/code.git
octolytics-dimension-user_id26439447
octolytics-dimension-user_logindeveloping-today
octolytics-dimension-repository_id627308783
octolytics-dimension-repository_nwodeveloping-today/code
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id627308783
octolytics-dimension-repository_network_root_nwodeveloping-today/code
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
releaseac613d3698d3d8565651455086e1f74da07bf277
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-nameissues

Links:

Skip to contenthttps://github.com/developing-today/code/issues/723#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fdeveloping-today%2Fcode%2Fissues%2F723
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://github.com/security/advanced-security
Copilot for businessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fdeveloping-today%2Fcode%2Fissues%2F723
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fissues_fragments%2Fissue_layout&source=header-repo&source_repo=developing-today%2Fcode
Reloadhttps://github.com/developing-today/code/issues/723
Reloadhttps://github.com/developing-today/code/issues/723
Reloadhttps://github.com/developing-today/code/issues/723
developing-todayhttps://github.com/developing-today
codehttps://github.com/developing-today/code
Codehttps://github.com/developing-today/code
Issues1.1k (1.1k)https://github.com/developing-today/code/issues
Pull requests173 (173)https://github.com/developing-today/code/pulls
Discussionshttps://github.com/developing-today/code/discussions
Actionshttps://github.com/developing-today/code/actions
Projectshttps://github.com/developing-today/code/projects
Wikihttps://github.com/developing-today/code/wiki
Security and qualityhttps://github.com/developing-today/code/security
Insightshttps://github.com/developing-today/code/insights
https://github.com/developing-today/code
New issuehttps://github.com/login?return_to=https://github.com/developing-today/code/issues/723
New issuehttps://github.com/login?return_to=https://github.com/developing-today/code/issues/723
#735https://github.com/developing-today/code/pull/735
id(ssh): PR #720's dropped-input notice still cannot fire in explorer sessions — the shared counter is counted for them but never claimedhttps://github.com/developing-today/code/issues/723#top
#735https://github.com/developing-today/code/pull/735
https://github.com/dezren39
https://github.com/dezren39
dezren39https://github.com/dezren39
on Oct 24, 2026https://github.com/developing-today/code/issues/723#issue-6010230889
#720https://github.com/developing-today/code/pull/720
#602https://github.com/developing-today/code/issues/602
fix(id): share the SSH dropped-input counter with the session so the notice can fire #720https://github.com/developing-today/code/pull/720
#549https://github.com/developing-today/code/issues/549
#602https://github.com/developing-today/code/issues/602
#720https://github.com/developing-today/code/pull/720
#720https://github.com/developing-today/code/pull/720
#602https://github.com/developing-today/code/issues/602
#602https://github.com/developing-today/code/issues/602
fix(id): share the SSH dropped-input counter with the session so the notice can fire #720https://github.com/developing-today/code/pull/720
id(ssh): PR #594's dropped-input notice can never fire in-session — the shell reads a snapshot taken before the queue exists, and the handler's counter is never read again #602https://github.com/developing-today/code/issues/602
fix(id): share the SSH dropped-input counter with the session so the notice can fire #720https://github.com/developing-today/code/pull/720
id(ssh): PR #594's dropped-input notice can never fire in-session — the shell reads a snapshot taken before the queue exists, and the handler's counter is never read again #602https://github.com/developing-today/code/issues/602
#549https://github.com/developing-today/code/issues/549
#720https://github.com/developing-today/code/pull/720
id(ssh): PR #594's dropped-input notice can never fire in-session — the shell reads a snapshot taken before the queue exists, and the handler's counter is never read again #602https://github.com/developing-today/code/issues/602
fix(id): share the SSH dropped-input counter with the session so the notice can fire #720https://github.com/developing-today/code/pull/720
github-actionshttps://github.com/apps/github-actions
dezren39https://github.com/dezren39
on Oct 24, 2026https://github.com/developing-today/code/issues/723#event-34115123896
dezren39https://github.com/dezren39
on Oct 24, 2026https://github.com/developing-today/code/issues/723#event-34120676405
fix(id): deliver the dropped-input notice in SSH explorer sessionshttps://github.com/developing-today/code/commit/5fb73e34870b0acd67a056e8047d1cd9d95f2540
https://docs.github.com/articles/closing-issues-via-commit-messages
5fb73e3https://github.com/developing-today/code/commit/5fb73e34870b0acd67a056e8047d1cd9d95f2540
dezren39https://github.com/dezren39
completedhttps://github.com/developing-today/code/issues?q=is%3Aissue%20state%3Aclosed%20archived%3Afalse%20reason%3Acompleted
#735https://github.com/developing-today/code/pull/735
on Oct 24, 2026https://github.com/developing-today/code/issues/723#event-34121171668
https://github.com/apps/developing-today-fleet
developing-today-fleethttps://github.com/apps/developing-today-fleet
on Nov 24, 2026https://github.com/developing-today/code/issues/723#issuecomment-7124559096
developing.today fleethttps://kaneo.security.cab
PR #735 — fix(id): deliver the dropped-input notice in SSH explorer sessionshttps://github.com/developing-today/code/pull/735
Sign up for freehttps://github.com/signup?return_to=https://github.com/developing-today/code/issues/723
Sign in to commenthttps://github.com/login?return_to=https://github.com/developing-today/code/issues/723
dezren39https://github.com/dezren39
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Response headers:
Servergithub.com
Content-Typetext/html; charset=utf-8
Cache-Controlmax-age=0, private, must-revalidate

Viewport: width=device-width


URLs of crawlers that visited me.