Skip to content

Conversation

isimo00
Copy link
Contributor

@isimo00 isimo00 commented May 19, 2025

This PR aims to declutter the console text displayed when users try to perform actions on experiments that do not exist, mailny Python's tracebacks.
Closes #1046

Check List

  • I have read CONTRIBUTING.md.
  • Contains logically grouped changes (else tidy your branch by rebase).
  • Does not contain off-topic changes (use other PRs for other changes).
  • Applied any dependency changes to pyproject.toml.
  • Tests are included (or explain why tests are not needed).
  • Changelog entry included in CHANGELOG.md if this is a change that can affect users.
  • Documentation updated.
  • If this is a bug fix, PR should include a link to the issue (e.g. Closes #1234).

@isimo00 isimo00 self-assigned this May 19, 2025
@codecov-commenter
Copy link

Codecov Report

Attention: Patch coverage is 25.00000% with 3 lines in your changes missing coverage. Please review.

Project coverage is 59.83%. Comparing base (b340764) to head (af9131a).

Files with missing lines Patch % Lines
autosubmit/autosubmit.py 25.00% 2 Missing and 1 partial ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           master    #2365      +/-   ##
==========================================
- Coverage   59.83%   59.83%   -0.01%     
==========================================
  Files          74       74              
  Lines       17435    17436       +1     
  Branches     3365     3365              
==========================================
  Hits        10432    10432              
- Misses       6137     6138       +1     
  Partials      866      866              
Flag Coverage Δ
fast-tests 59.83% <25.00%> (-0.01%) ⬇️

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.

@isimo00 isimo00 changed the title WIP: Suppress uncessary errors for nonexistent experiments WIP: Suppress unnecessary errors for nonexistent experiments May 19, 2025
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.

[enhancement] autosubmit delete shouldn't print a traceback when experiment does not exist
2 participants