Add precommit autofix workflow and patch artifact#3051
Conversation
There was a problem hiding this comment.
Code Review
This pull request introduces two new internal tools: dev-docker-metadata for extracting environment versions from Dockerfiles and precommit-autofix for generating git patches when precommit checks detect uncommitted changes. It also updates the contribution documentation and Docker image versions. Several critical compilation errors were identified in PrecommitAutofixService where an undefined method _commandRunner was used instead of the commandRunner field. Additionally, the regex for parsing Dockerfile arguments could be made more robust to handle varying whitespace.
Precommit AutofixCommit: CI produced no diff. The branch is already clean after precommit autofix. |
This reverts commit 14cfc92.
|
LGTM |

This PR adds a CI remediation flow for generated and normalized file drift, and moves the dev-container automation behind focused
frb_internalcommands.Precommit Autofixworkflow that produces a downloadable patch artifact instead of forcing contributors to reproduce the full environment locallyfrb_internal precommit-autofix-in-dev-containerto run the autofix flow inside the published dev imagefrb_internal publish-dev-dockerto own the dev image build/smoke-test/publish flowI did not run tests in this branch.