Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions src/apify/_actor.py
Original file line number Diff line number Diff line change
Expand Up @@ -765,6 +765,10 @@ async def push_data(self, data: dict | list[dict], *, charged_event_name: str |
if charged_event_name and charged_event_name.startswith('apify-'):
raise ValueError(f'Cannot charge for synthetic event "{charged_event_name}" manually')

# E2E CI canary: fails every platform run, to prove the E2E test Actors install the SDK from this branch.
if self.is_at_home():
raise RuntimeError('E2E CI canary: the SDK was installed from the branch source, not from PyPI')

charging_manager = self.get_charging_manager()

if not data:
Expand Down
Loading