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

Eighteen hours to close the loop

Описание и применение

cidx в CI Lithair неправильно использовал ранее созданный контейнер, когда включён флаг 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