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

Release v0.5.9 -- performance improvements #202

Merged
merged 65 commits into from
Nov 25, 2024
Merged

Release v0.5.9 -- performance improvements #202

merged 65 commits into from
Nov 25, 2024

Conversation

jhkennedy
Copy link
Contributor

No description provided.

jhkennedy and others added 30 commits November 20, 2024 09:17
finish implementing `query_jobs_by_status_code`
@jhkennedy
Copy link
Contributor Author

Alright! I've confirmed via too many integration tests that:

  • the deduplication of pending/running jobs via the HyP3 DynamoDB table is working
  • the deduplication of already published (succeeded) jobs via the appropriate S3 bucket is working

So we should be good to release!

@jhkennedy jhkennedy marked this pull request as ready for review November 23, 2024 07:51
@jhkennedy jhkennedy requested a review from a team November 23, 2024 07:51
@jhkennedy jhkennedy linked an issue Nov 23, 2024 that may be closed by this pull request
dependabot bot and others added 4 commits November 25, 2024 19:55
Bumps [actions/setup-python](https://github.com/actions/setup-python) from 3 to 5.
- [Release notes](https://github.com/actions/setup-python/releases)
- [Commits](actions/setup-python@v3...v5)

---
updated-dependencies:
- dependency-name: actions/setup-python
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <[email protected]>
Bumps [aws-actions/configure-aws-credentials](https://github.com/aws-actions/configure-aws-credentials) from 1 to 4.
- [Release notes](https://github.com/aws-actions/configure-aws-credentials/releases)
- [Changelog](https://github.com/aws-actions/configure-aws-credentials/blob/main/CHANGELOG.md)
- [Commits](aws-actions/configure-aws-credentials@v1...v4)

---
updated-dependencies:
- dependency-name: aws-actions/configure-aws-credentials
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <[email protected]>
Bumps [cfn-lint](https://github.com/aws-cloudformation/cfn-lint) from 1.19.0 to 1.20.0.
- [Release notes](https://github.com/aws-cloudformation/cfn-lint/releases)
- [Changelog](https://github.com/aws-cloudformation/cfn-lint/blob/main/CHANGELOG.md)
- [Commits](aws-cloudformation/cfn-lint@v1.19.0...v1.20.0)

---
updated-dependencies:
- dependency-name: cfn-lint
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
dependabot bot and others added 2 commits November 25, 2024 20:07
Bumps [ruff](https://github.com/astral-sh/ruff) from 0.7.4 to 0.8.0.
- [Release notes](https://github.com/astral-sh/ruff/releases)
- [Changelog](https://github.com/astral-sh/ruff/blob/main/CHANGELOG.md)
- [Commits](astral-sh/ruff@0.7.4...0.8.0)

---
updated-dependencies:
- dependency-name: ruff
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
…s/setup-python-5

Bump actions/setup-python from 3 to 5
…tions/configure-aws-credentials-4

Bump aws-actions/configure-aws-credentials from 1 to 4
@@ -85,7 +83,7 @@ def get_key(tile_prefixes: Iterable[str], reference: str, secondary: str) -> str
for tile_prefix in tile_prefixes:
prefix = f'{tile_prefix}/{reference}_X_{secondary}'
response = s3.list_objects_v2(
Bucket='its-live-data',
Bucket=os.environ.get('PUBLISH_BUCKET', 'its-live-data'),
Copy link
Contributor

Choose a reason for hiding this comment

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

Do we need a default value here, or could we just require that PUBLISH_BUCKET be defined?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I couldn't decide; we provide a default value in other places (e.g., here) so I matched that.

It might be better overall to not provide defaults (or default to test values instead of production...) and maybe add a .env file

Copy link
Contributor

Choose a reason for hiding this comment

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

Yeah, I'd err on the side of not providing defaults, but won't hold up the PR for it since we already set the current precedent elsewhere in the code.

@jhkennedy jhkennedy merged commit 1e4d51a into main Nov 25, 2024
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
patch Bump the patch version number of this project
Projects
None yet
Development

Successfully merging this pull request may close these issues.

hyp3_sdk.exceptions.ServerError when de-duplicating new jobs
3 participants