Skip to content

setup pre commit hook to avoid having left over files from smoke tests in project root directory #20530

Description

@bmerkle

Current Behavior

we again have left over files from smoke-tests. (e.g. see #20529)

The project root directory is becoming cluttered with temporary log files and data exports generated during local smoke test execution. These files are occasionally being tracked or included in commits unintentionally.

Desired Behavior

A pre-commit hook should be implemented to automatically detect and/or remove these specific smoke test artifacts. If specific files are present, the hook should either:

Clean them automatically before allowing the commit.

Abort the commit and warn the user to run a cleanup script.

@copilot: can we setup some git pre commit hook to avoid this in future ?
e.g. temporary files should not be checked into the VCS project root directory

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions