fix: replace fsnotify with polling in bd show --watch

bd show --watch used fsnotify to watch the .beads directory for file
changes, but Dolt stores data in a server-side database — not files —
so file watchers never fired. The display never updated even when the
underlying bead changed status (e.g., to closed/done).

Switch to the same polling approach already used by bd list --watch:
query the database on a 2-second ticker and compare snapshots to detect
changes. This matches the pattern in watchIssues() (list.go:116-161).

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
julianknutsen 2026-03-22 02:47:19 +01:00
commit dba2c993b2
4 changed files with 194 additions and 186 deletions

View file

@ -5,31 +5,93 @@ import (
"fmt"
"os"
"os/signal"
"path/filepath"
"strings"
"syscall"
"time"
"github.com/fsnotify/fsnotify"
"github.com/steveyegge/beads/internal/types"
"github.com/steveyegge/beads/internal/ui"
)
// displayShowIssue displays a single issue (reusable for watch mode)
// displayShowIssue displays a single issue (reusable for watch mode).
// Matches the full bd show output: header, metadata, content, labels, deps, comments.
func displayShowIssue(ctx context.Context, issueID string) {
// Use proper ID resolution (handles partial IDs and routed IDs)
displayShowIssueReturn(ctx, issueID)
}
// singleIssueSnapshot builds a comparable string from a single issue's state
// so we can detect when the issue has changed between poll cycles.
func singleIssueSnapshot(issue *types.Issue) string {
return fmt.Sprintf("%s:%s:%d", issue.ID, issue.Status, issue.UpdatedAt.UnixNano())
}
// watchIssue polls for changes to an issue and auto-refreshes the display (GH#654).
// Uses polling instead of fsnotify because Dolt stores data in a server-side
// database, not files — file watchers never fire.
func watchIssue(ctx context.Context, issueID string) {
// Initial display and snapshot
issue := displayShowIssueReturn(ctx, issueID)
if issue == nil {
return
}
lastSnapshot := singleIssueSnapshot(issue)
fmt.Fprintf(os.Stderr, "\nWatching for changes... (Press Ctrl+C to exit)\n")
// Handle Ctrl+C — deferred Stop prevents signal handler leak
sigChan := make(chan os.Signal, 1)
signal.Notify(sigChan, os.Interrupt, syscall.SIGTERM)
defer signal.Stop(sigChan)
pollInterval := 2 * time.Second
ticker := time.NewTicker(pollInterval)
defer ticker.Stop()
for {
select {
case <-sigChan:
fmt.Fprintf(os.Stderr, "\nStopped watching.\n")
return
case <-ticker.C:
issue := fetchIssue(ctx, issueID)
if issue == nil {
continue
}
snap := singleIssueSnapshot(issue)
if snap != lastSnapshot {
lastSnapshot = snap
displayShowIssue(ctx, issueID)
fmt.Fprintf(os.Stderr, "\nWatching for changes... (Press Ctrl+C to exit)\n")
}
}
}
}
// fetchIssue retrieves a single issue by ID, returning nil on error.
func fetchIssue(ctx context.Context, issueID string) *types.Issue {
result, err := resolveAndGetIssueWithRouting(ctx, store, issueID)
if result != nil {
defer result.Close()
}
if err != nil || result == nil || result.Issue == nil {
return nil
}
return result.Issue
}
// displayShowIssueReturn displays a single issue and returns it for snapshot use.
func displayShowIssueReturn(ctx context.Context, issueID string) *types.Issue {
result, err := resolveAndGetIssueWithRouting(ctx, store, issueID)
if result != nil {
defer result.Close()
}
if err != nil {
fmt.Fprintf(os.Stderr, "Error fetching issue: %v\n", err)
return
return nil
}
if result == nil || result.Issue == nil {
fmt.Printf("Issue not found: %s\n", issueID)
return
return nil
}
issue := result.Issue
issueStore := result.Store
@ -163,73 +225,5 @@ func displayShowIssue(ctx context.Context, issueID string) {
}
fmt.Println()
}
// watchIssue watches for changes to an issue and auto-refreshes the display (GH#654)
func watchIssue(ctx context.Context, issueID string) {
// Ensure we have a fresh database for watching (matches non-watch path)
// Find .beads directory
beadsDir := ".beads"
if _, err := os.Stat(beadsDir); os.IsNotExist(err) {
fmt.Fprintf(os.Stderr, "Error: .beads directory not found\n")
return
}
watcher, err := fsnotify.NewWatcher()
if err != nil {
fmt.Fprintf(os.Stderr, "Error creating watcher: %v\n", err)
return
}
defer func() { _ = watcher.Close() }()
// Watch the .beads directory
if err := watcher.Add(beadsDir); err != nil {
fmt.Fprintf(os.Stderr, "Error watching directory: %v\n", err)
return
}
// Initial display
displayShowIssue(ctx, issueID)
fmt.Fprintf(os.Stderr, "\nWatching for changes... (Press Ctrl+C to exit)\n")
// Handle Ctrl+C
sigChan := make(chan os.Signal, 1)
signal.Notify(sigChan, os.Interrupt, syscall.SIGTERM)
// Debounce timer
var debounceTimer *time.Timer
debounceDelay := 500 * time.Millisecond
for {
select {
case <-sigChan:
fmt.Fprintf(os.Stderr, "\nStopped watching.\n")
return
case event, ok := <-watcher.Events:
if !ok {
return
}
// Only react to writes on issues.jsonl or database files
if event.Has(fsnotify.Write) {
basename := filepath.Base(event.Name)
if basename == "issues.jsonl" || strings.HasSuffix(basename, ".db") {
// Debounce rapid changes
if debounceTimer != nil {
debounceTimer.Stop()
}
debounceTimer = time.AfterFunc(debounceDelay, func() {
displayShowIssue(ctx, issueID)
fmt.Fprintf(os.Stderr, "\nWatching for changes... (Press Ctrl+C to exit)\n")
})
}
}
case err, ok := <-watcher.Errors:
if !ok {
return
}
fmt.Fprintf(os.Stderr, "Watcher error: %v\n", err)
}
}
return issue
}

View file

@ -1,131 +1,159 @@
//go:build cgo
package main
import (
"context"
"os"
"syscall"
"fmt"
"path/filepath"
"testing"
"time"
"github.com/fsnotify/fsnotify"
"github.com/steveyegge/beads/internal/types"
)
// TestWatchIssueInitialization tests that watchIssue sets up correctly
// TestWatchIssueDebounceTimer tests debounce delay constant
func TestWatchIssueDebounceTimer(t *testing.T) {
// Verify debounce delay is reasonable (500ms as defined)
debounceDelay := 500 // milliseconds
if debounceDelay < 100 || debounceDelay > 2000 {
t.Errorf("Debounce delay should be between 100ms-2000ms, got %dms", debounceDelay)
// TestSingleIssueSnapshot tests that the snapshot captures status and update time.
func TestSingleIssueSnapshot(t *testing.T) {
t.Parallel()
now := time.Now()
issue := &types.Issue{
ID: "test-001",
Status: types.StatusOpen,
UpdatedAt: now,
}
snap1 := singleIssueSnapshot(issue)
expected := fmt.Sprintf("test-001:open:%d", now.UnixNano())
if snap1 != expected {
t.Errorf("snapshot = %q, want %q", snap1, expected)
}
// Changing status changes the snapshot
issue.Status = types.StatusClosed
snap2 := singleIssueSnapshot(issue)
if snap1 == snap2 {
t.Error("snapshot should change when status changes from open to closed")
}
// Changing UpdatedAt changes the snapshot
issue.UpdatedAt = now.Add(time.Second)
snap3 := singleIssueSnapshot(issue)
if snap2 == snap3 {
t.Error("snapshot should change when UpdatedAt changes")
}
}
// TestWatchIssueSignals tests signal handling setup
func TestWatchIssueSignals(t *testing.T) {
// Verify signal channel can be created
sigChan := make(chan os.Signal, 1)
if sigChan == nil {
t.Error("Signal channel should be allocatable")
}
close(sigChan)
}
// TestWatchIssueFileEvents tests fsnotify event types
func TestWatchIssueFileEvents(t *testing.T) {
// Verify fsnotify is importable and event types are accessible
_ = fsnotify.Write
_ = fsnotify.Remove
_ = fsnotify.Rename
_ = fsnotify.Chmod
}
// TestWatchIssueFlags tests that watch flag is properly registered
// TestWatchIssueFlags tests that watch flag is properly registered.
func TestWatchIssueFlags(t *testing.T) {
// Verify the watch flag exists in showCmd
flag := showCmd.Flags().Lookup("watch")
if flag == nil {
t.Error("watch flag should be registered in showCmd")
t.Fatal("watch flag should be registered in showCmd")
}
// Verify the flag has correct help text
expectedHelp := "Watch for changes and auto-refresh display"
if flag.Usage != expectedHelp {
t.Errorf("watch flag help should be '%s', got '%s'", expectedHelp, flag.Usage)
if flag.DefValue != "false" {
t.Errorf("watch flag default should be 'false', got '%s'", flag.DefValue)
}
}
// TestWatchIssueDefaultValue tests watch flag default is false
func TestWatchIssueDefaultValue(t *testing.T) {
flag := showCmd.Flags().Lookup("watch")
if flag == nil {
t.Fatal("watch flag not found")
}
// TestWatchIssueDetectsStatusChange is a regression test for the bug where
// bd show --watch used fsnotify (file watching) instead of polling. Dolt stores
// data in a server-side database, not files, so file watchers never fired and
// the display never updated — even when the underlying bead changed to closed.
//
// This test creates an issue, takes a snapshot, closes the issue, takes another
// snapshot, and verifies the watch loop would detect the change.
func TestWatchIssueDetectsStatusChange(t *testing.T) {
t.Parallel()
ensureTestMode(t)
defaultValue := flag.DefValue
if defaultValue != "false" {
t.Errorf("watch flag default should be 'false', got '%s'", defaultValue)
}
}
// TestDisplayShowIssueFunctionExists tests displayShowIssue is callable
func TestDisplayShowIssueFunctionExists(t *testing.T) {
_ = displayShowIssue
}
// TestWatchIssueHelpText tests help text is descriptive
func TestWatchIssueHelpText(t *testing.T) {
flag := showCmd.Flags().Lookup("watch")
if flag == nil {
t.Fatal("watch flag not found")
}
usage := flag.Usage
if usage == "" {
t.Error("watch flag should have usage text")
}
}
// TestWatchIssueRequiresDirectMode tests that watch mode requires direct mode
func TestWatchIssueRequiresDirectMode(t *testing.T) {
// This verifies the validation logic exists in the command handler
ctx := context.Background()
_ = ctx
tmpDir := t.TempDir()
dbPath := filepath.Join(tmpDir, ".beads", "test.db")
s := newTestStore(t, dbPath)
// Verify ensureDirectMode is accessible (used in watch mode)
_ = ensureDirectMode
}
// TestWatchIssueDebounceBehavior tests debounce timer behavior
func TestWatchIssueDebounceBehavior(t *testing.T) {
debounceDelay := 500 * time.Millisecond
// Create a channel to simulate events
events := make(chan bool, 3)
go func() {
events <- true // Event 1
time.Sleep(100 * time.Millisecond)
events <- true // Event 2 (within debounce)
time.Sleep(600 * time.Millisecond)
events <- true // Event 3 (after debounce)
close(events)
}()
count := 0
for range events {
count++
// Create an open issue
issue := &types.Issue{
ID: generateUniqueTestID(t, "test", 0),
Title: "watch regression test",
Status: types.StatusOpen,
IssueType: types.TypeTask,
CreatedAt: time.Now(),
UpdatedAt: time.Now(),
}
if err := s.CreateIssue(ctx, issue, "test-actor"); err != nil {
t.Fatalf("CreateIssue: %v", err)
}
// With proper debouncing, rapid events within 500ms should be coalesced
// This test verifies the debounce delay is set appropriately
if debounceDelay < 100*time.Millisecond {
t.Error("Debounce delay should be at least 100ms")
// Fetch and snapshot the open issue
got, err := s.GetIssue(ctx, issue.ID)
if err != nil {
t.Fatalf("GetIssue: %v", err)
}
snapBefore := singleIssueSnapshot(got)
// Close the issue (simulates another agent finishing work)
if err := s.CloseIssue(ctx, issue.ID, "done", "test-actor", ""); err != nil {
t.Fatalf("CloseIssue: %v", err)
}
// Fetch and snapshot the closed issue
got, err = s.GetIssue(ctx, issue.ID)
if err != nil {
t.Fatalf("GetIssue after close: %v", err)
}
snapAfter := singleIssueSnapshot(got)
// The polling-based watch loop detects changes by comparing snapshots.
// This must differ — the old fsnotify implementation would never see this
// because Dolt writes don't produce filesystem events in .beads/.
if snapBefore == snapAfter {
t.Errorf("snapshot did not change after closing issue: before=%q after=%q", snapBefore, snapAfter)
}
if got.Status != types.StatusClosed {
t.Errorf("issue status = %q, want %q", got.Status, types.StatusClosed)
}
}
// TestWatchIssueCtrlCHandling tests Ctrl+C signal handling setup
func TestWatchIssueCtrlCHandling(t *testing.T) {
// Verify os.Signal is importable for Ctrl+C handling
_ = os.Interrupt
// Verify syscall constants are accessible
_ = syscall.SIGTERM
// TestWatchIssueDetectsFieldUpdate verifies that non-status field updates
// (e.g., title change) are also detected by the polling snapshot.
func TestWatchIssueDetectsFieldUpdate(t *testing.T) {
t.Parallel()
ensureTestMode(t)
ctx := context.Background()
tmpDir := t.TempDir()
dbPath := filepath.Join(tmpDir, ".beads", "test.db")
s := newTestStore(t, dbPath)
issue := &types.Issue{
ID: generateUniqueTestID(t, "test", 0),
Title: "original title",
Status: types.StatusOpen,
IssueType: types.TypeTask,
CreatedAt: time.Now(),
UpdatedAt: time.Now(),
}
if err := s.CreateIssue(ctx, issue, "test-actor"); err != nil {
t.Fatalf("CreateIssue: %v", err)
}
got, err := s.GetIssue(ctx, issue.ID)
if err != nil {
t.Fatalf("GetIssue: %v", err)
}
snapBefore := singleIssueSnapshot(got)
// Update title (which bumps UpdatedAt)
if err := s.UpdateIssue(ctx, issue.ID, map[string]interface{}{"title": "updated title"}, "test-actor"); err != nil {
t.Fatalf("UpdateIssue: %v", err)
}
got, err = s.GetIssue(ctx, issue.ID)
if err != nil {
t.Fatalf("GetIssue after update: %v", err)
}
snapAfter := singleIssueSnapshot(got)
if snapBefore == snapAfter {
t.Errorf("snapshot did not change after title update: before=%q after=%q", snapBefore, snapAfter)
}
}

8
go.mod
View file

@ -6,11 +6,11 @@ require (
charm.land/glamour/v2 v2.0.0
charm.land/huh/v2 v2.0.3
github.com/BurntSushi/toml v1.6.0
github.com/JohannesKaufmann/html-to-markdown/v2 v2.5.0
github.com/anthropics/anthropic-sdk-go v1.27.1
github.com/cenkalti/backoff/v4 v4.3.0
github.com/charmbracelet/lipgloss v1.1.1-0.20250404203927-76690c660834
github.com/dolthub/driver v1.83.8
github.com/fsnotify/fsnotify v1.9.0
github.com/go-sql-driver/mysql v1.9.3
github.com/muesli/termenv v0.16.0
github.com/olebedev/when v1.1.0
@ -36,7 +36,7 @@ require (
require (
github.com/JohannesKaufmann/dom v0.2.0 // indirect
github.com/JohannesKaufmann/html-to-markdown/v2 v2.5.0 // indirect
github.com/fsnotify/fsnotify v1.9.0 // indirect
)
require (
@ -179,7 +179,7 @@ require (
github.com/mattn/go-colorable v0.1.13 // indirect
github.com/mattn/go-isatty v0.0.20 // indirect
github.com/mattn/go-runewidth v0.0.20 // indirect
github.com/microcosm-cc/bluemonday v1.0.27 // indirect
github.com/microcosm-cc/bluemonday v1.0.27
github.com/mitchellh/hashstructure/v2 v2.0.2 // indirect
github.com/moby/docker-image-spec v1.3.1 // indirect
github.com/moby/go-archive v0.2.0 // indirect
@ -228,7 +228,7 @@ require (
github.com/xitongsys/parquet-go-source v0.0.0-20240122235623-d6294584ab18 // indirect
github.com/xo/terminfo v0.0.0-20220910002029-abceb7e1c41e // indirect
github.com/xtaci/smux v1.5.56 // indirect
github.com/yuin/goldmark v1.7.16 // indirect
github.com/yuin/goldmark v1.7.16
github.com/yuin/goldmark-emoji v1.0.6 // indirect
github.com/yusufpapurcu/wmi v1.2.4 // indirect
github.com/zeebo/xxh3 v1.0.2 // indirect

18
go.sum
View file

@ -215,8 +215,6 @@ github.com/aliyun/aliyun-oss-go-sdk v3.0.2+incompatible h1:8psS8a+wKfiLt1iVDX79F
github.com/aliyun/aliyun-oss-go-sdk v3.0.2+incompatible/go.mod h1:T/Aws4fEfogEE9v+HPhhw+CntffsBHJ8nXQCwKr0/g8=
github.com/andreyvit/diff v0.0.0-20170406064948-c7f18ee00883 h1:bvNMNQO63//z+xNgfBlViaCIJKLlCJ6/fmUseuG0wVQ=
github.com/andreyvit/diff v0.0.0-20170406064948-c7f18ee00883/go.mod h1:rCTlJbsFo29Kk6CurOXKm700vrz8f0KW0JNfpkRJY/8=
github.com/anthropics/anthropic-sdk-go v1.27.0 h1:0CWbmBq5ofGAjF2H6lefCNRbnaUMGiTKO+lb7RLhDbI=
github.com/anthropics/anthropic-sdk-go v1.27.0/go.mod h1:qUKmaW+uuPB64iy1l+4kOSvaLqPXnHTTBKH6RVZ7q5Q=
github.com/anthropics/anthropic-sdk-go v1.27.1 h1:7DgMZ2Ng3C2mPzJGHA30NXQTZolcF07mHd0tGaLwfzk=
github.com/anthropics/anthropic-sdk-go v1.27.1/go.mod h1:qUKmaW+uuPB64iy1l+4kOSvaLqPXnHTTBKH6RVZ7q5Q=
github.com/antihax/optional v1.0.0/go.mod h1:uupD/76wgC+ih3iEmQUL+0Ugr19nfwCT1kdvxnR2qWY=
@ -439,16 +437,8 @@ github.com/dolthub/aws-sdk-go-ini-parser v0.0.0-20250305001723-2821c37f6c12 h1:I
github.com/dolthub/aws-sdk-go-ini-parser v0.0.0-20250305001723-2821c37f6c12/go.mod h1:rN7X8BHwkjPcfMQQ2QTAq/xM3leUSGLfb+1Js7Y6TVo=
github.com/dolthub/dolt-mcp v0.3.4 h1:AyG5cw+fNWXDHXujtQnqUPZrpWtPg6FN6yYtjv1pP44=
github.com/dolthub/dolt-mcp v0.3.4/go.mod h1:bCZ7KHvDYs+M0e+ySgmGiNvLhcwsN7bbf5YCyillLrk=
github.com/dolthub/dolt/go v0.40.5-0.20260316200056-24e549c548e1 h1:dCEG+v2yaZUSyqkbG1YeHxsgt+l4fpc6+X6pmlJHXSU=
github.com/dolthub/dolt/go v0.40.5-0.20260316200056-24e549c548e1/go.mod h1:x0TL0LQX70EdjIcj+RdIxYqGAVRpZk3IXDrHG6NW9B8=
github.com/dolthub/dolt/go v0.40.5-0.20260318002019-4dfa5337e7e3 h1:qR7STUxKaFCYbgC4vJbcuhLymsDdgwzOjeNmxXi9nXA=
github.com/dolthub/dolt/go v0.40.5-0.20260318002019-4dfa5337e7e3/go.mod h1:x0TL0LQX70EdjIcj+RdIxYqGAVRpZk3IXDrHG6NW9B8=
github.com/dolthub/dolt/go v0.40.5-0.20260318200444-c790f75d992d h1:+BhANdyw5FnlB+zCb2W0o7ldyJ0564KpsrrTK31hJ2c=
github.com/dolthub/dolt/go v0.40.5-0.20260318200444-c790f75d992d/go.mod h1:ME2IyX1R28MJXnziu3wx44/XqK5J5gR4M9qq44ynPfA=
github.com/dolthub/driver v0.2.1-0.20260316205151-d1fa7c08c014 h1:6AY9eYL2BxriaTAisiPRYqEMxIe7xVPWmcSTy3msMUM=
github.com/dolthub/driver v0.2.1-0.20260316205151-d1fa7c08c014/go.mod h1:u0gSLiJYv0qPTu56p/zgXc6pzWo0hfk+X4PL7uU3pS8=
github.com/dolthub/driver v0.2.1-0.20260318015159-1f974241c62b h1:Zx7fGDSDJs9S/75MJpJLonXB6O8vegw4/ZM7CcB0dnM=
github.com/dolthub/driver v0.2.1-0.20260318015159-1f974241c62b/go.mod h1:Tt6mRicRJnBO7R9OxpGWi7IAv18fyF/cQo6Jl9IPs4I=
github.com/dolthub/driver v1.83.8 h1:0K+VE69P2sr47DKFsM3EyHZ1o1qv2Z6+r08k8C+nHl8=
github.com/dolthub/driver v1.83.8/go.mod h1:muT53/Hawc9akh36ga2zFr4ruHMGcFvdyz0jAsO+z1o=
github.com/dolthub/eventsapi_schema v0.0.0-20260310172945-37a9265ade69 h1:JShhbqMw26nKx3pqqu/cFxOpzBkN+4elVhzuUfgDw2k=
@ -459,8 +449,6 @@ github.com/dolthub/fslock v0.0.3 h1:iLMpUIvJKMKm92+N1fmHVdxJP5NdyDK5bK7z7Ba2s2U=
github.com/dolthub/fslock v0.0.3/go.mod h1:QWql+P17oAAMLnL4HGB5tiovtDuAjdDTPbuqx7bYfa0=
github.com/dolthub/go-icu-regex v0.0.0-20250916051405-78a38d478790 h1:zxMsH7RLiG+dlZ/y0LgJHTV26XoiSJcuWq+em6t6VVc=
github.com/dolthub/go-icu-regex v0.0.0-20250916051405-78a38d478790/go.mod h1:F3cnm+vMRK1HaU6+rNqQrOCyR03HHhR1GWG2gnPOqaE=
github.com/dolthub/go-mysql-server v0.20.1-0.20260313230549-0986a7fcf0fe h1:+kjClXHUZ/KOSPO0i6WFYlxheqfKJHZ+wG+vUPTwXJ8=
github.com/dolthub/go-mysql-server v0.20.1-0.20260313230549-0986a7fcf0fe/go.mod h1:ZPKRptEeXSk9Ytb9LhB+8tB4BkltxuNYiYDFvIqXD/4=
github.com/dolthub/go-mysql-server v0.20.1-0.20260316223625-fdcf3f20a2bc h1:4wyGwwaKzPlABRdpgWoYoWgJP6bWoBsvHw6JUh/Kwn0=
github.com/dolthub/go-mysql-server v0.20.1-0.20260316223625-fdcf3f20a2bc/go.mod h1:ZPKRptEeXSk9Ytb9LhB+8tB4BkltxuNYiYDFvIqXD/4=
github.com/dolthub/gozstd v0.0.0-20240423170813-23a2903bca63 h1:OAsXLAPL4du6tfbBgK0xXHZkOlos63RdKYS3Sgw/dfI=
@ -946,8 +934,8 @@ github.com/ruudk/golang-pdf417 v0.0.0-20181029194003-1af4ab5afa58/go.mod h1:6lfF
github.com/sagikazarmark/locafero v0.11.0 h1:1iurJgmM9G3PA/I+wWYIOw/5SyBtxapeHDcg+AAIFXc=
github.com/sagikazarmark/locafero v0.11.0/go.mod h1:nVIGvgyzw595SUSUE6tvCp3YYTeHs15MvlmU87WwIik=
github.com/satori/go.uuid v1.2.0/go.mod h1:dA0hQrYB0VpLJoorglMZABFdXlWrHn1NEOzdhQKdks0=
github.com/sergi/go-diff v1.3.1 h1:xkr+Oxo4BOQKmkn/B9eMK0g5Kg/983T9DqqPHwYqD+8=
github.com/sergi/go-diff v1.3.1/go.mod h1:aMJSSKb2lpPvRNec0+w3fl7LP9IOFzdc9Pa4NFbPK1I=
github.com/sebdah/goldie/v2 v2.8.0 h1:dZb9wR8q5++oplmEiJT+U/5KyotVD+HNGCAc5gNr8rc=
github.com/sebdah/goldie/v2 v2.8.0/go.mod h1:oZ9fp0+se1eapSRjfYbsV/0Hqhbuu3bJVvKI/NNtssI=
github.com/sergi/go-diff v1.4.0 h1:n/SP9D5ad1fORl+llWyN+D6qoUETXNZARKjyY2/KVCw=
github.com/sergi/go-diff v1.4.0/go.mod h1:A0bzQcvG0E7Rwjx0REVgAGH58e96+X0MeOfepqsbeW4=
github.com/shirou/gopsutil/v4 v4.26.2 h1:X8i6sicvUFih4BmYIGT1m2wwgw2VG9YgrDTi7cIRGUI=
@ -1046,8 +1034,6 @@ github.com/yuin/goldmark v1.1.32/go.mod h1:3hX8gzYuyVAZsxl0MRgGTJEmQBFcNTphYh9de
github.com/yuin/goldmark v1.2.1/go.mod h1:3hX8gzYuyVAZsxl0MRgGTJEmQBFcNTphYh9decYSb74=
github.com/yuin/goldmark v1.3.5/go.mod h1:mwnBkeHKe2W/ZEtQ+71ViKU8L12m81fl3OWwC1Zlc8k=
github.com/yuin/goldmark v1.4.13/go.mod h1:6yULJ656Px+3vBD8DxQVa3kxgyrAnzto9xy5taEt/CY=
github.com/yuin/goldmark v1.7.13 h1:GPddIs617DnBLFFVJFgpo1aBfe/4xcvMc3SB5t/D0pA=
github.com/yuin/goldmark v1.7.13/go.mod h1:ip/1k0VRfGynBgxOz0yCqHrbZXhcjxyuS66Brc7iBKg=
github.com/yuin/goldmark v1.7.16 h1:n+CJdUxaFMiDUNnWC3dMWCIQJSkxH4uz3ZwQBkAlVNE=
github.com/yuin/goldmark v1.7.16/go.mod h1:ip/1k0VRfGynBgxOz0yCqHrbZXhcjxyuS66Brc7iBKg=
github.com/yuin/goldmark-emoji v1.0.6 h1:QWfF2FYaXwL74tfGOW5izeiZepUDroDJfWubQI9HTHs=