Skip to content

[65] scheduled build #66

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

Closed
wants to merge 6 commits into from
Closed

[65] scheduled build #66

wants to merge 6 commits into from

Conversation

voj
Copy link
Collaborator

@voj voj commented May 6, 2025

Closes #65

DrCuriosity and others added 5 commits July 4, 2024 17:20
* Update cached functions to use migrated functions from latest Solvis pre-release.

- filter_set_logic_operations:
    - Graphene type derived from Solvis enum
    - _solvis_join() helper to convert filter_set_options to native Solvis enum

- composite_rupture_sections: fixed an easy deprecation warning

- cached:
    - get_rupture_ids_for_location_radius calls solvis version with a deprecation warning
    - get_rupture_ids_for_fault_names calls solvis version with a deprecation warning
    - update calls to both of the above to use their respective solvis versions

* Black+isort on tests too, for tidiness

* Updates for pre-release versions of solvis, solvis-store.

Update nzshm-model to 0.6
Update nzshm-common to 0.7
Update solvis to pre-release branch (0.12.0.alpha.1)
Update solvis-store to pre-release branch

For nzshm-model 0.6: get_rupture_ids_for_location_radius_stored now getting
rupture_set_id values from branch inversion sources

* filter_set_logic_operations: More verbose import for Solvis typing

This makes it clearer in the code that we're not using the native
Python typing module.

(Also filtering out `if TYPE_CHECKING:` blocks from coverage tests,
while I'm here.)

* Documenting deprecation warning fix in composite_rupture_sections.py.
* test_rupture_sorting_function: clearing LRU cache between tests (#55)
* update packages to use solvis@latest; fix API changes;
* remove python 3.9 from tox setup; set serverless runtime python 3.10
* drop python3.9 support; updated dependencies; changelog
* disable use of solvi-store
* skip tests that expect solvis-store
* detox;

---------

Co-authored-by: Chris Chamberlain <[email protected]>
* deployment tweaks WIP
* reinstate tests (caching still active);detox;
* first implementation of BinaryLargeObject;
* added S3 blob attribute to store
* remove unneeded modules
* refactor compositie_solution
* WIP on refactoring; data_store; fixtures; composite solution based tests are broken;
* fixed broken test setup; detoxed
* defeat caching for all tests; much slower tests for now;
* make sure tests do not hit server!
* configure services for data layer;
* cli and tests for new modelBinaryLargeObject for CompositeSolution objects
* fix tests for new get_composite_solution;
* add deployment exclusions; configure s3 region_name; update readme and chamgelog;
* Bump version: 0.8.6 → 0.9.0
* removed solvis_store caching option; clean up tests;
* remove unused data_store modules;
* warmer config for dev;
* GHA action versions; python version as string;
* convert tests to tiny fixture;
* refactor indexing on new dynamodb table
* smaller test fixture
* fix method call
* clean up comments; bump release date;
* remove python3.9 support; remove backoff dependency;
* fix get call in cli
* update changelog
@voj voj self-assigned this May 6, 2025
Copy link

codecov bot commented May 6, 2025

Codecov Report

Attention: Patch coverage is 71.21212% with 19 lines in your changes missing coverage. Please review.

Project coverage is 90.63%. Comparing base (31dc029) to head (dfc6478).
Report is 36 commits behind head on main.

Files with missing lines Patch % Lines
solvis_graphql_api/composite_solution/cached.py 34.48% 19 Missing ⚠️

❗ There is a different number of reports uploaded between BASE (31dc029) and HEAD (dfc6478). Click for more details.

HEAD has 2 uploads less than BASE
Flag BASE (31dc029) HEAD (dfc6478)
2 0
Additional details and impacted files
@@             Coverage Diff             @@
##              main      #66      +/-   ##
===========================================
- Coverage   100.00%   90.63%   -9.37%     
===========================================
  Files            2       16      +14     
  Lines           32      790     +758     
  Branches         0       61      +61     
===========================================
+ Hits            32      716     +684     
- Misses           0       67      +67     
- Partials         0        7       +7     
Flag Coverage Δ
unittests 90.63% <71.21%> (?)

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.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@voj voj marked this pull request as ready for review May 6, 2025 04:00
@voj voj requested review from chrisbc and chrisdicaprio May 6, 2025 04:01
@voj
Copy link
Collaborator Author

voj commented May 6, 2025

wrong git base

@voj voj closed this May 6, 2025
@voj voj deleted the chore/65-scheduled-build branch May 8, 2025 01:19
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.

chore: scheduled build
3 participants