Skip to content

Conversation

@nishu-builder
Copy link
Contributor

@nishu-builder nishu-builder commented Jan 17, 2026

Summary

  • Created models/sweep.py with Sweep SQLModel
  • Created queries/sweep_queries.py with SQLAlchemy query functions
  • Updated routes/sweep_routes.py to use the new query module
  • Removed sweep methods and classes from MettaRepo (SweepRow, create_sweep, get_sweep_by_name, get_next_sweep_run_counter)

After this PR, MettaRepo only contains connection pool infrastructure (no domain methods).

Part of stack to migrate app_backend from raw SQL to SQLAlchemy.

Copy link
Contributor Author

nishu-builder commented Jan 17, 2026

Warning

This pull request is not mergeable via GitHub because a downstack PR is open. Once all requirements are satisfied, merge this PR as a stack on Graphite.
Learn more


How to use the Graphite Merge Queue

Add either label to this PR to merge it via the merge queue:

  • add-to-merge-queue - adds this PR to the back of the merge queue
  • add-to-merge-queue-as-hotfix - for urgent hot fixes, skip the queue and merge this PR next

You must have a Graphite account in order to use the merge queue. Sign up using this link.

An organization admin has enabled the Graphite Merge Queue in this repository.

Please do not merge from GitHub as this will restart CI on PRs being processed by the merge queue.

This stack of pull requests is managed by Graphite. Learn more about stacking.

@datadog-official

This comment has been minimized.

@blacksmith-sh

This comment has been minimized.

@nishu-builder nishu-builder force-pushed the nishad/sqlalchemy-eval-tasks branch from 83232de to d5f019b Compare January 19, 2026 04:49
@nishu-builder nishu-builder force-pushed the nishad/sqlalchemy-sweeps branch from 23ca2c1 to 016d411 Compare January 19, 2026 04:49
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