0.1.5 - #8
Merged
Merged
Conversation
Ali1213
pushed a commit
that referenced
this pull request
Jul 6, 2026
P3 Part 0 — 平台地基(C2 ux 平台暴露)。纯平台改动,产品命令零改动;为 batch-1 产品迁移补齐平台契约。
- pkg/cli/result.go: OpResultRow / ProgressWriter / EmitResult(结构化写出,table no-op、json/yaml 出 stdout)
- pkg/cli/progress.go: 并发进度 facade(NewProgress/NewBlock/Refresh/Disable/Sspoll)+ ConcurrentAction(Block=ux.Block)
- base/util.go: Poller.Sspoll 非 TTY 抑制(镜像 Spoll)
- ux/document.go: 导出 NewDocument(writer) + 非 TTY 自动抑制(全局 Doc 不动)
- pkg/cli/forward.go, pkg/command/bind.go: BindGroup / RegionList·ZoneList·ProjectList getter / AllRegions(保 error) / Log*·LogFilePath forwarder
- base/{client,log}.go: 平台请求日志 handler(logToFile 只写 cli.log、不传 DAS)替代产品手拼
验证:build/vet/golden/check-product/test/6平台 全绿;真实 CLI 增删改查 + EIP allocate→release 计费生命周期对比 master 行为零回归。
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.