feat(cli): flutter-symbols upload command#11
Open
Fiona2016 wants to merge 6 commits into
Open
Conversation
New `flashcat-cli sourcemaps upload-miniprogram` for WeChat miniprogram sourcemap.zip uploads. - Multipart payload: event (application/json, no filename) carrying type=miniprogram_sourcemap + service/version/appid/cli_version, plus sourcemap_archive (the zip file). - Header DD-EVP-ORIGIN=flashcat-cli_miniprogram routes the upload to fc-rum's MiniProgramProcessor. - Options: --service, --release-version, --sourcemap-zip, --appid, --dry-run, --quiet. appid is optional (omitted from event when not set). - Tests cover happy path, omitted-appid, and missing-zip error paths.
Release @flashcatcloud/flashcat-cli v0.1.3 with Windows sourcemap path normalization and clearer upload error classification.
Uploads Flutter (Dart AOT) debug symbols for crash de-obfuscation. Points at a --split-debug-info directory, discovers every app.<platform>-<arch>.symbols file, parses platform+arch from the filename, and posts each to /sourcemap/upload with DD-EVP-ORIGIN flashcat-cli_flutter and event.type flutter_symbol_file. The server extracts the build-id, so the CLI stays a dumb uploader. Modeled on the upload-miniprogram command; uploads run with bounded concurrency. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
# Conflicts: # src/commands/sourcemaps/__tests__/miniprogram.test.ts # src/commands/sourcemaps/miniprogram.ts
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.
FlashCat CLI 的
flutter-symbols upload命令 —— Flutter 符号化 pipeline(看板卡 [[2026-07-13-rum-flutter-symbolication]])的 CLI 侧上传入口。配套后端 fc-rum#131、前端 fc-saas-rum#242。主改动(本 feature)
2fb0830flashcat-cli flutter-symbols upload:仿 upload-miniprogram,globapp.<platform>-<arch>.symbols,originflashcat-cli_flutter;服务端抽 build-id,故 CLI 保持哑上传。4 测试,全套 103 测试绿。feat/flutter-symbols从origin/main起但领先 5 条,除 flutter 外还含以下此前未合入 main 的提交,本 PR 会一并合入(经 Fiona 确认整枝 PR):4d3bb5dfeat(sourcemaps): add upload-miniprogram command (feat(sourcemaps): add miniprogram sourcemap upload #9)c6b4f8bchore: release v0.1.12001a60chore: release v0.1.25721d03fix sourcemap uploads on Windows三点 diff 共 12 文件 / +798−7,主要为 flutter-symbols + miniprogram + apikey helper + CHANGELOG/版本。
🤖 Generated with Claude Code