Skip to content

Commit 34efbc0

Browse files
authored
Merge pull request #596 from DeusData/chore/triage-automation
2 parents 170d5a8 + c37848a commit 34efbc0

5 files changed

Lines changed: 145 additions & 0 deletions

File tree

‎.github/issue-labeler.yml‎

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
# Config for github/issue-labeler (.github/workflows/issue-labeler.yml).
2+
# Non-versioned format: one regex per label, matched against title + body.
3+
# Additive only — these never remove a maintainer's manual label.
4+
5+
"windows": '(?i)\b(windows|win\s?1[01]|powershell|\.ps1|mapped drive|smb share|unc path)\b'
6+
7+
"stability/performance": '(?i)(out of memory|\boom\b|memory leak|segfault|sigsegv|sigbus|crash(es|ed|ing)?|core dumped|\bhang(s|ing)?\b|deadlock|freezes?|time(s)?\s?out|timeout|never finishes|cgroup)'
8+
9+
"parsing/quality": '(?i)(trace_path|query_graph|search_graph|calls? edge|missing (edges|nodes)|false positive|zero edges|0 edges|module node|not indexed|extraction|wrong (node|label))'
10+
11+
"editor/integration": '(?i)(cursor|vscode|vs code|opencode|codex|claude code|gemini cli|antigravity|mcp client|\.mcp\.json|installer)'
12+
13+
"ux/behavior": '(?i)(web ui|\bui\b|dashboard|3d graph|visuali[sz]ation|watcher|project name|frontend)'
14+
15+
"cypher": '(?i)\bcypher\b'
16+
17+
"language-request": '(?i)(language support|hybrid lsp|new language support|support for \w+ language)'

‎.github/label-actions.yml‎

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
# Config for dessant/label-actions (.github/workflows/label-actions.yml).
2+
# Each top-level key is a label; when that label is added to an issue, the
3+
# listed actions run. See https://github.com/dessant/label-actions
4+
5+
# When a maintainer marks an issue as a duplicate.
6+
duplicate:
7+
comment: >
8+
Thanks for raising this! It looks like a duplicate of an existing issue —
9+
the canonical one is linked above. Continuing the discussion there keeps
10+
everything in one place. We leave this open for visibility; a maintainer
11+
will close it once it's fully covered.
12+
# We intentionally do NOT auto-close duplicates (we prefer linking).
13+
# To auto-close instead, uncomment the two lines below:
14+
# close: true
15+
# close-reason: not planned
16+
17+
# When a maintainer marks an issue as waiting on the reporter.
18+
# (The stale workflow then warns at 21 days and closes at 35.)
19+
awaiting-reporter:
20+
comment: >
21+
Thanks for the report! To move this forward we need a bit more so we can
22+
reproduce it ourselves:
23+
24+
25+
- the `codebase-memory-mcp --version` you're on
26+
27+
- the exact steps or command you ran
28+
29+
- a **public** repo (or a small dummy snippet) that shows the problem —
30+
please don't paste proprietary code
31+
32+
33+
Once that's here we'll pick it straight back up. Heads-up: issues left
34+
`awaiting-reporter` are automatically closed after a few weeks of silence,
35+
but a comment reopens the door anytime.
Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
name: Issue area labeler
2+
3+
# Adds area labels to new/edited issues based on keyword regexes in
4+
# .github/issue-labeler.yml. Additive only (sync-labels off): it never
5+
# removes a label a maintainer set by hand. Base bug/enhancement labels
6+
# already come from the issue forms.
7+
8+
on:
9+
issues:
10+
types: [opened, edited]
11+
12+
permissions:
13+
contents: read
14+
15+
jobs:
16+
triage:
17+
runs-on: ubuntu-latest
18+
permissions:
19+
issues: write
20+
steps:
21+
- uses: github/issue-labeler@c1b0f9f52a63158c4adc09425e858e87b32e9685 # v3.4
22+
with:
23+
configuration-path: .github/issue-labeler.yml
24+
enable-versioned-regex: 0
25+
include-title: 1
26+
include-body: 1
27+
sync-labels: 0
28+
repo-token: ${{ secrets.GITHUB_TOKEN }}
Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
name: Label actions
2+
3+
# Posts a templated comment when a maintainer adds certain labels.
4+
# Behavior is configured in .github/label-actions.yml. Issues only.
5+
6+
on:
7+
issues:
8+
types: [labeled, unlabeled]
9+
10+
permissions:
11+
contents: read
12+
13+
jobs:
14+
action:
15+
runs-on: ubuntu-latest
16+
permissions:
17+
issues: write
18+
steps:
19+
- uses: dessant/label-actions@65225c179d3b2502f6eda7b3d15101a3f412366b # v5.0.3
20+
with:
21+
process-only: issues

‎.github/workflows/stale.yml‎

Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
name: Stale awaiting-reporter
2+
3+
# Only touches issues that a maintainer has explicitly marked `awaiting-reporter`.
4+
# Never touches pull requests, and never touches issues without that label.
5+
# A reporter comment removes `stale` and resets the clock.
6+
7+
on:
8+
schedule:
9+
- cron: '17 2 * * *' # daily 02:17 UTC
10+
workflow_dispatch:
11+
12+
permissions:
13+
contents: read
14+
15+
jobs:
16+
stale:
17+
runs-on: ubuntu-latest
18+
permissions:
19+
issues: write
20+
steps:
21+
- uses: actions/stale@eb5cf3af3ac0a1aa4c9c45633dd1ae542a27a899 # v10.3.0
22+
with:
23+
only-labels: 'awaiting-reporter'
24+
stale-issue-label: 'stale'
25+
days-before-issue-stale: 21
26+
days-before-issue-close: 14
27+
# Never act on pull requests with this workflow.
28+
days-before-pr-stale: -1
29+
days-before-pr-close: -1
30+
remove-stale-when-updated: true
31+
close-issue-reason: not_planned
32+
operations-per-run: 60
33+
ascending: true
34+
stale-issue-message: >
35+
This issue has been waiting on more information for 21 days (a
36+
version, exact steps, or a public repro), so it's now marked
37+
`stale`. It will be closed in 14 days if there's no update — just
38+
add a comment to keep it open. We're happy to pick it back up the
39+
moment we can reproduce it.
40+
close-issue-message: >
41+
Closing because we haven't received the requested details and can't
42+
reproduce it as-is. This isn't a "won't fix" — please comment with
43+
the info (version + a public repro) and we'll reopen and dig in.
44+
Thanks for the report.

0 commit comments

Comments
 (0)