Repository navigation
test(headless): 用同一命令验收原生 Docker 成品 / qualify native Docker deployments with one command - #25
Draft
Facetomyself wants to merge 3 commits into
Draft
Facetomyself wants to merge 3 commits into
Facetomyself wants to merge 3 commits into
Conversation
added 3 commits
November 27, 2026 18:39
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
基于本 fork 的 #24。只改验收程序、测试、说明和 CI;没有增加产品功能、依赖、宿主权限或默认挂载。目的是让现有原生 amd64 测试机也能直接跑与 CI 相同的检查,不以某一次 GitHub Actions 触发为前提。
一条命令
在干净的 Git 检出、原生 x86-64 Linux、Node 22+、本地 Docker Engine 和 Compose 上运行:
加
--preflight只读检查环境,不会签发容器回执。使用说明与通过标准。程序从 Git 的固定提交导出所需文件、使用随机 Compose 项目和回环端口;核对映射、镜像内容 ID、健康状态、非 root、能力、挂载与资源归属。只有三段真实容器操作和专属资源清理均成功才输出脱敏 JSON;CI 只上传成功回执,不保存令牌、Cookie 或文档文本。stopped终态及持久化部分回复均吻合才通过。这次实际测到了什么
fb6c68c的 91/91 测试通过,零跳过。三个独立服务进程运行与容器中相同的探针,第二个使用内核真实的只读单文件挂载,第三个撤去授权。三段实际读回的会话消息数是 4 → 6 → 8;宿主 HTTP 登录亦验证了旧 Cookie 随重启失效。config省略create_host_path: false;Compose 5.7.0 则省略true。新版在启动前只做一次显式 true/false 的反向配置对照,决不运行该 true 变体。两个真实 CLI 均通过该门禁,渲染未连接 Docker 引擎。native_linux_amd64_required退出 1,标准输出为空。上面的服务、内核和配置测试不替代成品镜像实跑。