Skip to content

Add schema-scoped persistence - #63

Open
moshloop wants to merge 2 commits into
mainfrom
feat/schema-scoped-persistence-dklwf6kccuz4
Open

Add schema-scoped persistence#63
moshloop wants to merge 2 commits into
mainfrom
feat/schema-scoped-persistence-dklwf6kccuz4

Conversation

@moshloop

Copy link
Copy Markdown
Member

Add schema-scoped persistence support to enable isolated data storage within the database layer.

What

  • Introduce schema-scoped database operations
  • Extend migration system to support schema isolation
  • Add integration tests for concurrency and schema-scoped behavior

Why

  • Support multi-tenant or isolated data models
  • Enable safer concurrent operations with schema boundaries

Claude-Session-Id: 019fef59-46c9-7b83-bc02-6bd4246d90de
Claude-Session-Id: 019fef59-46c9-7b83-bc02-6bd4246d90de
@coderabbitai

coderabbitai Bot commented Aug 11, 2026

Copy link
Copy Markdown

Important

Review skipped

Auto reviews are disabled on base/target branches other than the default branch.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro Plus

Run ID: fc4e6dc9-9514-4968-b837-2aa634c56d32

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review

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.

@github-actions

Copy link
Copy Markdown

Gavel summary

Source Pass Fail Skip Duration

Totals: 0 passed · 0 failed · 0 skipped · -

View full results

@socket-security

Copy link
Copy Markdown

Review the following changes in direct dependencies. Learn more about Socket for GitHub.

Diff Package Supply Chain
Security
Vulnerability Quality Maintenance License
Updatedgolang/​github.com/​flanksource/​commons-db@​v0.1.26 ⏵ v0.1.27-0.20260806180738-8eb0bca0113273 +1100100100100

View full report

@github-actions

Copy link
Copy Markdown

Gavel summary

Source Pass Fail Skip Duration
ai 87 0 0 16ms
aichat 115 0 2 12.1s
anthropicmock 1 0 0 1ms
api 83 0 0 27ms
attachments 5 0 0 2ms
bash 4 0 0 232.633µs
callertools 10 0 0 77ms
captain 6 0 0 6ms
claude 22 0 0 26ms
claudeagent 13 0 0 203ms
cli 209 0 0 6.3s
cmux 4 0 0 441.772µs
collections 12 0 0 372.383µs
credentials 5 0 0 27ms
database 19 0 0 4.1s
genkit 25 0 0 95ms
gitagent 65 0 0 8.2s
github.com/flanksource/captain/migrations 11 0 0 3.8s
github.com/flanksource/captain/pkg/ai 232 0 0 630ms
github.com/flanksource/captain/pkg/ai/agent 23 0 0 -
github.com/flanksource/captain/pkg/ai/agent/commit 51 0 0 3.9s
github.com/flanksource/captain/pkg/ai/agent/setup 16 0 0 90ms
github.com/flanksource/captain/pkg/ai/agent/verify 21 0 0 400ms
github.com/flanksource/captain/pkg/ai/agent/worktree 6 0 0 -
github.com/flanksource/captain/pkg/ai/assistanttags 15 0 0 -
github.com/flanksource/captain/pkg/ai/fixture 42 0 0 160ms
github.com/flanksource/captain/pkg/ai/fixture/kubeproxy 2 0 0 30ms
github.com/flanksource/captain/pkg/ai/fixture/mcpproxy 6 0 0 -
github.com/flanksource/captain/pkg/ai/history 54 0 0 -
github.com/flanksource/captain/pkg/ai/internal/gen-model-registry 12 0 0 -
github.com/flanksource/captain/pkg/ai/middleware 25 0 0 -
github.com/flanksource/captain/pkg/ai/pricing 9 0 0 -
github.com/flanksource/captain/pkg/ai/prompt 16 0 0 10ms
github.com/flanksource/captain/pkg/ai/provider 139 0 0 10ms
github.com/flanksource/captain/pkg/ai/provider/claudeagent 35 0 0 1.3s
github.com/flanksource/captain/pkg/ai/provider/cmux 119 0 0 870ms
github.com/flanksource/captain/pkg/ai/provider/genkit 36 0 0 -
github.com/flanksource/captain/pkg/ai/provider/jsonrpc 6 0 0 50ms
github.com/flanksource/captain/pkg/aichat 3 0 0 -
github.com/flanksource/captain/pkg/aimock 50 0 7 510ms
github.com/flanksource/captain/pkg/aimock/anthropicmock 14 0 0 10ms
github.com/flanksource/captain/pkg/aimock/openaimock 18 0 0 20ms
github.com/flanksource/captain/pkg/api 119 0 0 450ms
github.com/flanksource/captain/pkg/api/registry 96 0 0 -
github.com/flanksource/captain/pkg/bash 348 0 0 50ms
github.com/flanksource/captain/pkg/captainconfig 25 0 0 -
github.com/flanksource/captain/pkg/claude 138 0 0 20ms
github.com/flanksource/captain/pkg/claude/tools 18 0 0 -
github.com/flanksource/captain/pkg/cli 525 0 0 39.0s
github.com/flanksource/captain/pkg/cmux 1 0 0 -
github.com/flanksource/captain/pkg/codexconfig 10 0 0 10ms
github.com/flanksource/captain/pkg/container 72 0 1 20ms
github.com/flanksource/captain/pkg/database 99 0 0 12.6s
github.com/flanksource/captain/pkg/dod 11 0 0 1m0s
github.com/flanksource/captain/pkg/gitagent 31 0 0 380ms
github.com/flanksource/captain/pkg/gitagent/proxy 12 0 0 10ms
github.com/flanksource/captain/pkg/monitor 54 0 0 1.9s
github.com/flanksource/captain/pkg/sandbox 1 0 0 -
github.com/flanksource/captain/pkg/sandbox/adapter 26 0 0 -
github.com/flanksource/captain/pkg/sandbox/presets 13 0 0 -
github.com/flanksource/captain/pkg/session 70 0 0 10ms
history 69 0 0 10ms
migrations 10 0 0 3.9s
openaimock 2 0 0 152.404µs
provider 10 0 0 14ms
registry 38 0 0 5ms
session 28 0 0 8ms
tools 38 0 0 3ms

Totals: 3510 passed · 0 failed · 10 skipped · 2m41s

View full results

@adityathebe adityathebe self-assigned this Aug 12, 2026
Base automatically changed from feat/hierarchical-runtime-profiles-dklw887kn9hc to main August 12, 2026 10: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.

2 participants