Skip to content

generate --force occasionally emits gofmt-unclean generated files (data_source.go, teach_test.go) #3835

Description

@npwalker

Problem

A generate --force regen over an existing tree emitted two gofmt-unclean generated files (internal/cli/data_source.go, teach_test.go) where a fresh generate of the same spec was clean. Not reproducible on a control spec; cosmetic (gofmt -w fixes), but generated output should always be gofmt-clean.

Evidence

Zoom reprint run 20260728-120506, Phase 5b regen with an integration binary (main + #3831 + #3832 merged).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions