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

feat(task db): implement a task DB #208

Merged
merged 52 commits into from
Jul 2, 2024
Merged
Show file tree
Hide file tree
Changes from 25 commits
Commits
Show all changes
52 commits
Select commit Hold shift + click to select a range
34e0946
task-manager: dump fight vs sqlite
mratsim May 12, 2024
b418922
task-manager: SQL tables+views+triggers success - but arguments passe…
mratsim May 13, 2024
0928796
task-manager: passing enqueue_task tests
mratsim May 13, 2024
bd06c13
task-manager: cleanup - ease copy pasting to SQL script, Registered s…
mratsim May 14, 2024
bf63839
task-manager: add DB size query
mratsim May 14, 2024
b7ce7a1
task-manager: id_proof is unneeded + prettify queries
mratsim May 14, 2024
e707bc7
task-manager: change DB schema - allow multiple provers and status fo…
mratsim May 14, 2024
0402e6a
task-manager: allow task updates
mratsim May 14, 2024
a1302ec
task-manager: retrieve cached proofs from DB
mratsim May 15, 2024
881f174
task-manager: add status check
mratsim May 15, 2024
f0362da
task-manager: add progress reports
mratsim May 15, 2024
6709048
Merge branch 'main' into tasks_db
petarvujovic98 May 20, 2024
2099196
chore(task_manager): Run cargo fmt
petarvujovic98 May 20, 2024
6567615
Merge branch 'main' into tasks_db
petarvujovic98 Jun 13, 2024
2c4add1
feat: address small lints
petarvujovic98 Jun 13, 2024
9390f0b
feat(task-manager): use result type with thiserror
petarvujovic98 Jun 13, 2024
f1f492d
chore(task-db): fix typos
petarvujovic98 Jun 13, 2024
fed8e82
refactor(task-manager): clean up tests
petarvujovic98 Jun 14, 2024
4433772
Merge branch 'main' into tasks_db
petarvujovic98 Jun 17, 2024
544763a
fix(docker): unignore task manager
petarvujovic98 Jun 17, 2024
ee1fb8c
[WIP](task_manager): write initial task handler stubs
petarvujovic98 Jun 17, 2024
26f6010
chore(task_manager): run cargo fmt
petarvujovic98 Jun 17, 2024
3b402e8
Merge branch 'main' into tasks_db
petarvujovic98 Jun 17, 2024
e127031
[WIP](task_manager): write status and proof get handlers
petarvujovic98 Jun 17, 2024
4279519
refactor(host): use merge instead of nest
petarvujovic98 Jun 17, 2024
24f23e2
chore(format): format workflow files
petarvujovic98 Jun 18, 2024
caa4714
chore(deps): use consistent dependency style
petarvujovic98 Jun 18, 2024
291a299
chore(host): rename tx to task_channel
petarvujovic98 Jun 18, 2024
5d41651
[WIP](task_manager): add initial submit logic
petarvujovic98 Jun 18, 2024
5e53b2b
chore(clippy): remove unused parameter
petarvujovic98 Jun 18, 2024
405459e
chore(clippy): remove unused imports
petarvujovic98 Jun 18, 2024
e37ee75
Merge branch 'main' into tasks_db
petarvujovic98 Jun 19, 2024
3e5fc6d
refactor(core): add copy trait to proof types
petarvujovic98 Jun 20, 2024
d4326cb
feat(task_manager): simplify db and adapt tests
petarvujovic98 Jun 20, 2024
4be8774
fix(clippy): fix dereference issue
petarvujovic98 Jun 20, 2024
5a38b0a
[WIP]: handle proof request by worker and update task status
petarvujovic98 Jun 24, 2024
0c01e59
[WIP]: add block fetching and initial blockhash getting for submit
petarvujovic98 Jun 24, 2024
dc0d2c4
[WIP]: handle task creation, status and proof retrieval
petarvujovic98 Jun 24, 2024
7f91887
fix(host): fix route sub-path
petarvujovic98 Jun 24, 2024
33d7173
Merge branch 'main' into tasks_db
petarvujovic98 Jun 25, 2024
1101421
Merge branch 'main' into tasks_db
petarvujovic98 Jun 27, 2024
ca1c7b0
feat(raiko): abstract task manager and impl a mem db for easy integra…
smtmfft Jun 27, 2024
7e48839
fix: throw error instead of panicing on runtime checks
petarvujovic98 Jun 27, 2024
15044af
fix(core,task_manager): add custom ensure and require fns
petarvujovic98 Jun 27, 2024
9e905ed
feat(task_db): sqlite and in memory abstraction (#301)
petarvujovic98 Jul 2, 2024
bb57b50
feat(task_manager): return empty list on key not found
petarvujovic98 Jul 2, 2024
ec40dfc
feat(host,task_manager): add tracing and handle workers
petarvujovic98 Jul 2, 2024
ff7edf6
feat(host): fix response structure
petarvujovic98 Jul 2, 2024
5817837
Merge branch 'main' into tasks_db
petarvujovic98 Jul 2, 2024
5d31091
chore(clippy): remove unused imports
petarvujovic98 Jul 2, 2024
867cc55
fix(ci): remove git merge added lines
petarvujovic98 Jul 2, 2024
52b767d
fix(task_manager): add blob proof type field
petarvujovic98 Jul 2, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .dockerignore
Original file line number Diff line number Diff line change
Expand Up @@ -19,3 +19,4 @@
!/provers/sgx/setup
!/kzg_settings_raw.bin
!/core
!/task_manager
7 changes: 7 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,13 @@ target/
# MSVC Windows builds of rustc generate these, which store debugging information
*.pdb

# SQLite
# -----------------------------------------------------------------------------------------
*.sqlite
*.sqlite-shm
*.sqlite-wal
*.sqlite-journal

# Temp files, swap, debug, log, perf, cache
# -----------------------------------------------------------------------------------------
*.swp
Expand Down
Loading
Loading