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

Eia923 2022 final release q4 update Nov 21 #3073

Merged

Conversation

robertozanchi
Copy link
Contributor

Update in progress for eia923 Aug 2023 data

@aesharpe aesharpe self-requested a review November 21, 2023 19:39
@aesharpe aesharpe added eia923 Anything having to do with EIA Form 923 new-data Requests for integration of new data. rmi labels Nov 21, 2023
@aesharpe aesharpe linked an issue Nov 22, 2023 that may be closed by this pull request
15 tasks
@aesharpe
Copy link
Member

aesharpe commented Nov 22, 2023

There is a weird thing happening here where the rows for the plants_eia860 table go down by a small fraction. I think this has happened before, but it's such a small amount of rows that we normally ignore it. But it's so strange/annoying. Just flagging. Might poke at it again for a few hours. I wonder if it's related to #2978

For reference, the missing plants are:
plant_id_eia: 60325, report_date: 2023-01-01
plant_id_eia: 60018, report_date: 2023-01-01
plant_id_eia: 60018, report_date: 2022-01-01

@aesharpe aesharpe marked this pull request as ready for review November 27, 2023 18:44
Copy link

codecov bot commented Nov 27, 2023

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (9b8cfb2) 88.7% compared to head (2994731) 88.7%.
Report is 3 commits behind head on dev.

Additional details and impacted files
@@          Coverage Diff          @@
##             dev   #3073   +/-   ##
=====================================
  Coverage   88.7%   88.7%           
=====================================
  Files         89      89           
  Lines      11018   11018           
=====================================
  Hits        9778    9778           
  Misses      1240    1240           

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

@aesharpe aesharpe requested a review from cmgosnell November 28, 2023 13:59
Copy link
Member

@cmgosnell cmgosnell left a comment

Choose a reason for hiding this comment

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

wow this looked surprisingly straightforward!! thanks @robertozanchi and @aesharpe !

I have one non-blocking question about a deletion. maybe it should be blocking bc it doesn't seem like it should be deleted.

but everything else looks great! I'm glad to see that the column maps didn't need to be changed for either the early->final update or the new monthly update!

Comment on lines -44 to -45
with:
ref: ${{ env.GITHUB_REF }}
Copy link
Member

Choose a reason for hiding this comment

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

what is this deletion about??

Copy link
Member

Choose a reason for hiding this comment

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

This deletion was an effort to fix test failures resulting from the fact that this PR is from a forked repo. But those tests still fail due to permissions anyways, so idk whether it's worth keeping this out or not. @bendnorman @jdangerx do you have thoughts?

Copy link
Member

Choose a reason for hiding this comment

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

Ah good point. Forgot that the GCS cache sync needs credentials 🤦 . I think we should still remove this because the default behavior uses the GITREF that started the action.

Copy link
Member

Choose a reason for hiding this comment

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

@jdangerx any idea why pytest.yml uses fetch-depth: 2 instead of the default fetch-depth: 1?

Copy link
Member

Choose a reason for hiding this comment

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

I bet there's something somewhere in our tox-pytest that cares about "what has changed since the previous commit." Not sure what that would be, though.

Copy link
Member

Choose a reason for hiding this comment

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

I think it's worth keeping it out, but point taken that the GCS credentials are obviously not going to be available in fork PRs. If we get more time to think about contributor workflows in the future we should think a bit harder about how we want our CI checks to go.

Copy link
Member

Choose a reason for hiding this comment

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

In the update-conda-lockfile action there's a check for one of the actions that it's not on a forked repo. We could add that where appropriate to skip things that should run from outside the org.

@aesharpe aesharpe merged commit b2b8339 into catalyst-cooperative:dev Nov 29, 2023
8 of 10 checks passed
@aesharpe
Copy link
Member

Added a lil more with #3100

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
eia923 Anything having to do with EIA Form 923 new-data Requests for integration of new data. rmi
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

Integrate EIA 923 2022 final release data and most recent 923 monthly data
6 participants