[go] runtime/secret: restore goroutine behavior to proposal

0 views
Skip to first unread message

David Chase (Gerrit)

unread,
Dec 12, 2025, 3:26:46 PM (4 days ago) Dec 12
to Daniel Morsing, goph...@pubsubhelper.golang.org, golang-...@googlegroups.com, Go LUCI, Roland Shoemaker, Filippo Valsorda, Austin Clements, Gopher Robot, golang-co...@googlegroups.com

David Chase submitted the change

Change information

Commit message:
runtime/secret: restore goroutine behavior to proposal

During review of CL 704615, a suggestion was made that spawning a
goroutine inside a call to secret.Do result in a panic. I agreed with
this at the time, but had missed that this had been extensively
discussed on the proposal. Revert the behavior back to what was agreed
upon.
Change-Id: Ifaa9e24bd03ecbd870ae2217137d1a9527c96842
Reviewed-by: David Chase <drc...@google.com>
Reviewed-by: Roland Shoemaker <rol...@golang.org>
Files:
  • M src/runtime/proc.go
  • M src/runtime/secret/secret.go
Change size: XS
Delta: 2 files changed, 1 insertion(+), 5 deletions(-)
Branch: refs/heads/master
Submit Requirements:
  • requirement satisfiedCode-Review: +1 by David Chase, +2 by Roland Shoemaker
  • requirement satisfiedTryBots-Pass: LUCI-TryBot-Result+1 by Go LUCI
Open in Gerrit
Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
Gerrit-MessageType: merged
Gerrit-Project: go
Gerrit-Branch: master
Gerrit-Change-Id: Ifaa9e24bd03ecbd870ae2217137d1a9527c96842
Gerrit-Change-Number: 728920
Gerrit-PatchSet: 2
Gerrit-Owner: Daniel Morsing <daniel....@gmail.com>
Gerrit-Reviewer: Austin Clements <aus...@google.com>
Gerrit-Reviewer: David Chase <drc...@google.com>
Gerrit-Reviewer: Filippo Valsorda <fil...@golang.org>
Gerrit-Reviewer: Roland Shoemaker <rol...@golang.org>
Gerrit-CC: Gopher Robot <go...@golang.org>
open
diffy
satisfied_requirement
Reply all
Reply to author
Forward
0 new messages