HH-682: add Stage 1 candidate config pipeline #8

Merged
rogee merged 2 commits from agent/agent/3181b810 into main 2026-08-26 12:43:57 +08:00
Owner

Summary

  • add a one-shot Stage 1 command that reads the subscription URL from a runtime secret
  • normalize confirmed Clash/Mihomo YAML into the fixed local ACL4SSR template
  • validate with pinned Mihomo before atomically switching the /data/last-good generation
  • keep the previous valid generation on download, YAML, validation, or publication failure
  • pin the YAML dependency and assert Mihomo, ACL4SSR, and template asset versions

Verification

  • ./scripts/test.sh (race tests, 76.0% bootstrap coverage)
  • go vet ./...
  • ./tests/container-smoke.sh
  • real-image Stage 1 smoke with a local fake subscription and the pinned Mihomo binary

This PR implements Stage 1 only; scheduling, process startup/reload, Compose secrets, and ExternalUI lifecycle remain for Stage 2.

## Summary - add a one-shot Stage 1 command that reads the subscription URL from a runtime secret - normalize confirmed Clash/Mihomo YAML into the fixed local ACL4SSR template - validate with pinned Mihomo before atomically switching the `/data/last-good` generation - keep the previous valid generation on download, YAML, validation, or publication failure - pin the YAML dependency and assert Mihomo, ACL4SSR, and template asset versions ## Verification - `./scripts/test.sh` (race tests, 76.0% bootstrap coverage) - `go vet ./...` - `./tests/container-smoke.sh` - real-image Stage 1 smoke with a local fake subscription and the pinned Mihomo binary This PR implements Stage 1 only; scheduling, process startup/reload, Compose secrets, and ExternalUI lifecycle remain for Stage 2.
rogee added 1 commit 2026-08-26 11:31:02 +08:00
HH-682: add validated candidate config pipeline
Docker image / Test (pull_request) Canceled after 0s
Docker image / Build and publish (pull_request) Canceled after 0s
2363afba9b
Co-authored-by: multica-agent <github@multica.ai>
rogee added 1 commit 2026-08-26 12:16:43 +08:00
HH-682: fix candidate volume ownership
Docker image / Test (pull_request) Failing after 1m10s
Docker image / Build and publish (pull_request) Skipped
9b5d351068
Co-authored-by: multica-agent <github@multica.ai>
rogee merged commit 48f44a0004 into main 2026-08-26 12:43:57 +08:00
Sign in to join this conversation.
No Reviewers
No labels
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: rogee/mohomo-docker#8