修复 AGC release 渠道 macOS 发布门禁被环境渠道带挂 #537
Closed
suzmii
wants to merge 1 commits from
fix/agc-release-gate-channel into master
pull from: fix/agc-release-gate-channel
merge into: GenarrativeAI:master
GenarrativeAI:master
GenarrativeAI:codex/game-rating-review
GenarrativeAI:opt/admin-sort-project
GenarrativeAI:fix/agc-rust-staging-idempotency
GenarrativeAI:refactor/remove-toolcall.jsonl-legacy
GenarrativeAI:feat/ui-editor-model-override
GenarrativeAI:fix/dev-loopback-token-trust
GenarrativeAI:feat/tribo3d-integeration
GenarrativeAI:opt/test-compile-warning
GenarrativeAI:fix/api-timeout
GenarrativeAI:codex/admin-gray-game-publish
GenarrativeAI:codex/remove-agc-codex-restrictions
GenarrativeAI:feat/gptimage2to2.5
GenarrativeAI:backup/agc-macos-dualarch-node-runtime
GenarrativeAI:feat/Crt_Ws
GenarrativeAI:codex/preview-llm-router-config
GenarrativeAI:fix/stroke-width-regression-from-285
GenarrativeAI:agent-organize
GenarrativeAI:feat/game-agent-canvas-resource-workbench-v2
GenarrativeAI:feat/agc-new-workflow
GenarrativeAI:fix/agc-release-version-sync
GenarrativeAI:codex/shared-components-followup
GenarrativeAI:codex/game-agent-runtime-interaction-design
GenarrativeAI:feat/spine-sequence-export-v2
GenarrativeAI:codex/game-agent-run
GenarrativeAI:codex/ui-spritesheet-durable-transaction-latest
GenarrativeAI:feat/art-agent-more-tools
GenarrativeAI:codex/editor-canvas-null-source-repair
GenarrativeAI:hotfix/editor-layout-2mib
GenarrativeAI:codex/showcase
No Reviewers
Labels
Clear labels
Compat/Breaking
Kind/Bug
Kind/Documentation
Kind/Enhancement
Kind/Feature
Kind/Security
Kind/Testing
Breaking change that won't be backward compatible
Something is not working
Documentation changes
Improve existing functionality
New functionality
This is security issue
Issue or pull request related to testing
Priority
Critical
1
The priority is critical
Priority
High
2
The priority is high
Priority
Low
4
The priority is low
Priority
Medium
3
The priority is medium
Reviewed
Confirmed
1
Issue has been confirmed
Reviewed
Duplicate
2
This issue or pull request already exists
Reviewed
Invalid
3
Invalid issue
Reviewed
Won't Fix
3
This issue won't be fixed
Status
Abandoned
3
Somebody has started to work on this but abandoned work
Status
Blocked
1
Something is blocking this issue or pull request
Status
Need More Info
2
Feedback is required to reproduce issue or to continue work
No Label
Milestone
No items
No Milestone
Projects
Clear projects
No project
No Assignees
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: GenarrativeAI/Genarrative#537
Reference in New Issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Delete Branch "fix/agc-release-gate-channel"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
背景
release-mac自 2026-09-24 起没有新版本。除 macOS 构建节点离线 5 天外,release 渠道的 macOS 发布在 Tauri 构建前的node --test门禁必挂(见 #536)。改动
apps/ai-game-creator-shell/scripts/build-release.test.mjs:release stages Node before Tauri and injects its resource mapping only for bundles的渠道读取改用withEnv({ AGC_UPDATE_CHANNEL: undefined })隔离,让断言落在默认渠道身份上;非默认渠道不注入钩子的边界仍由「dev 渠道的 Windows 包注入改名迁移钩子,其它渠道与目标不注入」覆盖。docs/project-memory/shared-memory/pitfalls.md:补记该形态第二次复发与现行隔离口径。验证
7b04830a0+npm ci环境:AGC_UPDATE_CHANNEL=release node --test build-release.test.mjs cargo-features.test.mjs→# pass 43 # fail 1(Cannot read properties of undefined (reading 'nsis'))。AGC_UPDATE_CHANNEL=release/=dev/ 未设置 → 三态均 44/44。npx prettier --check、npm run check:encoding(5130 文件)、check:doc-index(207 份)、git diff --check通过。lint-staged(eslint + prettier)通过。影响范围
只改测试与共享记忆;不动生产脚本、Jenkinsfile 与发布产物。
后续(不在本 PR 内)
本 PR 只固定了这一条用例的输入,属于症状层修复;门禁设计本身的问题(唯一执行点在 mac 线、输入被渠道参数污染、跨平台失败半径错位)记录在 #542,需要按设计层方案另做,本 PR 不作为其解法。
关联:#536(事故本身尚未结案:还欠一次带 Jenkins 凭据的 release 补发与节点可用性加固)、#542(设计层)。
suzmii referenced this pull request2026-09-30 11:51:47 +08:00
suzmii referenced this pull request2026-09-30 12:06:00 +08:00
已被 master 覆盖,关闭本 PR。
39823b05c(修复 Jenkins release 渠道测试环境污染)用等价方式修掉:把该用例的渠道显式固定为 dev(resolveReleaseContext(['--target', windowsTarget], { AGC_UPDATE_CHANNEL: 'dev' }));同时/随后落地的b7862288(移除 AGC 正式渠道产品名后缀)重写了同段断言。apps/ai-game-creator-shell/scripts/build-release.test.mjs上内容冲突(Giteamergeable: false),改动已被覆盖,没有剩余价值。npm ci):五个门禁文件在AGC_UPDATE_CHANNEL=release下 62/62 通过,dev 对照 44/44 —— release 那条线的门禁已解封。Pull request closed