Skip to content

feat: use the context to thread sessions through all commands#7201

Draft
Stebalien wants to merge 2 commits intomasterfrom
feat/context-sessions
Draft

feat: use the context to thread sessions through all commands#7201
Stebalien wants to merge 2 commits intomasterfrom
feat/context-sessions

Conversation

@Stebalien
Copy link
Member

  • Ensure we have a single session per gateway request.
  • Use a session in the ipfs refs command.
  • Start a session before resolving the pin root (also fixes sessions while pinning).
  • Update go-merkledag to reliably create sessions.

part of #7198

@Stebalien Stebalien requested a review from dirkmc April 23, 2020 07:02
@Stebalien Stebalien force-pushed the feat/context-sessions branch 2 times, most recently from 9c618ee to 6b02140 Compare April 23, 2020 07:04
@Stebalien Stebalien added the status/blocked Unable to be worked further until needs are met label Apr 23, 2020
@Stebalien Stebalien force-pushed the feat/context-sessions branch from 6b02140 to f6e7809 Compare April 23, 2020 08:03
@Stebalien Stebalien mentioned this pull request Apr 23, 2020
4 tasks
* Ensure we have a single session per gateway request.
* Use a session in the ipfs refs command.
* Start a session before resolving the pin root (also fixes sessions while
  pinning).
* Update go-merkledag to reliably create sessions.

part of #7198
@Stebalien Stebalien force-pushed the feat/context-sessions branch from f6e7809 to 7374929 Compare April 23, 2020 16:23
Co-Authored-By: dirkmc <dirkmdev@gmail.com>
@dirkmc
Copy link
Contributor

dirkmc commented Apr 23, 2020

We should probably merge this PR first: Send CANCELs when session context is cancelled

@lidel lidel marked this pull request as draft January 29, 2026 02:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

status/blocked Unable to be worked further until needs are met

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants