test: add failing TDD tests for tessellation base image CI optimization#102
Closed
ottobot-ai wants to merge 1 commit into
Closed
test: add failing TDD tests for tessellation base image CI optimization#102ottobot-ai wants to merge 1 commit into
ottobot-ai wants to merge 1 commit into
Conversation
…TDD) - TessellationBaseImageTest: tests for build-tessellation-base.yml workflow, tessellation-base.Dockerfile, and e2e.yml updates - DockerWorkflowTest: tests for Docker workflow integration and GHCR publishing - PerformanceIntegrationTest: tests for CI performance improvements (≤10 min target) - Added ci module to build.sbt All tests designed to FAIL before implementation to prove TDD methodology. Covers 9 acceptance criteria from specification: - New workflow publishes tessellation-base image to GHCR - E2E time reduced from ~16 min to ≤10 min - SKIP_ASSEMBLY=true and PUBLISH=false in e2e.yml - JAR extraction via docker create + docker cp - Metagraph still built from source - Public image (no auth required) - Version tagging and trigger conditions Related: Trello card 69967833 (Pre-build tessellation/ottochain Docker images)
ottobot-ai
added a commit
that referenced
this pull request
Feb 25, 2026
Implements spec from PR #101. Reduces E2E CI time from ~16 min to ~8-10 min by pre-building tessellation GL0/GL1 JARs and using SKIP_ASSEMBLY=true. Changes: - New .github/workflows/build-tessellation-base.yml Builds tessellation assembly JARs and publishes to ghcr.io/ottobot-ai/tessellation-base:v{VERSION}. Triggers on push to paths: build.sbt, project/**, patches/, Dockerfile. Also supports manual dispatch. - New tessellation-base.Dockerfile Minimal alpine image containing only GL0/GL1 assembly JARs. ML0/CL1/DL1 (OttoChain) intentionally excluded — built per-PR from source. - Updated .github/workflows/e2e.yml Pulls pre-built base image, extracts JARs via docker create+cp to tessellation target directories, then runs just up with SKIP_ASSEMBLY=true PUBLISH=false. - Added modules/ci with TDD tests (43 tests from PR #102). File-content tests now pass (workflow/Dockerfile structure verified). Runtime tests (CI timing, actual image pull) remain in TDD red phase until image is built and pushed to GHCR. Trello: https://trello.com/c/69967833a7f71628ede9e523 Spec: PR #101 Tests: PR #102 (test/tessellation-base-image-tdd)
9 tasks
Collaborator
Author
|
Moving to feature branch |
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.
TDD Tests for Tessellation Base Image Feature
This PR adds comprehensive failing tests for the tessellation base image CI optimization feature (Trello #69967833).
Test Coverage
TessellationBaseImageTest.scala:
DockerWorkflowTest.scala:
PerformanceIntegrationTest.scala:
Expected Behavior
✅ All tests should FAIL until the feature is implemented
✅ Tests compile successfully
✅ No regressions to existing test suites
Implementation Guidance
These tests define the acceptance criteria from the specification:
Next Steps
Related: Trello Card #69967833