Skip to content

强化容器构建与 Agent 健康检查 - #22

Merged
4evour merged 1 commit into
mainfrom
codex/pr-docker-agent-health
Aug 22, 2026
Merged

强化容器构建与 Agent 健康检查#22
4evour merged 1 commit into
mainfrom
codex/pr-docker-agent-health

Conversation

@4evour

@4evour 4evour commented Aug 21, 2026

Copy link
Copy Markdown
Owner

迁移内容

  • Agent 模块导入失败时直接终止镜像构建,不再用成功兜底掩盖错误
  • 容器健康检查同时验证 C++ API 与 Python Agent
  • 增加 Dockerfile 源码契约回归测试

验证

  • node tests/test_reviewed_docker_contracts.js
  • docker build -t tour-pass:pr-docker-health-audit .
  • 容器状态:healthy
  • node scripts/container_smoke.js http://127.0.0.1:8162(Agent v2.0.0、9588 个 POI、1758 条边、5 个候选方案)
  • node scripts/verify_ui.js http://127.0.0.1:8162/(长沙、2 天、4 个站点、5 个侧栏入口)
  • git diff --check

依赖关系

这是第 5 个堆叠 PR,基于前端竞态 PR #21。请按 #18#19#20#21 → 本 PR 的顺序合并;前序合并后将本 PR 的目标分支改回 main。

已知事项

Linux 编译仍显示仓库既有的未使用函数、多字节字符和日期格式化警告,本 PR 未扩大到这些无关问题。

@coderabbitai

coderabbitai Bot commented Aug 21, 2026

Copy link
Copy Markdown

Warning

Review limit reached

@4evour, you've reached your PR review limit, so we couldn't start this review.

Next review available in: 27 minutes

Limit details: You’ve used the included review currently available.

You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository.

How can I continue?

Wait for the limit to reset, then comment @coderabbitai review or push new commits to the PR.

An organization admin can change what happens after included review limits in Billing.

How do review limits work?

CodeRabbit enforces per-developer PR review limits within each organization.

For paid Pro and Pro+ reviews, CodeRabbit uses a developer's included PR review attempts over the past 7 days to set the current hourly allowance. At typical activity levels, the full plan allowance applies. Higher sustained activity can lower the allowance until earlier attempts leave the 7-day window.

Please refer docs for additional details.

Review details
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro Plus

Run ID: c83fb08d-0b24-4510-aa40-33f6ad7d6c93

📥 Commits

Reviewing files that changed from the base of the PR and between d6b83c0 and 1bfba6b.

📒 Files selected for processing (3)
  • CHANGELOG.md
  • Dockerfile
  • tests/test_reviewed_docker_contracts.js

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@4evour
4evour force-pushed the codex/pr-frontend-race-fixes branch from bd1f901 to 7640406 Compare August 22, 2026 10:12
@4evour
4evour force-pushed the codex/pr-docker-agent-health branch from 31c5b80 to 1bfba6b Compare August 22, 2026 10:12
@4evour
4evour changed the base branch from codex/pr-frontend-race-fixes to main August 22, 2026 10:22
@4evour
4evour marked this pull request as ready for review August 22, 2026 10:22
@4evour
4evour merged commit 6ba74cd into main Aug 22, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant