Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Reduce the number of asset transfers during dispatch (1/2): omit null assets #1879

Merged
merged 1 commit into from
Dec 11, 2023

Conversation

cjao
Copy link
Contributor

@cjao cjao commented Dec 8, 2023

Initialize unset assets to None and don' upload them.

When downloading assets during get_result(), ignore assets with zero size.

Also require asset sizes when retrieving asset updates in Executor.receive().

Closes #1881

  • I have added the tests to cover my changes.
  • I have updated the documentation and CHANGELOG accordingly.
  • I have read the CONTRIBUTING document.

@cjao cjao force-pushed the slim-asset-uploads-1 branch from b08f550 to 0ece054 Compare December 8, 2023 15:33
@cjao cjao changed the title Reduce the number of assets to upload during dispatch (1/2) Reduce the number of asset transfers during dispatch (1/2): omit null assets Dec 8, 2023
@cjao cjao force-pushed the slim-asset-uploads-1 branch 2 times, most recently from ef13c22 to 262c075 Compare December 8, 2023 19:17
Copy link

codecov bot commented Dec 8, 2023

Codecov Report

Merging #1879 (ea7aa65) into develop (c78a1d8) will increase coverage by 0.04%.
The diff coverage is 96.80%.

Additional details and impacted files

Impacted file tree graph

@@             Coverage Diff             @@
##           develop    #1879      +/-   ##
===========================================
+ Coverage    84.44%   84.48%   +0.04%     
===========================================
  Files          294      294              
  Lines        14396    14435      +39     
  Branches       195      195              
===========================================
+ Hits         12157    12196      +39     
  Misses        2105     2105              
  Partials       134      134              
Flag Coverage Δ
Dispatcher 92.36% <98.33%> (+0.08%) ⬆️
Functional_Tests 51.21% <35.04%> (-0.07%) ⬇️
SDK 79.44% <98.36%> (+0.09%) ⬆️
UI_Backend 84.96% <50.00%> (-0.12%) ⬇️
UI_Frontend 73.35% <ø> (ø)

@cjao cjao force-pushed the slim-asset-uploads-1 branch 4 times, most recently from 08e427e to f461ce6 Compare December 10, 2023 01:29
Initialize unset assets to `None` and don' upload them.

When downloading assets during `get_result()`, ignore assets with zero
size.

Also require asset sizes when retrieving asset updates in
`Executor.receive()`.
@cjao cjao force-pushed the slim-asset-uploads-1 branch from f461ce6 to ea7aa65 Compare December 10, 2023 17:25
@cjao cjao marked this pull request as ready for review December 10, 2023 17:57
@cjao cjao requested a review from a team as a code owner December 10, 2023 17:57
@FyzHsn FyzHsn enabled auto-merge (squash) December 11, 2023 14:32
@FyzHsn FyzHsn merged commit a6a6999 into develop Dec 11, 2023
14 checks passed
@FyzHsn FyzHsn deleted the slim-asset-uploads-1 branch December 11, 2023 14:32
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.

Reduce asset uploads during dispatch (1/2): omit null assets
2 participants