Skip to content

Feat: Automatic SIG Inference from Test Names #24

@knabben

Description

@knabben

Description

Currently, signalhound generates issue templates with a placeholder for SIG (/sig {{.Sig}}), but requires manual SIG assignment. The Release Signal handbook requires automatic SIG inference from test names to speed up issue triage.

Requirements

  • Automatically extract SIG from test names using pattern [sig-*] (e.g., [sig-node] → SIG Node)
  • For unit/verify test failures, infer SIG from OWNERS files or test path
  • Integrate with Triage dashboard SIG inference when available
  • Auto-populate SIG field in issue templates
  • Support SIG inference in Slack messages and GitHub issue creation

Acceptance Criteria

  • SIG is automatically detected from test names containing [sig-*] pattern
  • SIG is inferred from OWNERS files for unit/verify tests
  • SIG field is populated in all generated issue templates
  • SIG is included in Slack message formatting
  • Fallback to manual SIG selection if inference fails
  • Unit tests for SIG inference logic
  • Integration tests with real test names

Implementation Notes

  • Pattern: \[sig-(\w+)\] regex extraction
  • Check Triage API for SIG inference hints
  • Map test paths to OWNERS files in k/k repository
  • Default to empty SIG if inference fails (manual assignment)

Metadata

Metadata

Labels

lifecycle/staleDenotes an issue or PR has remained open with no activity and has become stale.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions