Skip to content

chore(web): remove #418 diagnostic instrumentation (1.4.0) - #423

Merged
zknpr merged 1 commit into
mainfrom
chore/418-remove-diagnostic
Jun 1, 2026
Merged

chore(web): remove #418 diagnostic instrumentation (1.4.0)#423
zknpr merged 1 commit into
mainfrom
chore/418-remove-diagnostic

Conversation

@zknpr

@zknpr zknpr commented Jun 1, 2026

Copy link
Copy Markdown
Owner

Summary

Cleanup follow-up to the #418 fix. #418 is resolved (1.3.9, CommonJS browser build so activate() is exported) and verified working in real vscode.dev — the SQLite Explorer grid renders, schema loads, no hang. The temporary open-sequence instrumentation added in 1.3.8 to locate the hang is no longer needed.

Changes

  • Removed the diag/diagStep helpers and per-await step logging from the browser establishConnection.
  • Removed the diagStep wrappers on the read-path facade methods (ping, fetchSchema, fetchTableCount, fetchTableData, getTableInfo, getPragmas).
  • Removed the diag parameter and per-file logging from loadDatabaseFiles.
  • Opening a database no longer writes [#418 web-open] lines to the output channel.

The in-process sql.js engine (1.3.7) is unchanged. src/workerFactory.ts is restored byte-identical to the post-1.3.7 in-process version (git diff f16680a -- src/workerFactory.ts is empty).

Verification

  • Build OK — extension-browser.js still exports activate (cjs fix intact), browser path worker-free, no #418 web-open markers.
  • tsc --noEmit -p tsconfig.json clean · npm test 334/334.

Bumps 1.3.9 → 1.4.0.

#418 is fixed (1.3.9 CommonJS build) and verified in real vscode.dev, so the
temporary open-sequence logging added in 1.3.8 is no longer needed. Removes the
diagStep/diag helpers, per-await step logging, the read-path facade wrappers,
and the loadDatabaseFiles diag parameter. The browser establishConnection and
loadDatabaseFiles are restored byte-identical to the post-1.3.7 in-process form
(verified: git diff vs f16680a is empty). The in-process engine itself is
unchanged. Bumps 1.3.9 -> 1.4.0.

Verified: build OK (extension-browser.js still exports activate via cjs;
worker-free; no '#418 web-open' markers); tsc --noEmit clean; npm test 334/334.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@vercel

vercel Bot commented Jun 1, 2026

Copy link
Copy Markdown
Contributor

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
sq-lite-explorer Ready Ready Preview, Comment Jun 1, 2026 9:21am

@coderabbitai

coderabbitai Bot commented Jun 1, 2026

Copy link
Copy Markdown

Warning

Review limit reached

@zknpr, we couldn't start this review because you've reached your PR review rate limit.

More reviews will be available in 38 minutes and 12 seconds. Learn how PR review limits work.

Your organization has run out of usage credits. Purchase more in the billing tab.

⌛ How to resolve this issue?

After more reviews become available, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

We recommend that you space out your commits to avoid hitting the rate limit.

🚦 How do rate limits work?

CodeRabbit enforces hourly rate limits for each developer per organization.

Our paid plans include higher PR review limits than trial, open-source, and free plans. In all cases, reviews become available again over time. During sustained high-volume PR review activity, CodeRabbit may temporarily slow when the next review becomes available.

Please see our Fair Usage Limits Policy for further information.

ℹ️ Review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: ASSERTIVE

Plan: Pro

Run ID: 3f8c8932-6e0d-4009-a2c2-e4541c48b2a4

📥 Commits

Reviewing files that changed from the base of the PR and between 6f499f2 and c032d64.

📒 Files selected for processing (3)
  • CHANGELOG.md
  • package.json
  • src/workerFactory.ts
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch chore/418-remove-diagnostic

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@gemini-code-assist gemini-code-assist Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Code Review

This pull request bumps the extension version to 1.4.0 and removes the temporary diagnostic logging and instrumentation (introduced for issue #418) from src/workerFactory.ts, restoring the browser connection path to its clean form. I have no feedback to provide as there are no review comments.

@zknpr
zknpr merged commit 5cc15a1 into main Jun 1, 2026
7 checks passed
@zknpr
zknpr deleted the chore/418-remove-diagnostic branch June 1, 2026 09:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant