OSS 写入显式使用 v1 签名
Project CI / AI game creator shell Rust shard 1/4 (push) Failing after 18s
Project CI / AI game creator shell Rust shard 4/4 (push) Failing after 18s
Project CI / AI game creator shell Rust shard 2/4 (push) Failing after 19s
Project CI / AI game creator shell Rust shard 3/4 (push) Failing after 19s
Project CI / AI game creator shell Rust crates (push) Failing after 18s
Project CI / Native shell tests (push) Failing after 18s
Project CI / Backend tests (push) Failing after 18s
Project CI / AI game creator shell Rust smoke (push) Failing after 19s
Project CI / Frontend tests (push) Failing after 7s
Project CI / AI game creator shell web tests (push) Failing after 11s
Project CI / Repository checks (push) Failing after 11s
Project CI / AI game creator shell Rust shard 1/4 (push) Failing after 18s
Project CI / AI game creator shell Rust shard 4/4 (push) Failing after 18s
Project CI / AI game creator shell Rust shard 2/4 (push) Failing after 19s
Project CI / AI game creator shell Rust shard 3/4 (push) Failing after 19s
Project CI / AI game creator shell Rust crates (push) Failing after 18s
Project CI / Native shell tests (push) Failing after 18s
Project CI / Backend tests (push) Failing after 18s
Project CI / AI game creator shell Rust smoke (push) Failing after 19s
Project CI / Frontend tests (push) Failing after 7s
Project CI / AI game creator shell web tests (push) Failing after 11s
Project CI / Repository checks (push) Failing after 11s
ossutil v2 默认 v4 签名,缺 region 会直接失败\n总号写入与回读统一走 buildOssutilArgs,默认 --sign-version v1,可切 v4 并配合 AGC_OSS_REGION\n补充参数构造单测
This commit is contained in:
@@ -22,6 +22,13 @@ describe('appPageRoutes', () => {
|
||||
expect(resolveSelectionStageFromPath('/EDITOR/CANVAS/')).toBe(
|
||||
'image-editor',
|
||||
);
|
||||
expect(resolveSelectionStageFromPath('/games')).toBe('games');
|
||||
expect(resolveSelectionStageFromPath('/games/detail/')).toBe('game-detail');
|
||||
expect(resolveSelectionStageFromPath('/games/play')).toBe('game-play');
|
||||
expect(resolveSelectionStageFromPath('/games/mine')).toBe('game-mine');
|
||||
expect(resolveSelectionStageFromPath('/games/publish')).toBe(
|
||||
'game-publish',
|
||||
);
|
||||
expect(resolveSelectionStageFromPath('/creation/rpg')).toBe('platform');
|
||||
expect(resolveSelectionStageFromPath('/runtime/puzzle')).toBe('platform');
|
||||
expect(isKnownMainAppPagePath('/creation')).toBe(true);
|
||||
@@ -31,6 +38,9 @@ describe('appPageRoutes', () => {
|
||||
expect(resolvePathForSelectionStage('creation-home')).toBe('/creation');
|
||||
expect(resolvePathForSelectionStage('project')).toBe('/project');
|
||||
expect(resolvePathForSelectionStage('profile')).toBe('/profile');
|
||||
expect(resolvePathForSelectionStage('games')).toBe('/games');
|
||||
expect(resolvePathForSelectionStage('game-mine')).toBe('/games/mine');
|
||||
expect(resolvePathForSelectionStage('game-publish')).toBe('/games/publish');
|
||||
});
|
||||
|
||||
it('requires a project id for direct editor navigation', () => {
|
||||
|
||||
@@ -9,6 +9,11 @@ const STAGE_ROUTE_ENTRIES = [
|
||||
['project', '/project'],
|
||||
['profile', '/profile'],
|
||||
['image-editor', '/editor/canvas'],
|
||||
['games', '/games'],
|
||||
['game-detail', '/games/detail'],
|
||||
['game-play', '/games/play'],
|
||||
['game-mine', '/games/mine'],
|
||||
['game-publish', '/games/publish'],
|
||||
] as const satisfies readonly (readonly [SelectionStage, string])[];
|
||||
|
||||
export const APP_STAGE_ROUTES: Record<SelectionStage, string> =
|
||||
|
||||
Reference in New Issue
Block a user