Skip to content

Feat/bee memory to constraints#113

Merged
Qsnh merged 16 commits intomainfrom
feat/bee-memory-to-constraints
Apr 21, 2026
Merged

Feat/bee memory to constraints#113
Qsnh merged 16 commits intomainfrom
feat/bee-memory-to-constraints

Conversation

@Qsnh
Copy link
Copy Markdown
Contributor

@Qsnh Qsnh commented Apr 21, 2026

No description provided.

Qsnh and others added 16 commits April 20, 2026 23:17
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
…_constraints

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
- Use errors.Is for sql.ErrNoRows check (matches codebase convention)
- Pre-allocate slice in ListByScope to avoid reallocation
- Check errors on cs.Save calls in tests

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
- Add WHERE guard to ON CONFLICT DO UPDATE so same-value saves don't
  rewrite the row or bump updated_at unnecessarily
- Use explicit column list in migration v40 INSERT...SELECT to avoid
  silent column-order dependency
- Drop make([]Constraint, 0, limit) capacity hint; var decl is clearer

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@Qsnh Qsnh merged commit 70dc63d into main Apr 21, 2026
@Qsnh Qsnh deleted the feat/bee-memory-to-constraints branch April 21, 2026 07:14
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