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

JP-3005: Update core schema for new step status keyword in metadata #149

Merged
merged 7 commits into from
Apr 12, 2023

Conversation

tapastro
Copy link
Collaborator

@tapastro tapastro commented Mar 15, 2023

Resolves JP-3005
Resolves RCAL-nnnn

Closes #

This PR adds the cal_step keyword to denote whether pixel replacement was run, skipped, etc. It appears that I don't have many permissions here, as I can't add milestones/labels or request reviewers.

Checklist

  • added entry in CHANGES.rst (either in Bug Fixes or Changes to API)
  • updated relevant tests
  • updated relevant documentation
  • updated relevant milestone(s)
  • added relevant label(s)

@codecov
Copy link

codecov bot commented Mar 15, 2023

Codecov Report

Patch and project coverage have no change.

Comparison is base (ec2cd1b) 65.22% compared to head (87242df) 65.22%.

Additional details and impacted files
@@           Coverage Diff           @@
##           master     #149   +/-   ##
=======================================
  Coverage   65.22%   65.22%           
=======================================
  Files         101      101           
  Lines        5450     5450           
=======================================
  Hits         3555     3555           
  Misses       1895     1895           
Impacted Files Coverage Δ
src/stdatamodels/jwst/datamodels/dqflags.py 100.00% <ø> (ø)

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

☔ View full report in Codecov by Sentry.
📢 Do you have feedback about the report comment? Let us know in this issue.

Copy link
Contributor

@hbushouse hbushouse left a comment

Choose a reason for hiding this comment

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

LGTM

@braingram
Copy link
Collaborator

@tapastro and @hbushouse It looks like the failure in the jwst CI job is expected (due to the changes in this PR):
https://github.com/spacetelescope/stdatamodels/actions/runs/4622302983/jobs/8174828584?pr=149#step:10:192

However the failing jwst job is preventing this from being merged because of the branch protections. Any objection to removing the jwst job passing as a requirement for PRs in this package?

@hbushouse
Copy link
Contributor

@tapastro and @hbushouse It looks like the failure in the jwst CI job is expected (due to the changes in this PR): https://github.com/spacetelescope/stdatamodels/actions/runs/4622302983/jobs/8174828584?pr=149#step:10:192

However the failing jwst job is preventing this from being merged because of the branch protections. Any objection to removing the jwst job passing as a requirement for PRs in this package?

I would not permanently disable the jwst job as a requirement for passing. I/we (those of us with appropriate privilege) can just override that requirement on a case-by-case basis when deemed appropriate (like this one). I just check the magic box that says "Merge without waiting for requirements to be met" and we're good to go.

@braingram
Copy link
Collaborator

I would not permanently disable the jwst job as a requirement for passing. I/we (those of us with appropriate privilege) can just override that requirement on a case-by-case basis when deemed appropriate (like this one). I just check the magic box that says "Merge without waiting for requirements to be met" and we're good to go.

Thanks! That works for me. Should we endow @tapastro with the power?

@hbushouse
Copy link
Contributor

Oh no, that would be WAY too dangerous! ;-)

@braingram
Copy link
Collaborator

I was in the mood for some Kenny Loggins :)

@tapastro are you now able to use the 'merge without waiting for requirements' option. I added you with 'write' permissions to this repo. Looking over the github docs I don't think this is high enough permissions but figured I'd check. If you're not able to see the options appear to be:

  • add you to the stdatamodels-maintainers team, which will mean you receive notifications due to your inclusion in the CODEOWNERS file.
  • add you as an admin to this repository, which will give you additional permissions beyond allowing for bypassing branch protections
  • specifically add you as allowed to bypass branch protections

I'm also happy to just merge this PR if the added permissions seem too complicated for how often you expect to make these types of changes. I'm happy with any of the above options, the first seems reasonable to me if you expect to make additional changes to stdatamodels.

@tapastro
Copy link
Collaborator Author

tapastro commented Apr 6, 2023

@tapastro are you now able to use the 'merge without waiting for requirements' option?

No, though it does look like I could merge if the requirements passed. Thanks!

@braingram
Copy link
Collaborator

No, though it does look like I could merge if the requirements passed. Thanks!

Thanks for checking. @tapastro I added you to the stdatamodels-maintainer team. Mind giving it one more try?

@hbushouse
Copy link
Contributor

I would like to hold off just a bit before merging this, because as soon as we do, anyone using stdatamodels from github/master may run into trouble until necessary updates in the jwst package have also been merged. Let's wait till the PR over in JWST is ready and then we'll merge them both at nearly the same time.

@tapastro
Copy link
Collaborator Author

tapastro commented Apr 6, 2023

No, though it does look like I could merge if the requirements passed. Thanks!

Thanks for checking. @tapastro I added you to the stdatamodels-maintainer team. Mind giving it one more try?

I do appear to have unnatural powers now. 😟

@hbushouse hbushouse added this to the 1.3.2 milestone Apr 12, 2023
@hbushouse hbushouse merged commit 14c4419 into spacetelescope:master Apr 12, 2023
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.

3 participants