Loading page...Загружаем страницу...正在加载页面...
AtlasRepo

Eighteen hours to close the loop

说明与用途

cidx 在 Lithair 的 CI 中,当 privileged 标志更改时错误地重用了先前的容器,导致权限错误。通过打开 issue #531 并进行后续修复,hash 包含了 privileged 标志,确保容器被重新创建。问题在十八小时内得到解决。

问题

cidx reused a previously created container when the privileged flag changed, causing permission errors during CI runs.

结果

The issue was resolved within eighteen hours, demonstrating rapid issue triage and release cadence in the open‑source ecosystem.

工作流

  • Define CI container in cidx.toml with privileged=true
  • Run CI job, container fails with permission error
  • Open cidx issue #531
  • Add privileged flag to container hash
  • Open cidx issue #532 to recreate container when user changes
  • Open cidx issue #533 to compare actual environment
  • Release cidx v3.8.0 with fixes
  • Update Lithair to use cidx v3.8.0
  • Regenerate GitHub workflow with cidx generate github

证据

cidx reuses containers from one run to the next. To decide whether the existing container is still the right one, it hashes the configuration: image, command, working directory, entrypoint, volumes, environment variables.

来源

privileged = true is right there, read three times. The container still runs as the host user.

来源

cidx#531 opened: "privileged reuses the previous container"

来源

cidx#532 recreate the container when the user it runs as changes

来源

  • 记录日期: 2026-10-04T18:10:52.282Z