GCSHook: Log NotFound error instead of raise on blob delete#2
Draft
GCSHook: Log NotFound error instead of raise on blob delete#2
Conversation
Bumps the core-ui-package-updates group with 1 update in the /airflow-core/src/airflow/api_fastapi/auth/managers/simple/ui directory: [eslint](https://github.com/eslint/eslint). Updates `eslint` from 10.0.0 to 10.0.1 - [Release notes](https://github.com/eslint/eslint/releases) - [Commits](eslint/eslint@v10.0.0...v10.0.1) --- updated-dependencies: - dependency-name: eslint dependency-version: 10.0.1 dependency-type: direct:development update-type: version-update:semver-patch dependency-group: core-ui-package-updates ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* feat: Consume SQL hook lineage in OpenLineage * Update providers/openlineage/src/airflow/providers/openlineage/extractors/manager.py --------- Co-authored-by: Maciej Obuchowski <obuchowski.maciej@gmail.com>
* Make start_date in Context nullable If a deadline is missed before a DagRun is started (could be queued for a very long time), there would be an exception when creating the Context because start_date is currently non-nullable. * Add cadwyn migration for nullable DagRun.start_date * more explicit downgrade Co-authored-by: Amogh Desai <amoghrajesh1999@gmail.com>" * merge conflict static checks --------- Co-authored-by: ferruzzi <ferruzzi@amazon.com>
Co-authored-by: Shashwati <shashwatibhattacaharya21.2@gmail.com>
…2180) Co-authored-by: Stephen Bracken <email-protected>
Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
…apache#60677) * keep consistency * support kerberos init securityContext/lifecycle in workers
Instead of raising a 404/NotFound error when calling `GCSHook.delete()`, match the behavior of `delete_bucket` and log the error.
This reverts commit 6ba1f57eb153e0d26c9420dcff1ee4c7f06724a2.
This adds an `ignore_error` boolean to `GCSHook.delete`, which will suppress any 404 errors if a blob to be deleted doesn't exist.
Makes the `GCSHook.delete` `ignore_error` boolean available to ignore errors when a blob doesn't exist.
e4f649e to
b610dc5
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Instead of raising a 404/NotFound error when calling
GCSHook.delete(), match the behavior ofdelete_bucketand log the error.Was generative AI tooling used to co-author this PR?
{pr_number}.significant.rstor{issue_number}.significant.rst, in airflow-core/newsfragments.