hashicorp / hashicorp/hcat

Stop() -> context.Cancel

Open
#70 1 comment 0 reactions 0 assignees View on GitHub
enhancement thinking
Dominant language
Go
Stars
96
Forks
13
PR merge metrics
No merged PRs in 30d

Description

Consider the API change to remove all the Stop() methods and replace them with a passed in Context that is cancelled. This seems like it would be a cleaner API and fits with more modern/common Go practices that would be good to emulate.

Contributor guide

No contributing guide indexed for this repository

Research direction

The issue names no files, tests, or entry points. Start by locating every Stop() method and its callers, then determine the affected API surface and cancellation behavior; done means the proposed Context-based replacement is fully specified and its compatibility impact is understood.

Written by the indexing model from the issue text.

Assessment

Tech stack
go
Domain
backend-api-design
Issue type
Refactor
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.