Skip to content

[V2] Remove sqlite#7159

Merged
pingsutw merged 8 commits intov2from
remove_sqlite
Apr 6, 2026
Merged

[V2] Remove sqlite#7159
pingsutw merged 8 commits intov2from
remove_sqlite

Conversation

@popojk
Copy link
Copy Markdown
Contributor

@popojk popojk commented Apr 6, 2026

Tracking issue

n/a

Why are the changes needed?

We will not need sqlite anymore

What changes were proposed in this pull request?

Remove sqlite from sandbox

How was this patch tested?

Lyft off! Screenshot 2026-03-22 at 8 39 25 PM

Labels

Please add one or more of the following labels to categorize your PR:

  • added: For new features.
  • changed: For changes in existing functionality.
  • deprecated: For soon-to-be-removed features.
  • removed: For features being removed.
  • fixed: For any bug fixed.
  • security: In case of vulnerabilities

This is important to improve the readability of release notes.

Setup process

Screenshots

Check all the applicable boxes

  • I updated the documentation accordingly.
  • All new and existing tests passed.
  • All commits are signed-off.

Related PRs

Docs link

Signed-off-by: Alex Wu <c.alexwu@gmail.com>
@github-actions github-actions bot mentioned this pull request Apr 6, 2026
3 tasks
popojk added 3 commits April 6, 2026 17:07
Signed-off-by: Alex Wu <c.alexwu@gmail.com>
Signed-off-by: Alex Wu <c.alexwu@gmail.com>
Signed-off-by: Alex Wu <c.alexwu@gmail.com>
@popojk popojk marked this pull request as ready for review April 6, 2026 09:42
Signed-off-by: Alex Wu <c.alexwu@gmail.com>
uses: actions/cache@v4
with:
path: ~/.embedded-postgres-go
key: embedded-postgres-v16
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cache embedded-postgres so we don't need to download it while running CI everytime


var testDB *gorm.DB

func TestMain(m *testing.M) {
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We add the TestMain here so go test command will execute it before running tests

@@ -0,0 +1,60 @@
package database
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We originally use SQLITE as the db for certain tests, but now we no longer have it. Thus, now we use embedded postgresql as the db for tests, and this file contains the helper functions for doing so.

Signed-off-by: Kevin Su <pingsutw@apache.org>
pingsutw added 2 commits April 6, 2026 08:01
Signed-off-by: Kevin Su <pingsutw@apache.org>
Remove duplicate import of flyteidl2/common that was introduced
during conflict resolution, causing build failures.

Signed-off-by: Kevin Su <pingsutw@apache.org>
@pingsutw pingsutw merged commit 8e1634a into v2 Apr 6, 2026
16 checks passed
@pingsutw pingsutw deleted the remove_sqlite branch April 6, 2026 15:57
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