urbit / arvo

https://github.com/urbit/urbit
110 stars 58 forks source link

ports async/tapp/stdio to lighter-than-eyre #1197

Closed joemfb closed 5 years ago

joemfb commented 5 years ago

This PR is the first half of #1194, ported onto lighter-than-eyre. (The second half is incoming but will take more time, specifically with regards to the bespoke oauth2 implementation in the GCP DNS integration.)

This also fixes a bug in the %lient http-connection cleanup, and refactors the %rver and %lient interface declarations.

vvisigoth commented 5 years ago

King

On Fri, Jun 21, 2019 at 1:00 AM Joe Bryan notifications@github.com wrote:

This PR is the first half of #1194 https://github.com/urbit/arvo/pull/1194, ported onto lighter-than-eyre. (The second half is incoming but will take more time, specifically with regards to the bespoke oauth2 implementation in the GCP DNS integration.)

This also fixes a bug in the %lient http-connection cleanup, and refactors the %rver and %lient interface declarations.

You can view, comment on, or merge this pull request online at:

https://github.com/urbit/arvo/pull/1197 Commit Summary

  • globally disable tcp proxy in +http-config
  • removes dns automation from %ames
  • factors out default command-handlers in lib/tapp
  • factors out tapp-core types
  • adds identity and entropy getters to stdio
  • adds poke/peer acknowledgement and %quit support to lib/tapp
  • threads state through default tapp handlers
  • rewrites upgrade handling in lib/tapp, explicitly canceling/restarting
  • re-rewrites tapp upgrading, with less ambition
  • adds (initial) transaction mgmt pokes to lib/tapp (%cancel and %restart)
  • virtualize handler/continuation evaluation in lib/tapp
  • fixes connection cleanup in %lient (use correct duct)
  • updates $%lient/%rver +task interfaces to use $>
  • adds %lient %cancel-request to %gall whitelist
  • updates async contracts to explicitly track bones
  • refactors http error-handling in lib/{stdio,tapp}
  • adapts http requests in lib/{tapp,stdio} to the new %lient interface

File Changes

Patch Links:

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/urbit/arvo/pull/1197?email_source=notifications&email_token=AAMJBY2K32OZWVNXIA2LB7DP3SDCPA5CNFSM4H2OJTW2YY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4G24ZG4Q, or mute the thread https://github.com/notifications/unsubscribe-auth/AAMJBY7QTIOBD66S7X6P6Q3P3SDCPANCNFSM4H2OJTWQ .

-- — ~poldec-tonteg http://urbit.org