Skip to content

Conversation

@tcompa
Copy link
Collaborator

@tcompa tcompa commented Dec 1, 2025

Checklist before merging

  • I added an appropriate entry to CHANGELOG.md
  • I added logging to new code - if appropriate.
  • I merged main into the current branch.

@github-actions
Copy link

github-actions bot commented Dec 1, 2025

Benchmark comparison

GET /api/alive/

User Time current (ms) Time main (ms) Ratio current/main Size current (Kb) Size main (Kb)
vanilla 0.7 0.7 1.00 0.0 0.0
power 0.7 0.7 1.00 0.0 0.0
dataset 0.7 0.7 1.00 0.0 0.0
project 0.7 0.7 1.00 0.0 0.0
job 0.7 0.7 1.00 0.0 0.0

GET /api/v2/project/3/dataset/

User Time current (ms) Time main (ms) Ratio current/main Size current (Kb) Size main (Kb)
dataset 84.4 82.4 1.02 4.6 4.6

GET /api/v2/job/

User Time current (ms) Time main (ms) Ratio current/main Size current (Kb) Size main (Kb)
vanilla 4.9 4.4 1.11 2.7 2.7
power 47.5 47.7 1.00 787.3 787.3
dataset 48.7 48.3 1.01 1097.2 1097.2
project 19.7 16.3 1.21 343.8 343.8
job 13.5 18.1 0.75 273.0 273.0

GET /api/v2/project/

User Time current (ms) Time main (ms) Ratio current/main Size current (Kb) Size main (Kb)
vanilla 4.0 4.3 0.93 0.1 0.1
power 4.1 4.1 1.00 0.1 0.1
dataset 4.0 4.1 0.98 0.1 0.1
project 4.4 4.7 0.94 2.3 2.3
job 3.9 4.3 0.91 0.1 0.1

GET /api/v2/task/

User Time current (ms) Time main (ms) Ratio current/main Size current (Kb) Size main (Kb)
vanilla 5.2 6.0 0.87 0.8 0.8
power 5.0 5.6 0.89 0.8 0.8
dataset 5.0 5.8 0.86 0.8 0.8
project 5.0 5.9 0.85 0.8 0.8
job 5.1 5.8 0.88 0.8 0.8

GET /api/v2/task-group/

User Time current (ms) Time main (ms) Ratio current/main Size current (Kb) Size main (Kb)
vanilla 6.5 8.1 0.80 1.8 1.8
power 6.3 7.7 0.82 1.8 1.8
dataset 6.3 7.4 0.85 1.8 1.8
project 6.2 7.8 0.79 1.8 1.8
job 6.1 7.9 0.77 1.8 1.8

GET /api/v2/project/2/workflow/

User Time current (ms) Time main (ms) Ratio current/main Size current (Kb) Size main (Kb)
power 10.4 12.5 0.83 28.0 28.0

POST /api/v2/project/3/dataset/419/images/query/

User Time current (ms) Time main (ms) Ratio current/main Size current (Kb) Size main (Kb)
dataset 38.1 41.0 0.93 275.1 275.1

GET /auth/current-user/

User Time current (ms) Time main (ms) Ratio current/main Size current (Kb) Size main (Kb)
vanilla 3.0 3.2 0.94 0.2 0.2
power 3.0 3.0 1.00 0.2 0.2
dataset 3.0 3.0 1.00 0.2 0.2
project 3.0 3.0 1.00 0.2 0.2
job 3.0 2.9 1.03 0.2 0.2

POST /auth/token/login/

User Time current (ms) Time main (ms) Ratio current/main Size current (Kb) Size main (Kb)
dataset 271.8 272.2 1.00 0.2 0.2

@github-actions
Copy link

github-actions bot commented Dec 1, 2025

Coverage report

Click to see where and how coverage changed

FileStatementsMissingCoverageCoverage
(new stmts)
Lines missing
  fractal_server/app/models/v2
  resource.py
  fractal_server/app/routes/api/v2
  submit.py
  fractal_server/app/schemas/v2
  resource.py
  fractal_server/runner/v2
  runner.py
Project Total  

This report was generated by python-coverage-comment-action

@tcompa tcompa requested a review from ychiucco December 2, 2025 13:36
@tcompa tcompa merged commit 63c3bed into main Dec 3, 2025
25 checks passed
@tcompa tcompa deleted the 3020-introduce-resourceallow_submission-for-provisionally-preventing-job-submissions branch December 3, 2025 08:50
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.

Introduce resource.allow_submission for provisionally preventing job submissions

3 participants