DEVX-159: Fix build_image push-first strategy + remove cross-repo tests #295

Merged
kireto merged 1 commits from DEVX-159-fix-push-first-strategy into master 2026-08-26 07:46:36 +00:00
Owner

Summary

Two fixes:

  1. build_image.py push-first strategy: The push_image function deleted the existing manifest before pushing (Gitea #31964 workaround). When push failed for other reasons (HTTP 500), the old tag was lost, breaking all CI jobs using that image. Now tries push first, only deletes+retries on "already exists" error.

  2. Remove cross-repo contract tests: devx tests were validating infra, grm, sso-bridge, and mattermost-oidc files. This is an architecture violation — devx must not be aware of other repos. Tests now only validate devx's own workflows and skills.

Closes DEVX-159

## Summary Two fixes: 1. **build_image.py push-first strategy**: The `push_image` function deleted the existing manifest before pushing (Gitea #31964 workaround). When push failed for other reasons (HTTP 500), the old tag was lost, breaking all CI jobs using that image. Now tries push first, only deletes+retries on "already exists" error. 2. **Remove cross-repo contract tests**: devx tests were validating infra, grm, sso-bridge, and mattermost-oidc files. This is an architecture violation — devx must not be aware of other repos. Tests now only validate devx's own workflows and skills. Closes DEVX-159
kireto approved these changes 2026-08-26 07:25:46 +00:00
kireto left a comment
Member

LGTM — push-first strategy + architecture fix.

LGTM — push-first strategy + architecture fix.
emil added 1 commit 2026-08-26 07:44:58 +00:00
fix: push-first strategy in build_image to avoid losing latest tag
CI / validate (pull_request) Successful in 1m14s
CI / auto-merge (pull_request) Successful in 19s
9d7b01a468
The push_image function deleted the existing manifest before pushing
(Gitea #31964 workaround). When push failed for other reasons (HTTP
500), the old tag was lost, breaking all CI jobs using that image.

Now tries push first, only deletes+retries on "already exists" error.

Closes DEVX-159

Generated with [Devin](https://devin.ai)

Co-Authored-By: Devin <158243242+devin-ai-integration[bot]@users.noreply.github.com>
emil force-pushed DEVX-159-fix-push-first-strategy from b9bc97be63 to 9d7b01a468 2026-08-26 07:44:58 +00:00 Compare
kireto merged commit 816f27ed7a into master 2026-08-26 07:46:36 +00:00
kireto deleted branch DEVX-159-fix-push-first-strategy 2026-08-26 07:46:37 +00:00
Sign in to join this conversation.