postmortem

package
v0.1.4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 23, 2026 License: MIT Imports: 6 Imported by: 0

Documentation

Overview

Package postmortem analyzes post-release stability by detecting rollbacks, hotfixes, and regressions.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FormatMarkdown

func FormatMarkdown(r *Report) string

func FormatTerminal

func FormatTerminal(r *Report) string

Types

type Finding

type Finding struct {
	Hash      string
	Author    string
	Message   string
	Type      string
	Timestamp time.Time
	DaysAfter float64
	JiraKeys  []string
}

type Report

type Report struct {
	Tag              string
	ReleaseDate      time.Time
	WindowDays       int
	Rollbacks        []Finding
	Hotfixes         []Finding
	Regressions      []Finding
	EmergencyDeploys []Finding
	StabilityScore   int
}

func Analyze

func Analyze(ctx context.Context, fetcher *gitlog.Fetcher, tag string, windowDays int) (*Report, error)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL