@ohos-cpf/3rdloop 0.0.8 → 0.0.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +25 -0
- package/lib/cli.js +22 -5
- package/lib/doctor.js +111 -10
- package/lib/mcp.js +498 -0
- package/package.json +6 -2
- package/vendor/Archive/data/.index/meta.json +7 -0
- package/vendor/Archive/data/.index/search.db +0 -0
- package/vendor/Archive/data/docs/experiences/arkts-check-tool-pitfalls-baseline-comparison.md +13 -0
- package/vendor/Archive/data/docs/experiences/arkts-deep-path-import-recognition.md +31 -0
- package/vendor/Archive/data/docs/experiences/arkts-demo-coverage-entry-file-case-mismatch.md +25 -0
- package/vendor/Archive/data/docs/experiences/arkts-demo-coverage-import-trailing-slash.md +20 -0
- package/vendor/Archive/data/docs/experiences/arkts-library-source-files-may-be-ts.md +18 -0
- package/vendor/Archive/data/docs/experiences/arkts-typedarray-buffer-interface-cast-compile-fixes.md +36 -0
- package/vendor/Archive/data/docs/experiences/arkts-xts-compile-error-clustering-fix.md +24 -0
- package/vendor/Archive/data/docs/experiences/arkts-xts-doc-expected-value-runtime-probe.md +35 -0
- package/vendor/Archive/data/docs/experiences/arkts-xts-fixture-rawfile-testability-injection.md +33 -0
- package/vendor/Archive/data/docs/experiences/code-linter-chinese-comment-false-positive.md +16 -0
- package/vendor/Archive/data/docs/experiences/esobject-new-expression-variable-tracking.md +33 -0
- package/vendor/Archive/data/docs/experiences/filesystem-case-sensitivity-module-resolution.md +31 -0
- package/vendor/Archive/data/docs/experiences/gitcode-clone-redirect-warning-normal.md +13 -0
- package/vendor/Archive/data/docs/experiences/kn_msgvq1w585ec8319.md +77 -0
- package/vendor/Archive/data/docs/experiences/kn_msovnm6rd46de72c.md +98 -0
- package/vendor/Archive/data/docs/experiences/kn_mspt8vntfe708576.md +87 -0
- package/vendor/Archive/data/docs/experiences/kn_mspu1ei77adbbb48.md +133 -0
- package/vendor/Archive/data/docs/experiences/kn_mspubgak8d30bfce.md +128 -0
- package/vendor/Archive/data/docs/experiences/kn_mspug2de3cb1f7c3.md +115 -0
- package/vendor/Archive/data/docs/experiences/kn_skill_opt_001.md +38 -0
- package/vendor/Archive/data/docs/experiences/loop-artifacts-verification-evidence-triangle.md +19 -0
- package/vendor/Archive/data/docs/experiences/macos-bash-replace-build-ps1.md +19 -0
- package/vendor/Archive/data/docs/experiences/macos-bsd-diff-q-illegal-option.md +15 -0
- package/vendor/Archive/data/docs/experiences/migrate-cjs-compatible-api-version-map-limit.md +17 -0
- package/vendor/Archive/data/docs/experiences/mp3agic-arkts-library-behavior-quirks.md +21 -0
- package/vendor/Archive/data/docs/experiences/ohos-face-detection-scan-api-mapping.md +15 -0
- package/vendor/Archive/data/docs/experiences/pr-metadata-and-diff-integrity-verification.md +12 -0
- package/vendor/Archive/data/docs/experiences/rn-coverage-index-signature-pseudo-member-false-negative.md +32 -0
- package/vendor/Archive/data/docs/experiences/rn-memory-check-severity-calibration.md +21 -0
- package/vendor/Archive/data/docs/experiences/rn-platform-specific-api-exclusion-evidence.md +24 -0
- package/vendor/Archive/data/docs/experiences/rn-upstream-version-diff-pitfalls.md +17 -0
- package/vendor/Archive/data/docs/experiences/rn-version-gap-risk-rating-rules.md +13 -0
- package/vendor/Archive/data/docs/experiences/rn-view-lib-native-contract-diff-fabric-spec.md +16 -0
- package/vendor/Archive/data/docs/experiences/rnoh-adapter-package-version-field-semantics.md +18 -0
- package/vendor/Archive/data/docs/experiences/rnoh-arkts-sqlite-rows-array-format.md +18 -0
- package/vendor/Archive/data/docs/experiences/rnoh-dependency-residue-scan-strategy.md +18 -0
- package/vendor/Archive/data/docs/experiences/rnoh-example-local-lib-dep-use-tgz.md +53 -0
- package/vendor/Archive/data/docs/experiences/rnoh-example-prereserve-rntesterlist.md +17 -0
- package/vendor/Archive/data/docs/experiences/rnoh-example-template-compatiblesdkversion-upgrade.md +29 -0
- package/vendor/Archive/data/docs/experiences/rnoh-example-turbomodule-shell-adaptation-checklist.md +41 -0
- package/vendor/Archive/data/docs/experiences/rnoh-mcp-build-project-tool-risk.md +18 -0
- package/vendor/Archive/data/docs/experiences/rnoh-npm-devdependencies-version-precheck.md +29 -0
- package/vendor/Archive/data/docs/experiences/rnoh-repo-baseline-version-verification.md +13 -0
- package/vendor/Archive/data/docs/experiences/rnoh-repo-upstream-directory-mapping.md +18 -0
- package/vendor/Archive/data/docs/experiences/rnoh-stateless-library-zero-leak-verification.md +31 -0
- package/vendor/Archive/data/docs/experiences/rnoh-template-npmrc-credential-removal.md +15 -0
- package/vendor/Archive/data/docs/experiences/rnoh-turbomodule-codegen-wiring-verification.md +19 -0
- package/vendor/Archive/data/docs/experiences/rnoh-turbomodule-cpp-methodmap-compatibility-check.md +20 -0
- package/vendor/Archive/data/docs/experiences/scenario-doc-vs-source-signature-diff-four-patterns.md +24 -0
- package/vendor/Archive/data/docs/experiences/static-analysis-grep-cross-validation.md +29 -0
- package/vendor/Archive/demo.js +489 -0
- package/vendor/Archive/index.js +43 -0
- package/vendor/Archive/package.json +16 -0
- package/vendor/Archive/src/constants.js +83 -0
- package/vendor/Archive/src/data/stopwords.txt +110 -0
- package/vendor/Archive/src/data/synonyms.json +25 -0
- package/vendor/Archive/src/data/terms.txt +59 -0
- package/vendor/Archive/src/db/sqlite-backend.js +312 -0
- package/vendor/Archive/src/db/sqlite-schema.js +64 -0
- package/vendor/Archive/src/engine.js +501 -0
- package/vendor/Archive/src/index/index-manager.js +203 -0
- package/vendor/Archive/src/index/index-state.js +94 -0
- package/vendor/Archive/src/index/search-text-builder.js +106 -0
- package/vendor/Archive/src/index.js +22 -0
- package/vendor/Archive/src/parser/api-identifiers.js +121 -0
- package/vendor/Archive/src/parser/api-suffixes.js +48 -0
- package/vendor/Archive/src/parser/heading-normalize.js +40 -0
- package/vendor/Archive/src/parser/markdown-splitter.js +215 -0
- package/vendor/Archive/src/search/catalog-routing.js +87 -0
- package/vendor/Archive/src/search/fts-search.js +289 -0
- package/vendor/Archive/src/search/query-normalizer.js +159 -0
- package/vendor/Archive/src/search/query-rewriter.js +72 -0
- package/vendor/Archive/src/search/search-engine.js +72 -0
- package/vendor/Archive/src/search/snippet.js +64 -0
- package/vendor/Archive/src/store/dir-store.js +103 -0
- package/vendor/Archive/src/store/doc-store.js +36 -0
- package/vendor/Archive/src/tokenizer/lexicon.js +151 -0
- package/vendor/Archive/src/tokenizer/tokenizer.js +167 -0
- package/vendor/Archive/src/types.js +86 -0
- package/vendor/Archive/src/utils/hash.js +16 -0
- package/vendor/Archive/src/utils/lock.js +73 -0
- package/vendor/Archive/src/utils/path-safety.js +96 -0
- package/vendor/Archive/src/utils/paths.js +39 -0
- package/vendor/BadCase/rn/INDEX.md +127 -0
- package/vendor/BadCase/rn/cases/KI-001-webview/350/247/206/351/242/221/346/227/240/346/263/225/346/250/252/345/261/217.md +52 -0
- package/vendor/BadCase/rn/cases/KI-002-fastImage/347/203/255/346/233/264/346/226/260/345/233/276/347/211/207/345/244/261/350/264/245.md +37 -0
- package/vendor/BadCase/rn/cases/KI-003-wechat/347/274/251/347/225/245/345/233/276/346/234/254/345/234/260/345/233/276/347/211/207.md +62 -0
- package/vendor/BadCase/rn/cases/KI-004-wechat/345/233/236/350/260/203/346/227/266/345/272/217.md +47 -0
- package/vendor/BadCase/rn/cases/KI-005-geolocation/345/257/274/345/205/245/350/267/257/345/276/204/345/220/216/347/274/200.md +31 -0
- package/vendor/BadCase/rn/cases/KI-006-SmartRefreshLayout/346/231/272/350/203/275/346/214/207/351/222/210/345/264/251/346/272/203.md +55 -0
- package/vendor/BadCase/rn/cases/KI-007-orientation-locker/344/274/240/346/204/237/345/231/250/345/210/235/345/247/213/345/214/226.md +58 -0
- package/vendor/BadCase/rn/cases/KI-008-orientation-locker/344/274/240/346/204/237/345/231/250/345/274/225/347/224/250/350/256/241/346/225/260.md +47 -0
- package/vendor/BadCase/rn/cases/KI-009-pager-view/345/265/214/345/245/227/346/273/221/345/212/250.md +38 -0
- package/vendor/BadCase/rn/cases/KI-010-screens/346/211/213/345/212/277/345/206/262/347/252/201.md +48 -0
- package/vendor/BadCase/rn/cases/KI-011-spring-scrollview/346/211/213/345/212/277/351/207/215/345/244/215/347/273/221/345/256/232.md +49 -0
- package/vendor/BadCase/rn/cases/KI-012-qr-camera/346/250/252/345/261/217/351/200/202/351/205/215.md +59 -0
- package/vendor/BadCase/rn/cases/KI-013-webview/346/267/261/350/211/262/346/250/241/345/274/217/350/203/214/346/231/257/350/211/262.md +37 -0
- package/vendor/BadCase/rn/cases/KI-014-amap-geolocation/345/233/236/350/260/203/347/274/272/345/244/261.md +42 -0
- package/vendor/BadCase/rn/cases/KI-015-reanimated/350/277/220/350/241/214/346/227/266/346/236/220/346/236/204/345/264/251/346/272/203.md +54 -0
- package/vendor/BadCase/rn/cases/KI-016-fs/346/226/207/344/273/266/350/257/273/345/217/226/347/274/226/347/240/201.md +58 -0
- package/vendor/BadCase/rn/cases/KI-017-blob-util/345/217/202/346/225/260/347/274/226/347/240/201/351/224/231/350/257/257.md +39 -0
- package/vendor/BadCase/rn/cases/KI-018-modal/345/274/271/347/252/227/351/227/252/347/203/201.md +53 -0
- package/vendor/BadCase/rn/cases/KI-019-code-push/351/207/215/345/220/257/351/200/273/350/276/221/345/244/261/346/225/210.md +79 -0
- package/vendor/BadCase/rn/cases/KI-020-netinfo/346/225/217/346/204/237/344/277/241/346/201/257/346/263/204/351/234/262.md +60 -0
- package/vendor/BadCase/rn/cases/KI-021-video/346/234/254/345/234/260/350/247/206/351/242/221/346/222/255/346/224/276/345/274/202/345/270/270.md +79 -0
- package/vendor/BadCase/rn/cases/KI-022-audio-recorder-player/346/236/232/344/270/276/347/274/272/345/244/261.md +38 -0
- package/vendor/BadCase/rn/cases/KI-023-svg/346/270/220/345/217/230/347/273/247/346/211/277/345/244/261/346/225/210.md +62 -0
- package/vendor/BadCase/rn/generalization-log.md +55 -0
- package/vendor/BadCase/rn/pr-info/rntpc_react-native-SmartRefreshLayout-32.json +328 -0
- package/vendor/BadCase/rn/pr-info/rntpc_react-native-SmartRefreshLayout-32.md +382 -0
- package/vendor/BadCase/rn/pr-info/rntpc_react-native-amap-geolocation-27.json +1351 -0
- package/vendor/BadCase/rn/pr-info/rntpc_react-native-amap-geolocation-27.md +1176 -0
- package/vendor/BadCase/rn/pr-info/rntpc_react-native-audio-recorder-player-22.json +538 -0
- package/vendor/BadCase/rn/pr-info/rntpc_react-native-audio-recorder-player-22.md +1488 -0
- package/vendor/BadCase/rn/pr-info/rntpc_react-native-blob-util-23.json +211 -0
- package/vendor/BadCase/rn/pr-info/rntpc_react-native-blob-util-23.md +35 -0
- package/vendor/BadCase/rn/pr-info/rntpc_react-native-code-push-17.json +2048 -0
- package/vendor/BadCase/rn/pr-info/rntpc_react-native-code-push-17.md +3866 -0
- package/vendor/BadCase/rn/pr-info/rntpc_react-native-fast-image-102.json +198 -0
- package/vendor/BadCase/rn/pr-info/rntpc_react-native-fast-image-102.md +40 -0
- package/vendor/BadCase/rn/pr-info/rntpc_react-native-fs-38.json +751 -0
- package/vendor/BadCase/rn/pr-info/rntpc_react-native-fs-38.md +883 -0
- package/vendor/BadCase/rn/pr-info/rntpc_react-native-geolocation-24.json +1544 -0
- package/vendor/BadCase/rn/pr-info/rntpc_react-native-geolocation-24.md +2598 -0
- package/vendor/BadCase/rn/pr-info/rntpc_react-native-modal-20.json +246 -0
- package/vendor/BadCase/rn/pr-info/rntpc_react-native-modal-20.md +554 -0
- package/vendor/BadCase/rn/pr-info/rntpc_react-native-netinfo-31.json +211 -0
- package/vendor/BadCase/rn/pr-info/rntpc_react-native-netinfo-31.md +54 -0
- package/vendor/BadCase/rn/pr-info/rntpc_react-native-orientation-locker-45.json +1626 -0
- package/vendor/BadCase/rn/pr-info/rntpc_react-native-orientation-locker-45.md +2213 -0
- package/vendor/BadCase/rn/pr-info/rntpc_react-native-orientation-locker-51.json +208 -0
- package/vendor/BadCase/rn/pr-info/rntpc_react-native-orientation-locker-51.md +77 -0
- package/vendor/BadCase/rn/pr-info/rntpc_react-native-pager-view-32.json +377 -0
- package/vendor/BadCase/rn/pr-info/rntpc_react-native-pager-view-32.md +174 -0
- package/vendor/BadCase/rn/pr-info/rntpc_react-native-qr-decode-image-camera-37.json +232 -0
- package/vendor/BadCase/rn/pr-info/rntpc_react-native-qr-decode-image-camera-37.md +194 -0
- package/vendor/BadCase/rn/pr-info/rntpc_react-native-reanimated-82.json +198 -0
- package/vendor/BadCase/rn/pr-info/rntpc_react-native-reanimated-82.md +67 -0
- package/vendor/BadCase/rn/pr-info/rntpc_react-native-screens-87.json +198 -0
- package/vendor/BadCase/rn/pr-info/rntpc_react-native-screens-87.md +38 -0
- package/vendor/BadCase/rn/pr-info/rntpc_react-native-screens-93.json +208 -0
- package/vendor/BadCase/rn/pr-info/rntpc_react-native-screens-93.md +34 -0
- package/vendor/BadCase/rn/pr-info/rntpc_react-native-spring-scrollview-38.json +222 -0
- package/vendor/BadCase/rn/pr-info/rntpc_react-native-spring-scrollview-38.md +56 -0
- package/vendor/BadCase/rn/pr-info/rntpc_react-native-svg-117.json +463 -0
- package/vendor/BadCase/rn/pr-info/rntpc_react-native-svg-117.md +383 -0
- package/vendor/BadCase/rn/pr-info/rntpc_react-native-video-66.json +464 -0
- package/vendor/BadCase/rn/pr-info/rntpc_react-native-video-66.md +565 -0
- package/vendor/BadCase/rn/pr-info/rntpc_react-native-webview-112.json +198 -0
- package/vendor/BadCase/rn/pr-info/rntpc_react-native-webview-112.md +47 -0
- package/vendor/BadCase/rn/pr-info/rntpc_react-native-webview-121.json +232 -0
- package/vendor/BadCase/rn/pr-info/rntpc_react-native-webview-121.md +422 -0
- package/vendor/BadCase/rn/pr-info/rntpc_react-native-wechat-lib-15.json +295 -0
- package/vendor/BadCase/rn/pr-info/rntpc_react-native-wechat-lib-15.md +1038 -0
- package/vendor/BadCase/rn/rules/R-01-/345/205/250/345/261/217/347/252/227/345/217/243/347/212/266/346/200/201/347/256/241/347/220/206/345/256/214/346/225/264/346/200/247.md +20 -0
- package/vendor/BadCase/rn/rules/R-02-/350/265/204/346/272/220URI/345/275/242/346/200/201/345/210/206/346/224/257/350/246/206/347/233/226.md +21 -0
- package/vendor/BadCase/rn/rules/R-03-/351/231/204/345/261/236/346/223/215/344/275/234/345/244/261/350/264/245/351/230/273/346/226/255/344/270/273/346/265/201/347/250/213.md +20 -0
- package/vendor/BadCase/rn/rules/R-04-/345/274/202/346/255/245/345/233/236/350/260/203/346/263/250/345/206/214/346/227/266/345/272/217.md +20 -0
- package/vendor/BadCase/rn/rules/R-05-/346/250/241/345/235/227/345/257/274/345/205/245/350/267/257/345/276/204/350/247/204/350/214/203.md +19 -0
- package/vendor/BadCase/rn/rules/R-06-/344/274/240/346/204/237/345/231/250/347/241/254/344/273/266/346/235/203/351/231/220/346/214/211/351/234/200/350/216/267/345/217/226.md +21 -0
- package/vendor/BadCase/rn/rules/R-07-/346/231/272/350/203/275/346/214/207/351/222/210/347/224/237/345/221/275/345/221/250/346/234/237/347/256/241/347/220/206.md +20 -0
- package/vendor/BadCase/rn/rules/R-08-/346/211/213/345/212/277/344/272/213/344/273/266/346/263/250/345/206/214/344/270/216/345/206/262/347/252/201/345/244/204/347/220/206.md +22 -0
- package/vendor/BadCase/rn/rules/R-09-/346/250/252/347/253/226/345/261/217/345/244/232/345/275/242/346/200/201/345/270/203/345/261/200/351/200/202/351/205/215.md +20 -0
- package/vendor/BadCase/rn/rules/R-10-/346/267/261/350/211/262/346/250/241/345/274/217/344/270/273/351/242/230/351/242/234/350/211/262/351/200/202/351/205/215.md +19 -0
- package/vendor/BadCase/rn/rules/R-11-/346/216/245/345/217/243/345/233/236/350/260/203/345/256/236/347/216/260/345/256/214/346/225/264/346/200/247.md +20 -0
- package/vendor/BadCase/rn/rules/R-12-/345/216/237/347/224/237/350/277/220/350/241/214/346/227/266/350/265/204/346/272/220/346/236/220/346/236/204/346/227/266/345/272/217.md +20 -0
- package/vendor/BadCase/rn/rules/R-13-/346/226/207/344/273/266/346/225/260/346/215/256/347/274/226/347/240/201/344/270/216/346/240/274/345/274/217/345/205/274/345/256/271.md +21 -0
- package/vendor/BadCase/rn/rules/R-14-/345/212/250/347/224/273/345/210/235/345/247/213/345/214/226/346/227/266/345/272/217/344/270/216/347/212/266/346/200/201/345/220/214/346/255/245.md +20 -0
- package/vendor/BadCase/rn/rules/R-15-/347/212/266/346/200/201/346/214/201/344/271/205/345/214/226/344/270/216/351/207/215/345/220/257/351/200/273/350/276/221/344/270/200/350/207/264/346/200/247.md +20 -0
- package/vendor/BadCase/rn/rules/R-16-/346/225/217/346/204/237/344/277/241/346/201/257/346/227/245/345/277/227/346/263/204/351/234/262.md +19 -0
- package/vendor/BadCase/rn/rules/R-17-/345/252/222/344/275/223/350/265/204/346/272/220/347/224/237/345/221/275/345/221/250/346/234/237/344/270/216/351/224/231/350/257/257/345/244/204/347/220/206.md +21 -0
- package/vendor/BadCase/rn/rules/R-18-/350/203/275/345/212/233/346/236/232/344/270/276/351/205/215/347/275/256/345/256/214/346/225/264/346/200/247.md +19 -0
- package/vendor/BadCase/rn/rules/R-19-/345/233/276/345/275/242/346/270/262/346/237/223/345/261/236/346/200/247/347/273/247/346/211/277/344/270/216/351/207/215/347/275/256.md +19 -0
- package/vendor/MCP/README.md +490 -0
- package/vendor/MCP/config.json +29 -0
- package/vendor/MCP/package.json +23 -0
- package/vendor/MCP/scripts/analyze-demo-coverage.cjs +1203 -0
- package/vendor/MCP/scripts/analyze-xts-coverage.cjs +1245 -0
- package/vendor/MCP/scripts/deveco_docs.js +247 -0
- package/vendor/MCP/scripts/extract-interfaces.cjs +1487 -0
- package/vendor/MCP/scripts/flutter-analyze-demo-coverage.cjs +666 -0
- package/vendor/MCP/scripts/flutter-analyze-xts-coverage.cjs +684 -0
- package/vendor/MCP/scripts/flutter-extract-interfaces.cjs +1251 -0
- package/vendor/MCP/scripts/flutter-render-spec-doc.cjs +351 -0
- package/vendor/MCP/scripts/render-spec-doc.cjs +347 -0
- package/vendor/MCP/scripts/rn-analyze-demo-coverage.cjs +645 -0
- package/vendor/MCP/scripts/rn-analyze-test-coverage.cjs +614 -0
- package/vendor/MCP/scripts/rn-extract-interfaces.cjs +1462 -0
- package/vendor/MCP/scripts/rn-render-spec-doc.cjs +327 -0
- package/vendor/MCP/scripts/rn-scan-exports.cjs +1336 -0
- package/vendor/MCP/src/client/MCPClientPool.js +220 -0
- package/vendor/MCP/src/config/ConfigLoader.js +189 -0
- package/vendor/MCP/src/executor/ScriptExecutor.js +110 -0
- package/vendor/MCP/src/gateway/Gateway.js +451 -0
- package/vendor/MCP/src/index.js +87 -0
- package/vendor/MCP/src/library/KBToolProvider.js +229 -0
- package/vendor/MCP/src/library/logger.js +60 -0
- package/vendor/MCP/src/registry/ScriptRegistry.js +238 -0
- package/vendor/MCP/src/registry/ToolRegistry.js +111 -0
- package/vendor/MCP/src/types.js +115 -0
- package/vendor/Server/Skills/arkts-library-test-coverage-check/references/MCP_TOOL_USAGE.md +4 -2
- package/vendor/Server/Skills/arkts-library-xts-coverage/SKILL.md +3 -3
- package/vendor/Server/Skills/knowledge-import/SKILL.md +1 -1
- package/vendor/Server/Skills/knowledge-import/references/MCP_TOOL_USAGE.md +12 -4
- package/vendor/Server/Skills/ohos-lib-pr-push/SKILL.md +5 -4
- package/vendor/Server/Skills/rn-library-issue-generalizer/SKILL.md +2 -2
- package/vendor/Server/Skills/rn-library-known-issue-check/SKILL.md +2 -2
- package/vendor/Server/Skills/rnoh-lib-demo-coverage/SKILL.md +1 -2
- package/vendor/Server/Skills/rnoh-lib-test-align/references/port-test-demo-guide.md +1 -1
- package/vendor/Server/Skills/rnoh-lib-xts-coverage/SKILL.md +1 -2
- package/vendor/Server/package.json +5 -1
- package/vendor/VERSION +3 -3
|
@@ -0,0 +1,198 @@
|
|
|
1
|
+
{
|
|
2
|
+
"pr": {
|
|
3
|
+
"id": 8961721,
|
|
4
|
+
"html_url": "https://gitcode.com/CPF-RN/rntpc_react-native-reanimated/merge_requests/82",
|
|
5
|
+
"number": 82,
|
|
6
|
+
"state": "merged",
|
|
7
|
+
"title": "fix(harmony): Fix the online crash issue of didi",
|
|
8
|
+
"url": "https://api.gitcode.com/api/v5/repos/CPF-RN/rntpc_react-native-reanimated/pulls/82",
|
|
9
|
+
"issue_url": "https://api.gitcode.com/api/v5/repos/CPF-RN/rntpc_react-native-reanimated/pulls/82/issues",
|
|
10
|
+
"body": "fix(harmony): Fix the online crash issue of didi\n\nThe online crash issue of Didi, with a crash rate of 0.01%\n\nClosed: [#54](https://gitcode.com/CPF-RN/rntpc_react-native-reanimated/issues/54) ",
|
|
11
|
+
"assignees_number": 2,
|
|
12
|
+
"assignees": [
|
|
13
|
+
{
|
|
14
|
+
"id": "6731c8f2fbbddc0c200a6019",
|
|
15
|
+
"login": "zhu_chengcheng",
|
|
16
|
+
"name": "zhu_chengcheng",
|
|
17
|
+
"avatar_url": "https://cdn-img.gitcode.com/fe/bd/f406eb600317d9bbb6a5c23042b49e5193dfbb7a63ee407f5bbfcbabcd177af1.jpg",
|
|
18
|
+
"html_url": "https://gitcode.com/zhu_chengcheng",
|
|
19
|
+
"assignee": true,
|
|
20
|
+
"code_owner": false,
|
|
21
|
+
"accept": false
|
|
22
|
+
},
|
|
23
|
+
{
|
|
24
|
+
"id": "67fdb69df01e3c566929edd4",
|
|
25
|
+
"login": "gcw_N7oHqLFR",
|
|
26
|
+
"name": "huang_jy",
|
|
27
|
+
"avatar_url": "",
|
|
28
|
+
"html_url": "https://gitcode.com/gcw_N7oHqLFR",
|
|
29
|
+
"assignee": true,
|
|
30
|
+
"code_owner": false,
|
|
31
|
+
"accept": true
|
|
32
|
+
}
|
|
33
|
+
],
|
|
34
|
+
"testers": [
|
|
35
|
+
{
|
|
36
|
+
"id": "6541ccea82d8f837210e92c3",
|
|
37
|
+
"login": "openharmony_ci",
|
|
38
|
+
"name": "openharmony_ci",
|
|
39
|
+
"avatar_url": "https://cdn-img.gitcode.com/cb/be/5cb10620b4e9195576142df69cd44bb84df15d769c2a04eff5bf7324b903022c.png?time=1723462328974",
|
|
40
|
+
"html_url": "https://gitcode.com/openharmony_ci",
|
|
41
|
+
"assignee": false,
|
|
42
|
+
"code_owner": false,
|
|
43
|
+
"accept": true
|
|
44
|
+
}
|
|
45
|
+
],
|
|
46
|
+
"approval_reviewers": [],
|
|
47
|
+
"labels": [
|
|
48
|
+
{
|
|
49
|
+
"id": 13241991,
|
|
50
|
+
"color": "#428BCA",
|
|
51
|
+
"name": "dco检查成功",
|
|
52
|
+
"repository_id": 4369214,
|
|
53
|
+
"created_at": "2026-06-09T15:59:33+08:00",
|
|
54
|
+
"updated_at": "2026-07-30T21:21:00+08:00"
|
|
55
|
+
},
|
|
56
|
+
{
|
|
57
|
+
"id": 13240351,
|
|
58
|
+
"color": "#428BCA",
|
|
59
|
+
"name": "编译成功",
|
|
60
|
+
"repository_id": 4369214,
|
|
61
|
+
"created_at": "2026-05-31T11:50:59+08:00",
|
|
62
|
+
"updated_at": "2026-08-03T16:26:16+08:00"
|
|
63
|
+
},
|
|
64
|
+
{
|
|
65
|
+
"id": 13240386,
|
|
66
|
+
"color": "#428BCA",
|
|
67
|
+
"name": "静态检查成功",
|
|
68
|
+
"repository_id": 4369214,
|
|
69
|
+
"created_at": "2026-06-01T09:30:32+08:00",
|
|
70
|
+
"updated_at": "2026-08-03T16:28:34+08:00"
|
|
71
|
+
}
|
|
72
|
+
],
|
|
73
|
+
"created_at": "2026-07-30T21:20:17+08:00",
|
|
74
|
+
"updated_at": "2026-08-03T16:43:37+08:00",
|
|
75
|
+
"closed_at": "2026-08-03T16:43:37+08:00",
|
|
76
|
+
"merged_at": "2026-08-03T16:43:37+08:00",
|
|
77
|
+
"merged_by": {
|
|
78
|
+
"id": "6541ccea82d8f837210e92c3",
|
|
79
|
+
"login": "openharmony_ci",
|
|
80
|
+
"name": "openharmony_ci",
|
|
81
|
+
"avatar_url": "https://cdn-img.gitcode.com/cb/be/5cb10620b4e9195576142df69cd44bb84df15d769c2a04eff5bf7324b903022c.png?time=1723462328974",
|
|
82
|
+
"html_url": "https://gitcode.com/openharmony_ci"
|
|
83
|
+
},
|
|
84
|
+
"draft": false,
|
|
85
|
+
"can_merge_check": true,
|
|
86
|
+
"prune_branch": false,
|
|
87
|
+
"mergeable": true,
|
|
88
|
+
"user": {
|
|
89
|
+
"id": "66d26efad5084c7852c9cc0a",
|
|
90
|
+
"login": "chenhaoyue1",
|
|
91
|
+
"name": "chenhaoyue",
|
|
92
|
+
"avatar_url": "https://cdn-img.gitcode.com/db/cb/82d7644b39c2b5811c56273ec35606a8d270bf3795a60915c77cda9c33b9656f.png",
|
|
93
|
+
"html_url": "https://gitcode.com/chenhaoyue1"
|
|
94
|
+
},
|
|
95
|
+
"head": {
|
|
96
|
+
"ref": "0730",
|
|
97
|
+
"sha": "d38e3ef6ec8e5800fd42f486fd42ee4c68480cd4",
|
|
98
|
+
"label": "0730",
|
|
99
|
+
"repo": {
|
|
100
|
+
"path": "rntpc_react-native-reanimated",
|
|
101
|
+
"name": "rntpc_react-native-reanimated",
|
|
102
|
+
"namespace": {
|
|
103
|
+
"path": "chenhaoyue1"
|
|
104
|
+
},
|
|
105
|
+
"full_name": "chenhaoyue1/rntpc_react-native-reanimated",
|
|
106
|
+
"html_url": "https://gitcode.com/chenhaoyue1/rntpc_react-native-reanimated.git"
|
|
107
|
+
},
|
|
108
|
+
"user": {
|
|
109
|
+
"id": "66d26efad5084c7852c9cc0a",
|
|
110
|
+
"login": "chenhaoyue1",
|
|
111
|
+
"name": "chenhaoyue",
|
|
112
|
+
"avatar_url": "https://cdn-img.gitcode.com/db/cb/82d7644b39c2b5811c56273ec35606a8d270bf3795a60915c77cda9c33b9656f.png",
|
|
113
|
+
"html_url": "https://gitcode.com/chenhaoyue1"
|
|
114
|
+
}
|
|
115
|
+
},
|
|
116
|
+
"base": {
|
|
117
|
+
"ref": "br_rnoh0.77",
|
|
118
|
+
"sha": "3ca70ccff897961b7d83902f0a4af93b31091662",
|
|
119
|
+
"label": "br_rnoh0.77",
|
|
120
|
+
"repo": {
|
|
121
|
+
"path": "rntpc_react-native-reanimated",
|
|
122
|
+
"name": "rntpc_react-native-reanimated",
|
|
123
|
+
"namespace": {
|
|
124
|
+
"path": "CPF-RN"
|
|
125
|
+
},
|
|
126
|
+
"full_name": "CPF-RN/rntpc_react-native-reanimated",
|
|
127
|
+
"html_url": "https://gitcode.com/CPF-RN/rntpc_react-native-reanimated.git"
|
|
128
|
+
}
|
|
129
|
+
},
|
|
130
|
+
"mergeable_state": {
|
|
131
|
+
"merge_request_id": 8961721,
|
|
132
|
+
"state": true,
|
|
133
|
+
"status_without_user_auth": true,
|
|
134
|
+
"conflict_passed": true,
|
|
135
|
+
"branch_missing_passed": true,
|
|
136
|
+
"non_ff_passed": true,
|
|
137
|
+
"mr_state_passed": true,
|
|
138
|
+
"merged_by_user_passed": true,
|
|
139
|
+
"work_in_progress_passed": true,
|
|
140
|
+
"resolve_discussion_passed": true,
|
|
141
|
+
"ci_state_passed": true,
|
|
142
|
+
"merge_by_self_passed": true,
|
|
143
|
+
"can_force_merge": true,
|
|
144
|
+
"approval_reviewers_required_passed": true,
|
|
145
|
+
"approval_approvers_required_passed": true,
|
|
146
|
+
"approval_testers_required_passed": true,
|
|
147
|
+
"merge_request_switch": {
|
|
148
|
+
"review_mode": "approval",
|
|
149
|
+
"merge_method": "merge",
|
|
150
|
+
"only_allow_merge_if_all_discussions_are_resolved": true,
|
|
151
|
+
"disable_merge_by_self": true,
|
|
152
|
+
"only_allow_merge_if_pipeline_succeeds": false,
|
|
153
|
+
"disable_squash_merge": false,
|
|
154
|
+
"squash_merge_with_no_merge_commit": false,
|
|
155
|
+
"approval_required_reviewers_count": 0,
|
|
156
|
+
"approval_required_reviewers_branch": "*",
|
|
157
|
+
"add_notes_after_merged": true,
|
|
158
|
+
"mark_auto_merged_mr_as_closed": true,
|
|
159
|
+
"can_force_merge": true,
|
|
160
|
+
"can_reopen": true
|
|
161
|
+
},
|
|
162
|
+
"reason": {},
|
|
163
|
+
"check_tasks_num": 2,
|
|
164
|
+
"all_depend_merge_request_merged_passed": true,
|
|
165
|
+
"approval_approvers_result": 2,
|
|
166
|
+
"approval_testers_result": 2
|
|
167
|
+
},
|
|
168
|
+
"visibility_reason": "public",
|
|
169
|
+
"close_related_issue": true,
|
|
170
|
+
"squash_merge": false
|
|
171
|
+
},
|
|
172
|
+
"files": [
|
|
173
|
+
{
|
|
174
|
+
"sha": "d38e3ef6ec8e5800fd42f486fd42ee4c68480cd4",
|
|
175
|
+
"filename": "harmony/reanimated/src/main/cpp/patches/NativeModules/ReanimatedModuleProxy.cpp",
|
|
176
|
+
"additions": 31,
|
|
177
|
+
"deletions": 0,
|
|
178
|
+
"blob_id": "549c0e3f81f58c1dcbbab3fa75138cf0f3490f2d",
|
|
179
|
+
"blob_url": "https://gitcode.com/CPF-RN/rntpc_react-native-reanimated/blob/d38e3ef6ec8e5800fd42f486fd42ee4c68480cd4/harmony/reanimated/src/main/cpp/patches/NativeModules/ReanimatedModuleProxy.cpp",
|
|
180
|
+
"raw_url": "https://raw.gitcode.com/CPF-RN/rntpc_react-native-reanimated/raw/d38e3ef6ec8e5800fd42f486fd42ee4c68480cd4/harmony/reanimated/src/main/cpp/patches/NativeModules/ReanimatedModuleProxy.cpp",
|
|
181
|
+
"patch": "@@ -256,6 +256,37 @@ ReanimatedModuleProxy::~ReanimatedModuleProxy() {\n }\r\n layoutAnimationsProxy_.reset();\r\n \r\n+ // 主动触发 Hermes GC:在 uiWorkletRuntime_ 销毁前回收 Hermes 堆中持有\r\n+ // ShadowNode::Shared(通过 NativeState / ShadowNodeWrapper)的 JSI 对象。\r\n+ //\r\n+ // 此处 commitHook_ / mountHook_ 仍未 reset,它们持有 uiManager_ 的\r\n+ // shared_ptr,确保 GC 回收 ShadowNodeWrapper 触发 ~ShadowNodeFamily 时\r\n+ // ComponentDescriptorRegistry 仍然有效。这样可避免 uiWorkletRuntime_.reset()\r\n+ // → HadesGC::finalizeAll() 在上下文可能已失效后触发\r\n+ // ~ShadowNodeFamily → ~InstanceHandle 崩溃(0730 复现变体根因)。\r\n+ //\r\n+ // UI runtime 为 LockableRuntime(supportsLocking=true),每个 JSI 操作\r\n+ // 自动加锁 runtimeMutex_(recursive_mutex),从主线程调用 gc() 会阻塞\r\n+ // 等待 UI 线程完成当前 worklet 后执行,不会死锁。\r\n+#if JS_RUNTIME_HERMES\r\n+ if (uiWorkletRuntime_) {\r\n+ try {\r\n+ auto &uiRuntime = uiWorkletRuntime_->getJSIRuntime();\r\n+ auto gc = uiRuntime.global().getPropertyAsFunction(uiRuntime, \"gc\");\r\n+ gc.call(uiRuntime);\r\n+ } catch (const std::exception &) {\r\n+ // gc() 调用失败不应阻止后续析构流程\r\n+ } catch (...) {\r\n+ // 忽略未知异常,保证析构不因 GC 失败而 terminate\r\n+ }\r\n+ }\r\n+#endif // JS_RUNTIME_HERMES\r\n+\r\n+ // GC 之后再注销 hooks:确保 GC 回收 ShadowNodeWrapper 时\r\n+ // UIManager(及 ComponentDescriptorRegistry)仍存活\r\n+ commitHook_.reset();\r\n+ mountHook_.reset();\r\n+ uiManager_.reset();\r\n #endif // RCT_NEW_ARCH_ENABLED\r\n uiWorkletRuntime_.reset();\r\n }\r\n",
|
|
182
|
+
"target_branch": "br_rnoh0.77",
|
|
183
|
+
"source_branch": "0730",
|
|
184
|
+
"source_project": {
|
|
185
|
+
"id": 9073087,
|
|
186
|
+
"full_name": "chenhaoyue1/rntpc_react-native-reanimated",
|
|
187
|
+
"human_name": "chenhaoyue1 / rntpc_react-native-reanimated",
|
|
188
|
+
"path": "rntpc_react-native-reanimated"
|
|
189
|
+
},
|
|
190
|
+
"target_project": {
|
|
191
|
+
"id": 4369214,
|
|
192
|
+
"full_name": "CPF-RN/rntpc_react-native-reanimated",
|
|
193
|
+
"human_name": "CPF-RN / rntpc_react-native-reanimated",
|
|
194
|
+
"path": "rntpc_react-native-reanimated"
|
|
195
|
+
}
|
|
196
|
+
}
|
|
197
|
+
]
|
|
198
|
+
}
|
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
# PR #82: fix(harmony): Fix the online crash issue of didi
|
|
2
|
+
|
|
3
|
+
- **状态**: merged
|
|
4
|
+
- **作者**: chenhaoyue1
|
|
5
|
+
- **创建时间**: 2026-07-30T21:20:17+08:00
|
|
6
|
+
- **分支**: 0730 → br_rnoh0.77
|
|
7
|
+
- **变更文件数**: 1
|
|
8
|
+
|
|
9
|
+
## PR 描述
|
|
10
|
+
|
|
11
|
+
fix(harmony): Fix the online crash issue of didi
|
|
12
|
+
|
|
13
|
+
The online crash issue of Didi, with a crash rate of 0.01%
|
|
14
|
+
|
|
15
|
+
Closed: [#54](https://gitcode.com/CPF-RN/rntpc_react-native-reanimated/issues/54)
|
|
16
|
+
|
|
17
|
+
## 变更文件
|
|
18
|
+
|
|
19
|
+
| 文件 | 变更 | +行 | -行 |
|
|
20
|
+
|------|------|-----|-----|
|
|
21
|
+
| `harmony/reanimated/src/main/cpp/patches/NativeModules/ReanimatedModuleProxy.cpp` | ? | +31 | -0 |
|
|
22
|
+
|
|
23
|
+
## Diff
|
|
24
|
+
|
|
25
|
+
### `harmony/reanimated/src/main/cpp/patches/NativeModules/ReanimatedModuleProxy.cpp`
|
|
26
|
+
|
|
27
|
+
```diff
|
|
28
|
+
@@ -256,6 +256,37 @@ ReanimatedModuleProxy::~ReanimatedModuleProxy() {
|
|
29
|
+
}
|
|
30
|
+
layoutAnimationsProxy_.reset();
|
|
31
|
+
|
|
32
|
+
+ // 主动触发 Hermes GC:在 uiWorkletRuntime_ 销毁前回收 Hermes 堆中持有
|
|
33
|
+
+ // ShadowNode::Shared(通过 NativeState / ShadowNodeWrapper)的 JSI 对象。
|
|
34
|
+
+ //
|
|
35
|
+
+ // 此处 commitHook_ / mountHook_ 仍未 reset,它们持有 uiManager_ 的
|
|
36
|
+
+ // shared_ptr,确保 GC 回收 ShadowNodeWrapper 触发 ~ShadowNodeFamily 时
|
|
37
|
+
+ // ComponentDescriptorRegistry 仍然有效。这样可避免 uiWorkletRuntime_.reset()
|
|
38
|
+
+ // → HadesGC::finalizeAll() 在上下文可能已失效后触发
|
|
39
|
+
+ // ~ShadowNodeFamily → ~InstanceHandle 崩溃(0730 复现变体根因)。
|
|
40
|
+
+ //
|
|
41
|
+
+ // UI runtime 为 LockableRuntime(supportsLocking=true),每个 JSI 操作
|
|
42
|
+
+ // 自动加锁 runtimeMutex_(recursive_mutex),从主线程调用 gc() 会阻塞
|
|
43
|
+
+ // 等待 UI 线程完成当前 worklet 后执行,不会死锁。
|
|
44
|
+
+#if JS_RUNTIME_HERMES
|
|
45
|
+
+ if (uiWorkletRuntime_) {
|
|
46
|
+
+ try {
|
|
47
|
+
+ auto &uiRuntime = uiWorkletRuntime_->getJSIRuntime();
|
|
48
|
+
+ auto gc = uiRuntime.global().getPropertyAsFunction(uiRuntime, "gc");
|
|
49
|
+
+ gc.call(uiRuntime);
|
|
50
|
+
+ } catch (const std::exception &) {
|
|
51
|
+
+ // gc() 调用失败不应阻止后续析构流程
|
|
52
|
+
+ } catch (...) {
|
|
53
|
+
+ // 忽略未知异常,保证析构不因 GC 失败而 terminate
|
|
54
|
+
+ }
|
|
55
|
+
+ }
|
|
56
|
+
+#endif // JS_RUNTIME_HERMES
|
|
57
|
+
+
|
|
58
|
+
+ // GC 之后再注销 hooks:确保 GC 回收 ShadowNodeWrapper 时
|
|
59
|
+
+ // UIManager(及 ComponentDescriptorRegistry)仍存活
|
|
60
|
+
+ commitHook_.reset();
|
|
61
|
+
+ mountHook_.reset();
|
|
62
|
+
+ uiManager_.reset();
|
|
63
|
+
#endif // RCT_NEW_ARCH_ENABLED
|
|
64
|
+
uiWorkletRuntime_.reset();
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
```
|
|
@@ -0,0 +1,198 @@
|
|
|
1
|
+
{
|
|
2
|
+
"pr": {
|
|
3
|
+
"id": 8968537,
|
|
4
|
+
"html_url": "https://gitcode.com/CPF-RN/rntpc_react-native-screens/merge_requests/87",
|
|
5
|
+
"number": 87,
|
|
6
|
+
"state": "merged",
|
|
7
|
+
"title": "fix: 修复77分支原生组件手势和库冲突问题",
|
|
8
|
+
"url": "https://api.gitcode.com/api/v5/repos/CPF-RN/rntpc_react-native-screens/pulls/87",
|
|
9
|
+
"issue_url": "https://api.gitcode.com/api/v5/repos/CPF-RN/rntpc_react-native-screens/pulls/87/issues",
|
|
10
|
+
"body": "fix: 修复77分支原生组件手势和库冲突问题",
|
|
11
|
+
"assignees_number": 2,
|
|
12
|
+
"assignees": [
|
|
13
|
+
{
|
|
14
|
+
"id": "6731c8f2fbbddc0c200a6019",
|
|
15
|
+
"login": "zhu_chengcheng",
|
|
16
|
+
"name": "zhu_chengcheng",
|
|
17
|
+
"avatar_url": "https://cdn-img.gitcode.com/fe/bd/f406eb600317d9bbb6a5c23042b49e5193dfbb7a63ee407f5bbfcbabcd177af1.jpg",
|
|
18
|
+
"html_url": "https://gitcode.com/zhu_chengcheng",
|
|
19
|
+
"assignee": true,
|
|
20
|
+
"code_owner": false,
|
|
21
|
+
"accept": false
|
|
22
|
+
},
|
|
23
|
+
{
|
|
24
|
+
"id": "67fdb69df01e3c566929edd4",
|
|
25
|
+
"login": "gcw_N7oHqLFR",
|
|
26
|
+
"name": "huang_jy",
|
|
27
|
+
"avatar_url": "",
|
|
28
|
+
"html_url": "https://gitcode.com/gcw_N7oHqLFR",
|
|
29
|
+
"assignee": true,
|
|
30
|
+
"code_owner": false,
|
|
31
|
+
"accept": true
|
|
32
|
+
}
|
|
33
|
+
],
|
|
34
|
+
"testers": [
|
|
35
|
+
{
|
|
36
|
+
"id": "6541ccea82d8f837210e92c3",
|
|
37
|
+
"login": "openharmony_ci",
|
|
38
|
+
"name": "openharmony_ci",
|
|
39
|
+
"avatar_url": "https://cdn-img.gitcode.com/cb/be/5cb10620b4e9195576142df69cd44bb84df15d769c2a04eff5bf7324b903022c.png?time=1723462328974",
|
|
40
|
+
"html_url": "https://gitcode.com/openharmony_ci",
|
|
41
|
+
"assignee": false,
|
|
42
|
+
"code_owner": false,
|
|
43
|
+
"accept": true
|
|
44
|
+
}
|
|
45
|
+
],
|
|
46
|
+
"approval_reviewers": [],
|
|
47
|
+
"labels": [
|
|
48
|
+
{
|
|
49
|
+
"id": 13243364,
|
|
50
|
+
"color": "#428BCA",
|
|
51
|
+
"name": "dco检查成功",
|
|
52
|
+
"repository_id": 4369256,
|
|
53
|
+
"created_at": "2026-06-18T09:09:21+08:00",
|
|
54
|
+
"updated_at": "2026-08-01T10:40:25+08:00"
|
|
55
|
+
},
|
|
56
|
+
{
|
|
57
|
+
"id": 13240435,
|
|
58
|
+
"color": "#428BCA",
|
|
59
|
+
"name": "编译成功",
|
|
60
|
+
"repository_id": 4369256,
|
|
61
|
+
"created_at": "2026-06-01T17:54:35+08:00",
|
|
62
|
+
"updated_at": "2026-08-01T11:11:58+08:00"
|
|
63
|
+
},
|
|
64
|
+
{
|
|
65
|
+
"id": 13240429,
|
|
66
|
+
"color": "#428BCA",
|
|
67
|
+
"name": "静态检查成功",
|
|
68
|
+
"repository_id": 4369256,
|
|
69
|
+
"created_at": "2026-06-01T16:33:48+08:00",
|
|
70
|
+
"updated_at": "2026-08-01T11:12:38+08:00"
|
|
71
|
+
}
|
|
72
|
+
],
|
|
73
|
+
"created_at": "2026-08-01T10:39:48+08:00",
|
|
74
|
+
"updated_at": "2026-08-01T11:46:59+08:00",
|
|
75
|
+
"closed_at": "2026-08-01T11:46:59+08:00",
|
|
76
|
+
"merged_at": "2026-08-01T11:46:59+08:00",
|
|
77
|
+
"merged_by": {
|
|
78
|
+
"id": "6541ccea82d8f837210e92c3",
|
|
79
|
+
"login": "openharmony_ci",
|
|
80
|
+
"name": "openharmony_ci",
|
|
81
|
+
"avatar_url": "https://cdn-img.gitcode.com/cb/be/5cb10620b4e9195576142df69cd44bb84df15d769c2a04eff5bf7324b903022c.png?time=1723462328974",
|
|
82
|
+
"html_url": "https://gitcode.com/openharmony_ci"
|
|
83
|
+
},
|
|
84
|
+
"draft": false,
|
|
85
|
+
"can_merge_check": true,
|
|
86
|
+
"prune_branch": false,
|
|
87
|
+
"mergeable": true,
|
|
88
|
+
"user": {
|
|
89
|
+
"id": "6731f2dcbd7ba9479f2517f3",
|
|
90
|
+
"login": "zhuyongxiang",
|
|
91
|
+
"name": "zhuyongxiang",
|
|
92
|
+
"avatar_url": "https://cdn-img.gitcode.com/ea/cd/71e40acd515997b5d7074ae1a250669bb8964fbecb9a119b30536dbdf9217873.jpg",
|
|
93
|
+
"html_url": "https://gitcode.com/zhuyongxiang"
|
|
94
|
+
},
|
|
95
|
+
"head": {
|
|
96
|
+
"ref": "br_rnoh0.77",
|
|
97
|
+
"sha": "b396d1f9e40c6133e4d010d4ce25b8f42910ebba",
|
|
98
|
+
"label": "br_rnoh0.77",
|
|
99
|
+
"repo": {
|
|
100
|
+
"path": "rntpc_react-native-screens",
|
|
101
|
+
"name": "rntpc_react-native-screens",
|
|
102
|
+
"namespace": {
|
|
103
|
+
"path": "zhuyongxiang"
|
|
104
|
+
},
|
|
105
|
+
"full_name": "zhuyongxiang/rntpc_react-native-screens",
|
|
106
|
+
"html_url": "https://gitcode.com/zhuyongxiang/rntpc_react-native-screens.git"
|
|
107
|
+
},
|
|
108
|
+
"user": {
|
|
109
|
+
"id": "6731f2dcbd7ba9479f2517f3",
|
|
110
|
+
"login": "zhuyongxiang",
|
|
111
|
+
"name": "zhuyongxiang",
|
|
112
|
+
"avatar_url": "https://cdn-img.gitcode.com/ea/cd/71e40acd515997b5d7074ae1a250669bb8964fbecb9a119b30536dbdf9217873.jpg",
|
|
113
|
+
"html_url": "https://gitcode.com/zhuyongxiang"
|
|
114
|
+
}
|
|
115
|
+
},
|
|
116
|
+
"base": {
|
|
117
|
+
"ref": "br_rnoh0.77",
|
|
118
|
+
"sha": "8af7ace9cc795a5cf715168a997d3198cfb1e6d3",
|
|
119
|
+
"label": "br_rnoh0.77",
|
|
120
|
+
"repo": {
|
|
121
|
+
"path": "rntpc_react-native-screens",
|
|
122
|
+
"name": "rntpc_react-native-screens",
|
|
123
|
+
"namespace": {
|
|
124
|
+
"path": "CPF-RN"
|
|
125
|
+
},
|
|
126
|
+
"full_name": "CPF-RN/rntpc_react-native-screens",
|
|
127
|
+
"html_url": "https://gitcode.com/CPF-RN/rntpc_react-native-screens.git"
|
|
128
|
+
}
|
|
129
|
+
},
|
|
130
|
+
"mergeable_state": {
|
|
131
|
+
"merge_request_id": 8968537,
|
|
132
|
+
"state": true,
|
|
133
|
+
"status_without_user_auth": true,
|
|
134
|
+
"conflict_passed": true,
|
|
135
|
+
"branch_missing_passed": true,
|
|
136
|
+
"non_ff_passed": true,
|
|
137
|
+
"mr_state_passed": true,
|
|
138
|
+
"merged_by_user_passed": true,
|
|
139
|
+
"work_in_progress_passed": true,
|
|
140
|
+
"resolve_discussion_passed": true,
|
|
141
|
+
"ci_state_passed": true,
|
|
142
|
+
"merge_by_self_passed": true,
|
|
143
|
+
"can_force_merge": true,
|
|
144
|
+
"approval_reviewers_required_passed": true,
|
|
145
|
+
"approval_approvers_required_passed": true,
|
|
146
|
+
"approval_testers_required_passed": true,
|
|
147
|
+
"merge_request_switch": {
|
|
148
|
+
"review_mode": "approval",
|
|
149
|
+
"merge_method": "merge",
|
|
150
|
+
"only_allow_merge_if_all_discussions_are_resolved": true,
|
|
151
|
+
"disable_merge_by_self": true,
|
|
152
|
+
"only_allow_merge_if_pipeline_succeeds": false,
|
|
153
|
+
"disable_squash_merge": false,
|
|
154
|
+
"squash_merge_with_no_merge_commit": false,
|
|
155
|
+
"approval_required_reviewers_count": 0,
|
|
156
|
+
"approval_required_reviewers_branch": "*",
|
|
157
|
+
"add_notes_after_merged": true,
|
|
158
|
+
"mark_auto_merged_mr_as_closed": true,
|
|
159
|
+
"can_force_merge": true,
|
|
160
|
+
"can_reopen": true
|
|
161
|
+
},
|
|
162
|
+
"reason": {},
|
|
163
|
+
"check_tasks_num": 2,
|
|
164
|
+
"all_depend_merge_request_merged_passed": true,
|
|
165
|
+
"approval_approvers_result": 2,
|
|
166
|
+
"approval_testers_result": 2
|
|
167
|
+
},
|
|
168
|
+
"visibility_reason": "public",
|
|
169
|
+
"close_related_issue": true,
|
|
170
|
+
"squash_merge": false
|
|
171
|
+
},
|
|
172
|
+
"files": [
|
|
173
|
+
{
|
|
174
|
+
"sha": "b396d1f9e40c6133e4d010d4ce25b8f42910ebba",
|
|
175
|
+
"filename": "tester/harmony/screens/src/main/ets/components/RNSScreen.ets",
|
|
176
|
+
"additions": 6,
|
|
177
|
+
"deletions": 0,
|
|
178
|
+
"blob_id": "562388cc2f59af9a265b9d549ab8cd53675c4324",
|
|
179
|
+
"blob_url": "https://gitcode.com/CPF-RN/rntpc_react-native-screens/blob/b396d1f9e40c6133e4d010d4ce25b8f42910ebba/tester/harmony/screens/src/main/ets/components/RNSScreen.ets",
|
|
180
|
+
"raw_url": "https://raw.gitcode.com/CPF-RN/rntpc_react-native-screens/raw/b396d1f9e40c6133e4d010d4ce25b8f42910ebba/tester/harmony/screens/src/main/ets/components/RNSScreen.ets",
|
|
181
|
+
"patch": "@@ -1215,6 +1215,12 @@ export struct RNSScreen {\n .backgroundColor(this.backgroundColorValue)\n .translate({ x: this.translateXValue, y: this.translateYValue })\n .opacity(this.opacityValue)\n+ .onGestureRecognizerJudgeBegin((event: BaseGestureEvent, current: GestureRecognizer, others: Array<GestureRecognizer>): GestureJudgeResult =>{\n+ if (this.gestureEnabled && this.fullScreenSwipeEnabled && !this.isRootStackGesturePopDisallowed()) {\n+ return GestureJudgeResult.CONTINUE;\n+ }\n+ return GestureJudgeResult.REJECT;\n+ })\n .gesture(\n PanGesture({ direction: this.from?PanDirection.None:PanDirection.All })\n .onActionStart((event: GestureEvent) => {\n",
|
|
182
|
+
"target_branch": "br_rnoh0.77",
|
|
183
|
+
"source_branch": "br_rnoh0.77",
|
|
184
|
+
"source_project": {
|
|
185
|
+
"id": 7990748,
|
|
186
|
+
"full_name": "zhuyongxiang/rntpc_react-native-screens",
|
|
187
|
+
"human_name": "zhuyongxiang / rntpc_react-native-screens",
|
|
188
|
+
"path": "rntpc_react-native-screens"
|
|
189
|
+
},
|
|
190
|
+
"target_project": {
|
|
191
|
+
"id": 4369256,
|
|
192
|
+
"full_name": "CPF-RN/rntpc_react-native-screens",
|
|
193
|
+
"human_name": "CPF-RN / rntpc_react-native-screens",
|
|
194
|
+
"path": "rntpc_react-native-screens"
|
|
195
|
+
}
|
|
196
|
+
}
|
|
197
|
+
]
|
|
198
|
+
}
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
# PR #87: fix: 修复77分支原生组件手势和库冲突问题
|
|
2
|
+
|
|
3
|
+
- **状态**: merged
|
|
4
|
+
- **作者**: zhuyongxiang
|
|
5
|
+
- **创建时间**: 2026-08-01T10:39:48+08:00
|
|
6
|
+
- **分支**: br_rnoh0.77 → br_rnoh0.77
|
|
7
|
+
- **变更文件数**: 1
|
|
8
|
+
|
|
9
|
+
## PR 描述
|
|
10
|
+
|
|
11
|
+
fix: 修复77分支原生组件手势和库冲突问题
|
|
12
|
+
|
|
13
|
+
## 变更文件
|
|
14
|
+
|
|
15
|
+
| 文件 | 变更 | +行 | -行 |
|
|
16
|
+
|------|------|-----|-----|
|
|
17
|
+
| `tester/harmony/screens/src/main/ets/components/RNSScreen.ets` | ? | +6 | -0 |
|
|
18
|
+
|
|
19
|
+
## Diff
|
|
20
|
+
|
|
21
|
+
### `tester/harmony/screens/src/main/ets/components/RNSScreen.ets`
|
|
22
|
+
|
|
23
|
+
```diff
|
|
24
|
+
@@ -1215,6 +1215,12 @@ export struct RNSScreen {
|
|
25
|
+
.backgroundColor(this.backgroundColorValue)
|
|
26
|
+
.translate({ x: this.translateXValue, y: this.translateYValue })
|
|
27
|
+
.opacity(this.opacityValue)
|
|
28
|
+
+ .onGestureRecognizerJudgeBegin((event: BaseGestureEvent, current: GestureRecognizer, others: Array<GestureRecognizer>): GestureJudgeResult =>{
|
|
29
|
+
+ if (this.gestureEnabled && this.fullScreenSwipeEnabled && !this.isRootStackGesturePopDisallowed()) {
|
|
30
|
+
+ return GestureJudgeResult.CONTINUE;
|
|
31
|
+
+ }
|
|
32
|
+
+ return GestureJudgeResult.REJECT;
|
|
33
|
+
+ })
|
|
34
|
+
.gesture(
|
|
35
|
+
PanGesture({ direction: this.from?PanDirection.None:PanDirection.All })
|
|
36
|
+
.onActionStart((event: GestureEvent) => {
|
|
37
|
+
|
|
38
|
+
```
|