Skip to content

Conversation

@thomasrockhu-codecov
Copy link
Contributor

@thomasrockhu-codecov thomasrockhu-codecov commented Nov 18, 2025

Reverts #565


Note

Switch bundle-analysis processor/notify tasks to pass a dict payload {"results": [...]} through the Celery chain and update scheduling/tests accordingly.

  • Bundle Analysis (BA) tasks:
    • Change chained previous_result from list to dict with "results" key in tasks/bundle_analysis_processor.py and tasks/bundle_analysis_notify.py.
    • Processor now returns {"results": processing_results}; Notify reads results via previous_result.get("results", []).
  • Task scheduling:
    • In tasks/upload.py, initialize first BA task arg to {} (instead of []).
  • Tests:
    • Update BA processor/notify tests and upload task tests to use the new dict payload and expected return shapes.

Written by Cursor Bugbot for commit 2fcde6f. This will update automatically on new commits. Configure here.

@sentry
Copy link

sentry bot commented Nov 18, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 93.85%. Comparing base (87f797f) to head (2fcde6f).
✅ All tests successful. No failed tests found.

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #572   +/-   ##
=======================================
  Coverage   93.85%   93.85%           
=======================================
  Files        1284     1284           
  Lines       46428    46428           
  Branches     1524     1524           
=======================================
  Hits        43574    43574           
  Misses       2545     2545           
  Partials      309      309           
Flag Coverage Δ
workerintegration 58.57% <20.00%> (ø)
workerunit 91.17% <80.00%> (ø)

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

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@codecov-notifications
Copy link

codecov-notifications bot commented Nov 18, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ All tests successful. No failed tests found.

📢 Thoughts on this report? Let us know!

@thomasrockhu-codecov thomasrockhu-codecov added this pull request to the merge queue Nov 18, 2025
Merged via the queue into main with commit 507a065 Nov 18, 2025
40 checks passed
@thomasrockhu-codecov thomasrockhu-codecov deleted the revert-565-th/use-list-for-bundle-analysis branch November 18, 2025 23:06
github-merge-queue bot pushed a commit that referenced this pull request Nov 19, 2025
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.

3 participants