完成素材无限画布阶段四资源总览实时闭环
Project CI / Repository checks (pull_request) Failing after 10s
Project CI / Backend tests (pull_request) Failing after 10s
Project CI / Frontend tests (pull_request) Failing after 20s
Project CI / Native shell tests (pull_request) Successful in 12m15s

同步资源总览稳定基线并接入新增与精修入口
实现 revision 单调合并、事件去重和旧 scope 隔离
补齐依赖图、双布局协调和三阶段一次性聚焦
覆盖保存、项目切换、搜索隐藏及异步竞态测试
同步阶段四技术方案、决策记录和排障经验
This commit is contained in:
2026-08-05 16:56:06 +08:00
parent 02b16ae8ad
commit c633b1d2af
51 changed files with 4886 additions and 776 deletions
@@ -733,7 +733,14 @@ for (const snippet of [
'header[3] === 0x46',
'(stat.mode & 0o111) === 0',
'header.readUInt32BE(0)',
'machMagic === 0xcafebabe',
'machMagic === 0xbebafeca',
'machMagic === 0xcafebabf',
'machMagic === 0xbfbafeca',
'machMagic === 0xfeedface',
'machMagic === 0xcefaedfe',
'machMagic === 0xfeedfacf',
'machMagic === 0xcffaedfe',
'header[0] !== 0x4d',
'header[1] !== 0x5a',
"console.log('[check:native-shells] desktop-release-binary-artifact')",
@@ -755,6 +762,15 @@ for (const snippet of [
"'desktop'",
'fs.copyFileSync(sourcePath, stagedPath)',
'fs.chmodSync(stagedPath, sourceMode & 0o777)',
'header.readUInt32BE(0)',
'machMagic === 0xcafebabe',
'machMagic === 0xbebafeca',
'machMagic === 0xcafebabf',
'machMagic === 0xbfbafeca',
'machMagic === 0xfeedface',
'machMagic === 0xcefaedfe',
'machMagic === 0xfeedfacf',
'machMagic === 0xcffaedfe',
"console.log(`[desktop-shell:stage-release-binary] ${stagedPath}`)",
]) {
if (!stageReleaseBinarySource.includes(snippet)) {
@@ -49,9 +49,13 @@ function assertExecutable(filePath, label) {
const machMagic = header.readUInt32BE(0);
const isMachO =
machMagic === 0xcafebabe ||
machMagic === 0xcafed00d ||
machMagic === 0xbebafeca ||
machMagic === 0xcafebabf ||
machMagic === 0xbfbafeca ||
machMagic === 0xfeedface ||
machMagic === 0xfeedfacf;
machMagic === 0xcefaedfe ||
machMagic === 0xfeedfacf ||
machMagic === 0xcffaedfe;
if (!isMachO || (stat.mode & 0o111) === 0) {
throw new Error(`${label} must be an executable Mach-O file`);
}