borg-backup-ui icon indicating copy to clipboard operation
borg-backup-ui copied to clipboard

Automate verified test publication and stable preparation in GitHub Actions

Open borg-codex-bot opened this issue 1 month ago • 0 comments

Replace the duplicated local preflight/publication path with GitHub-managed CI and release workflows, as requested by the maintainer.

Goal and maintainer impact:

  • Local development uses focused checks; GitHub provides the authoritative full-source verification.
  • PR updates run CI. Test-candidate requests wait for or reuse matching CI evidence instead of repeating the full suite. Main merges reuse verification only for identical source trees and compatible check definitions.
  • A maintainer-triggered testing workflow builds, verifies and publishes the selected immutable source, then exposes the test URL.
  • A maintainer-approved stable workflow selects an immutable tested candidate, verifies it against main and creates a separate release PR without rebuilding the package.
  • Publishing credentials stay in protected jobs running trusted main code; PR/build jobs receive no bot credentials. GitHub writes use borg-codex-bot.
  • Preserve the current plugin/feed identities and confidential advisory workflow.

Acceptance:

  • Update AGENTS.md and maintainer documentation, including exact GitHub secrets, environments and required checks to configure.
  • Fail closed on stale/missing/failed CI, mismatched source or artifacts, changed PR/base, overwritten candidate versions, unapproved stable preparation and unsupported Unraid 8 targets.
  • Cover reuse/wait/failure paths, artifact identity, bot identity and workflow permission boundaries with focused automated tests; let hosted CI run the full suite.
  • Document first activation after merge and any live-publication validation that requires maintainer configuration. No repository settings or stable release are changed by this implementation task.

Changelog: internal maintenance (release-note::no). Existing dependency findings on main remain tracked separately in #672 / PR #676.

borg-codex-bot avatar Nov 02 '26 08:11 borg-codex-bot