Files
db22372bfb fix: add context to deb and rpm errors (#1088)
* chore: improve nfpm maintenance path

* test: Address error context review feedback

Replace the byte-counting writer with errWriter and buffer archive headers
so the failure occurs during the body write. Assert diagnostic context
alongside wrapped causes in each deb and rpm regression case.

Addresses the outstanding review feedback in #1088.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot-Session: b0096264-a208-4a57-a1b0-b902e47faddd
Signed-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>

---------

Signed-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>
Co-authored-by: Maya Chen <275405107+otjdiepluong@users.noreply.github.com>
Co-authored-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot-Session: b0096264-a208-4a57-a1b0-b902e47faddd
Copilot-Session: ea527b37-94d2-489a-8305-66cef357f4ba
2026-10-12 17:37:30 +00:00
..