Skip to content

docs(openspec): mark §11.5-11.9 and §12.4-12.5 complete - #1219

Merged
kalbasit merged 1 commit into
mainfrom
docs-openspec-mark-11-and-12-done
May 23, 2026
Merged

kalbasit merged 1 commit into
mainfrom
docs-openspec-mark-11-and-12-done

Conversation

@kalbasit

Copy link
Copy Markdown
Owner

Catch the tasks file up to the implementation:

  • §11.5 - chunk + orphan cleanup conversion (commits a8b593b, 01121a7)
  • §11.6 - pkg/ncps conversion (commits 22f5aff, 89113e1, b986614)
  • §11.7 - pkg/server conversion (no production Querier; tests landed
    in the sqlc-removal cleanup commit)
  • §11.8 - cmd/ conversion (no Querier usage in cmd/ to begin with;
    createDatabaseQuerier signature swap landed in 7088e79)
  • §11.9 - full -race sweep against SQLite + Postgres + MySQL is green
    in every commit on this branch
  • §12.4, §12.5 - sqlitedb/postgresdb/mysqldb subpackages and
    generated_*.go files deleted in 7088e79

Remaining: §12.1-12.3, §12.6-12.9 (filesystem + nix cleanup);
§13 (CI integration); §14 (docs + skills); §8.7 (wire §8 into
nix flake check, also slated for §13).

Co-Authored-By: Claude Opus 4.7 [email protected]

@dosubot dosubot Bot added size:S This PR changes 10-29 lines, ignoring generated files. documentation Improvements or additions to documentation labels May 21, 2026

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

Copy link
Copy Markdown
Contributor

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 updates the migration task list to reflect the completion of several steps in the transition to Ent and Atlas, including query conversions and the removal of legacy database files. Feedback identifies scalability issues in the cache cleanup logic, specifically regarding memory consumption and inefficient SQL filtering. Additionally, an N+1 query problem and a potential depth limitation were noted in the closure pinning implementation.

This was referenced May 21, 2026
@kalbasit
kalbasit force-pushed the chore-delete-sqlc-finish-ent-migration branch from 3d1c72f to 83cf39d Compare May 23, 2026 00:36
@kalbasit
kalbasit force-pushed the docs-openspec-mark-11-and-12-done branch from 3574d14 to 61d7585 Compare May 23, 2026 00:36
@kalbasit
kalbasit force-pushed the chore-delete-sqlc-finish-ent-migration branch from 83cf39d to 8e432aa Compare May 23, 2026 03:31
@kalbasit
kalbasit force-pushed the docs-openspec-mark-11-and-12-done branch from 61d7585 to 1f076fa Compare May 23, 2026 03:31
@kalbasit
kalbasit force-pushed the chore-delete-sqlc-finish-ent-migration branch from 8e432aa to 7225a39 Compare May 23, 2026 03:45
@kalbasit
kalbasit force-pushed the docs-openspec-mark-11-and-12-done branch from 1f076fa to 5d4c343 Compare May 23, 2026 03:45
@kalbasit
kalbasit force-pushed the chore-delete-sqlc-finish-ent-migration branch from 7225a39 to 1d67561 Compare May 23, 2026 03:58
@kalbasit
kalbasit force-pushed the docs-openspec-mark-11-and-12-done branch from 5d4c343 to e484ce8 Compare May 23, 2026 03:58
@kalbasit
kalbasit force-pushed the chore-delete-sqlc-finish-ent-migration branch from 1d67561 to f7ac6c6 Compare May 23, 2026 04:10
@kalbasit
kalbasit force-pushed the docs-openspec-mark-11-and-12-done branch from e484ce8 to 4154841 Compare May 23, 2026 04:10
@kalbasit
kalbasit force-pushed the chore-delete-sqlc-finish-ent-migration branch from f7ac6c6 to 1f44113 Compare May 23, 2026 04:22
@kalbasit
kalbasit force-pushed the docs-openspec-mark-11-and-12-done branch from 4154841 to a6c8063 Compare May 23, 2026 04:22
@kalbasit
kalbasit force-pushed the chore-delete-sqlc-finish-ent-migration branch from 1f44113 to 6288115 Compare May 23, 2026 04:34
@kalbasit
kalbasit force-pushed the docs-openspec-mark-11-and-12-done branch from a6c8063 to 5ddb281 Compare May 23, 2026 04:34
@kalbasit
kalbasit force-pushed the chore-delete-sqlc-finish-ent-migration branch from 6288115 to 077b666 Compare May 23, 2026 04:47
@kalbasit
kalbasit force-pushed the docs-openspec-mark-11-and-12-done branch from 5ddb281 to 5f1242a Compare May 23, 2026 04:47
@kalbasit
kalbasit force-pushed the chore-delete-sqlc-finish-ent-migration branch from 077b666 to bef1c55 Compare May 23, 2026 04:49
@kalbasit
kalbasit force-pushed the docs-openspec-mark-11-and-12-done branch from 5f1242a to 56c0ec7 Compare May 23, 2026 04:49
@kalbasit
kalbasit force-pushed the chore-delete-sqlc-finish-ent-migration branch from bef1c55 to 2853eb8 Compare May 23, 2026 05:24
@kalbasit
kalbasit force-pushed the docs-openspec-mark-11-and-12-done branch from 56c0ec7 to 74f8d41 Compare May 23, 2026 05:24
@kalbasit
kalbasit force-pushed the chore-delete-sqlc-finish-ent-migration branch from 2853eb8 to 3c1eb0a Compare May 23, 2026 05:28
@kalbasit
kalbasit force-pushed the docs-openspec-mark-11-and-12-done branch from 74f8d41 to 1acf2d8 Compare May 23, 2026 05:28
@kalbasit
kalbasit force-pushed the chore-delete-sqlc-finish-ent-migration branch from 3c1eb0a to c1bb34f Compare May 23, 2026 05:41
@coderabbitai

coderabbitai Bot commented May 23, 2026

Copy link
Copy Markdown

Caution

Failed to replace (edit) comment. This is likely due to insufficient permissions or the comment being deleted.

Error details
{"name":"HttpError","status":401,"request":{"method":"PATCH","url":"https://api.github.com/repos/kalbasit/ncps/issues/comments/4521539534","headers":{"accept":"application/vnd.github.v3+json","user-agent":"octokit.js/0.0.0-development octokit-core.js/7.0.6 Node.js/24","authorization":"token [REDACTED]","content-type":"application/json; charset=utf-8"},"body":{"body":"<!-- This is an auto-generated comment: summarize by coderabbit.ai -->\n<!-- This is an auto-generated comment: review in progress by coderabbit.ai -->\n\n> [!NOTE]\n> Currently processing new changes in this PR. This may take a few minutes, please wait...\n> \n> <details>\n> <summary>⚙️ Run configuration</summary>\n> \n> **Configuration used**: Organization UI\n> \n> **Review profile**: CHILL\n> \n> **Plan**: Pro\n> \n> **Run ID**: `817b78e8-8b00-4bb4-8146-7a1ce9f014dd`\n> \n> </details>\n> \n> <details>\n> <summary>📥 Commits</summary>\n> \n> Reviewing files that changed from the base of the PR and between e058a9cfd6b2ee174eda640629c72cedb648dd6d and 88122c0230ed7c7c131266106a8c377a75645cc0.\n> \n> </details>\n> \n> <details>\n> <summary>📒 Files selected for processing (1)</summary>\n> \n> * `openspec/changes/migrate-to-ent-and-atlas/tasks.md`\n> \n> </details>\n> \n> ```ascii\n>  ______________________________________________________________________\n> < Race conditions: you *caught* one. Unfortunately you released three. >\n>  ----------------------------------------------------------------------\n>   \\\n>    \\   (\\__/)\n>        (•ㅅ•)\n>        /   づ\n> ```\n\n<!-- end of auto-generated comment: review in progress by coderabbit.ai -->\n\n<!-- tips_start -->\n\n---\n\n\n\n\n<sub>Comment `@coderabbitai help` to get the list of available commands and usage tips.</sub>\n\n<!-- tips_end -->"},"request":{"retryCount":1,"signal":{}}},"response":{"url":"https://api.github.com/repos/kalbasit/ncps/issues/comments/4521539534","status":401,"headers":{"access-control-allow-origin":"*","access-control-expose-headers":"ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Used, X-RateLimit-Resource, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type, X-GitHub-SSO, X-GitHub-Request-Id, Deprecation, Sunset","connection":"close","content-security-policy":"default-src 'none'","content-type":"application/json; charset=utf-8","date":"Sat, 23 May 2026 06:30:33 GMT","referrer-policy":"origin-when-cross-origin, strict-origin-when-cross-origin","server":"github.com","strict-transport-security":"max-age=31536000; includeSubdomains; preload","vary":"Accept-Encoding, Accept, X-Requested-With","x-content-type-options":"nosniff","x-frame-options":"deny","x-github-media-type":"github.v3; format=json","x-github-request-id":"81AC:38B88C:72CE72:1BC0E46:6A114989","x-xss-protection":"0"},"data":{"message":"Bad credentials","documentation_url":"https://docs.github.com/rest","status":"401"}}}

Catch the tasks file up to the implementation:

* §11.5 - chunk + orphan cleanup conversion (commits a8b593b, 01121a7)
* §11.6 - pkg/ncps conversion (commits 22f5aff, 89113e1, b986614)
* §11.7 - pkg/server conversion (no production Querier; tests landed
  in the sqlc-removal cleanup commit)
* §11.8 - cmd/ conversion (no Querier usage in cmd/ to begin with;
  createDatabaseQuerier signature swap landed in 7088e79)
* §11.9 - full -race sweep against SQLite + Postgres + MySQL is green
  in every commit on this branch
* §12.4, §12.5 - sqlitedb/postgresdb/mysqldb subpackages and
  generated_*.go files deleted in 7088e79

Remaining: §12.1-12.3, §12.6-12.9 (filesystem + nix cleanup);
§13 (CI integration); §14 (docs + skills); §8.7 (wire §8 into
nix flake check, also slated for §13).

Co-Authored-By: Claude Opus 4.7 <[email protected]>
@codecov

codecov Bot commented May 23, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 5.50%. Comparing base (273279e) to head (a12fb1f).
⚠️ Report is 1 commits behind head on main.

Additional details and impacted files
@@          Coverage Diff          @@
##            main   #1219   +/-   ##
=====================================
  Coverage   5.50%   5.50%           
=====================================
  Files          6       6           
  Lines        400     400           
=====================================
  Hits          22      22           
  Misses       374     374           
  Partials       4       4           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

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

Labels

documentation Improvements or additions to documentation merge-stack size:S This PR changes 10-29 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant