Skip to content

feat(failure): triage.severity enum + failure-index lift (0.1.6) - #12

Closed
siddhant573 wants to merge 1 commit into
LambdaTest:mainfrom
siddhant573:feat/failure-severity
Closed

feat(failure): triage.severity enum + failure-index lift (0.1.6)#12
siddhant573 wants to merge 1 commit into
LambdaTest:mainfrom
siddhant573:feat/failure-severity

Conversation

@siddhant573

@siddhant573 siddhant573 commented Jul 9, 2026

Copy link
Copy Markdown
Collaborator

What

A step-level failure record's triage block MAY carry a closed-enum severitycritical | major | minor | cosmetic — and finalize lifts it verbatim into the run-level failure index row, alongside title/triage_status.

Why

The evidence viewer's Issues tab renders severity pills (P0/P1/P2 palette) from the one-read pack-root index.

Changes

  • schemas/0.1/L1/failure.schema.json — optional triage.severity enum
  • schemas/0.1/L1/failure-index.schema.json — optional lifted severity on rows
  • finalize — lifts triage.severity verbatim (same pattern as title)
  • CHANGELOG 0.1.6 entry

Purely additive: records without severity index exactly as before. Suite: 178/178.

🤖 Generated with Claude Code

A record's triage block MAY carry severity (critical|major|minor|cosmetic);
finalize lifts it verbatim into the run-level failure index row, next to
title/triage_status. Purely additive — records without severity index as
before. Lands in 0.1.6.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@siddhant573

Copy link
Copy Markdown
Collaborator Author

Closing — decision: severity stays a producer-side field inside the per-step failure.yaml record's triage block (valid under additionalProperties: true, no contract change). The pack-root index will not carry it; consumers read it from the record like the other RCA fields.

@siddhant573 siddhant573 closed this Jul 9, 2026
@siddhant573
siddhant573 deleted the feat/failure-severity branch July 9, 2026 05:32
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