Skip to content

Correct stale comments in vite configs, the relay sweep, test helpers, and the hosted README - #1125

Merged
nedtwigg merged 2 commits into
mainfrom
fix/nightly-survey-stale-comments-1014
Oct 16, 2026
Merged

nedtwigg merged 2 commits into
mainfrom
fix/nightly-survey-stale-comments-1014

Conversation

@dormouse-bot

Copy link
Copy Markdown
Collaborator

Comment and doc fixes from tonight's survey. Each one pointed at a file, symbol, or behavior that no longer matches the code. There is no behavior change, and the only code edits are in a test file.

  • lib/vite.config.ts, lib/vite.pocket.config.ts, website/vite.config.ts: the dor-lib-common alias comments cite connect-port.ts, which no longer exists. Wall.tsx and use-dor-control.ts import the package's browser-providers and browser-viewports subpaths directly.
  • relay/src/app.ts: the revocation-sweep doc says index.ts owns the timer. The setInterval is in relay/src/start.ts.
  • lib/src/lib/test-local-storage.ts: the list of tests that stub localStorage names window-persistence.test.ts and remote/burrow/acl.test.ts, which never touch it, and leaves out pocket-client.test.ts. The list is dropped instead of corrected, because it would rot again.
  • standalone/src/WorkspaceTeardownModal.tsx: quit-confirm-store.ts imports the terminal registry through the alias, not quit.ts. The stories file is at lib/src/stories/.
  • lib/src/lib/platform/tool-types.ts: the ToolRender doc leaves out playwright-screencast, though the union includes it.
  • lib/src/remote/burrow/burrow-bounds.test.ts: removes a leftover JSDoc stacked on connectClient and an unused other binding.
  • hosted/README.md: test:miniflare also runs relay-push.test.ts.

…, and the hosted README

- lib/website vite configs: connect-port.ts is gone; Wall and useDorControl
  import dor-lib-common directly.
- relay/src/app.ts: start.ts, not index.ts, owns the revocation sweep timer.
- test-local-storage.ts: drop a list of localStorage-stubbing tests that had
  rotted (two named files never stub it).
- WorkspaceTeardownModal.tsx: quit-confirm-store.ts imports terminal-registry,
  not quit.ts; the stories file lives under lib/src/stories.
- tool-types.ts: ToolRender also includes playwright-screencast.
- burrow-bounds.test.ts: remove a stacked duplicate JSDoc and an unused binding.
- hosted/README.md: test:miniflare also runs the push-egress suite.
@cloudflare-workers-and-pages

cloudflare-workers-and-pages Bot commented Oct 14, 2026 •

Copy link
Copy Markdown

Deploying mouseterm with  Cloudflare Pages  Cloudflare Pages

Latest commit: 4b835ff
Status: ✅  Deploy successful!
Preview URL: https://30cca4b6.mouseterm.pages.dev
Branch Preview URL: https://fix-nightly-survey-stale-com.mouseterm.pages.dev

View logs

@dormouse-bot dormouse-bot left a comment

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The rewritten dor-lib-common alias comment in website/vite.config.ts now names two subpaths, but its last sentence still says the alias "covers both that subpath and the bare specifier".

Comment thread website/vite.config.ts Outdated
@nedtwigg
nedtwigg merged commit 54abdee into main Oct 16, 2026
13 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants