项目实践

pod-upgrade-trigger-bak

Backup/variant of pod-upgrade-trigger with the same overall shape: Rust HTTP service + embedded web UI + ops-focused CLI and state directory. Evidence: Cargo.toml, README.md, web/.

  • Rust web service
  • Ops tool
  • Dockerized dev

目录

技术栈

运行与交付

CI 工作流
  • ci.yml
能力标记
  • cargo_toml
  • dockerfile
  • github_actions
JSON

Basics

Backup/variant of pod-upgrade-trigger with the same overall shape: Rust HTTP service + embedded web UI + ops-focused CLI and state directory. Evidence: Cargo.toml, README.md, web/.

Taxonomy

  • Tags: Rust web service, Ops tool, Dockerized dev
  • Why / evidence: Cargo.toml, README.md, migrations/.

Architecture

  • Single binary crate with subcommands and persistent state directory model. Evidence: src/, README.md.
  • Web UI bundle under web/, likely embedded for release builds. Evidence: web/, build.rs.

Conventions

  • Hooks and repo hygiene follow the same pattern as the main repo. Evidence: lefthook.yml, commitlint.config.cjs.
  • Docker/systemd deployment artifacts exist for server installs. Evidence: Dockerfile, systemd/.

Taste notes

Keeping a “bak” repo can be useful for risky refactors, but I’d treat it as a temporary branch-equivalent and delete it once the mainline stabilizes.