8000 [BUG] Restore persisted jobs and runs by numeric ID by eddiethedean · Pull Request #73 · dmux/minilake · GitHub
[go: up one dir, main page]

Skip to content

[BUG] Restore persisted jobs and runs by numeric ID - #73

Merged
dmux merged 3 commits into
dmux:mainfrom
eddiethedean:codex/fix-jobs-persistence-36
Oct 28, 2026
Merged

dmux merged 3 commits into
dmux:mainfrom
eddiethedean:codex/fix-jobs-persistence-36

Conversation

@eddiethedean
Copy link
Copy Markdown
Collaborator

Summary

Restoring persisted jobs, runs, and task outputs converts their JSON object keys back to integer IDs so existing ID-based API operations continue to work after restart. The regression test covers job get/list/update, run get/rerun, SQL task output, and counter continuity across a real process restart.

Fixes #36.

Validation

  • Both isolated process-restart persistence tests pass.
  • Ruff lint and format checks pass.
  • git diff --check passes.

@eddiethedean
Copy link
Copy Markdown
Collaborator Author

Ready to merge once the remaining CI check passes.

Reviewed the full PR at commit d8114ab9d3fe31815f1d7e5ef944dd791e9f860a; no high or critical findings. Independently verified an upgrade from main followed by two restarts, including persisted jobs, runs, task output, submit-token reuse, ID counters, and deletion.

Lint and UI checks pass. The full Docker test CI job is still running.

@dmux dmux self-assigned this Oct 27, 2026
@dmux dmux added the bug Something isn't working label Oct 27, 2026
@dmux
dmux merged commit ce3f77a into dmux:main Oct 28, 2026
3 checks passed
asabla pushed a commit to asabla/pond that referenced this pull request Nov 5, 2026
MiniLake 1.9.0 restored its snapshot with string keys, so after a restart
every job and run lookup by id failed ("Run 5 not found") while the lists
still showed them. 1.9.1 converts the ids back (dmux/minilake#73) and fixes
several other persistence and SQL issues.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[BUG] Persisted jobs and runs become inaccessible after restart

2 participants

0