Introduction
When a project becomes popular, its authors spend less time writing code and more time on everything around it: reading issues, answering questions, reviewing pull requests, making releases and keeping the peace. This is maintaining, and most of it is unpaid and unseen. Knowing what it involves makes you a better contributor, and it is the next step if you stay.
This lesson shows the regular tasks, the tools that make them manageable and the risk every project must watch: too much work for too few people.
How it works
A maintainer's week has a few regular tasks:
- Triage. Read the new issues, ask for missing information, add labels (
bug,feature,docs,good first issue,wontfix,duplicate) and sort the backlog by importance: security problems first, then bugs that affect many users, then features and polish. Reactions such as thumbs up help to see what many users want. - Review. Read pull requests, answer them and merge what is ready. Assigning each pull request to a reviewer, often the one with the lightest load, keeps anything from waiting for ever.
- Release. Choose the version, update the changelog, tag the release and publish it.
- Care. Answer questions, welcome newcomers, enforce the code of conduct and update the documentation.
Because the work never ends, projects automate. Templates make every issue arrive with the same fields. CI checks every pull request. A stale bot finds issues with no activity for many days, adds a stale label and a polite message asking if the issue still matters, and closes it after more days of silence. This keeps the tracker honest: an issue open for three years that nobody wants helps no one. The bot is a tool; a maintainer can always reopen an issue.
The biggest risk is burnout. A project that depends on one tired person has a bus factor of one. Healthy projects spread the work: they give trusted contributors the right to review and merge, write down how releases are made, and say no to requests that they cannot maintain. Saying no, kindly and with a reason, is a normal part of the job.
If you want to help a maintainer, the most welcome things are small: reproduce a bug and confirm it, close a duplicate by pointing to the first report, review a pull request and test it, or fix the documentation.
Example
issues = [
(101, "login page crashes", 3),
(87, "add dark mode", 75),
(64, "typo in README", 140),
(120, "slow search", 20),
]
STALE_AFTER = 60
CLOSE_AFTER = 120
for number, title, days_quiet in issues:
if days_quiet > CLOSE_AFTER:
action = "close"
elif days_quiet > STALE_AFTER:
action = "mark stale"
else:
action = "keep"
print(f"#{number} {title:20} {days_quiet:3} days -> {action}")Line by line
- Each issue is a number, a title and the number of days since its last activity.
- Two thresholds set the policy: stale after more than 60 quiet days, closed after more than 120.
- The loop picks an action for each issue: keep it, mark it stale, or close it.
Expected result
#101 login page crashes 3 days -> keep
#87 add dark mode 75 days -> mark stale
#64 typo in README 140 days -> close
#120 slow search 20 days -> keep
In the real world
Large projects have dozens of maintainers, rules for who may merge what, and a document describing how someone becomes one. Foundations and companies sometimes pay maintainers, but a great deal of important software is still looked after by a few volunteers, which is why polite, complete and small contributions matter so much. Sponsoring and donations exist to make this work last.
Common mistakes
- Expecting an answer in a day. Maintainers are often volunteers; give them time.
- Letting the backlog grow without labels, so that nobody can tell what matters.
- Doing everything alone and not sharing review rights or knowledge.
- Closing issues without a word. Say why, and thank the author.
Best practices
- Use templates, labels and bots for the routine; keep humans for decisions.
- Say clearly what the project will and will not accept, in
CONTRIBUTING.md. - Spread the load among several reviewers and write down the release steps.
- Treat saying no as part of the job, and say it kindly.
Summary
Maintaining a project is mainly triage, review, release and care for the community. Labels, templates, CI and a stale bot keep the backlog manageable, and sharing the work and writing things down keeps the project alive if one person must stop. As a contributor you help most by making the maintainers' work smaller.
Quick check
Key takeaways
- Maintaining is mostly reading, answering, reviewing and deciding, not writing new code.
- Labels, templates and bots keep a growing backlog under control.
- Closing an abandoned issue politely is a kindness to everyone.
- Share the work and write things down so that the project does not depend on one person.
Practice problems for this lesson
Was this lesson clear?
My notes
Write down what you want to remember from this lesson. Notes are saved on this device as you type, and appear on your dashboard.