xetup/internal
X9 Dev eabf207e3f
All checks were successful
release / build-and-release (push) Successful in 43s
feat(report): file failed runs as Forgejo issues + attach zipped log to email
On any ERROR step, xetup now files an issue in the private x9/xetup-runs
tracker (title "FAILED <host> - <version> - <date>", label "failed", body =
step table + tail-capped Deploy.log) via the xetup-bot write:issue token,
baked in through -ldflags. Best-effort and non-blocking; successful runs stay
silent and the email is the fallback.

The deployment email now attaches the zipped Deploy.log and links to this
run's issue plus the run history filtered to this machine.

- internal/buildinfo: ldflags-injected Version + RunsToken
- internal/runreport: issue filing, retries, tail-capped log
- internal/report: multipart/mixed with zip attachment, tracker links;
  buildMessage split out and covered by report_test.go
- release.yml: inject Version (tag/SHA) + FORGEJO_RUNS_TOKEN via ldflags

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-07-28 16:30:08 +02:00
..
buildinfo feat(report): file failed runs as Forgejo issues + attach zipped log to email 2026-07-28 16:30:08 +02:00
config feat(bloatware): toggleable Outlook/Snipping removal, keep Snipping by default 2026-06-03 16:27:34 +02:00
gui feat(report): file failed runs as Forgejo issues + attach zipped log to email 2026-07-28 16:30:08 +02:00
preflight feat: email report, pre-flight checks, parallel winget installs 2026-04-17 12:26:22 +02:00
prereboot fix: comprehensive reliability and robustness improvements 2026-04-28 11:49:43 +02:00
report feat(report): file failed runs as Forgejo issues + attach zipped log to email 2026-07-28 16:30:08 +02:00
runner feat(bloatware): toggleable Outlook/Snipping removal, keep Snipping by default 2026-06-03 16:27:34 +02:00
runreport feat(report): file failed runs as Forgejo issues + attach zipped log to email 2026-07-28 16:30:08 +02:00
state fix: comprehensive reliability and robustness improvements 2026-04-28 11:49:43 +02:00