Skip to content

Refactor experiment status traceability#286

Draft
ntorqulu wants to merge 31 commits into
mainfrom
282-experiment_status_traceability
Draft

Refactor experiment status traceability#286
ntorqulu wants to merge 31 commits into
mainfrom
282-experiment_status_traceability

Conversation

@ntorqulu
Copy link
Copy Markdown

@ntorqulu ntorqulu commented May 11, 2026

Closes #282
PR to trace the experiment statuses from the database instead of pkl files. Force the db to be the first source of truth (while keeping the pkl status compatibility as a recovery approach)

@codecov-commenter
Copy link
Copy Markdown

codecov-commenter commented May 11, 2026

Codecov Report

❌ Patch coverage is 98.34711% with 2 lines in your changes missing coverage. Please review.
✅ Project coverage is 80.54%. Comparing base (a57dc01) to head (4f2abba).

Files with missing lines Patch % Lines
autosubmit_api/bgtasks/tasks/status_updater.py 97.46% 2 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #286      +/-   ##
==========================================
- Coverage   80.85%   80.54%   -0.31%     
==========================================
  Files         109      109              
  Lines        9501     9583      +82     
==========================================
+ Hits         7682     7719      +37     
- Misses       1819     1864      +45     
Flag Coverage Δ
fast-tests 80.54% <98.34%> (-0.31%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@ntorqulu ntorqulu self-assigned this May 11, 2026
@ntorqulu ntorqulu force-pushed the 282-experiment_status_traceability branch from e203c0a to 779bb2a Compare May 15, 2026 14:18
@ntorqulu
Copy link
Copy Markdown
Author

ntorqulu commented May 19, 2026

Finished the implementation of the experiment status traceability refactor for the API.
As with the backend implementation, it will be kept as draft until the following pr's are merged into master:

  • #2619: Branch with AS 4.2.0
  • #2980: Branch with the experiment traceability refactor from the backend

@ntorqulu ntorqulu requested a review from LuiggiTenorioK May 19, 2026 15:35
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.

Experiment status background process revision

2 participants