Skip to content

Do not truncate trace run executions #1678

@scop

Description

@scop

Summary

I was trying to debug a docker_image hook execution and was delighted to note the --log-file option.

However, turns out that the "Executing" TRACE run lines are truncated with [...] before showing the part I'm actually interested in (a case of tweaking entrypoints and arguments).

I'd suggest not truncating these lines in the trace log at all, or providing an option not to truncate.

Willing to submit a PR?

  • Yes — I’m willing to open a PR to fix this.

Platform

Ubuntu 25.10 amd64

Version

0.3.2

.pre-commit-config.yaml

N/A

Log file

2026-02-20T10:17:47.223740Z TRACE run{hook_id=... language=docker_image}: Executing `cd ... && docker run --rm --tty --user 1000:1000 --init --volume ...:/src:rw,Z --workdir /src --entrypoint ... --network [...]`

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions