Page MenuHomeSoftware Heritage

Rewrite the server to use flask instead of aiohttp
ClosedPublic

Authored by vlorentz on Mar 4 2022, 11:08 AM.

Details

Reviewers
olasd
Group Reviewers
Reviewers
Maniphest Tasks
Restricted Maniphest Task
Commits
rDVAUdf35ac0601ff: Rewrite the server to use flask instead of aiohttp
Summary

The azure backend cannot be run in the same thread as an asyncio
event loop: https://forge.softwareheritage.org/T3981

Diff Detail

Repository
rDVAU Software Heritage Vault
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

Build has FAILED

Patch application report for D7291 (id=26388)

Rebasing onto 252aa1464d...

Current branch diff-target is up to date.
Changes applied before test
commit 8f8da1887dd35a0921791bdfd50dd6b648f48757
Author: Valentin Lorentz <vlorentz@softwareheritage.org>
Date:   Fri Mar 4 11:08:31 2022 +0100

    Rewrite the server to use flask instead of aiohttp
    
    The azure backend cannot be run in the same thread as an asyncio
    event loop: https://forge.softwareheritage.org/T3981

Link to build: https://jenkins.softwareheritage.org/job/DVAU/job/tests-on-diff/218/
See console output for more information: https://jenkins.softwareheritage.org/job/DVAU/job/tests-on-diff/218/console

Harbormaster returned this revision to the author for changes because remote builds failed.Mar 4 2022, 11:11 AM
Harbormaster failed remote builds in B27274: Diff 26388!

remove create_app(), for consistency

Build has FAILED

Patch application report for D7291 (id=26392)

Rebasing onto 252aa1464d...

Current branch diff-target is up to date.
Changes applied before test
commit 2a80c26d2e902984eaef0c1fd3393f3eb73c9c87
Author: Valentin Lorentz <vlorentz@softwareheritage.org>
Date:   Fri Mar 4 11:08:31 2022 +0100

    Rewrite the server to use flask instead of aiohttp
    
    The azure backend cannot be run in the same thread as an asyncio
    event loop: https://forge.softwareheritage.org/T3981

Link to build: https://jenkins.softwareheritage.org/job/DVAU/job/tests-on-diff/219/
See console output for more information: https://jenkins.softwareheritage.org/job/DVAU/job/tests-on-diff/219/console

Harbormaster returned this revision to the author for changes because remote builds failed.Mar 4 2022, 12:29 PM
Harbormaster failed remote builds in B27278: Diff 26392!

Build has FAILED

Patch application report for D7291 (id=26393)

Rebasing onto 252aa1464d...

Current branch diff-target is up to date.
Changes applied before test
commit 2df5faf7622831a3576d3db5687914e620fe8c9f
Author: Valentin Lorentz <vlorentz@softwareheritage.org>
Date:   Fri Mar 4 11:08:31 2022 +0100

    Rewrite the server to use flask instead of aiohttp
    
    The azure backend cannot be run in the same thread as an asyncio
    event loop: https://forge.softwareheritage.org/T3981

Link to build: https://jenkins.softwareheritage.org/job/DVAU/job/tests-on-diff/220/
See console output for more information: https://jenkins.softwareheritage.org/job/DVAU/job/tests-on-diff/220/console

Harbormaster returned this revision to the author for changes because remote builds failed.Mar 4 2022, 12:37 PM
Harbormaster failed remote builds in B27279: Diff 26393!
vlorentz added a subscriber: olasd.

fixup with @olasd's patch

Build is green

Patch application report for D7291 (id=26395)

Rebasing onto 252aa1464d...

Current branch diff-target is up to date.
Changes applied before test
commit df35ac0601ff2685506a685205582a39333fd9a4
Author: Valentin Lorentz <vlorentz@softwareheritage.org>
Date:   Fri Mar 4 11:08:31 2022 +0100

    Rewrite the server to use flask instead of aiohttp
    
    The azure backend cannot be run in the same thread as an asyncio
    event loop: https://forge.softwareheritage.org/T3981

See https://jenkins.softwareheritage.org/job/DVAU/job/tests-on-diff/222/ for more details.

This revision is now accepted and ready to land.Mar 4 2022, 1:26 PM
vlorentz added a task: Restricted Maniphest Task.Mar 7 2022, 9:25 AM