From 64fe91e6fbf24aded579a466b2bf4c87fcdc706e Mon Sep 17 00:00:00 2001 From: Biniam Date: Sat, 25 Apr 2026 08:59:42 -0400 Subject: [PATCH 1/4] [DOCKER SEEDING] Add Docker config and run scripts --- .helix/Dockerfile.helix | 19 +++++++++++++++++++ .helix/metadata.json | 1 + .helix/run-tests-eval.sh | 12 ++++++++++++ 3 files changed, 32 insertions(+) create mode 100644 .helix/Dockerfile.helix create mode 100644 .helix/metadata.json create mode 100644 .helix/run-tests-eval.sh diff --git a/.helix/Dockerfile.helix b/.helix/Dockerfile.helix new file mode 100644 index 0000000000..1e51906aa0 --- /dev/null +++ b/.helix/Dockerfile.helix @@ -0,0 +1,19 @@ +FROM python:3.14-slim + +WORKDIR /workspace + +RUN apt-get update && apt-get install -y --no-install-recommends \ + git \ + ca-certificates \ + curl \ + && rm -rf /var/lib/apt/lists/* + +RUN git config --unset-all http.https://github.com/.extraheader || true + +RUN python -m pip install --no-cache-dir "poetry==2.1.3" && \ + poetry config virtualenvs.create false + +COPY . /workspace + +RUN poetry lock --no-interaction --no-ansi +RUN poetry install --no-interaction --no-ansi diff --git a/.helix/metadata.json b/.helix/metadata.json new file mode 100644 index 0000000000..97b508df8b --- /dev/null +++ b/.helix/metadata.json @@ -0,0 +1 @@ +[{"instance_id":"handshake","task_title":"handshake","problem_statement":"","hints":"","repo":"handshake","repo_path_or_url":"handshake","FAIL_TO_PASS":"","PASS_TO_PASS":"","language":"handshake","docker_file":"handshake","run_script":"handshake","task_type":"handshake","task_category":"handshake","repo_category":"handshake","version":"handshake","container_mem":"handshake","container_memswap":"handshake","container_network_needed":"handshake"}] diff --git a/.helix/run-tests-eval.sh b/.helix/run-tests-eval.sh new file mode 100644 index 0000000000..71d099502e --- /dev/null +++ b/.helix/run-tests-eval.sh @@ -0,0 +1,12 @@ +#!/usr/bin/env bash +set -euo pipefail + +cd "$(dirname "$0")/.." + +if [ $# -eq 0 ]; then + pytest + exit 0 +fi + +IFS=',' read -r -a files <<< "$1" +pytest "${files[@]}" From d13b7dfa8719773cd7e62d15188ecca7f77eb038 Mon Sep 17 00:00:00 2001 From: Biniam Date: Sat, 25 Apr 2026 09:01:56 -0400 Subject: [PATCH 2/4] Revert "[DOCKER SEEDING] Add Docker config and run scripts" This reverts commit 64fe91e6fbf24aded579a466b2bf4c87fcdc706e. --- .helix/Dockerfile.helix | 19 ------------------- .helix/metadata.json | 1 - .helix/run-tests-eval.sh | 12 ------------ 3 files changed, 32 deletions(-) delete mode 100644 .helix/Dockerfile.helix delete mode 100644 .helix/metadata.json delete mode 100644 .helix/run-tests-eval.sh diff --git a/.helix/Dockerfile.helix b/.helix/Dockerfile.helix deleted file mode 100644 index 1e51906aa0..0000000000 --- a/.helix/Dockerfile.helix +++ /dev/null @@ -1,19 +0,0 @@ -FROM python:3.14-slim - -WORKDIR /workspace - -RUN apt-get update && apt-get install -y --no-install-recommends \ - git \ - ca-certificates \ - curl \ - && rm -rf /var/lib/apt/lists/* - -RUN git config --unset-all http.https://github.com/.extraheader || true - -RUN python -m pip install --no-cache-dir "poetry==2.1.3" && \ - poetry config virtualenvs.create false - -COPY . /workspace - -RUN poetry lock --no-interaction --no-ansi -RUN poetry install --no-interaction --no-ansi diff --git a/.helix/metadata.json b/.helix/metadata.json deleted file mode 100644 index 97b508df8b..0000000000 --- a/.helix/metadata.json +++ /dev/null @@ -1 +0,0 @@ -[{"instance_id":"handshake","task_title":"handshake","problem_statement":"","hints":"","repo":"handshake","repo_path_or_url":"handshake","FAIL_TO_PASS":"","PASS_TO_PASS":"","language":"handshake","docker_file":"handshake","run_script":"handshake","task_type":"handshake","task_category":"handshake","repo_category":"handshake","version":"handshake","container_mem":"handshake","container_memswap":"handshake","container_network_needed":"handshake"}] diff --git a/.helix/run-tests-eval.sh b/.helix/run-tests-eval.sh deleted file mode 100644 index 71d099502e..0000000000 --- a/.helix/run-tests-eval.sh +++ /dev/null @@ -1,12 +0,0 @@ -#!/usr/bin/env bash -set -euo pipefail - -cd "$(dirname "$0")/.." - -if [ $# -eq 0 ]; then - pytest - exit 0 -fi - -IFS=',' read -r -a files <<< "$1" -pytest "${files[@]}" From 9b5a8e7413996c5cb678602b42cad1a3dd570237 Mon Sep 17 00:00:00 2001 From: Biniam Date: Sat, 25 Apr 2026 09:03:59 -0400 Subject: [PATCH 3/4] [DOCKER SEEDING] Add Docker config and run scripts --- .helix/Dockerfile.helix | 19 +++++++++++++++++++ .helix/metadata.json | 1 + .helix/run-tests-eval.sh | 12 ++++++++++++ 3 files changed, 32 insertions(+) create mode 100644 .helix/Dockerfile.helix create mode 100644 .helix/metadata.json create mode 100644 .helix/run-tests-eval.sh diff --git a/.helix/Dockerfile.helix b/.helix/Dockerfile.helix new file mode 100644 index 0000000000..1e51906aa0 --- /dev/null +++ b/.helix/Dockerfile.helix @@ -0,0 +1,19 @@ +FROM python:3.14-slim + +WORKDIR /workspace + +RUN apt-get update && apt-get install -y --no-install-recommends \ + git \ + ca-certificates \ + curl \ + && rm -rf /var/lib/apt/lists/* + +RUN git config --unset-all http.https://github.com/.extraheader || true + +RUN python -m pip install --no-cache-dir "poetry==2.1.3" && \ + poetry config virtualenvs.create false + +COPY . /workspace + +RUN poetry lock --no-interaction --no-ansi +RUN poetry install --no-interaction --no-ansi diff --git a/.helix/metadata.json b/.helix/metadata.json new file mode 100644 index 0000000000..97b508df8b --- /dev/null +++ b/.helix/metadata.json @@ -0,0 +1 @@ +[{"instance_id":"handshake","task_title":"handshake","problem_statement":"","hints":"","repo":"handshake","repo_path_or_url":"handshake","FAIL_TO_PASS":"","PASS_TO_PASS":"","language":"handshake","docker_file":"handshake","run_script":"handshake","task_type":"handshake","task_category":"handshake","repo_category":"handshake","version":"handshake","container_mem":"handshake","container_memswap":"handshake","container_network_needed":"handshake"}] diff --git a/.helix/run-tests-eval.sh b/.helix/run-tests-eval.sh new file mode 100644 index 0000000000..71d099502e --- /dev/null +++ b/.helix/run-tests-eval.sh @@ -0,0 +1,12 @@ +#!/usr/bin/env bash +set -euo pipefail + +cd "$(dirname "$0")/.." + +if [ $# -eq 0 ]; then + pytest + exit 0 +fi + +IFS=',' read -r -a files <<< "$1" +pytest "${files[@]}" From ca1f8ece915883bded6fb1b7c7570e6fc43f5086 Mon Sep 17 00:00:00 2001 From: Biniam Date: Sat, 25 Apr 2026 09:13:08 -0400 Subject: [PATCH 4/4] [DOCKER SEEDING] yaml --- .github/workflows/helix-validation.yml | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 .github/workflows/helix-validation.yml diff --git a/.github/workflows/helix-validation.yml b/.github/workflows/helix-validation.yml new file mode 100644 index 0000000000..d37fa4a748 --- /dev/null +++ b/.github/workflows/helix-validation.yml @@ -0,0 +1,13 @@ +name: Helix Validation + +on: + pull_request: + workflow_dispatch: + +jobs: + validate: + if: github.event_name == 'workflow_dispatch' || + (github.base_ref == github.event.repository.default_branch && + github.head_ref == 'docker-golden-solution') + uses: handshake-coding/handshake-orchestration/.github/workflows/helix-validation.yml@main + secrets: inherit