Skip to content

refactor!: Export Apify storage clients under their real names#1046

Draft
vdusek wants to merge 6 commits into
masterfrom
worktree-fix-a6
Draft

refactor!: Export Apify storage clients under their real names#1046
vdusek wants to merge 6 commits into
masterfrom
worktree-fix-a6

Conversation

@vdusek

@vdusek vdusek commented Jul 15, 2026

Copy link
Copy Markdown
Contributor

Cleans up inconsistencies in the public export surface of apify.storage_clients.

BREAKING CHANGE: apify.storage_clients.FileSystemStorageClient now refers to Crawlee's FileSystemStorageClient, not the Apify variant. Previously the name was an alias for the Apify file-system client, which shadowed Crawlee's distinct class of the same name. Use ApifyFileSystemStorageClient for the Apify variant (the default local client).

  • Export ApifyFileSystemStorageClient from apify.storage_clients under its real name, and re-export Crawlee's FileSystemStorageClient alongside it, so both distinct classes are available without shadowing. SmartApifyStorageClient, the tests, and the docs refer to the Apify variant by name.
  • Export the previously-missing ApifyFileSystemDatasetClient from apify.storage_clients._file_system, so the sub-package now re-exports all three of its client classes.
  • Document that MemoryStorageClient has no Apify variant, so it's re-exported from Crawlee as-is and lacks the Apify INPUT-preservation-on-purge and PAY_PER_EVENT charging behavior. Clarify the ApifyFileSystemStorageClient docstring (SDK variant with input handling and local PPE specifics).
  • Fix a stale Configuration docstring that referenced the removed actor.config property (now Actor.configuration).

@vdusek vdusek added adhoc Ad-hoc unplanned task added during the sprint. t-tooling Issues with this label are in the ownership of the tooling team. labels Jul 15, 2026
@vdusek vdusek self-assigned this Jul 15, 2026
@github-actions github-actions Bot added this to the 145th sprint - Tooling team milestone Jul 15, 2026
@github-actions github-actions Bot added the tested Temporary label used only programatically for some analytics. label Jul 15, 2026
@codecov

codecov Bot commented Jul 15, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 91.75%. Comparing base (ed1d8eb) to head (1378510).
⚠️ Report is 1 commits behind head on master.

Additional details and impacted files
@@           Coverage Diff           @@
##           master    #1046   +/-   ##
=======================================
  Coverage   91.75%   91.75%           
=======================================
  Files          50       50           
  Lines        3215     3216    +1     
=======================================
+ Hits         2950     2951    +1     
  Misses        265      265           
Flag Coverage Δ
e2e 35.66% <80.00%> (+0.02%) ⬆️
integration 57.40% <100.00%> (+0.01%) ⬆️
unit 83.08% <100.00%> (+<0.01%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Harness.
📢 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.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

vdusek added 3 commits July 15, 2026 13:52
…stemStorageClient

BREAKING CHANGE: `apify.storage_clients.FileSystemStorageClient` is removed. Import
`ApifyFileSystemStorageClient` instead (same class, unambiguous name that no longer
shadows Crawlee's own `FileSystemStorageClient`).
@vdusek vdusek changed the title fix: Export Apify storage clients under their real names refactor!: Export Apify storage clients under their real names Jul 15, 2026
@vdusek vdusek marked this pull request as ready for review July 15, 2026 12:48
@vdusek vdusek requested a review from szaganek as a code owner July 15, 2026 12:48
@vdusek vdusek requested a review from Pijukatel July 15, 2026 12:48
@vdusek vdusek marked this pull request as draft July 16, 2026 10:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

adhoc Ad-hoc unplanned task added during the sprint. 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.

2 participants