Skip to content

Conversation

Pijukatel
Copy link
Collaborator

Description

  • Reduce the amount of global side effects in service_locator by using an explicit KVS factory in RecoverableState.
  • Fix KeyValueStore.auto_saved_value not working properly if the global storage_client was different from the current kvs storage client.
  • Improve test isolation.

Issues

Testing

  • Added tests for some edge cases.

Explicit kvs to RecoverableState
@github-actions github-actions bot added this to the 124th sprint - Tooling team milestone Sep 30, 2025
@github-actions github-actions bot added t-tooling Issues with this label are in the ownership of the tooling team. tested Temporary label used only programatically for some analytics. labels Sep 30, 2025
@Pijukatel
Copy link
Collaborator Author

This PR replaces #1368. That PR included many changes that were already released in Crawlee v1.0, and continuing in the previous PR would not be good for review.

@Pijukatel Pijukatel force-pushed the minimize-global-service-locator-side-effects branch from 97b11d4 to 537ed1a Compare September 30, 2025 12:33
@Pijukatel Pijukatel marked this pull request as ready for review September 30, 2025 13:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
t-tooling Issues with this label are in the ownership of the tooling team. tested Temporary label used only programatically for some analytics.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

All crawlee persistance names should be valid names for Apify platform
1 participant