Formerly KrillinAI, VideoTranslation and Dubbing Tool for 120+ Languages. Open-source AI workspace for creators, powered by Codex. Video downloader, video translation, create videos, images, audios, and edits with Agents in one place. For your Social Media like YouTube, TikTok, Instagram, etc.
TypeScript agent-skillscodex-clideskop-appdubbingimage-generationlocalizationskillsttsvideo-editingvideo-generationvideo-transcriptionvideo-translation
fix: stabilize release verification across platforms
Leggettfeddee653e8d
diff --git a/apps/daemon/src/creator/stickman/delivery-executor.ts b/apps/daemon/src/creator/stickman/delivery-executor.tsindex a131032b..97d83d7d 100644--- a/apps/daemon/src/creator/stickman/delivery-executor.ts+++ b/apps/daemon/src/creator/stickman/delivery-executor.ts@@ -191,7 +191,8 @@ async function validateSourcePath(jobRoot: string, artifact: CreatorArtifact): P);}const path = await realpath(artifact.path);- const value = relative(jobRoot, path);+ const actualJobRoot = await realpath(jobRoot);+ const value = relative(actualJobRoot, path);if (value.startsWith('..') || isAbsolute(value)) {throw new CreatorExecutorError('creator_delivery_path_escape',diff --git a/apps/daemon/src/creator/stickman/timeline-executor.ts b/apps/daemon/src/creator/stickman/timeline-executor.tsindex 5f4388a6..1653950c 100644--- a/apps/daemon/src/creator/stickman/timeline-executor.ts+++ b/apps/daemon/src/creator/stickman/timeline-executor.ts@@ -162,8 +162,9 @@ export function createStickmanTimelineExecutor(): CreatorExecutor {}async function assertInputPath(jobRoot: string, path: string): Promise<void> {+ const actualJobRoot = await realpath(jobRoot);const actual = await realpath(resolve(path));- const value = relative(jobRoot, actual);+ const value = relative(actualJobRoot, actual);if (value.startsWith('..') || isAbsolute(value)) {throw new CreatorExecutorError('creator_artifact_path_escape', `Artifact path escapes Job root: ${path}`);}diff --git a/apps/desktop/test/release-runtime-regressions.test.mjs b/apps/desktop/test/release-runtime-regressions.test.mjsindex ea8fb0f8..df484ada 100644--- a/apps/desktop/test/release-runtime-regressions.test.mjs+++ b/apps/desktop/test/release-runtime-regressions.test.mjs@@ -58,7 +58,7 @@ describe('Desktop release runtime regressions', () => {'@remotion/renderer': '4.0.473','cross-spawn': '7.0.6',fastify: '5.9.0',- sharp: '0.34.3',+ sharp: '0.35.4',yauzl: '3.4.0'});expect(runtimePackage.dependencies).not.toHaveProperty('which');diff --git a/apps/desktop/test/release-workflow.test.mjs b/apps/desktop/test/release-workflow.test.mjsindex 3cbd6ce6..3daed681 100644--- a/apps/desktop/test/release-workflow.test.mjs+++ b/apps/desktop/test/release-workflow.test.mjs@@ -18,10 +18,11 @@ describe('Desktop release workflow', () => {expect(releaseWorkflow).not.toContain('--title "KrillinAI $TAG"');});- it('runs CI on demand and for pull requests without automatic push builds', () => {+ it('runs CI on demand, for pull requests, and for master pushes', () => {expect(ciWorkflow).toContain('workflow_dispatch:');expect(ciWorkflow).toContain('pull_request:');- expect(ciWorkflow).not.toContain('\n push:');+ expect(ciWorkflow).toContain('\n push:');+ expect(ciWorkflow).toContain(' - master');expect(ciWorkflow).toContain('cancel-in-progress: true');});@@ -62,9 +63,9 @@ describe('Desktop release workflow', () => {it('reuses the successful master CI instead of repeating all tests', () => {expect(releaseWorkflow).toContain('name: 校验同一提交的 CI 已通过');expect(releaseWorkflow).toContain('--workflow ci.yml');- expect(releaseWorkflow).toContain('--event workflow_dispatch');+ expect(releaseWorkflow).toContain('--event push');expect(releaseWorkflow).toContain('--status success');- expect(releaseWorkflow).toContain('先在 master 上运行 CI');+ expect(releaseWorkflow).toContain('请等待 CI 通过');expect(releaseWorkflow).not.toContain('run: pnpm test');expect(releaseWorkflow).not.toContain('run: pnpm typecheck');expect(releaseWorkflow).not.toContain('run: pnpm build');