Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

Add support for contexts

Open
#14 3 comments 0 reactions 0 assignees View on GitHub

@mafredri is already working on this.

Since May 7, 2026.

  • #30 by @mafredri — open

Assessment

Difficulty
5/5
Estimated time
Over a week
Newbie friendliness
35/100
Issue type
Feature
Clarity
Needs clarification
Activity status
Quiet
Tech stack
go
Domain
testing

Research direction

Review the existing clock API and Go's context.WithTimeout and context.WithDeadline behavior first. Define how context creation, expiry control, and the proposed tag should fit this library or a qzcontext sub-package; done means context deadlines can be deterministically advanced through the clock.

Written by the indexing model from the issue text.

Description

This might be a stretch for this library, but it would be cool if we had support for contexts, whether directly in this package or a sub-package like qzcontext.

Now, rather than doing context.WithTimeout you'd do clock.Context.WithTimeout(ctx, duration, "tag") (likewise for deadline) and be able to control expiry by advancing the clock.

Dominant language
Go
Stars
273
Forks
9
PR merge metrics
No merged PRs in 30d

Getting set up

This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from coder/quartz

All issues in coder/quartz

Similar issues

More Go issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.