-
Notifications
You must be signed in to change notification settings - Fork 9
Updated/new HTTP API Migration #63
Comments
@guseggert : I provided some more info on what I think the done criteria is. Feel free to adjust. Also, some other things I think we need notes on:
|
i imagine cid.contact can implement the new endpoint in existing to the current reframe one. Once that's in place, then hydras / kubo can migrate at their leisure. from looking at the proposed spec, initially cid.contact will only implement the |
We can do it gracefully, I added details to the issue. |
I don't see a practical reason to do this, if anyone has one then we can consider it but mv bumps are painful and IMO should be avoided when possible. If this library had a huge amount of consumers then sure, but the number of consumers is tiny. |
Also, for anyone watching this issue, I added a callout up at the top that it's still an open question on how we do an HTTP delegated routing API. There good/important open questions in ipfs/specs#337 and those should get resolved first. This issue is for accounting for making and rolling out whatever changes are decided on in IPIP-337. |
It would exist in the Git history. If someone needs it they are free to fork it from the commit here and keep on using it, but I don't think it makes sense to keep it around when it is broken and we aren't using it. (By "broken" I'm referring to both implementation bugs such as this and the spec issues mentioned here.) |
@guseggert : thanks for the estimates on the work. Given this is actively being pursued and is important for any work involving potential adjustments to the hydras (https://pl-strflt.notion.site/2022Q4-Hydra-Dial-Down-c39f63d473e64f6fabcbfc38fb11d670 ), can you give please give an estimated timeline? It looks like we have these steps to track:
Those can be added to the description. Thanks! |
Proposed timeline and tracking issues for the corresponding repos have been added to the description. @willscott: if you can add in your planned dates to the description, that would be great - thanks. |
can i assume the current draft branch (not yet in PR) of implementation in this repo, namely https://github.com/ipfs/go-delegated-routing/tree/guseggert/content-routing-poc - which is not yet reviewed - is the spec we're basing our changes off of? i think we can do this pretty quickly, like ~ one week, but we'd like to do it once, rather than trying to anticipate where the evolving spec finalizes. |
Relevant PR: #65 |
2022-11-22 standup conversation: need to handle STI being able to deploy old and new versions simultaneously. |
@guseggert : can you please update the timeline based on the latest understanding? |
Plans have changed due to ongoing work to scale down part of the Hydras. In order to not pollute the measurement effort involved in that (to ensure there is not a network-wide issue when they are scaled down), there is a code freeze on the Hydras until the end of next week (2022-12-08). So we will need to push Hydra integration back until then. But this should not block cid.contact from integrating the HTTP API, and we can test with Hydras before the final Kubo release, so I don't think this impacts the overall ETA. |
The delegated routing HTTP client works fine in Hydras with dev.cid.contact (it is not deployed to cid.contact yet). The only issue is that dev.cid.contact is returning an incorrect protocol id ("transport-bitswap" instead of "bitswap"), I have opened an issue for that here: ipni/indexstar#50 Once cid.contact is deployed to with the correct protocol id, we should be good to roll out to all the Hydras. I will open a PR for this. |
Context
Per the Delegated Routing HTTP API IPIP-337, we're expecting changes to ipfs/go-delegated-routing, either as a new HTTP Transport of Reframe or a "new" protocol. The specific path to be chosen is based on what's decided there. This tracking issue is for the resulting work and migrations for rolling it out in production.
Done Criteria
Why Important
This will enable more/easier adoption of delegated routing across IPFS implementations. See the IPIP for more information.
User/Customer
Delegated routing servers and clients.
Notes
Known systems requiring migration:
http
orhttp-content-routing
reframe
router type until its issues are resolvedTimeline
2022-11-222022-11-292022-11-232022-12-082022-11-282022-12-082022-11-282022-12-052022-12-07 feature: delegated-routing: Add HTTP delegated routing. kubo#9453Cleanup is being tracked in ipfs/kubo#9479. We can close this once the items above are completed.
The text was updated successfully, but these errors were encountered: