Files
Nexus/docs/release/20260708/Nexus-release-index-20260708.md
T
r 9b583ccc91
Nexus CI/CD / test (push) Waiting to run
Nexus CI/CD / e2e (push) Blocked by required conditions
Nexus CI/CD / deploy (push) Blocked by required conditions
Nexus Pre-commit Checks / quick-check (push) Waiting to run
docs(release): 主与 release 分支合并功能清单 + 导入 release 文档目录
便于 Gitea 上 main ↔ release/20260708-axs 合并评审与冲突对照。
2026-07-09 01:14:32 +08:00

4.1 KiB

Nexus Release Index — 2026-07-08

Status

local_artifact_ready=true
online_deployed=false
remote_ssh_blocked_by_codex_approval=true

Codex has not modified the production server in this phase. Remote SSH/network checks were blocked by the approval auto-review endpoint returning HTTP 404.

Artifact

C:\Users\uzuma\Documents\Codex\2026-07-06\yuu\outputs\nexus-release-20260708.tar.gz

SHA256:

46299832fb78e8cc196f85cf1928f34eea4deee82dbc83b67883394f0359036b

Standard checksum file:

C:\Users\uzuma\Documents\Codex\2026-07-06\yuu\outputs\nexus-release-20260708.tar.gz.sha256

Metadata:

C:\Users\uzuma\Documents\Codex\2026-07-06\yuu\outputs\nexus-release-20260708.metadata.json
C:\Users\uzuma\Documents\Codex\2026-07-06\yuu\outputs\Nexus-release-artifact-metadata-20260708.md

Current artifact facts:

size_mb=27.02
entries=2409
files=2409

Main documents

C:\Users\uzuma\Documents\Codex\2026-07-06\yuu\outputs\Nexus-release-ready-checklist-20260708.md
C:\Users\uzuma\Documents\Codex\2026-07-06\yuu\outputs\Nexus-release-diff-manifest-20260708.md
C:\Users\uzuma\Documents\Codex\2026-07-06\yuu\outputs\Nexus-manual-deploy-commands-20260708.md
C:\Users\uzuma\Documents\Codex\2026-07-06\yuu\outputs\Nexus-app-v2-双后台实施说明-20260707.md

One-command local preparation

Run from the source snapshot:

.venv-py312-codex\Scripts\python.exe scripts\prepare_release_artifact.py --old-snapshot C:\Users\uzuma\Documents\Codex\2026-07-06\yuu\work\nexus_code_context\snapshots\nexus-source-20260707-070236 --output-dir C:\Users\uzuma\Documents\Codex\2026-07-06\yuu\outputs --name nexus-release-20260708

Verified result:

[prepare-release-artifact] OK
added=381 modified=26 deleted=347
60 passed in 1.70s
OK: release bundle looks clean
Validate-only mode: tarball checksum and content validation passed

Server-side apply command

Upload:

scp C:\Users\uzuma\Documents\Codex\2026-07-06\yuu\outputs\nexus-release-20260708.tar.gz nexus:/tmp/nexus-release-20260708.tar.gz

If the new apply script is not yet on the server, extract it first:

cd /tmp
tar xzf nexus-release-20260708.tar.gz nexus-release/deploy/apply-release-bundle.sh

Validate only:

bash /tmp/nexus-release/deploy/apply-release-bundle.sh --validate-only \
  --tarball /tmp/nexus-release-20260708.tar.gz \
  --sha256 46299832fb78e8cc196f85cf1928f34eea4deee82dbc83b67883394f0359036b

Apply:

sudo bash /tmp/nexus-release/deploy/apply-release-bundle.sh \
  --tarball /tmp/nexus-release-20260708.tar.gz \
  --sha256 46299832fb78e8cc196f85cf1928f34eea4deee82dbc83b67883394f0359036b \
  --deploy-path /opt/nexus

Online verification after deploy

.venv-py312-codex\Scripts\python.exe scripts\verify_online_release.py --base-url https://api.synaglobal.vip

Expected:

OK: health
OK: /app
OK: /app-v2
OK: online release verification passed

BtPanel verification

After deploy:

  1. Existing /app/ works.
  2. New /app-v2/ works.
  3. BtPanel one-click login works.
  4. Same server duplicate one-click login is serialized; conflict returns HTTP 409.
  5. Newly added BtPanel servers get hardcoded_3600 detection/repair before one-click login.
  6. Multiple BtPanel sessions remain logged in after 2 hours and refresh.

Server preflight command

Before applying the release on the production host, run:

bash /tmp/nexus-release/deploy/preflight-release-host.sh \
  --tarball /tmp/nexus-release-20260708.tar.gz \
  --sha256 46299832fb78e8cc196f85cf1928f34eea4deee82dbc83b67883394f0359036b \
  --deploy-path /opt/nexus

This checks required commands, checksum, release tar paths, deploy path, runtime hints, disk space, and current local endpoints before applying changes.

  • Nexus-release-text-integrity-gate-20260708.md:本轮新增文本完整性 Gate、文档控制字符修复和最新制品 SHA 记录。
  • Nexus-release-python-publisher-20260708.md:Python 版发布辅助脚本说明,避免 PowerShell 管道/引号/编码问题。
  • Nexus-release-publisher-tests-20260708.md:发布辅助脚本离线测试覆盖与 diff manifest 排除 tmp 修复记录。