-
Notifications
You must be signed in to change notification settings - Fork 49
feat: add account_id filter for sources in search_beliefs #2065
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Draft
Copilot
wants to merge
60
commits into
main
Choose a base branch
from
copilot/add-account-id-filter-sources
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Draft
Changes from all commits
Commits
Show all changes
60 commits
Select commit
Hold shift + click to select a range
4b37779
Initial plan
Copilot 64f791a
data_sources: add account_id field to DataSource model
Copilot 6745921
migration: add account_id to data_source table (9877450113f6)
Copilot 78fb04f
migration: replace N+1 loop with single UPDATE...FROM for account_id …
Copilot 65efbdd
tests/sensor_data: verify account_id is set on data source when posti…
Copilot 85778e4
migration: use correlated subquery for account_id data migration; add…
Copilot 06bbec9
data_sources: fix account_id assignment to avoid SAWarning and handle…
Copilot 8b02034
agents/architecture: add migration checklist and DataSource account_i…
Copilot d7f7120
agents/test-specialist: add DataSource property testing pattern and l…
Copilot 20a4e15
agents/review-lead: add agent selection checklist; document repeated …
Copilot fff71b2
agents/coordinator: document PR #2058 persistent self-improvement fai…
Copilot 4191ae3
data_sources: use explicit is not None check for account_id assignment
Copilot 38db656
feat: improve test by using a user that is not already registered as …
Flix6x 67eba6e
fix: set approximate create datetime based on git info, assuming loca…
Flix6x b7a4a5c
style: flake8
Flix6x 44cff24
feat: add migration check to architecture agent instructions
Flix6x 95653f1
docs: add db upgrade warning and update agent instructions accordingly
Flix6x 4e22e43
data_sources: drop FK constraints on user_id and account_id for data …
Copilot 5c29f56
tests/data-lineage: also assert account_id and user_id preservation i…
Copilot 97efde0
docs: expand PR #2058 changelog entry to cover FK drop and lineage pr…
Copilot 6abc8d9
coordinator: document no-FK lineage pattern and changelog completenes…
Copilot ebfba1d
coordinator: clarify account_id fallback pattern references actual im…
Copilot 8ad1866
Initial plan
Copilot 688e812
Merge remote-tracking branch 'origin/copilot/add-account-id-to-data-s…
Copilot 5cf63d2
Add account_id filter for source in search_beliefs
Copilot 867c46c
tests/data: add fixture for sources with account IDs
Copilot 7267db4
tests/schemas: add BeliefsSearchConfigSchema account_id field tests
Copilot 162dbd9
docs: add account_id source filtering to changelog and reporting docs
Copilot 32bf40d
agents: document schema-parity and model-coverage gaps from PR #2065
Copilot a090571
fix: add account_id to Input schema, GenericAsset test, and edge case…
Copilot 2b3105b
fix: use AccountIdField, support single int, reject empty list, fix c…
Copilot ddf576d
refactor: introduce AccountIdOrListField, restore parametrized tests
Copilot c64b4ee
feat: add test covering CLI command to delete user
Flix6x 531cb74
Merge remote-tracking branch 'origin/main' into copilot/add-account-i…
Flix6x 57c1f8e
feat: let audit log entries retain the account ID and user IDs after …
Flix6x e1d6cdc
docs: rewrite changelog entry
Flix6x 7ec2cb1
fix: dropped foreign key name
Flix6x 0fefb2e
fix: when deleting a user, still log the ID of the deleted user
Flix6x 6bcf9c6
feat: allow tying a newly CLI-created data source to an account
Flix6x faa876f
fix: add missing drop_constraints
Flix6x 317c687
chore: minimize diff
Flix6x 4401355
style: flake8
Flix6x 16e252b
Merge branch 'copilot/add-account-id-to-data-source' into copilot/add…
Flix6x d7a4ec1
fix: test
Flix6x 2965547
Merge remote-tracking branch 'origin/copilot/add-account-id-to-data-s…
Flix6x 36989e3
Merge origin/main into copilot/add-account-id-to-data-source
Flix6x 8bb5ebe
agents: rename Review Lead to Lead across all agent instructions
Flix6x 86d3ebb
db: fix merge migration to properly resolve conflicting heads
Flix6x 7d5fa60
agents: remove merge conflict markers from coordinator.md
Flix6x 4724959
style: flake8
Flix6x 60a4b50
docs: clarify why we add a creation audit log record in a test
Flix6x bf5bf75
migration: merge drop-FK migration into add-account-id migration (987…
Copilot 1d39eae
docs: make this lengthy comment only once
Flix6x 2503d95
docs: add explanation for defining foreign keys in the db.relationship
Flix6x 40ab6ae
Merge remote-tracking branch 'origin/main' into copilot/add-account-i…
Flix6x d43b41d
fix: merge db revisions
Flix6x 74ed3dc
style: flake8
Flix6x 16655e4
migration: rebase add-account-id migration onto e26d02ed1621 (tip of …
Copilot e7139da
style: punctuation / double spaces
Flix6x 4859a78
Merge remote-tracking branch 'origin/copilot/add-account-id-to-data-s…
Flix6x File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.