Skip to content

Promote Deploy test to PROD#281

Merged
chrisbc merged 52 commits intomainfrom
deploy-test
Dec 15, 2025
Merged

Promote Deploy test to PROD#281
chrisbc merged 52 commits intomainfrom
deploy-test

Conversation

@chrisbc
Copy link
Copy Markdown
Member

@chrisbc chrisbc commented Dec 15, 2025

Includes:

  • OpenQuakeHazard Task and Solution changes
  • library vulnerability updates
  • RuptureSetGeneration and RuptureSet schema changes

… bring tests into line; test missing args; remove deprecated attributes;
…rd_vs_disagg

feature/ OpenquakeHazardSolution should distinguish hazard vs disagg results

 - added task_type attribute to OpenquakeHazardSolution (to match OpenquakeHazardTask)
 - make task_type attribute required on both classes OpenquakeHazardSolution and OpenquakeHazardTask
 - removes deprecated attributes for old-style configs
…a_v2, and `post_url_v2` to support new test;
…rupture_generation_task mutations and tests;
Feature/60 rupture set class

- new resolvers for FileData objects:post_url_v2 and post_data_v2
  to make upload testing possible, and to better align with boto3 API.
  NB nshm-toshi-clientshould migrate to these, but not required immediately.
- new ENV variables:
  DB_READ_ONLY for safe testing against LIVE backends, default = False.
  CLOUDWATCH_ENABLED for disabling cloud metrics, default = True.
  MIGRATE_FILE_TO_RUPTSET for RuptureSet class migrations, default = False.
- Removed deprecated mutation operations for RuptureGenerationTask.
- fixed Smoketests
- for AutomationTask the mutation task_type = Required is now enforced.
… for all all Task classes; update AutomationTaskInterface;
Fix/minor schema fixes -  changes to RuptureSet

correct use of meta instead of arguments
migrate created to File schema
make some input arguments explicit
@codecov
Copy link
Copy Markdown

codecov Bot commented Dec 15, 2025

Codecov Report

❌ Patch coverage is 93.42105% with 10 lines in your changes missing coverage. Please review.
✅ Project coverage is 88.70%. Comparing base (f5af149) to head (4bdfbac).
⚠️ Report is 53 commits behind head on main.

Files with missing lines Patch % Lines
graphql_api/data/base_data.py 50.00% 4 Missing and 1 partial ⚠️
...aphql_api/schema/custom/rupture_generation_task.py 71.42% 1 Missing and 1 partial ⚠️
graphql_api/cloudwatch.py 50.00% 0 Missing and 1 partial ⚠️
graphql_api/data/file_data.py 92.85% 0 Missing and 1 partial ⚠️
graphql_api/schema/schema.py 66.66% 0 Missing and 1 partial ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #281      +/-   ##
==========================================
+ Coverage   88.66%   88.70%   +0.04%     
==========================================
  Files          48       48              
  Lines        2461     2524      +63     
  Branches      137      142       +5     
==========================================
+ Hits         2182     2239      +57     
- Misses        233      236       +3     
- Partials       46       49       +3     
Flag Coverage Δ
unittests 88.70% <93.42%> (+0.04%) ⬆️

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.

@chrisbc chrisbc requested review from chrisdicaprio and voj December 15, 2025 21:36
Copy link
Copy Markdown
Collaborator

@voj voj left a comment

Choose a reason for hiding this comment

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

LGTM

@chrisbc chrisbc merged commit 24f0ee8 into main Dec 15, 2025
5 checks passed
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.

3 participants