Skip to content

[ENG-8558] update WB stuff that is explicit to resolve#465

Merged
felliott merged 8 commits intoCenterForOpenScience:feature/post-buff-wormsfrom
mkovalua:feature/ENG-8558
Aug 14, 2025
Merged

[ENG-8558] update WB stuff that is explicit to resolve#465
felliott merged 8 commits intoCenterForOpenScience:feature/post-buff-wormsfrom
mkovalua:feature/ENG-8558

Conversation

@mkovalua
Copy link
Contributor

Ticket

https://openscience.atlassian.net/browse/ENG-8558

Purpose

We merged the WB feature branch to MFR, letting a few minor issues pass. Let’s revisit the CR and address those. I will create a feature/post-buff-worms based on develop for you to target your PR.

Changes

Have gone through the ticket WB update ticket comments

#463

and updated stuff that is explicit to resolve,

for some non explicit stuff like some S3 possible post-release updates/investigation left comments

#463 (comment)

#463 (comment)

Side effects

QA Notes

Deployment Notes

@mkovalua mkovalua changed the title [ENG-8558] [ENG-8558] update WB stuff that is explicit to resolve Aug 12, 2025
@coveralls
Copy link

coveralls commented Aug 12, 2025

Coverage Status

coverage: 84.753%. remained the same
when pulling 60786b4 on mkovalua:feature/ENG-8558
into aae81c9 on CenterForOpenScience:post-buff-worms.

Copy link
Contributor

@cslzchen cslzchen left a comment

Choose a reason for hiding this comment

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

Changes looks good in the PR. Please take a look at my new comments in unresolved conversations in #463.

@mkovalua mkovalua marked this pull request as ready for review August 12, 2025 19:26
@mkovalua mkovalua requested a review from cslzchen August 12, 2025 19:26
Copy link
Contributor

@cslzchen cslzchen left a comment

Choose a reason for hiding this comment

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

LGTM ⭐ @felliott for a final look

Comment on lines -133 to +139
# Todo: the commented solution may be more stable than not commented
# NOTE: These commented-out blocks are left as a reference to an
# alternative implementation.
# The current active implementation was chosen to maintain unification
# with the generic `make_request` pattern used all over providers (see PR #463 for discussion).
# A trade-off is that the current approach requires using `unquote` on the path to handle xml properly,
# which this paginator-based solution might avoid, however maybe there is more explicit solution without `unquote`
# for 'make_requests' to keep it more explicit.
Copy link
Contributor

Choose a reason for hiding this comment

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

Nit-picking: language looks good but the format (line-breaks) looks rough, which will probably be done by the Ruff work soon, don't worry about it.

@cslzchen cslzchen requested a review from felliott August 13, 2025 15:03
@felliott felliott changed the base branch from post-buff-worms to feature/post-buff-worms August 14, 2025 14:12
@felliott felliott changed the base branch from feature/post-buff-worms to develop August 14, 2025 14:13
@felliott felliott changed the base branch from develop to feature/post-buff-worms August 14, 2025 14:14
 * (Signature of method X does not match signature of base method Y of the base)

   CenterForOpenScience#463 (comment)
 * add extra note about alternative implementation of some methods for
   s3 provider
   CenterForOpenScience#463 (comment)
 * S3 tests are skipped because request signing and client interaction
   have changed significantly on boto to boto3 migration, breaking the
   old test logic
   CenterForOpenScience#463 (comment)
 * with new one test fails with the following error

   # FAILED tests/server/api/v1/test_core.py::TestBaseHandler::test_write_error
   #   - TypeError: BaseHandler.write_error() takes 2 positional arguments but 3 were given

   maybe it cause additional issues (though old and new 'write_error'
   code looks to have same logic) even though we align test
 * pytest_runtest_setup and pytest_runtest_teardown is not used on
   test suite run for now, it looks to be redundant
   CenterForOpenScience#463 (comment)
@felliott felliott merged commit 030b2a6 into CenterForOpenScience:feature/post-buff-worms Aug 14, 2025
1 of 2 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.

4 participants