Skip to content
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

fix: get sqlite working on edge #2099

Closed

Conversation

NathanFlurry
Copy link
Member

Changes

Copy link

@greptile-apps greptile-apps bot left a comment

Choose a reason for hiding this comment

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

PR Summary

This PR introduces concerning changes to SQLite database management in the Rivet system, primarily affecting temporary file handling and connection cleanup.

  • Disabled garbage collection loop in manager_gc_loop with early return, preventing cleanup of expired connections
  • Commented out temporary SQLite file removal code in SqliteConn drop handler
  • Added debug log message "foo" instead of proper file cleanup, indicating incomplete implementation
  • These changes will cause temporary SQLite files to accumulate in the data directory over time
  • Potential memory leak risk from disabled connection cleanup in manager_gc_loop

1 file(s) reviewed, no comment(s)
Edit PR Review Bot Settings | Greptile

@MasterPtato MasterPtato mentioned this pull request Mar 5, 2025
@NathanFlurry NathanFlurry force-pushed the 03-03-fix_get_sqlite_working_on_edge branch from d558db1 to 4c778c2 Compare March 5, 2025 23:56
@MasterPtato MasterPtato force-pushed the 03-03-fix_get_sqlite_working_on_edge branch from 4c778c2 to d558db1 Compare March 6, 2025 00:50
@NathanFlurry NathanFlurry force-pushed the 03-03-fix_get_sqlite_working_on_edge branch from d558db1 to 4c778c2 Compare March 6, 2025 01:32
@MasterPtato MasterPtato force-pushed the 03-03-fix_get_sqlite_working_on_edge branch from 4c778c2 to d558db1 Compare March 6, 2025 02:38
@NathanFlurry NathanFlurry force-pushed the 03-03-fix_get_sqlite_working_on_edge branch from d558db1 to 4c778c2 Compare March 6, 2025 03:30
Copy link
Contributor

graphite-app bot commented Mar 6, 2025

Merge activity

  • Mar 5, 10:33 PM EST: A user added this pull request to the Graphite merge queue.
  • Mar 5, 10:35 PM EST: CI is running for this PR on a draft PR: #2125
  • Mar 5, 10:37 PM EST: A user merged this pull request with the Graphite merge queue via draft PR: #2125.

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