docs: 记录仓库提交规范
- 约定 Conventional Commit 主题格式 - 要求非简单改动使用列表说明实现与验证 - 同步当前 Obsidian 工作区状态
This commit is contained in:
Vendored
+10
-9
@@ -191,21 +191,22 @@
|
||||
},
|
||||
"active": "9775ada2a6c4ad3e",
|
||||
"lastOpenFiles": [
|
||||
"HarmonyOS 启动性能监控接入方案_20260805.md",
|
||||
"CrashDiagnosticsDemo/entry/src/main/ets/pages/CrashHistory.ets.tmp.64840.c1c356d07c03",
|
||||
"CrashDiagnosticsDemo/entry/src/main/ets/pages/CrashHistory.ets.tmp.64840.e9cfc48c9755",
|
||||
"CrashDiagnosticsDemo/entry/build/default/outputs/default/entry-default-signed.hap",
|
||||
"CrashDiagnosticsDemo/entry/build/default/intermediates/default/temp/signConfigCheckJson.json",
|
||||
"CrashDiagnosticsDemo/entry/build/default/cache/default/default@CompileArkTS/esmodule/debug/compiler.cache/modules/AuthSession.ets-fdb57a143b7ecc425dbeed2e5ed65f533bc4b7678045d59c12cc1712bd95861e.msgpack",
|
||||
"CrashDiagnosticsDemo/entry/build/default/intermediates/loader_out/default/ets/modules.abc",
|
||||
"CrashDiagnosticsDemo/entry/build/default/cache/default/default@CompileArkTS/esmodule/debug/compiler.cache/modules/new-CrashHistory.ets-3362d7b55dd443f6915a35dcdf55398d52857eca3d1670c4e3aca017d6197ce1.msgpack",
|
||||
"CrashDiagnosticsDemo/entry/build/default/cache/default/default@CompileArkTS/esmodule/debug/compiler.cache/modules/new-StartupLogin.ets-2334e21c16054ff88652c51913810e6a1bb6e8c3b9caae78194e6fa61d22454f.msgpack",
|
||||
"CrashDiagnosticsDemo/entry/build/default/cache/default/default@CompileArkTS/esmodule/debug/compiler.cache/modules/new-Index.ets-f90047a353dd9b221b44a8e9fb622244ad78231d625fc4cd827257cdb1f3fdd9.msgpack",
|
||||
"CrashDiagnosticsDemo/entry/build/default/cache/default/default@CompileArkTS/esmodule/debug/compiler.cache/modules/new-AuthSession.ets-fdb57a143b7ecc425dbeed2e5ed65f533bc4b7678045d59c12cc1712bd95861e.msgpack",
|
||||
"CrashDiagnosticsDemo/entry/build/default/cache/default/default@CompileArkTS/esmodule/debug/compiler.cache/modules/new-EntryAbility.ets-6cb6772688a3032e3da35b425e18d98ba9971eb7777604aea10e726599977f77.msgpack",
|
||||
"CrashDiagnosticsDemo/entry/build/default/intermediates/loader_out/default/ets/sourceMaps.map",
|
||||
"CrashDiagnosticsDemo/entry/src/main/ets/pages/CrashHistory.ets.tmp.64840.e796abd1053c",
|
||||
"CrashDiagnosticsDemo/entry/src/main/ets/pages/CrashHistory.ets.tmp.64840.d67860e3655a",
|
||||
"CrashDiagnosticsDemo/entry/build/default/cache/default/default@CompileArkTS/esmodule/debug/compiler.cache/modules/CrashHistory.ets-3362d7b55dd443f6915a35dcdf55398d52857eca3d1670c4e3aca017d6197ce1.msgpack",
|
||||
"CrashDiagnosticsDemo/CLAUDE.md",
|
||||
"CrashDiagnosticsDemo/entry/build/default/intermediates/res/default/resources/base/media/background.png",
|
||||
"CrashDiagnosticsDemo/entry/build/default/cache/default/default@CompileArkTS/esmodule/debug/entry/src/main/ets/session/AuthSession.ts",
|
||||
"CrashDiagnosticsDemo/entry/build/default/cache/default/default@CompileArkTS/esmodule/debug/entry/src/main/ets/session/AuthSession.protoBin",
|
||||
"CrashDiagnosticsDemo/entry/build/default/intermediates/res/default/resources/base/media/startIcon.png",
|
||||
"CrashDiagnosticsDemo/entry/build/default/intermediates/res/default/resources/base/media/foreground.png",
|
||||
"CrashDiagnosticsDemo/entry/build/default/intermediates/res/default/resources/base/media/background.png",
|
||||
"HarmonyOS 启动性能监控接入方案_20260805.md",
|
||||
"CrashDiagnosticsDemo/CLAUDE.md",
|
||||
"CrashDiagnosticsDemo/entry/src/main/resources/base/media/startIcon.png",
|
||||
"CrashDiagnosticsDemo/entry/src/main/resources/base/media/foreground.png",
|
||||
"CrashDiagnosticsDemo/entry/src/main/resources/base/media/background.png",
|
||||
|
||||
@@ -40,6 +40,14 @@ Validation is manual. Before submitting changes:
|
||||
|
||||
## Commit & Pull Request Guidelines
|
||||
|
||||
History is currently minimal (`first commit`), so use concise, imperative commit subjects such as `docs: clarify OOM crash accounting` or `assets: add native crash evidence`. Keep report and supporting screenshots in the same commit.
|
||||
Use Conventional Commit-style subjects in the form `<type>: <summary>`, such as `docs: clarify OOM crash accounting` or `feat: 完善启动性能监控流程`. For non-trivial changes, add a blank line followed by `-` list items describing the concrete behavior, implementation, and verification. Keep the subject concise and do not repeat it in the body. Keep related code, documentation, and supporting assets in the same commit.
|
||||
|
||||
```text
|
||||
feat: 完善启动性能监控流程
|
||||
|
||||
- 保证每个进程只提交一次首帧完成事件
|
||||
- 按启动事件唯一键去重上报
|
||||
- 在真机验证登录与网络异常场景
|
||||
```
|
||||
|
||||
Pull requests should summarize the conclusion changed, identify the data period and source, list added or replaced assets, and call out any unresolved evidence gaps. Include rendered screenshots when formatting changes are substantial and link the relevant issue when one exists.
|
||||
|
||||
Reference in New Issue
Block a user