Skip to content

V4 migration guide does not mention the new .modularpipelines/run-history directory #7563

Closed

Description

@thomhurst

Summary

A v4 pipeline writes run history to .modularpipelines/run-history under its working directory on every run, by default. v3.2.8 wrote nothing there. The v4 migration guide and RELEASE_NOTES_V4.md do not mention it, so a project upgrading from v3 gets a new untracked directory in its repository with no warning.

Reproduction

  1. Upgrade a v3.2.8 pipeline to 4.0.0-rc.1 following docs/docs/migrating-to-v4.md.
  2. Run it locally from the repository.
  3. git status shows an untracked .modularpipelines/ directory.

Expected and actual

Expected: the migration guide says v4 saves run history by default, where it goes, and how to ignore or disable it.

Actual: this is documented only in docs/docs/how-to/run-reports.md (the .gitignore snippet and RunReportOptions). Neither the migration guide nor the release notes mention it.

Proposal

Add a short section to the migration guide, linking to the run reports page, with the .gitignore entry and the option that disables retention.

Found while migrating TUnit (#7321): its upgrade PR had to add the ignore entry, and the directory left a checkout dirty for tooling that refuses to remove dirty worktrees.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    P2documentationin-progress

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions