Skip to content

[codex] Include all open issues in stale reminders#347

Merged
redreceipt merged 1 commit into
mainfrom
codex/stale-issues-without-label-priority
May 27, 2026
Merged

[codex] Include all open issues in stale reminders#347
redreceipt merged 1 commit into
mainfrom
codex/stale-issues-without-label-priority

Conversation

@redreceipt
Copy link
Copy Markdown
Member

Summary

  • add a stale-reminder-specific Linear query that fetches open, non-project APO issues without label or priority constraints
  • switch post_stale() to use that broader issue set while leaving priority/label dashboard queries unchanged
  • add regression coverage for unprioritized, unlabeled stale issues reaching the Slack post path

Why

APO-7555 was old and open but missing from the stale Slack post because the stale job only queried Bug, Feature Request, and Technical Change issues with priority 1-5. The stale reminder should consider all open non-project issues, then apply the existing age and assignee filters.

Proof

  • .venv-ci/bin/ruff check jobs.py linear/issues.py tests/test_jobs.py tests/test_linear_issue_state_filters.py
  • .venv-ci/bin/python -m unittest tests.test_jobs tests.test_linear_issue_state_filters
  • .venv-ci/bin/python -m unittest discover -s tests -p 'test_*.py'
  • Live mocked-post readback confirmed APO-7555 appears in the generated stale message under dylan at 74d stale.

@redreceipt redreceipt marked this pull request as ready for review May 27, 2026 03:13
@redreceipt redreceipt temporarily deployed to bug-board-codex-stale-i-pnln4c May 27, 2026 03:13 Inactive
@redreceipt redreceipt merged commit 11a6b72 into main May 27, 2026
5 checks passed
@redreceipt redreceipt deleted the codex/stale-issues-without-label-priority branch May 27, 2026 03:22
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.

1 participant