Skip to content

chore: shorten stale lifecycle to 30/30 days - #5440

Merged
mnriem merged 1 commit into
github:mainfrom
mnriem:mnriem-stale-window-assessment
Nov 16, 2026
Merged

mnriem merged 1 commit into
github:mainfrom
mnriem:mnriem-stale-window-assessment

Conversation

@mnriem

@mnriem mnriem commented Nov 16, 2026

Copy link
Copy Markdown
Collaborator

Description

Shorten the inactive issue and pull request lifecycle from 60 days before stale plus 30 days before closure to 30 days plus 30 days. Update the stale and closure messages to reflect the 60-day total. Existing exemptions and activity-reset behavior remain unchanged.

Testing

Set up this checkout's .venv and editable install using the local development guide. Run commands from the checkout root.

  • Tested locally with .venv/bin/specify --help (Windows PowerShell: .\.venv\Scripts\specify.exe --help)
  • Ran relevant existing tests with .venv/bin/python -m pytest tests -q (Windows PowerShell: .\.venv\Scripts\python.exe -m pytest tests -q); use affected test paths for focused checks and LC_ALL=en_US.UTF-8 on macOS
  • Tested with a sample project (if applicable)

uv sync --extra test --quiet completed successfully.
LC_ALL=en_US.UTF-8 .venv/bin/python -m pytest tests/test_github_workflows.py -q passed: 203 tests.
git diff --check passed.
CLI help and sample-project checks were not run because this change only adjusts the repository's stale workflow configuration. The scheduled action was not run against live issues or pull requests.

AI Disclosure

  • I did not use AI assistance for this contribution
  • I did use AI assistance (fill in the disclosure below)

AI disclosure: GitHub Copilot App using GPT-6.1 Sol (gpt-6.1-sol), autonomous execution of the user-directed change; reasoning effort not exposed. AI assistance covered workflow configuration and message edits, validation, commit creation, and PR drafting.

Assisted-by: GitHub Copilot (model: GPT-6.1 Sol, autonomous)
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Copilot AI adaptive review requested due to automatic review settings November 16, 2026 14:54

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.

🟡 Changes recommended

The workflow changes lack regression tests covering the new 30/30 timing, 60-day closure messages, removal of the prior policy, and preservation of exemptions, allowing lifecycle-policy drift to go undetected.

1 open issue
What changed in this PR

Shortens the inactive issue and pull request lifecycle from 90 days total to 60 days total by marking items stale after 30 days and closing them after an additional 30 days, while preserving existing workflow behavior.

Changes:

  • Reduces days-before-stale from 60 to 30 days.
  • Updates stale and closure messages to reflect the 30/30-day lifecycle.
  • Preserves existing labels, exemptions, schedule, and activity-reset behavior.
File Description
.github/​workflows/​stale.yml Updates stale timing and issue/pull request lifecycle messages for the new 30/30-day policy while preserving existing workflow settings.

Review effort: Lite (dynamic)

with:
# Days of inactivity before an issue or PR becomes stale
days-before-stale: 60
days-before-stale: 30
@mnriem mnriem added the triage-nice-to-have Verdict: evidence-backed fix or greenlit feature — land after review label Nov 16, 2026
@mnriem
mnriem merged commit 452f222 into github:main Nov 16, 2026
14 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

triage-nice-to-have Verdict: evidence-backed fix or greenlit feature — land after review

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants