Skip to content

Remove sqlite cache storage - #416

Merged
j178 merged 1 commit into
masterfrom
remove-sqlite-cache
Jul 8, 2026
Merged

Remove sqlite cache storage#416
j178 merged 1 commit into
masterfrom
remove-sqlite-cache

Conversation

@j178

@j178 j178 commented Jul 8, 2026

Copy link
Copy Markdown
Owner

Remove the optional sqlite-backed question cache and keep JSON as the single cache implementation.

Also drops the sqlite cache dependency chain.

Copilot AI review requested due to automatic review settings July 8, 2026 04:07
@j178 j178 added the enhancement New feature or request label Jul 8, 2026 — with ChatGPT Codex Connector
@j178
j178 merged commit 9a7a161 into master Jul 8, 2026
3 checks passed
@j178
j178 deleted the remove-sqlite-cache branch July 8, 2026 04:09

Copilot AI 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.

Pull request overview

This PR removes the optional sqlite-backed LeetCode question cache and standardizes on the JSON cache implementation, simplifying the cache system and trimming related dependencies.

Changes:

  • Deleted the sqlite cache implementation (leetcode/cache_sqlite.go) and removed the build-tag split between sqlite vs JSON caches.
  • Kept JSON as the single cache backend by removing the !sqlite build tag from leetcode/cache_json.go.
  • Removed sqlite-related module dependencies from go.mod/go.sum (plus related transitive deps).

Reviewed changes

Copilot reviewed 4 out of 5 changed files in this pull request and generated 1 comment.

Show a summary per file
File Description
leetcode/question.go Removes sqlite-specific comment from JSON unmarshalling path.
leetcode/cache_sqlite.go Deletes the sqlite cache implementation entirely.
leetcode/cache_json.go Makes JSON cache unconditional (no build tag gating).
go.mod Drops direct/indirect dependencies related to sqlite cache support.
go.sum Removes checksums for dropped sqlite-related dependencies.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread go.mod
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants