| event_payload |
{"ref":"refs/heads/main","befo {"ref":"refs/heads/main","before":"6c7f04cb97ab7909f083fd60c790ecda34e9b8ee","after":"e5aca81c94597d4cb18cc65fa5b0855d4333aaf6","compare_url":"https://gitea.g-hi.com/luoanwu/enterprise-platform/compare/6c7f04cb97ab7909f083fd60c790ecda34e9b8ee...e5aca81c94597d4cb18cc65fa5b0855d4333aaf6","commits":[{"id":"e5aca81c94597d4cb18cc65fa5b0855d4333aaf6","message":"Merge branch 'main' into codex/ms1-integration\n","url":"https://gitea.g-hi.com/luoanwu/enterprise-platform/commit/e5aca81c94597d4cb18cc65fa5b0855d4333aaf6","author":{"name":"juhailaoluo pro","email":"hillao@juhailaoluodeMacBook-Pro.local","username":""},"committer":{"name":"juhailaoluo pro","email":"hillao@juhailaoluodeMacBook-Pro.local","username":""},"verification":null,"timestamp":"2026-09-12T01:23:38-07:00","added":["contracts/generated/ActorContextV1.ts","contracts/generated/AppManifestV1.ts","contracts/generated/EmploymentProjectionV1.ts","contracts/generated/EmploymentScopeInvalidationProjectionV1.ts","contracts/generated/EmploymentTransferredV1.ts","contracts/generated/FactEnvelopeV1.ts","contracts/generated/PermissionCatalogV1.ts","contracts/generated/PermissionDecisionRequestV1.ts","contracts/generated/PermissionDecisionResponseV1.ts","contracts/generated/PlatformProjectCatalogV1.ts","contracts/generated/PublicFileRefV1.ts","contracts/generated/RequestContextV1.ts","contracts/generated/index.ts","contracts/generated/registry.ts","contracts/pnpm-lock.yaml","contracts/scripts/generate-types.mjs","contracts/scripts/schema-registry.mjs","contracts/src/index.ts","contracts/src/validators.ts","contracts/test/generate-types.test.mjs","contracts/test/validators.test.mjs","contracts/tsconfig.json","runtime/test/chaos/postgres-disconnect.test.ts"],"removed":[],"modified":[".github/workflows/platform.yml",".github/workflows/publish-packages.yml","CLAUDE.md","README.md","contracts/README.md","contracts/SOURCE.md","contracts/package.json","runtime/pnpm-lock.yaml","runtime/reports/agent-adapters.latest.json","runtime/reports/conformance-matrix.latest.json","runtime/reports/contract-consumers.latest.json","runtime/reports/docs-truth.latest.json","runtime/reports/dual-backend-parity.latest.json","runtime/reports/fork-readiness.latest.json","runtime/reports/governance-docs.latest.json","runtime/reports/governance-rules.latest.json","runtime/reports/governance-status.latest.json","runtime/reports/governance.latest.json","runtime/reports/migrations.latest.json","runtime/reports/naming.latest.json","runtime/reports/runtime-governance.latest.json","runtime/reports/schema-sync.latest.json","runtime/reports/statemachine-write-guard.latest.json","runtime/reports/validation-source.latest.json","runtime/test/chaos/fail-closed.test.ts","runtime/test/package.json"]},{"id":"4505ba0e62378d67855a7dbb4d9bbadc935c17b7","message":"fix(ci): build acceptance dependencies and parse colored IdP test counts\n","url":"https://gitea.g-hi.com/luoanwu/enterprise-platform/commit/4505ba0e62378d67855a7dbb4d9bbadc935c17b7","author":{"name":"juhailaoluo pro","email":"hillao@juhailaoluodeMacBook-Pro.local","username":""},"committer":{"name":"juhailaoluo pro","email":"hillao@juhailaoluodeMacBook-Pro.local","username":""},"verification":null,"timestamp":"2026-09-12T01:23:38-07:00","added":["governance/test/acceptance-build.test.mjs","governance/test/acceptance-output.test.mjs","identity/scripts/lib/test-output.mjs","runtime/scripts/lib/acceptance-build.mjs"],"removed":[],"modified":["identity/scripts/check-runtime-acceptance.mjs","runtime/scripts/check-conformance-differential.mjs"]},{"id":"0999ec81ee12d1e42691ff076236e64740316403","message":"test(chaos): PostgreSQL 断连失败关闭用例转实(开发计划 §3A T-3)\n\n- runtime/test/chaos/postgres-disconnect.test.ts:黑盒起真实 NestJS 进程(apps/api-nestjs/dist/src/main.js,与 bootstrap 同一入口),\n 三条 DB 连接串经测试内 TCP 代理转发;cut() 掐断存量连接并拒绝新连接,restore() 恢复。\n 断言:断连后 /api/health 503 且 database=down;写链 POST /api/users 5xx 且恢复后该写不存在(无部分写 / 无幽灵状态);\n 读 GET /api/users 5xx(示例域未声明降级读,不得回空列表冒充成功);无 DB 依赖的 GET /api/platform/modules 仍 200;\n 进程存活(dispatcher 轮询失败不带崩);恢复后健康回 200、新写成功、旧数据完好;子进程日志须含 DB 错误行。\n 缺 DATABASE_URL / REDIS_URL 时整组 skip(不冒充已跑);用例结束删除自建用户、SIGTERM 子进程。\n- fail-closed.test.ts 只留 NATS / OpenBao 两个 pending-dec todo(PG 已转实)。\n- platform-tests devDeps 增 api-nestjs(turbo test 依赖 ^build 先构建应用)与 @types/node。\n\n本机对已迁移库单跑:3/3 绿,boot 520ms,断连期 health=503 write=500 read=500 ops=200、进程存活。真实 DB 验收随后绑定本提交。\n\nCo-Authored-By: Claude Fable 5.1 \u003cnoreply@anthropic.com\u003e\n","url":"https://gitea.g-hi.com/luoanwu/enterprise-platform/commit/0999ec81ee12d1e42691ff076236e64740316403","author":{"name":"juhailaoluo pro","email":"hillao@juhailaoluodeMacBook-Pro.local","username":""},"committer":{"name":"juhailaoluo pro","email":"hillao@juhailaoluodeMacBook-Pro.local","username":""},"verification":null,"timestamp":"2026-09-12T01:22:57-07:00","added":["runtime/test/chaos/postgres-disconnect.test.ts"],"removed":[],"modified":["runtime/pnpm-lock.yaml","runtime/test/chaos/fail-closed.test.ts","runtime/test/package.json"]}],"total_commits":0,"head_commit":{"id":"e5aca81c94597d4cb18cc65fa5b0855d4333aaf6","message":"Merge branch 'main' into codex/ms1-integration\n","url":"https://gitea.g-hi.com/luoanwu/enterprise-platform/commit/e5aca81c94597d4cb18cc65fa5b0855d4333aaf6","author":{"name":"juhailaoluo pro","email":"hillao@juhailaoluodeMacBook-Pro.local","username":""},"committer":{"name":"juhailaoluo pro","email":"hillao@juhailaoluodeMacBook-Pro.local","username":""},"verification":null,"timestamp":"2026-09-12T01:23:38-07:00","added":["contracts/generated/ActorContextV1.ts","contracts/generated/AppManifestV1.ts","contracts/generated/EmploymentProjectionV1.ts","contracts/generated/EmploymentScopeInvalidationProjectionV1.ts","contracts/generated/EmploymentTransferredV1.ts","contracts/generated/FactEnvelopeV1.ts","contracts/generated/PermissionCatalogV1.ts","contracts/generated/PermissionDecisionRequestV1.ts","contracts/generated/PermissionDecisionResponseV1.ts","contracts/generated/PlatformProjectCatalogV1.ts","contracts/generated/PublicFileRefV1.ts","contracts/generated/RequestContextV1.ts","contracts/generated/index.ts","contracts/generated/registry.ts","contracts/pnpm-lock.yaml","contracts/scripts/generate-types.mjs","contracts/scripts/schema-registry.mjs","contracts/src/index.ts","contracts/src/validators.ts","contracts/test/generate-types.test.mjs","contracts/test/validators.test.mjs","contracts/tsconfig.json","runtime/test/chaos/postgres-disconnect.test.ts"],"removed":[],"modified":[".github/workflows/platform.yml",".github/workflows/publish-packages.yml","CLAUDE.md","README.md","contracts/README.md","contracts/SOURCE.md","contracts/package.json","runtime/pnpm-lock.yaml","runtime/reports/agent-adapters.latest.json","runtime/reports/conformance-matrix.latest.json","runtime/reports/contract-consumers.latest.json","runtime/reports/docs-truth.latest.json","runtime/reports/dual-backend-parity.latest.json","runtime/reports/fork-readiness.latest.json","runtime/reports/governance-docs.latest.json","runtime/reports/governance-rules.latest.json","runtime/reports/governance-status.latest.json","runtime/reports/governance.latest.json","runtime/reports/migrations.latest.json","runtime/reports/naming.latest.json","runtime/reports/runtime-governance.latest.json","runtime/reports/schema-sync.latest.json","runtime/reports/statemachine-write-guard.latest.json","runtime/reports/validation-source.latest.json","runtime/test/chaos/fail-closed.test.ts","runtime/test/package.json"]},"repository":{"id":116,"owner":{"id":5,"login":"luoanwu","login_name":"","source_id":0,"full_name":"","email":"law@g-hi.com","avatar_url":"https://gitea.g-hi.com/avatar/627574a890388a2aadc80ab38d22f3a0","html_url":"https://gitea.g-hi.com/luoanwu","language":"","is_admin":false,"last_login":"0001-01-01T00:00:00Z","created":"2026-01-30T16:28:30+08:00","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"public","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"luoanwu"},"name":"enterprise-platform","full_name":"luoanwu/enterprise-platform","description":"","empty":false,"private":false,"fork":false,"template":false,"mirror":false,"size":2907,"language":"","languages_url":"https://gitea.g-hi.com/api/v1/repos/luoanwu/enterprise-platform/languages","html_url":"https://gitea.g-hi.com/luoanwu/enterprise-platform","url":"https://gitea.g-hi.com/api/v1/repos/luoanwu/enterprise-platform","link":"","ssh_url":"git@gitea.g-hi.com:luoanwu/enterprise-platform.git","clone_url":"https://gitea.g-hi.com/luoanwu/enterprise-platform.git","original_url":"","website":"","stars_count":0,"forks_count":0,"watchers_count":1,"branch_count":1,"open_issues_count":0,"open_pr_counter":0,"release_counter":0,"default_branch":"main","archived":false,"created_at":"2026-09-11T07:33:25+08:00","updated_at":"2026-09-12T16:18:13+08:00","archived_at":"1970-01-01T08:00:00+08:00","permissions":{"admin":true,"push":true,"pull":true},"has_code":true,"has_issues":true,"internal_tracker":{"enable_time_tracker":true,"allow_only_contributors_to_track_time":true,"enable_issue_dependencies":true},"has_wiki":true,"has_pull_requests":true,"has_projects":true,"projects_mode":"all","has_releases":true,"has_packages":true,"has_actions":true,"ignore_whitespace_conflicts":false,"allow_merge_commits":true,"allow_rebase":true,"allow_rebase_explicit":true,"allow_squash_merge":true,"allow_fast_forward_only_merge":true,"allow_rebase_update":true,"allow_manual_merge":false,"autodetect_manual_merge":false,"default_delete_branch_after_merge":false,"default_merge_style":"merge","default_allow_maintainer_edit":true,"avatar_url":"","internal":false,"mirror_interval":"","object_format_name":"sha1","mirror_updated":"0001-01-01T00:00:00Z","topics":[],"licenses":[]},"pusher":{"id":5,"login":"luoanwu","login_name":"","source_id":0,"full_name":"","email":"5+luoanwu@noreply.localhost","avatar_url":"https://gitea.g-hi.com/avatar/627574a890388a2aadc80ab38d22f3a0","html_url":"https://gitea.g-hi.com/luoanwu","language":"","is_admin":false,"last_login":"0001-01-01T00:00:00Z","created":"2026-01-30T16:28:30+08:00","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"public","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"luoanwu"},"sender":{"id":5,"login":"luoanwu","login_name":"","source_id":0,"full_name":"","email":"5+luoanwu@noreply.localhost","avatar_url":"https://gitea.g-hi.com/avatar/627574a890388a2aadc80ab38d22f3a0","html_url":"https://gitea.g-hi.com/luoanwu","language":"","is_admin":false,"last_login":"0001-01-01T00:00:00Z","created":"2026-01-30T16:28:30+08:00","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"public","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"luoanwu"}}... |