Visitar URL original
Release 3.4.0: Add OAuthLib Maintainer agent by JonathanHuot · Pull Request #950 · oauthlib/oauthlib · GitHub
Skip to content

Release 3.4.0: Add OAuthLib Maintainer agent - #950

Merged
JonathanHuot merged 8 commits into
masterfrom
feature/3.4.0-maintainer-agent
Jul 11, 2026
Merged

JonathanHuot merged 8 commits into
masterfrom
feature/3.4.0-maintainer-agent

Conversation

@JonathanHuot

Copy link
Copy Markdown
Member

Introduces automated maintainer agent for issue/PR triage and release management.

Changes

  • Add .github/agents/oauthlib-maintainer.agent.md with comprehensive workflow instructions
  • Enforce feature branch workflow (no direct commits to master)
  • Configure agent to run targeted tests only, defer full test suites to CI
  • Mandate gh CLI usage for all GitHub interactions (issues, PRs, reviews)
  • Add gh CLI to devcontainer for consistent workflow
  • Bump version to 3.4.0 in oauthlib/init.py
  • Update CHANGELOG.rst with 3.4.0 release notes

Key Features

  • Automated triage workflow for issues and PRs
  • Security-aware handling with private disclosure coordination
  • Release process management with downstream impact validation
  • Isolated worktree management for parallel testing

All changes follow feature branch workflow as required by the new agent instructions.

- Add .github/agents/oauthlib-maintainer.agent.md for automated triage
- Configure agent to run targeted tests only, defer full suite to CI
- Bump version to 3.4.0 in oauthlib/__init__.py
- Update CHANGELOG.rst with 3.4.0 release notes
- Add constraint to always use gh CLI instead of web UI or API
- Update Scope to mention gh issue and gh pr commands
- Update Approach steps with specific gh commands examples
- Update Output Format to emphasize gh CLI in recommended actions
- Install gh CLI during container build
- Required for agent workflow to interact with GitHub issues/PRs

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR prepares the 3.4.0 release by bumping the library version and adding a GitHub “maintainer agent” + release checklist documentation, along with devcontainer updates to support a gh-CLI-based workflow.

Changes:

  • Bump oauthlib.__version__ to 3.4.0 and add a 3.4.0 section to the changelog.
  • Add maintainer automation docs: a maintainer agent definition and a release checklist prompt.
  • Update the devcontainer to install gh and add SSH-related mounts/env configuration.

Reviewed changes

Copilot reviewed 6 out of 6 changed files in this pull request and generated 9 comments.

Show a summary per file
File Description
oauthlib/__init__.py Version bump to 3.4.0.
CHANGELOG.rst Replace WIP section with a 3.4.0 (TBD) section and add an entry for the new agent.
.github/prompts/release-checklist.prompt.md New release checklist prompt for maintainers.
.github/agents/oauthlib-maintainer.agent.md New maintainer agent instructions covering triage/security/releases/downstream testing.
.devcontainer/Dockerfile Install GitHub CLI (gh) via apt repository and package install.
.devcontainer/devcontainer.json Add SSH directory mount and SSH_AUTH_SOCK environment wiring.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread CHANGELOG.rst Resolved
Comment on lines +38 to +40
- DO NOT run long-running validation tests locally (full `tox`, `make`, or entire test suites) — those take hours and should be left to CI. Run only specific impacted test files to validate changes.
- DO NOT bypass CI (`--no-verify`) or rewrite history on shared branches. Let CI run the full test suite.
- DO NOT widen scope: keep PR reviews focused on the PR's stated intent; file follow-up issues for tangents.

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Run targeted tests are fine for simple merge requests that apply for both agents and contributors; while running full suite is required before release by both the agents and maintainers. Docs should be updated in that direction.

5. **For PRs**: verify tests added, CHANGELOG entry, semver impact (major/minor/patch per `docs/release_process.rst`), signed-off / DCO if applicable, and that the diff is minimal. Use `gh pr view <number>`, `gh pr checkout <number>`, `gh pr review`, `gh pr merge` for all PR operations.
6. **For security**: assess severity (CVSS-style), check OAuth1/OAuth2/OIDC scope, draft a private fix branch, plan coordinated disclosure, and prepare a patch release.
7. **For releases**: create `xyz-release` branch, bump version, regenerate CHANGELOG, verify structure and completeness (do NOT run full test suites), use `gh pr create` to open the heads-up PR pinging downstream contacts (≥2 days notice), then tag after merge. CI will run comprehensive validation.
8. **Before commit**: When changes are ready to commit, remind the user to run the full test suite locally: `uvx --with tox-uv tox` and provide the specific command.
Comment thread .devcontainer/devcontainer.json Resolved
Comment thread .devcontainer/devcontainer.json Resolved
auvipy and others added 4 commits May 24, 2026 13:26
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@JonathanHuot
JonathanHuot merged commit 9859b05 into master Jul 11, 2026
30 checks passed
@auvipy
auvipy deleted the feature/3.4.0-maintainer-agent branch July 11, 2026 13:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants