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

[7957] Update HESA placements import #4999

Merged
merged 4 commits into from
Jan 31, 2025

Conversation

tomtrentham
Copy link
Contributor

@tomtrentham tomtrentham commented Jan 29, 2025

Context

Trello card

Changes proposed in this pull request

  • Support placements with NOT_APPLICABLE_SCHOOL_URNS as we do when placements come from the main HESA integration
  • Provide feedback from rake task for unmatched data

Guidance to review

  • Is this still adding the placements correctly?

Important business

  • Does this PR introduce any PII fields that need to be overwritten or deleted in db/scripts/sanitise.sql?
  • Does this PR change the database schema? If so, have you updated the config/analytics.yml file and considered whether you need to send 'import_entity' events?
  • Do we need to send any updates to DQT as part of the work in this PR?
  • Does this PR need an ADR?

NB: Please notify the #twd_data_insights team and ask for a review if new fields are being added to analytics.yml

@tomtrentham tomtrentham force-pushed the 7957-load-hei-placement-data-into-register branch from 50ec00a to 848ee05 Compare January 29, 2025 12:14
@kennyevil
Copy link
Contributor

Looks good, but it feels like it should include and update to the spec as well just to demonstrate that it does what it's supposed to.

Copy link
Contributor

@defong defong left a comment

Choose a reason for hiding this comment

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

Is it missing test coverage?

app/services/placements/import_from_csv.rb Outdated Show resolved Hide resolved
Copy link

codecov bot commented Jan 29, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 96.21%. Comparing base (939bfc0) to head (d67c953).
Report is 7 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #4999   +/-   ##
=======================================
  Coverage   96.21%   96.21%           
=======================================
  Files         763      763           
  Lines       16329    16339   +10     
=======================================
+ Hits        15711    15721   +10     
  Misses        618      618           
Flag Coverage Δ
unittests 96.21% <100.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.

@tomtrentham tomtrentham force-pushed the 7957-load-hei-placement-data-into-register branch 2 times, most recently from 3656aa1 to 0a0b456 Compare January 31, 2025 10:06
@tomtrentham tomtrentham requested review from defong and Reyko January 31, 2025 11:23
@tomtrentham tomtrentham force-pushed the 7957-load-hei-placement-data-into-register branch from 0a0b456 to 4c5a1be Compare January 31, 2025 15:09
- support NOT_APPLICABLE_SCHOOL_URNS
- provide feedback from rake task
@tomtrentham tomtrentham force-pushed the 7957-load-hei-placement-data-into-register branch from 4c5a1be to d67c953 Compare January 31, 2025 15:10
@tomtrentham tomtrentham merged commit 27c3362 into main Jan 31, 2025
36 checks passed
@tomtrentham tomtrentham deleted the 7957-load-hei-placement-data-into-register branch January 31, 2025 15:51
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.

4 participants