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

Fix: NYC addresses are sent to random New England towns #604

Merged
merged 3 commits into from
Oct 6, 2024

Conversation

Andrew-Dickinson
Copy link
Member

This has been a persisent import script issue, but it seemed to only happen for badly formatted addresses so I never looked that carefully into it. However today I noticed it was happening for perfectly valid YAYB addresses, and decided to try to fix it. I think this is gonna make things a great deal better

Copy link

codecov bot commented Sep 24, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 94.03%. Comparing base (dfa0125) to head (f3a9057).
Report is 1 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #604   +/-   ##
=======================================
  Coverage   94.03%   94.03%           
=======================================
  Files          75       75           
  Lines        3087     3087           
=======================================
  Hits         2903     2903           
  Misses        184      184           

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

@Andrew-Dickinson
Copy link
Member Author

Merging as this is import script related and Willard is still on vacation

@Andrew-Dickinson Andrew-Dickinson enabled auto-merge (squash) October 6, 2024 14:59
@Andrew-Dickinson Andrew-Dickinson merged commit f4ceaf7 into main Oct 6, 2024
12 checks passed
@Andrew-Dickinson Andrew-Dickinson deleted the andrew/import-address-fix branch October 6, 2024 15:10
WillNilges pushed a commit that referenced this pull request Oct 12, 2024
* Fix: NYC addresses are sent to random new england towns

* Add typo fix for "sreet"
WillNilges added a commit that referenced this pull request Oct 24, 2024
* fix 500 on bldg

* Store changed info and print something

* fancy

* Now I gotta update all these tests :(

* This feels very brittle

* That's maybe a little better.

* Test cases

* update tests

* Add trust_me_bro

* Add trust_me_bro to test data

* format

* set trust_me_bro

* checkpoint

* computers

* Formatting?

* Parsed City

* Remove State + Zip warning

State is a dropdown and Zip breaks if it's wrong.

* Fix import crash (#598)

* Make name dedupe logic case-insensitive & prefer longer names (#556)

* Make name dedupe logic case-insensitive & prefer longer names

* Fix uuid convention

* Add django-simple-history (#599)

* Add django-simple-history

* Fix: crash on permissions object

* Fix typo

* Change ticket number to charfield (#562)

* Change ticket number to charfield

* Fix tests

* Update src/meshapi/migrations/0031_alter_install_ticket_number.py

Co-authored-by: Willard Nilges <[email protected]>

* Update src/meshapi/models/install.py

Co-authored-by: Willard Nilges <[email protected]>

* Merge migration conflicts

---------

Co-authored-by: Willard Nilges <[email protected]>

* rename all instances of prod1 -> prod + docs cleanup (#618)

* rolling restart stateful sets (#620)

* only backup 'default' (#621)

* Add new encrypted volume (#615)

* use the new one (#623)

* Complete volume swap (#616)

* Add new encrypted volume

* swap postgres to encrypted volume

* cleanup old pv

* Fix 500 on panorama building save (for real this time) (#622)

* Fix: NYC addresses are sent to random New England towns (#604)

* Fix: NYC addresses are sent to random new england towns

* Add typo fix for "sreet"

* Import fixes (#607)

* Exclude placeholder devices from inactive node resurrection

* Fix: Spreadsheet LOS import has `SpreadsheetLinkStatus.` before the status notes

* Clean up node notes

* Fix: nodes without active installs are hidden on the map (#606)

* Fix: nodes without active installs are hidden on the map

* Remove ALLOWED_INSTALL_STATUSES entirely

* Fix: nodes is required to edit building object (#600)

* Fix: exports get captured by captive nav and don't download (#601)

* Add missing assert_ to called_once_with (#619)

* Fix: crash due to link sheet format change (#626)

* Fix: zip code validation only applies to non-NYC addresses (#629)

* got it

* Update submission format

* get tests working

* computers

* lint

* zip

* black

* Check that we say no to NJ properly:

* move check

* fix thingie

* Add another test

* Default to str when dumping json object

* lint

* lint

* email

* lint

* insanity

* email

* Wild fucking guess, but this test should now create 3 members instead of 2

* fix git fuckery

* Test nyc join form but nj zip

---------

Co-authored-by: Andrew Dickinson <[email protected]>
Co-authored-by: james-otten <[email protected]>
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.

1 participant