Skip to content

Conversation

pllim
Copy link
Collaborator

@pllim pllim commented Apr 10, 2025

This PR addresses two checks that SonarQube isn't happy about. Not new stuff but still good to fix. Since the bug been there for 5 years and no one complained, probably no need with change log.

Tasks

and remove redundant if-else in gs_position_acq
@pllim pllim added this to the Build 12.0 milestone Apr 10, 2025
@pllim pllim marked this pull request as ready for review April 10, 2025 14:01
@pllim pllim requested a review from a team as a code owner April 10, 2025 14:01
Copy link
Collaborator

@melanieclarke melanieclarke left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good, pending clean regtests. Thanks!

@pllim
Copy link
Collaborator Author

pllim commented Apr 10, 2025

@melanieclarke
Copy link
Collaborator

Looks like RT got past Sonar https://github.com/spacetelescope/RegressionTests/actions/runs/14382345024

Yes, but so did the previous runs, so I'm not sure I trust the sonar scan on PRs!

@pllim
Copy link
Collaborator Author

pllim commented Apr 10, 2025

So, we won't actually know until after merge and run RT from main?

@melanieclarke
Copy link
Collaborator

So, we won't actually know until after merge and run RT from main?

Seems like. I'll file a ticket on RegressionTests to look into this. I really dislike finding problems after merge.

Copy link

codecov bot commented Apr 10, 2025

Codecov Report

Attention: Patch coverage is 66.66667% with 1 line in your changes missing coverage. Please review.

Project coverage is 75.39%. Comparing base (c15c667) to head (5bc305b).
Report is 650 commits behind head on main.

Files with missing lines Patch % Lines
jwst/lib/exposure_types.py 0.00% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #9389      +/-   ##
==========================================
- Coverage   75.42%   75.39%   -0.03%     
==========================================
  Files         368      368              
  Lines       36852    36842      -10     
==========================================
- Hits        27795    27777      -18     
- Misses       9057     9065       +8     

☔ 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.

Copy link
Collaborator

@melanieclarke melanieclarke left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Regtests are clean. Thanks for the quick fix!

@melanieclarke melanieclarke merged commit 3caecb1 into spacetelescope:main Apr 10, 2025
28 of 29 checks passed
@pllim pllim deleted the sonar-no-feliz branch April 10, 2025 15:01
@melanieclarke
Copy link
Collaborator

Sonar scan on main now passes:
https://github.com/spacetelescope/RegressionTests/actions/runs/14369253521

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants