Datasets:
commit (part 105)
Browse filesThis view is limited to 50 files because it contains too many changes. See raw diff
- .gitattributes +7 -0
- ricoberger--vault-secrets-operator.64391df/tests/blobs/tests/generated_module_04.tar.gz +3 -0
- ricoberger--vault-secrets-operator.64391df/tests/blobs/tests/generated_module_05.tar.gz +3 -0
- ricoberger--vault-secrets-operator.64391df/tests/blobs/tests/generated_module_06.tar.gz +3 -0
- ricoberger--vault-secrets-operator.64391df/tests/docker-compose.yaml +22 -0
- ricoberger--vault-secrets-operator.64391df/tests/download.sh +656 -0
- ricoberger--vault-secrets-operator.64391df/tests/executable +3 -0
- ricoberger--vault-secrets-operator.64391df/tests/harbor_configure_apt_mirror.sh +37 -0
- ricoberger--vault-secrets-operator.64391df/tests/harbor_configure_java_mirrors.sh +50 -0
- ricoberger--vault-secrets-operator.64391df/tests/harbor_prepare_download_env.sh +44 -0
- ricoberger--vault-secrets-operator.64391df/tests/programgym-go.tar.gz +3 -0
- ricoberger--vault-secrets-operator.64391df/tests/programgym_evaluator.py +1201 -0
- ricoberger--vault-secrets-operator.64391df/tests/programgym_task.json +446 -0
- ricoberger--vault-secrets-operator.64391df/tests/test.sh +82 -0
- ricoberger--vault-secrets-operator.64391df/tests/workspace.tar.gz +3 -0
- riza--linx.0447a72/environment/Dockerfile +1 -0
- riza--linx.0447a72/tests/Dockerfile +1 -0
- rjeczalik--interfaces.4586dff/environment/Dockerfile +1 -0
- rjeczalik--interfaces.4586dff/tests/Dockerfile +1 -0
- rkoval--alfred-aws-console-services-workflow.4f0e46d/environment/Dockerfile +98 -0
- rkoval--alfred-aws-console-services-workflow.4f0e46d/environment/docker-compose.yaml +22 -0
- rkoval--alfred-aws-console-services-workflow.4f0e46d/environment/download.sh +324 -0
- rkoval--alfred-aws-console-services-workflow.4f0e46d/environment/executable +3 -0
- rkoval--alfred-aws-console-services-workflow.4f0e46d/environment/harbor_configure_apt_mirror.sh +37 -0
- rkoval--alfred-aws-console-services-workflow.4f0e46d/environment/harbor_configure_java_mirrors.sh +50 -0
- rkoval--alfred-aws-console-services-workflow.4f0e46d/environment/harbor_prepare_download_env.sh +44 -0
- rkoval--alfred-aws-console-services-workflow.4f0e46d/environment/programgym-go.tar.gz +3 -0
- rkoval--alfred-aws-console-services-workflow.4f0e46d/environment/workspace.tar.gz +3 -0
- rkoval--alfred-aws-console-services-workflow.4f0e46d/instruction.md +98 -0
- rkoval--alfred-aws-console-services-workflow.4f0e46d/solution/solve.sh +33 -0
- rkoval--alfred-aws-console-services-workflow.4f0e46d/task.toml +69 -0
- rkoval--alfred-aws-console-services-workflow.4f0e46d/tests/Dockerfile +112 -0
- rkoval--alfred-aws-console-services-workflow.4f0e46d/tests/blobs/tests/generated_module_01.tar.gz +3 -0
- rkoval--alfred-aws-console-services-workflow.4f0e46d/tests/blobs/tests/generated_module_02.tar.gz +3 -0
- rkoval--alfred-aws-console-services-workflow.4f0e46d/tests/blobs/tests/generated_module_03.tar.gz +3 -0
- rkoval--alfred-aws-console-services-workflow.4f0e46d/tests/blobs/tests/generated_module_04.tar.gz +3 -0
- rkoval--alfred-aws-console-services-workflow.4f0e46d/tests/blobs/tests/generated_module_05.tar.gz +3 -0
- rkoval--alfred-aws-console-services-workflow.4f0e46d/tests/blobs/tests/generated_module_06.tar.gz +3 -0
- rkoval--alfred-aws-console-services-workflow.4f0e46d/tests/blobs/tests/generated_upstream.tar.gz +3 -0
- rkoval--alfred-aws-console-services-workflow.4f0e46d/tests/docker-compose.yaml +22 -0
- rkoval--alfred-aws-console-services-workflow.4f0e46d/tests/download.sh +324 -0
- rkoval--alfred-aws-console-services-workflow.4f0e46d/tests/executable +3 -0
- rkoval--alfred-aws-console-services-workflow.4f0e46d/tests/harbor_configure_apt_mirror.sh +37 -0
- rkoval--alfred-aws-console-services-workflow.4f0e46d/tests/harbor_configure_java_mirrors.sh +50 -0
- rkoval--alfred-aws-console-services-workflow.4f0e46d/tests/harbor_prepare_download_env.sh +44 -0
- rkoval--alfred-aws-console-services-workflow.4f0e46d/tests/programgym-go.tar.gz +3 -0
- rkoval--alfred-aws-console-services-workflow.4f0e46d/tests/programgym_evaluator.py +1201 -0
- rkoval--alfred-aws-console-services-workflow.4f0e46d/tests/programgym_task.json +951 -0
- rkoval--alfred-aws-console-services-workflow.4f0e46d/tests/test.sh +82 -0
- rkoval--alfred-aws-console-services-workflow.4f0e46d/tests/workspace.tar.gz +3 -0
.gitattributes
CHANGED
|
@@ -3605,3 +3605,10 @@ redcode-labs--snowcrash.32e62f9/tests/executable filter=lfs diff=lfs merge=lfs -
|
|
| 3605 |
remotemobprogramming--mob.6efd2d0/environment/executable filter=lfs diff=lfs merge=lfs -text
|
| 3606 |
remotemobprogramming--mob.6efd2d0/tests/executable filter=lfs diff=lfs merge=lfs -text
|
| 3607 |
ricoberger--vault-secrets-operator.64391df/environment/executable filter=lfs diff=lfs merge=lfs -text
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 3605 |
remotemobprogramming--mob.6efd2d0/environment/executable filter=lfs diff=lfs merge=lfs -text
|
| 3606 |
remotemobprogramming--mob.6efd2d0/tests/executable filter=lfs diff=lfs merge=lfs -text
|
| 3607 |
ricoberger--vault-secrets-operator.64391df/environment/executable filter=lfs diff=lfs merge=lfs -text
|
| 3608 |
+
ricoberger--vault-secrets-operator.64391df/tests/executable filter=lfs diff=lfs merge=lfs -text
|
| 3609 |
+
rkoval--alfred-aws-console-services-workflow.4f0e46d/environment/executable filter=lfs diff=lfs merge=lfs -text
|
| 3610 |
+
rkoval--alfred-aws-console-services-workflow.4f0e46d/tests/executable filter=lfs diff=lfs merge=lfs -text
|
| 3611 |
+
roblaszczak--go-cleanarch.03b9605/environment/executable filter=lfs diff=lfs merge=lfs -text
|
| 3612 |
+
roblaszczak--go-cleanarch.03b9605/tests/executable filter=lfs diff=lfs merge=lfs -text
|
| 3613 |
+
rogersce--cnpy.4e8810b/environment/executable filter=lfs diff=lfs merge=lfs -text
|
| 3614 |
+
rogersce--cnpy.4e8810b/tests/executable filter=lfs diff=lfs merge=lfs -text
|
ricoberger--vault-secrets-operator.64391df/tests/blobs/tests/generated_module_04.tar.gz
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:82066f7afcbec8c8bc5404b7fa3e4c0f437e5a8a9c6a187e185806cf4c0aa197
|
| 3 |
+
size 8895
|
ricoberger--vault-secrets-operator.64391df/tests/blobs/tests/generated_module_05.tar.gz
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:7b740f9aba70d6e52e6ab1e1673a2bcbbfc74a1f507be2945856c3e3b97add73
|
| 3 |
+
size 17282
|
ricoberger--vault-secrets-operator.64391df/tests/blobs/tests/generated_module_06.tar.gz
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:3419f33c47ba960df975ae7d537dea8a403fc3c3f0fbdeb8f1920667e7321c87
|
| 3 |
+
size 11909
|
ricoberger--vault-secrets-operator.64391df/tests/docker-compose.yaml
ADDED
|
@@ -0,0 +1,22 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
services:
|
| 2 |
+
main:
|
| 3 |
+
build:
|
| 4 |
+
args:
|
| 5 |
+
PROGRAMGYM_APT_REPOSITORY_BASE_URL: ${PROGRAMGYM_APT_REPOSITORY_BASE_URL:-}
|
| 6 |
+
PROGRAMGYM_GOPROXY: ${PROGRAMGYM_GOPROXY:-https://proxy.golang.org,direct}
|
| 7 |
+
PROGRAMGYM_GOSUMDB: ${PROGRAMGYM_GOSUMDB:-sum.golang.org}
|
| 8 |
+
PROGRAMGYM_NPM_REGISTRY: ${PROGRAMGYM_NPM_REGISTRY:-https://registry.npmjs.org/}
|
| 9 |
+
PROGRAMGYM_NPM_STRICT_SSL: ${PROGRAMGYM_NPM_STRICT_SSL:-true}
|
| 10 |
+
PROGRAMGYM_PYPI_INDEX_URL: ${PROGRAMGYM_PYPI_INDEX_URL:-https://pypi.org/simple}
|
| 11 |
+
PROGRAMGYM_PYPI_TRUSTED_HOST: ${PROGRAMGYM_PYPI_TRUSTED_HOST:-}
|
| 12 |
+
PROGRAMGYM_UV_INSECURE_HOST: ${PROGRAMGYM_UV_INSECURE_HOST:-}
|
| 13 |
+
PROGRAMGYM_RUSTUP_DIST_SERVER: ${PROGRAMGYM_RUSTUP_DIST_SERVER:-https://static.rust-lang.org}
|
| 14 |
+
PROGRAMGYM_RUSTUP_UPDATE_ROOT: ${PROGRAMGYM_RUSTUP_UPDATE_ROOT:-https://static.rust-lang.org/rustup}
|
| 15 |
+
PROGRAMGYM_CARGO_INDEX: ${PROGRAMGYM_CARGO_INDEX:-sparse+https://index.crates.io/}
|
| 16 |
+
PROGRAMGYM_CARGO_NET_RETRY: ${PROGRAMGYM_CARGO_NET_RETRY:-10}
|
| 17 |
+
PROGRAMGYM_CARGO_HTTP_TIMEOUT: ${PROGRAMGYM_CARGO_HTTP_TIMEOUT:-600}
|
| 18 |
+
PROGRAMGYM_CARGO_HTTP_MULTIPLEXING: ${PROGRAMGYM_CARGO_HTTP_MULTIPLEXING:-false}
|
| 19 |
+
PROGRAMGYM_MAVEN_MIRROR_URL: ${PROGRAMGYM_MAVEN_MIRROR_URL:-}
|
| 20 |
+
PROGRAMGYM_GRADLE_PLUGIN_REPOSITORY_URL: ${PROGRAMGYM_GRADLE_PLUGIN_REPOSITORY_URL:-}
|
| 21 |
+
PROGRAMGYM_GRADLE_DISTRIBUTION_BASE_URL: ${PROGRAMGYM_GRADLE_DISTRIBUTION_BASE_URL:-https://services.gradle.org/distributions}
|
| 22 |
+
PROGRAMGYM_JITPACK_REPOSITORY_URL: ${PROGRAMGYM_JITPACK_REPOSITORY_URL:-https://jitpack.io}
|
ricoberger--vault-secrets-operator.64391df/tests/download.sh
ADDED
|
@@ -0,0 +1,656 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
#!/usr/bin/env bash
|
| 2 |
+
# PROGRAMGYM-MANAGED-GO-DOWNLOAD: v1
|
| 3 |
+
# Generated deterministically from repository module metadata; do not edit.
|
| 4 |
+
set -u
|
| 5 |
+
export GOTOOLCHAIN=auto
|
| 6 |
+
mkdir -p /workspace/.programgym_build_env/go-prefetch
|
| 7 |
+
cat > /workspace/.programgym_build_env/go-prefetch/go.mod <<'PROGRAMGYM_GO_MOD_EOF'
|
| 8 |
+
module github.com/ricoberger/vault-secrets-operator
|
| 9 |
+
|
| 10 |
+
go 1.26.3
|
| 11 |
+
|
| 12 |
+
require (
|
| 13 |
+
cloud.google.com/go/compute/metadata v0.9.0
|
| 14 |
+
cloud.google.com/go/iam v1.11.0
|
| 15 |
+
github.com/Masterminds/sprig/v3 v3.3.0
|
| 16 |
+
github.com/aws/aws-sdk-go-v2/config v1.32.25
|
| 17 |
+
github.com/hashicorp/vault/api v1.23.0
|
| 18 |
+
github.com/hashicorp/vault/api/auth/aws v0.12.0
|
| 19 |
+
github.com/leosayous21/go-azure-msi v0.0.0-20210509193526-19353bedcfc8
|
| 20 |
+
github.com/prometheus/client_golang v1.23.2
|
| 21 |
+
golang.org/x/oauth2 v0.36.0
|
| 22 |
+
google.golang.org/api v0.285.0
|
| 23 |
+
k8s.io/api v0.36.2
|
| 24 |
+
k8s.io/apimachinery v0.36.2
|
| 25 |
+
k8s.io/client-go v0.36.2
|
| 26 |
+
sigs.k8s.io/controller-runtime v0.24.0
|
| 27 |
+
)
|
| 28 |
+
|
| 29 |
+
require (
|
| 30 |
+
cloud.google.com/go/auth v0.20.0 // indirect
|
| 31 |
+
cloud.google.com/go/auth/oauth2adapt v0.2.8 // indirect
|
| 32 |
+
dario.cat/mergo v1.0.1 // indirect
|
| 33 |
+
github.com/Masterminds/goutils v1.1.1 // indirect
|
| 34 |
+
github.com/Masterminds/semver/v3 v3.4.0 // indirect
|
| 35 |
+
github.com/aws/aws-sdk-go v1.55.7 // indirect
|
| 36 |
+
github.com/aws/aws-sdk-go-v2 v1.42.0 // indirect
|
| 37 |
+
github.com/aws/aws-sdk-go-v2/credentials v1.19.24 // indirect
|
| 38 |
+
github.com/aws/aws-sdk-go-v2/feature/ec2/imds v1.18.29 // indirect
|
| 39 |
+
github.com/aws/aws-sdk-go-v2/internal/configsources v1.4.29 // indirect
|
| 40 |
+
github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.7.29 // indirect
|
| 41 |
+
github.com/aws/aws-sdk-go-v2/internal/v4a v1.4.30 // indirect
|
| 42 |
+
github.com/aws/aws-sdk-go-v2/service/internal/accept-encoding v1.13.12 // indirect
|
| 43 |
+
github.com/aws/aws-sdk-go-v2/service/internal/presigned-url v1.13.29 // indirect
|
| 44 |
+
github.com/aws/aws-sdk-go-v2/service/signin v1.2.0 // indirect
|
| 45 |
+
github.com/aws/aws-sdk-go-v2/service/sso v1.31.3 // indirect
|
| 46 |
+
github.com/aws/aws-sdk-go-v2/service/ssooidc v1.36.6 // indirect
|
| 47 |
+
github.com/aws/aws-sdk-go-v2/service/sts v1.43.3 // indirect
|
| 48 |
+
github.com/aws/smithy-go v1.27.1 // indirect
|
| 49 |
+
github.com/beorn7/perks v1.0.1 // indirect
|
| 50 |
+
github.com/cenkalti/backoff/v4 v4.3.0 // indirect
|
| 51 |
+
github.com/cespare/xxhash/v2 v2.3.0 // indirect
|
| 52 |
+
github.com/davecgh/go-spew v1.1.2-0.20180830191138-d8f796af33cc // indirect
|
| 53 |
+
github.com/emicklei/go-restful/v3 v3.13.0 // indirect
|
| 54 |
+
github.com/evanphx/json-patch/v5 v5.9.11 // indirect
|
| 55 |
+
github.com/fatih/color v1.18.0 // indirect
|
| 56 |
+
github.com/felixge/httpsnoop v1.0.4 // indirect
|
| 57 |
+
github.com/fsnotify/fsnotify v1.9.0 // indirect
|
| 58 |
+
github.com/fxamacker/cbor/v2 v2.9.0 // indirect
|
| 59 |
+
github.com/go-jose/go-jose/v4 v4.1.4 // indirect
|
| 60 |
+
github.com/go-logr/logr v1.4.3 // indirect
|
| 61 |
+
github.com/go-logr/stdr v1.2.2 // indirect
|
| 62 |
+
github.com/go-logr/zapr v1.3.0 // indirect
|
| 63 |
+
github.com/go-openapi/jsonpointer v0.21.0 // indirect
|
| 64 |
+
github.com/go-openapi/jsonreference v0.20.2 // indirect
|
| 65 |
+
github.com/go-openapi/swag v0.23.0 // indirect
|
| 66 |
+
github.com/google/gnostic-models v0.7.0 // indirect
|
| 67 |
+
github.com/google/s2a-go v0.1.9 // indirect
|
| 68 |
+
github.com/google/uuid v1.6.0 // indirect
|
| 69 |
+
github.com/googleapis/enterprise-certificate-proxy v0.3.16 // indirect
|
| 70 |
+
github.com/googleapis/gax-go/v2 v2.22.0 // indirect
|
| 71 |
+
github.com/hashicorp/errwrap v1.1.0 // indirect
|
| 72 |
+
github.com/hashicorp/go-cleanhttp v0.5.2 // indirect
|
| 73 |
+
github.com/hashicorp/go-hclog v1.6.3 // indirect
|
| 74 |
+
github.com/hashicorp/go-multierror v1.1.1 // indirect
|
| 75 |
+
github.com/hashicorp/go-retryablehttp v0.7.8 // indirect
|
| 76 |
+
github.com/hashicorp/go-rootcerts v1.0.2 // indirect
|
| 77 |
+
github.com/hashicorp/go-secure-stdlib/awsutil v0.3.0 // indirect
|
| 78 |
+
github.com/hashicorp/go-secure-stdlib/parseutil v0.2.0 // indirect
|
| 79 |
+
github.com/hashicorp/go-secure-stdlib/strutil v0.1.2 // indirect
|
| 80 |
+
github.com/hashicorp/go-sockaddr v1.0.7 // indirect
|
| 81 |
+
github.com/hashicorp/go-uuid v1.0.2 // indirect
|
| 82 |
+
github.com/hashicorp/hcl v1.0.1-vault-7 // indirect
|
| 83 |
+
github.com/huandu/xstrings v1.5.0 // indirect
|
| 84 |
+
github.com/jmespath/go-jmespath v0.4.0 // indirect
|
| 85 |
+
github.com/josharian/intern v1.0.0 // indirect
|
| 86 |
+
github.com/json-iterator/go v1.1.12 // indirect
|
| 87 |
+
github.com/mailru/easyjson v0.7.7 // indirect
|
| 88 |
+
github.com/mattn/go-colorable v0.1.14 // indirect
|
| 89 |
+
github.com/mattn/go-isatty v0.0.20 // indirect
|
| 90 |
+
github.com/mitchellh/copystructure v1.2.0 // indirect
|
| 91 |
+
github.com/mitchellh/go-homedir v1.1.0 // indirect
|
| 92 |
+
github.com/mitchellh/mapstructure v1.5.0 // indirect
|
| 93 |
+
github.com/mitchellh/reflectwalk v1.0.2 // indirect
|
| 94 |
+
github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd // indirect
|
| 95 |
+
github.com/modern-go/reflect2 v1.0.3-0.20250322232337-35a7c28c31ee // indirect
|
| 96 |
+
github.com/munnerz/goautoneg v0.0.0-20191010083416-a7dc8b61c822 // indirect
|
| 97 |
+
github.com/pkg/errors v0.9.1 // indirect
|
| 98 |
+
github.com/pmezard/go-difflib v1.0.1-0.20181226105442-5d4384ee4fb2 // indirect
|
| 99 |
+
github.com/prometheus/client_model v0.6.2 // indirect
|
| 100 |
+
github.com/prometheus/common v0.67.5 // indirect
|
| 101 |
+
github.com/prometheus/procfs v0.19.2 // indirect
|
| 102 |
+
github.com/ryanuber/go-glob v1.0.0 // indirect
|
| 103 |
+
github.com/shopspring/decimal v1.4.0 // indirect
|
| 104 |
+
github.com/sirupsen/logrus v1.9.3 // indirect
|
| 105 |
+
github.com/spf13/cast v1.7.0 // indirect
|
| 106 |
+
github.com/spf13/pflag v1.0.9 // indirect
|
| 107 |
+
github.com/x448/float16 v0.8.4 // indirect
|
| 108 |
+
go.opentelemetry.io/auto/sdk v1.2.1 // indirect
|
| 109 |
+
go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc v0.67.0 // indirect
|
| 110 |
+
go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.67.0 // indirect
|
| 111 |
+
go.opentelemetry.io/otel v1.43.0 // indirect
|
| 112 |
+
go.opentelemetry.io/otel/metric v1.43.0 // indirect
|
| 113 |
+
go.opentelemetry.io/otel/trace v1.43.0 // indirect
|
| 114 |
+
go.uber.org/multierr v1.11.0 // indirect
|
| 115 |
+
go.uber.org/zap v1.27.1 // indirect
|
| 116 |
+
go.yaml.in/yaml/v2 v2.4.3 // indirect
|
| 117 |
+
go.yaml.in/yaml/v3 v3.0.4 // indirect
|
| 118 |
+
golang.org/x/crypto v0.53.0 // indirect
|
| 119 |
+
golang.org/x/net v0.56.0 // indirect
|
| 120 |
+
golang.org/x/sync v0.21.0 // indirect
|
| 121 |
+
golang.org/x/sys v0.46.0 // indirect
|
| 122 |
+
golang.org/x/term v0.44.0 // indirect
|
| 123 |
+
golang.org/x/text v0.38.0 // indirect
|
| 124 |
+
golang.org/x/time v0.15.0 // indirect
|
| 125 |
+
gomodules.xyz/jsonpatch/v2 v2.4.0 // indirect
|
| 126 |
+
google.golang.org/genproto/googleapis/api v0.0.0-20260401024825-9d38bb4040a9 // indirect
|
| 127 |
+
google.golang.org/genproto/googleapis/rpc v0.0.0-20260610212136-7ab31c22f7ad // indirect
|
| 128 |
+
google.golang.org/grpc v1.81.1 // indirect
|
| 129 |
+
google.golang.org/protobuf v1.36.12-0.20260120151049-f2248ac996af // indirect
|
| 130 |
+
gopkg.in/evanphx/json-patch.v4 v4.13.0 // indirect
|
| 131 |
+
gopkg.in/inf.v0 v0.9.1 // indirect
|
| 132 |
+
gopkg.in/yaml.v3 v3.0.1 // indirect
|
| 133 |
+
k8s.io/apiextensions-apiserver v0.36.0 // indirect
|
| 134 |
+
k8s.io/klog/v2 v2.140.0 // indirect
|
| 135 |
+
k8s.io/kube-openapi v0.0.0-20260317180543-43fb72c5454a // indirect
|
| 136 |
+
k8s.io/utils v0.0.0-20260210185600-b8788abfbbc2 // indirect
|
| 137 |
+
sigs.k8s.io/json v0.0.0-20250730193827-2d320260d730 // indirect
|
| 138 |
+
sigs.k8s.io/randfill v1.0.0 // indirect
|
| 139 |
+
sigs.k8s.io/structured-merge-diff/v6 v6.3.2 // indirect
|
| 140 |
+
sigs.k8s.io/yaml v1.6.0 // indirect
|
| 141 |
+
)
|
| 142 |
+
PROGRAMGYM_GO_MOD_EOF
|
| 143 |
+
cat > /workspace/.programgym_build_env/go-prefetch/go.sum <<'PROGRAMGYM_GO_SUM_EOF'
|
| 144 |
+
cloud.google.com/go/auth v0.20.0 h1:kXTssoVb4azsVDoUiF8KvxAqrsQcQtB53DcSgta74CA=
|
| 145 |
+
cloud.google.com/go/auth v0.20.0/go.mod h1:942/yi/itH1SsmpyrbnTMDgGfdy2BUqIKyd0cyYLc5Q=
|
| 146 |
+
cloud.google.com/go/auth/oauth2adapt v0.2.8 h1:keo8NaayQZ6wimpNSmW5OPc283g65QNIiLpZnkHRbnc=
|
| 147 |
+
cloud.google.com/go/auth/oauth2adapt v0.2.8/go.mod h1:XQ9y31RkqZCcwJWNSx2Xvric3RrU88hAYYbjDWYDL+c=
|
| 148 |
+
cloud.google.com/go/compute/metadata v0.9.0 h1:pDUj4QMoPejqq20dK0Pg2N4yG9zIkYGdBtwLoEkH9Zs=
|
| 149 |
+
cloud.google.com/go/compute/metadata v0.9.0/go.mod h1:E0bWwX5wTnLPedCKqk3pJmVgCBSM6qQI1yTBdEb3C10=
|
| 150 |
+
cloud.google.com/go/iam v1.11.0 h1:KieQ9Pb+LLPak1O3Rv3GgCxhnmkYf7Xyh0P5HfF1jFM=
|
| 151 |
+
cloud.google.com/go/iam v1.11.0/go.mod h1:KP+nKGugNJW4LcLx1uEZcq1ok5sQHFaQehQNl4QDgV4=
|
| 152 |
+
dario.cat/mergo v1.0.1 h1:Ra4+bf83h2ztPIQYNP99R6m+Y7KfnARDfID+a+vLl4s=
|
| 153 |
+
dario.cat/mergo v1.0.1/go.mod h1:uNxQE+84aUszobStD9th8a29P2fMDhsBdgRYvZOxGmk=
|
| 154 |
+
github.com/Masterminds/goutils v1.1.1 h1:5nUrii3FMTL5diU80unEVvNevw1nH4+ZV4DSLVJLSYI=
|
| 155 |
+
github.com/Masterminds/goutils v1.1.1/go.mod h1:8cTjp+g8YejhMuvIA5y2vz3BpJxksy863GQaJW2MFNU=
|
| 156 |
+
github.com/Masterminds/semver/v3 v3.4.0 h1:Zog+i5UMtVoCU8oKka5P7i9q9HgrJeGzI9SA1Xbatp0=
|
| 157 |
+
github.com/Masterminds/semver/v3 v3.4.0/go.mod h1:4V+yj/TJE1HU9XfppCwVMZq3I84lprf4nC11bSS5beM=
|
| 158 |
+
github.com/Masterminds/sprig/v3 v3.3.0 h1:mQh0Yrg1XPo6vjYXgtf5OtijNAKJRNcTdOOGZe3tPhs=
|
| 159 |
+
github.com/Masterminds/sprig/v3 v3.3.0/go.mod h1:Zy1iXRYNqNLUolqCpL4uhk6SHUMAOSCzdgBfDb35Lz0=
|
| 160 |
+
github.com/aws/aws-sdk-go v1.34.0/go.mod h1:5zCpMtNQVjRREroY7sYe8lOMRSxkhG6MZveU8YkpAk0=
|
| 161 |
+
github.com/aws/aws-sdk-go v1.55.7 h1:UJrkFq7es5CShfBwlWAC8DA077vp8PyVbQd3lqLiztE=
|
| 162 |
+
github.com/aws/aws-sdk-go v1.55.7/go.mod h1:eRwEWoyTWFMVYVQzKMNHWP5/RV4xIUGMQfXQHfHkpNU=
|
| 163 |
+
github.com/aws/aws-sdk-go-v2 v1.42.0 h1:XvXMJTkFQtpBKIWZnmr9ZEOc2InWM2yldjXEJ/bymhA=
|
| 164 |
+
github.com/aws/aws-sdk-go-v2 v1.42.0/go.mod h1:27+ACypSLljLAEKsCYOmrjKh83vuTRkuAe9Uv/3A4bg=
|
| 165 |
+
github.com/aws/aws-sdk-go-v2/config v1.32.25 h1:ACCejvStYoilgwrfegSt5ZntCbPrk52qfwyNcnl3omM=
|
| 166 |
+
github.com/aws/aws-sdk-go-v2/config v1.32.25/go.mod h1:LJyU8sDRbXUxFn8xMJIGP+v9QYYwveNLI8a/giAOiAs=
|
| 167 |
+
github.com/aws/aws-sdk-go-v2/credentials v1.19.24 h1:2hQqYCV9yqyePQ9o6dCrZc/zO8U3TwPr9mIKlZnPu/I=
|
| 168 |
+
github.com/aws/aws-sdk-go-v2/credentials v1.19.24/go.mod h1:IDwpACtwqHLISdzfwUUNq4P9DsB/h5BLg4FwJPNfqFY=
|
| 169 |
+
github.com/aws/aws-sdk-go-v2/feature/ec2/imds v1.18.29 h1:r6qZHbT+wxgWO/e9vYNUEtg7lv5+UN3pRqKhLXvnArg=
|
| 170 |
+
github.com/aws/aws-sdk-go-v2/feature/ec2/imds v1.18.29/go.mod h1:QRnaRcTVGKPGRy8w78HMQtKUGRYcnMZAANATkeVA6Mo=
|
| 171 |
+
github.com/aws/aws-sdk-go-v2/internal/configsources v1.4.29 h1:f3vKqSo13fhTYb+JEcXwXefZQE26I1FB5eTSniU67ko=
|
| 172 |
+
github.com/aws/aws-sdk-go-v2/internal/configsources v1.4.29/go.mod h1:MzoLFUArKGpGD+ukmPiTPG1X5x4o6M2kq4v2dr1FiEc=
|
| 173 |
+
github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.7.29 h1:RdwIf/CuUsvJX3RgJagbOyotl/cxoLY4xviKuE7p2GY=
|
| 174 |
+
github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.7.29/go.mod h1:71wt8W2EgswdZy9Mf9KNnzxZ3TiZlv4caKghPktDOkA=
|
| 175 |
+
github.com/aws/aws-sdk-go-v2/internal/v4a v1.4.30 h1:VTGy885W5DKBxWRUJbym9hytNaYzsyaPkCHGRRMAOhU=
|
| 176 |
+
github.com/aws/aws-sdk-go-v2/internal/v4a v1.4.30/go.mod h1:AS0HycUvJRFvTt613AYDOgO2jzw+00cVSMny8XB3yMY=
|
| 177 |
+
github.com/aws/aws-sdk-go-v2/service/internal/accept-encoding v1.13.12 h1:ZD2+BSw9vFsNlKYIasSNt3uDbjqqXIBcM13UJv/Lx2k=
|
| 178 |
+
github.com/aws/aws-sdk-go-v2/service/internal/accept-encoding v1.13.12/go.mod h1:Ms4zlcVBbXbiP7EVLhl+lgjvA/a7YphqQ3Ih3174EmI=
|
| 179 |
+
github.com/aws/aws-sdk-go-v2/service/internal/presigned-url v1.13.29 h1:DRebniUGZ2MqiiIVmQJ04vIXr918hubdHMnarSLEWyU=
|
| 180 |
+
github.com/aws/aws-sdk-go-v2/service/internal/presigned-url v1.13.29/go.mod h1:LfRkPCD8YHDM2E5eTkos2UpwYeZnBcVarTa8L59bJHA=
|
| 181 |
+
github.com/aws/aws-sdk-go-v2/service/signin v1.2.0 h1:3nXpRcFwRCW8n7HgO2QGy0Dc20eQNfBuUemGQhpF8m8=
|
| 182 |
+
github.com/aws/aws-sdk-go-v2/service/signin v1.2.0/go.mod h1:LxYujSTLPRlp2vTtcUO/+1ilrew8ytt6SvQyOgejzFQ=
|
| 183 |
+
github.com/aws/aws-sdk-go-v2/service/sso v1.31.3 h1:ey1XLTYXb9PcLt4535632o5kCGXNXEhNb620Dqwuylo=
|
| 184 |
+
github.com/aws/aws-sdk-go-v2/service/sso v1.31.3/go.mod h1:Lk7PlmoTYryQmyBG0EXqj5BcUbj3whXdU2s3yGI3EAc=
|
| 185 |
+
github.com/aws/aws-sdk-go-v2/service/ssooidc v1.36.6 h1:yLr03zQE/5Eu5l3QU0Si+xMbLMbSDF2YXsigqXngs6g=
|
| 186 |
+
github.com/aws/aws-sdk-go-v2/service/ssooidc v1.36.6/go.mod h1:Q5N6icH+KJZDLh+ESNwzdv6cZ6vLFF/egy3IOxWhmz4=
|
| 187 |
+
github.com/aws/aws-sdk-go-v2/service/sts v1.43.3 h1:VrIhKRCSK1umelSgB9RghvA9RTUYeQffyAS5ApXehNI=
|
| 188 |
+
github.com/aws/aws-sdk-go-v2/service/sts v1.43.3/go.mod h1:r8wkDOuLaaMFqFiYAb8dGY2A3gJCOujMc6CFOVC4Zhc=
|
| 189 |
+
github.com/aws/smithy-go v1.27.1 h1:4T340VFndXtADGF52gYa1POyL7s9E4Z1OeZ1hCscIw8=
|
| 190 |
+
github.com/aws/smithy-go v1.27.1/go.mod h1:YE2RhdIuDbA5E5bTdciG9KrW3+TiEONeUWCqxX9i1Fc=
|
| 191 |
+
github.com/beorn7/perks v1.0.1 h1:VlbKKnNfV8bJzeqoa4cOKqO6bYr3WgKZxO8Z16+hsOM=
|
| 192 |
+
github.com/beorn7/perks v1.0.1/go.mod h1:G2ZrVWU2WbWT9wwq4/hrbKbnv/1ERSJQ0ibhJ6rlkpw=
|
| 193 |
+
github.com/cenkalti/backoff/v4 v4.3.0 h1:MyRJ/UdXutAwSAT+s3wNd7MfTIcy71VQueUuFK343L8=
|
| 194 |
+
github.com/cenkalti/backoff/v4 v4.3.0/go.mod h1:Y3VNntkOUPxTVeUxJ/G5vcM//AlwfmyYozVcomhLiZE=
|
| 195 |
+
github.com/cespare/xxhash/v2 v2.3.0 h1:UL815xU9SqsFlibzuggzjXhog7bL6oX9BbNZnL2UFvs=
|
| 196 |
+
github.com/cespare/xxhash/v2 v2.3.0/go.mod h1:VGX0DQ3Q6kWi7AoAeZDth3/j3BFtOZR5XLFGgcrjCOs=
|
| 197 |
+
github.com/cncf/xds/go v0.0.0-20260202195803-dba9d589def2 h1:aBangftG7EVZoUb69Os8IaYg++6uMOdKK83QtkkvJik=
|
| 198 |
+
github.com/cncf/xds/go v0.0.0-20260202195803-dba9d589def2/go.mod h1:qwXFYgsP6T7XnJtbKlf1HP8AjxZZyzxMmc+Lq5GjlU4=
|
| 199 |
+
github.com/creack/pty v1.1.9/go.mod h1:oKZEueFk5CKHvIhNR5MUki03XCEU+Q6VDXinZuGJ33E=
|
| 200 |
+
github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
|
| 201 |
+
github.com/davecgh/go-spew v1.1.1/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
|
| 202 |
+
github.com/davecgh/go-spew v1.1.2-0.20180830191138-d8f796af33cc h1:U9qPSI2PIWSS1VwoXQT9A3Wy9MM3WgvqSxFWenqJduM=
|
| 203 |
+
github.com/davecgh/go-spew v1.1.2-0.20180830191138-d8f796af33cc/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
|
| 204 |
+
github.com/emicklei/go-restful/v3 v3.13.0 h1:C4Bl2xDndpU6nJ4bc1jXd+uTmYPVUwkD6bFY/oTyCes=
|
| 205 |
+
github.com/emicklei/go-restful/v3 v3.13.0/go.mod h1:6n3XBCmQQb25CM2LCACGz8ukIrRry+4bhvbpWn3mrbc=
|
| 206 |
+
github.com/envoyproxy/go-control-plane v0.14.0 h1:hbG2kr4RuFj222B6+7T83thSPqLjwBIfQawTkC++2HA=
|
| 207 |
+
github.com/envoyproxy/go-control-plane/envoy v1.37.0 h1:u3riX6BoYRfF4Dr7dwSOroNfdSbEPe9Yyl09/B6wBrQ=
|
| 208 |
+
github.com/envoyproxy/go-control-plane/envoy v1.37.0/go.mod h1:DReE9MMrmecPy+YvQOAOHNYMALuowAnbjjEMkkWOi6A=
|
| 209 |
+
github.com/envoyproxy/protoc-gen-validate v1.3.3 h1:MVQghNeW+LZcmXe7SY1V36Z+WFMDjpqGAGacLe2T0ds=
|
| 210 |
+
github.com/envoyproxy/protoc-gen-validate v1.3.3/go.mod h1:TsndJ/ngyIdQRhMcVVGDDHINPLWB7C82oDArY51KfB0=
|
| 211 |
+
github.com/evanphx/json-patch v0.5.2 h1:xVCHIVMUu1wtM/VkR9jVZ45N3FhZfYMMYGorLCR8P3k=
|
| 212 |
+
github.com/evanphx/json-patch v0.5.2/go.mod h1:ZWS5hhDbVDyob71nXKNL0+PWn6ToqBHMikGIFbs31qQ=
|
| 213 |
+
github.com/evanphx/json-patch/v5 v5.9.11 h1:/8HVnzMq13/3x9TPvjG08wUGqBTmZBsCWzjTM0wiaDU=
|
| 214 |
+
github.com/evanphx/json-patch/v5 v5.9.11/go.mod h1:3j+LviiESTElxA4p3EMKAB9HXj3/XEtnUf6OZxqIQTM=
|
| 215 |
+
github.com/fatih/color v1.13.0/go.mod h1:kLAiJbzzSOZDVNGyDpeOxJ47H46qBXwg5ILebYFFOfk=
|
| 216 |
+
github.com/fatih/color v1.18.0 h1:S8gINlzdQ840/4pfAwic/ZE0djQEH3wM94VfqLTZcOM=
|
| 217 |
+
github.com/fatih/color v1.18.0/go.mod h1:4FelSpRwEGDpQ12mAdzqdOukCy4u8WUtOY6lkT/6HfU=
|
| 218 |
+
github.com/felixge/httpsnoop v1.0.4 h1:NFTV2Zj1bL4mc9sqWACXbQFVBBg2W3GPvqp8/ESS2Wg=
|
| 219 |
+
github.com/felixge/httpsnoop v1.0.4/go.mod h1:m8KPJKqk1gH5J9DgRY2ASl2lWCfGKXixSwevea8zH2U=
|
| 220 |
+
github.com/frankban/quicktest v1.14.6 h1:7Xjx+VpznH+oBnejlPUj8oUpdxnVs4f8XU8WnHkI4W8=
|
| 221 |
+
github.com/frankban/quicktest v1.14.6/go.mod h1:4ptaffx2x8+WTWXmUCuVU6aPUX1/Mz7zb5vbUoiM6w0=
|
| 222 |
+
github.com/fsnotify/fsnotify v1.9.0 h1:2Ml+OJNzbYCTzsxtv8vKSFD9PbJjmhYF14k/jKC7S9k=
|
| 223 |
+
github.com/fsnotify/fsnotify v1.9.0/go.mod h1:8jBTzvmWwFyi3Pb8djgCCO5IBqzKJ/Jwo8TRcHyHii0=
|
| 224 |
+
github.com/fxamacker/cbor/v2 v2.9.0 h1:NpKPmjDBgUfBms6tr6JZkTHtfFGcMKsw3eGcmD/sapM=
|
| 225 |
+
github.com/fxamacker/cbor/v2 v2.9.0/go.mod h1:vM4b+DJCtHn+zz7h3FFp/hDAI9WNWCsZj23V5ytsSxQ=
|
| 226 |
+
github.com/go-jose/go-jose/v4 v4.1.4 h1:moDMcTHmvE6Groj34emNPLs/qtYXRVcd6S7NHbHz3kA=
|
| 227 |
+
github.com/go-jose/go-jose/v4 v4.1.4/go.mod h1:x4oUasVrzR7071A4TnHLGSPpNOm2a21K9Kf04k1rs08=
|
| 228 |
+
github.com/go-logr/logr v1.2.2/go.mod h1:jdQByPbusPIv2/zmleS9BjJVeZ6kBagPoEUsqbVz/1A=
|
| 229 |
+
github.com/go-logr/logr v1.4.3 h1:CjnDlHq8ikf6E492q6eKboGOC0T8CDaOvkHCIg8idEI=
|
| 230 |
+
github.com/go-logr/logr v1.4.3/go.mod h1:9T104GzyrTigFIr8wt5mBrctHMim0Nb2HLGrmQ40KvY=
|
| 231 |
+
github.com/go-logr/stdr v1.2.2 h1:hSWxHoqTgW2S2qGc0LTAI563KZ5YKYRhT3MFKZMbjag=
|
| 232 |
+
github.com/go-logr/stdr v1.2.2/go.mod h1:mMo/vtBO5dYbehREoey6XUKy/eSumjCCveDpRre4VKE=
|
| 233 |
+
github.com/go-logr/zapr v1.3.0 h1:XGdV8XW8zdwFiwOA2Dryh1gj2KRQyOOoNmBy4EplIcQ=
|
| 234 |
+
github.com/go-logr/zapr v1.3.0/go.mod h1:YKepepNBd1u/oyhd/yQmtjVXmm9uML4IXUgMOwR8/Gg=
|
| 235 |
+
github.com/go-openapi/jsonpointer v0.19.6/go.mod h1:osyAmYz/mB/C3I+WsTTSgw1ONzaLJoLCyoi6/zppojs=
|
| 236 |
+
github.com/go-openapi/jsonpointer v0.21.0 h1:YgdVicSA9vH5RiHs9TZW5oyafXZFc6+2Vc1rr/O9oNQ=
|
| 237 |
+
github.com/go-openapi/jsonpointer v0.21.0/go.mod h1:IUyH9l/+uyhIYQ/PXVA41Rexl+kOkAPDdXEYns6fzUY=
|
| 238 |
+
github.com/go-openapi/jsonreference v0.20.2 h1:3sVjiK66+uXK/6oQ8xgcRKcFgQ5KXa2KvnJRumpMGbE=
|
| 239 |
+
github.com/go-openapi/jsonreference v0.20.2/go.mod h1:Bl1zwGIM8/wsvqjsOQLJ/SH+En5Ap4rVB5KVcIDZG2k=
|
| 240 |
+
github.com/go-openapi/swag v0.22.3/go.mod h1:UzaqsxGiab7freDnrUUra0MwWfN/q7tE4j+VcZ0yl14=
|
| 241 |
+
github.com/go-openapi/swag v0.23.0 h1:vsEVJDUo2hPJ2tu0/Xc+4noaxyEffXNIs3cOULZ+GrE=
|
| 242 |
+
github.com/go-openapi/swag v0.23.0/go.mod h1:esZ8ITTYEsH1V2trKHjAN8Ai7xHb8RV+YSZ577vPjgQ=
|
| 243 |
+
github.com/go-sql-driver/mysql v1.5.0/go.mod h1:DCzpHaOWr8IXmIStZouvnhqoel9Qv2LBy8hT2VhHyBg=
|
| 244 |
+
github.com/go-task/slim-sprig/v3 v3.0.0 h1:sUs3vkvUymDpBKi3qH1YSqBQk9+9D/8M2mN1vB6EwHI=
|
| 245 |
+
github.com/go-task/slim-sprig/v3 v3.0.0/go.mod h1:W848ghGpv3Qj3dhTPRyJypKRiqCdHZiAzKg9hl15HA8=
|
| 246 |
+
github.com/go-test/deep v1.1.1 h1:0r/53hagsehfO4bzD2Pgr/+RgHqhmf+k1Bpse2cTu1U=
|
| 247 |
+
github.com/go-test/deep v1.1.1/go.mod h1:5C2ZWiW0ErCdrYzpqxLbTX7MG14M9iiw8DgHncVwcsE=
|
| 248 |
+
github.com/golang/protobuf v1.5.4 h1:i7eJL8qZTpSEXOPTxNKhASYpMn+8e5Q6AdndVa1dWek=
|
| 249 |
+
github.com/golang/protobuf v1.5.4/go.mod h1:lnTiLA8Wa4RWRcIUkrtSVa5nRhsEGBg48fD6rSs7xps=
|
| 250 |
+
github.com/google/gnostic-models v0.7.0 h1:qwTtogB15McXDaNqTZdzPJRHvaVJlAl+HVQnLmJEJxo=
|
| 251 |
+
github.com/google/gnostic-models v0.7.0/go.mod h1:whL5G0m6dmc5cPxKc5bdKdEN3UjI7OUGxBlw57miDrQ=
|
| 252 |
+
github.com/google/go-cmp v0.7.0 h1:wk8382ETsv4JYUZwIsn6YpYiWiBsYLSJiTsyBybVuN8=
|
| 253 |
+
github.com/google/go-cmp v0.7.0/go.mod h1:pXiqmnSA92OHEEa9HXL2W4E7lf9JzCmGVUdgjX3N/iU=
|
| 254 |
+
github.com/google/gofuzz v1.0.0/go.mod h1:dBl0BpW6vV/+mYPU4Po3pmUjxk6FQPldtuIdl/M65Eg=
|
| 255 |
+
github.com/google/gofuzz v1.2.0 h1:xRy4A+RhZaiKjJ1bPfwQ8sedCA+YS2YcCHW6ec7JMi0=
|
| 256 |
+
github.com/google/gofuzz v1.2.0/go.mod h1:dBl0BpW6vV/+mYPU4Po3pmUjxk6FQPldtuIdl/M65Eg=
|
| 257 |
+
github.com/google/pprof v0.0.0-20250403155104-27863c87afa6 h1:BHT72Gu3keYf3ZEu2J0b1vyeLSOYI8bm5wbJM/8yDe8=
|
| 258 |
+
github.com/google/pprof v0.0.0-20250403155104-27863c87afa6/go.mod h1:boTsfXsheKC2y+lKOCMpSfarhxDeIzfZG1jqGcPl3cA=
|
| 259 |
+
github.com/google/s2a-go v0.1.9 h1:LGD7gtMgezd8a/Xak7mEWL0PjoTQFvpRudN895yqKW0=
|
| 260 |
+
github.com/google/s2a-go v0.1.9/go.mod h1:YA0Ei2ZQL3acow2O62kdp9UlnvMmU7kA6Eutn0dXayM=
|
| 261 |
+
github.com/google/uuid v1.6.0 h1:NIvaJDMOsjHA8n1jAhLSgzrAzy1Hgr+hNrb57e+94F0=
|
| 262 |
+
github.com/google/uuid v1.6.0/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+yHo=
|
| 263 |
+
github.com/googleapis/enterprise-certificate-proxy v0.3.16 h1:F/VPrx0YPBdksZJQdCAp0WUsqnNmZpUZszzfYt0M5Dw=
|
| 264 |
+
github.com/googleapis/enterprise-certificate-proxy v0.3.16/go.mod h1:9Yb0eAkH/Xqhvv3zbeKf/+wMJqCeocWc6KIhDvEAuYE=
|
| 265 |
+
github.com/googleapis/gax-go/v2 v2.22.0 h1:PjIWBpgGIVKGoCXuiCoP64altEJCj3/Ei+kSU5vlZD4=
|
| 266 |
+
github.com/googleapis/gax-go/v2 v2.22.0/go.mod h1:irWBbALSr0Sk3qlqb9SyJ1h68WjgeFuiOzI4Rqw5+aY=
|
| 267 |
+
github.com/hashicorp/errwrap v1.0.0/go.mod h1:YH+1FKiLXxHSkmPseP+kNlulaMuP3n2brvKWEqk/Jc4=
|
| 268 |
+
github.com/hashicorp/errwrap v1.1.0 h1:OxrOeh75EUXMY8TBjag2fzXGZ40LB6IKw45YeGUDY2I=
|
| 269 |
+
github.com/hashicorp/errwrap v1.1.0/go.mod h1:YH+1FKiLXxHSkmPseP+kNlulaMuP3n2brvKWEqk/Jc4=
|
| 270 |
+
github.com/hashicorp/go-cleanhttp v0.5.2 h1:035FKYIWjmULyFRBKPs8TBQoi0x6d9G4xc9neXJWAZQ=
|
| 271 |
+
github.com/hashicorp/go-cleanhttp v0.5.2/go.mod h1:kO/YDlP8L1346E6Sodw+PrpBSV4/SoxCXGY6BqNFT48=
|
| 272 |
+
github.com/hashicorp/go-hclog v1.5.0/go.mod h1:W4Qnvbt70Wk/zYJryRzDRU/4r0kIg0PVHBcfoyhpF5M=
|
| 273 |
+
github.com/hashicorp/go-hclog v1.6.3 h1:Qr2kF+eVWjTiYmU7Y31tYlP1h0q/X3Nl3tPGdaB11/k=
|
| 274 |
+
github.com/hashicorp/go-hclog v1.6.3/go.mod h1:W4Qnvbt70Wk/zYJryRzDRU/4r0kIg0PVHBcfoyhpF5M=
|
| 275 |
+
github.com/hashicorp/go-multierror v1.1.1 h1:H5DkEtf6CXdFp0N0Em5UCwQpXMWke8IA0+lD48awMYo=
|
| 276 |
+
github.com/hashicorp/go-multierror v1.1.1/go.mod h1:iw975J/qwKPdAO1clOe2L8331t/9/fmwbPZ6JB6eMoM=
|
| 277 |
+
github.com/hashicorp/go-retryablehttp v0.7.8 h1:ylXZWnqa7Lhqpk0L1P1LzDtGcCR0rPVUrx/c8Unxc48=
|
| 278 |
+
github.com/hashicorp/go-retryablehttp v0.7.8/go.mod h1:rjiScheydd+CxvumBsIrFKlx3iS0jrZ7LvzFGFmuKbw=
|
| 279 |
+
github.com/hashicorp/go-rootcerts v1.0.2 h1:jzhAVGtqPKbwpyCPELlgNWhE1znq+qwJtW5Oi2viEzc=
|
| 280 |
+
github.com/hashicorp/go-rootcerts v1.0.2/go.mod h1:pqUvnprVnM5bf7AOirdbb01K4ccR319Vf4pU3K5EGc8=
|
| 281 |
+
github.com/hashicorp/go-secure-stdlib/awsutil v0.3.0 h1:I8bynUKMh9I7JdwtW9voJ0xmHvBpxQtLjrMFDYmhOxY=
|
| 282 |
+
github.com/hashicorp/go-secure-stdlib/awsutil v0.3.0/go.mod h1:oKHSQs4ivIfZ3fbXGQOop1XuDfdSb8RIsWTGaAanSfg=
|
| 283 |
+
github.com/hashicorp/go-secure-stdlib/parseutil v0.2.0 h1:U+kC2dOhMFQctRfhK0gRctKAPTloZdMU5ZJxaesJ/VM=
|
| 284 |
+
github.com/hashicorp/go-secure-stdlib/parseutil v0.2.0/go.mod h1:Ll013mhdmsVDuoIXVfBtvgGJsXDYkTw1kooNcoCXuE0=
|
| 285 |
+
github.com/hashicorp/go-secure-stdlib/strutil v0.1.2 h1:kes8mmyCpxJsI7FTwtzRqEy9CdjCtrXrXGuOpxEA7Ts=
|
| 286 |
+
github.com/hashicorp/go-secure-stdlib/strutil v0.1.2/go.mod h1:Gou2R9+il93BqX25LAKCLuM+y9U2T4hlwvT1yprcna4=
|
| 287 |
+
github.com/hashicorp/go-sockaddr v1.0.7 h1:G+pTkSO01HpR5qCxg7lxfsFEZaG+C0VssTy/9dbT+Fw=
|
| 288 |
+
github.com/hashicorp/go-sockaddr v1.0.7/go.mod h1:FZQbEYa1pxkQ7WLpyXJ6cbjpT8q0YgQaK/JakXqGyWw=
|
| 289 |
+
github.com/hashicorp/go-uuid v1.0.2 h1:cfejS+Tpcp13yd5nYHWDI6qVCny6wyX2Mt5SGur2IGE=
|
| 290 |
+
github.com/hashicorp/go-uuid v1.0.2/go.mod h1:6SBZvOh/SIDV7/2o3Jml5SYk/TvGqwFJ/bN7x4byOro=
|
| 291 |
+
github.com/hashicorp/hcl v1.0.1-vault-7 h1:ag5OxFVy3QYTFTJODRzTKVZ6xvdfLLCA1cy/Y6xGI0I=
|
| 292 |
+
github.com/hashicorp/hcl v1.0.1-vault-7/go.mod h1:XYhtn6ijBSAj6n4YqAaf7RBPS4I06AItNorpy+MoQNM=
|
| 293 |
+
github.com/hashicorp/vault/api v1.23.0 h1:gXgluBsSECfRWTSW9niY2jwg2e9mMJc4WoHNv4g3h6A=
|
| 294 |
+
github.com/hashicorp/vault/api v1.23.0/go.mod h1:zransKiB9ftp+kgY8ydjnvCU7Wk8i9L0DYWpXeMj9ko=
|
| 295 |
+
github.com/hashicorp/vault/api/auth/aws v0.12.0 h1:onkMrv49rQCF5Zx1/BdIEvwyhh9R2mXkgfZFWdW+kfM=
|
| 296 |
+
github.com/hashicorp/vault/api/auth/aws v0.12.0/go.mod h1:Cuyla0RLfTnPkaJCaHGfNGsNIY1GqB2G79T7XI/9N+I=
|
| 297 |
+
github.com/huandu/xstrings v1.5.0 h1:2ag3IFq9ZDANvthTwTiqSSZLjDc+BedvHPAp5tJy2TI=
|
| 298 |
+
github.com/huandu/xstrings v1.5.0/go.mod h1:y5/lhBue+AyNmUVz9RLU9xbLR0o4KIIExikq4ovT0aE=
|
| 299 |
+
github.com/jmespath/go-jmespath v0.3.0/go.mod h1:9QtRXoHjLGCJ5IBSaohpXITPlowMeeYCZ7fLUTSywik=
|
| 300 |
+
github.com/jmespath/go-jmespath v0.4.0 h1:BEgLn5cpjn8UN1mAw4NjwDrS35OdebyEtFe+9YPoQUg=
|
| 301 |
+
github.com/jmespath/go-jmespath v0.4.0/go.mod h1:T8mJZnbsbmF+m6zOOFylbeCJqk5+pHWvzYPziyZiYoo=
|
| 302 |
+
github.com/jmespath/go-jmespath/internal/testify v1.5.1 h1:shLQSRRSCCPj3f2gpwzGwWFoC7ycTf1rcQZHOlsJ6N8=
|
| 303 |
+
github.com/jmespath/go-jmespath/internal/testify v1.5.1/go.mod h1:L3OGu8Wl2/fWfCI6z80xFu9LTZmf1ZRjMHUOPmWr69U=
|
| 304 |
+
github.com/josharian/intern v1.0.0 h1:vlS4z54oSdjm0bgjRigI+G1HpF+tI+9rE5LLzOg8HmY=
|
| 305 |
+
github.com/josharian/intern v1.0.0/go.mod h1:5DoeVV0s6jJacbCEi61lwdGj/aVlrQvzHFFd8Hwg//Y=
|
| 306 |
+
github.com/json-iterator/go v1.1.12 h1:PV8peI4a0ysnczrg+LtxykD8LfKY9ML6u2jnxaEnrnM=
|
| 307 |
+
github.com/json-iterator/go v1.1.12/go.mod h1:e30LSqwooZae/UwlEbR2852Gd8hjQvJoHmT4TnhNGBo=
|
| 308 |
+
github.com/klauspost/compress v1.18.0 h1:c/Cqfb0r+Yi+JtIEq73FWXVkRonBlf0CRNYc8Zttxdo=
|
| 309 |
+
github.com/klauspost/compress v1.18.0/go.mod h1:2Pp+KzxcywXVXMr50+X0Q/Lsb43OQHYWRCY2AiWywWQ=
|
| 310 |
+
github.com/kr/pretty v0.1.0/go.mod h1:dAy3ld7l9f0ibDNOQOHHMYYIIbhfbHSm3C4ZsoJORNo=
|
| 311 |
+
github.com/kr/pretty v0.2.1/go.mod h1:ipq/a2n7PKx3OHsz4KJII5eveXtPO4qwEXGdVfWzfnI=
|
| 312 |
+
github.com/kr/pretty v0.3.0/go.mod h1:640gp4NfQd8pI5XOwp5fnNeVWj67G7CFk/SaSQn7NBk=
|
| 313 |
+
github.com/kr/pretty v0.3.1 h1:flRD4NNwYAUpkphVc1HcthR4KEIFJ65n8Mw5qdRn3LE=
|
| 314 |
+
github.com/kr/pretty v0.3.1/go.mod h1:hoEshYVHaxMs3cyo3Yncou5ZscifuDolrwPKZanG3xk=
|
| 315 |
+
github.com/kr/pty v1.1.1/go.mod h1:pFQYn66WHrOpPYNljwOMqo10TkYh1fy3cYio2l3bCsQ=
|
| 316 |
+
github.com/kr/text v0.1.0/go.mod h1:4Jbv+DJW3UT/LiOwJeYQe1efqtUx/iVham/4vfdArNI=
|
| 317 |
+
github.com/kr/text v0.2.0 h1:5Nx0Ya0ZqY2ygV366QzturHI13Jq95ApcVaJBhpS+AY=
|
| 318 |
+
github.com/kr/text v0.2.0/go.mod h1:eLer722TekiGuMkidMxC/pM04lWEeraHUUmBw8l2grE=
|
| 319 |
+
github.com/kylelemons/godebug v1.1.0 h1:RPNrshWIDI6G2gRW9EHilWtl7Z6Sb1BR0xunSBf0SNc=
|
| 320 |
+
github.com/kylelemons/godebug v1.1.0/go.mod h1:9/0rRGxNHcop5bhtWyNeEfOS8JIWk580+fNqagV/RAw=
|
| 321 |
+
github.com/leosayous21/go-azure-msi v0.0.0-20210509193526-19353bedcfc8 h1:C9EWiKUP5Hrm0eHxF63E2TpCUj3047oCZXrUM2T8Mnw=
|
| 322 |
+
github.com/leosayous21/go-azure-msi v0.0.0-20210509193526-19353bedcfc8/go.mod h1:GfJ7YCWVSRJBC6YwUyO1Is2v+HaTrwR3yMfS92tIIWo=
|
| 323 |
+
github.com/mailru/easyjson v0.7.7 h1:UGYAvKxe3sBsEDzO8ZeWOSlIQfWFlxbzLZe7hwFURr0=
|
| 324 |
+
github.com/mailru/easyjson v0.7.7/go.mod h1:xzfreul335JAWq5oZzymOObrkdz5UnU4kGfJJLY9Nlc=
|
| 325 |
+
github.com/mattn/go-colorable v0.1.9/go.mod h1:u6P/XSegPjTcexA+o6vUJrdnUu04hMope9wVRipJSqc=
|
| 326 |
+
github.com/mattn/go-colorable v0.1.12/go.mod h1:u5H1YNBxpqRaxsYJYSkiCWKzEfiAb1Gb520KVy5xxl4=
|
| 327 |
+
github.com/mattn/go-colorable v0.1.14 h1:9A9LHSqF/7dyVVX6g0U9cwm9pG3kP9gSzcuIPHPsaIE=
|
| 328 |
+
github.com/mattn/go-colorable v0.1.14/go.mod h1:6LmQG8QLFO4G5z1gPvYEzlUgJ2wF+stgPZH1UqBm1s8=
|
| 329 |
+
github.com/mattn/go-isatty v0.0.12/go.mod h1:cbi8OIDigv2wuxKPP5vlRcQ1OAZbq2CE4Kysco4FUpU=
|
| 330 |
+
github.com/mattn/go-isatty v0.0.14/go.mod h1:7GGIvUiUoEMVVmxf/4nioHXj79iQHKdU27kJ6hsGG94=
|
| 331 |
+
github.com/mattn/go-isatty v0.0.20 h1:xfD0iDuEKnDkl03q4limB+vH+GxLEtL/jb4xVJSWWEY=
|
| 332 |
+
github.com/mattn/go-isatty v0.0.20/go.mod h1:W+V8PltTTMOvKvAeJH7IuucS94S2C6jfK/D7dTCTo3Y=
|
| 333 |
+
github.com/mitchellh/copystructure v1.2.0 h1:vpKXTN4ewci03Vljg/q9QvCGUDttBOGBIa15WveJJGw=
|
| 334 |
+
github.com/mitchellh/copystructure v1.2.0/go.mod h1:qLl+cE2AmVv+CoeAwDPye/v+N2HKCj9FbZEVFJRxO9s=
|
| 335 |
+
github.com/mitchellh/go-homedir v1.1.0 h1:lukF9ziXFxDFPkA1vsr5zpc1XuPDn/wFntq5mG+4E0Y=
|
| 336 |
+
github.com/mitchellh/go-homedir v1.1.0/go.mod h1:SfyaCUpYCn1Vlf4IUYiD9fPX4A5wJrkLzIz1N1q0pr0=
|
| 337 |
+
github.com/mitchellh/mapstructure v1.5.0 h1:jeMsZIYE/09sWLaz43PL7Gy6RuMjD2eJVyuac5Z2hdY=
|
| 338 |
+
github.com/mitchellh/mapstructure v1.5.0/go.mod h1:bFUtVrKA4DC2yAKiSyO/QUcy7e+RRV2QTWOzhPopBRo=
|
| 339 |
+
github.com/mitchellh/reflectwalk v1.0.2 h1:G2LzWKi524PWgd3mLHV8Y5k7s6XUvT0Gef6zxSIeXaQ=
|
| 340 |
+
github.com/mitchellh/reflectwalk v1.0.2/go.mod h1:mSTlrgnPZtwu0c4WaC2kGObEpuNDbx0jmZXqmk4esnw=
|
| 341 |
+
github.com/modern-go/concurrent v0.0.0-20180228061459-e0a39a4cb421/go.mod h1:6dJC0mAP4ikYIbvyc7fijjWJddQyLn8Ig3JB5CqoB9Q=
|
| 342 |
+
github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd h1:TRLaZ9cD/w8PVh93nsPXa1VrQ6jlwL5oN8l14QlcNfg=
|
| 343 |
+
github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd/go.mod h1:6dJC0mAP4ikYIbvyc7fijjWJddQyLn8Ig3JB5CqoB9Q=
|
| 344 |
+
github.com/modern-go/reflect2 v1.0.2/go.mod h1:yWuevngMOJpCy52FWWMvUC8ws7m/LJsjYzDa0/r8luk=
|
| 345 |
+
github.com/modern-go/reflect2 v1.0.3-0.20250322232337-35a7c28c31ee h1:W5t00kpgFdJifH4BDsTlE89Zl93FEloxaWZfGcifgq8=
|
| 346 |
+
github.com/modern-go/reflect2 v1.0.3-0.20250322232337-35a7c28c31ee/go.mod h1:yWuevngMOJpCy52FWWMvUC8ws7m/LJsjYzDa0/r8luk=
|
| 347 |
+
github.com/munnerz/goautoneg v0.0.0-20191010083416-a7dc8b61c822 h1:C3w9PqII01/Oq1c1nUAm88MOHcQC9l5mIlSMApZMrHA=
|
| 348 |
+
github.com/munnerz/goautoneg v0.0.0-20191010083416-a7dc8b61c822/go.mod h1:+n7T8mK8HuQTcFwEeznm/DIxMOiR9yIdICNftLE1DvQ=
|
| 349 |
+
github.com/onsi/ginkgo/v2 v2.27.4 h1:fcEcQW/A++6aZAZQNUmNjvA9PSOzefMJBerHJ4t8v8Y=
|
| 350 |
+
github.com/onsi/ginkgo/v2 v2.27.4/go.mod h1:ArE1D/XhNXBXCBkKOLkbsb2c81dQHCRcF5zwn/ykDRo=
|
| 351 |
+
github.com/onsi/gomega v1.39.0 h1:y2ROC3hKFmQZJNFeGAMeHZKkjBL65mIZcvrLQBF9k6Q=
|
| 352 |
+
github.com/onsi/gomega v1.39.0/go.mod h1:ZCU1pkQcXDO5Sl9/VVEGlDyp+zm0m1cmeG5TOzLgdh4=
|
| 353 |
+
github.com/pkg/errors v0.9.1 h1:FEBLx1zS214owpjy7qsBeixbURkuhQAwrK5UwLGTwt4=
|
| 354 |
+
github.com/pkg/errors v0.9.1/go.mod h1:bwawxfHBFNV+L2hUp1rHADufV3IMtnDRdf1r5NINEl0=
|
| 355 |
+
github.com/planetscale/vtprotobuf v0.6.1-0.20240319094008-0393e58bdf10 h1:GFCKgmp0tecUJ0sJuv4pzYCqS9+RGSn52M3FUwPs+uo=
|
| 356 |
+
github.com/planetscale/vtprotobuf v0.6.1-0.20240319094008-0393e58bdf10/go.mod h1:t/avpk3KcrXxUnYOhZhMXJlSEyie6gQbtLq5NM3loB8=
|
| 357 |
+
github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4=
|
| 358 |
+
github.com/pmezard/go-difflib v1.0.1-0.20181226105442-5d4384ee4fb2 h1:Jamvg5psRIccs7FGNTlIRMkT8wgtp5eCXdBlqhYGL6U=
|
| 359 |
+
github.com/pmezard/go-difflib v1.0.1-0.20181226105442-5d4384ee4fb2/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4=
|
| 360 |
+
github.com/prometheus/client_golang v1.23.2 h1:Je96obch5RDVy3FDMndoUsjAhG5Edi49h0RJWRi/o0o=
|
| 361 |
+
github.com/prometheus/client_golang v1.23.2/go.mod h1:Tb1a6LWHB3/SPIzCoaDXI4I8UHKeFTEQ1YCr+0Gyqmg=
|
| 362 |
+
github.com/prometheus/client_model v0.6.2 h1:oBsgwpGs7iVziMvrGhE53c/GrLUsZdHnqNwqPLxwZyk=
|
| 363 |
+
github.com/prometheus/client_model v0.6.2/go.mod h1:y3m2F6Gdpfy6Ut/GBsUqTWZqCUvMVzSfMLjcu6wAwpE=
|
| 364 |
+
github.com/prometheus/common v0.67.5 h1:pIgK94WWlQt1WLwAC5j2ynLaBRDiinoAb86HZHTUGI4=
|
| 365 |
+
github.com/prometheus/common v0.67.5/go.mod h1:SjE/0MzDEEAyrdr5Gqc6G+sXI67maCxzaT3A2+HqjUw=
|
| 366 |
+
github.com/prometheus/procfs v0.19.2 h1:zUMhqEW66Ex7OXIiDkll3tl9a1ZdilUOd/F6ZXw4Vws=
|
| 367 |
+
github.com/prometheus/procfs v0.19.2/go.mod h1:M0aotyiemPhBCM0z5w87kL22CxfcH05ZpYlu+b4J7mw=
|
| 368 |
+
github.com/rogpeppe/go-internal v1.6.1/go.mod h1:xXDCJY+GAPziupqXw64V24skbSoqbTEfhy4qGm1nDQc=
|
| 369 |
+
github.com/rogpeppe/go-internal v1.14.1 h1:UQB4HGPB6osV0SQTLymcB4TgvyWu6ZyliaW0tI/otEQ=
|
| 370 |
+
github.com/rogpeppe/go-internal v1.14.1/go.mod h1:MaRKkUm5W0goXpeCfT7UZI6fk/L7L7so1lCWt35ZSgc=
|
| 371 |
+
github.com/ryanuber/go-glob v1.0.0 h1:iQh3xXAumdQ+4Ufa5b25cRpC5TYKlno6hsv6Cb3pkBk=
|
| 372 |
+
github.com/ryanuber/go-glob v1.0.0/go.mod h1:807d1WSdnB0XRJzKNil9Om6lcp/3a0v4qIHxIXzX/Yc=
|
| 373 |
+
github.com/shopspring/decimal v1.4.0 h1:bxl37RwXBklmTi0C79JfXCEBD1cqqHt0bbgBAGFp81k=
|
| 374 |
+
github.com/shopspring/decimal v1.4.0/go.mod h1:gawqmDU56v4yIKSwfBSFip1HdCCXN8/+DMd9qYNcwME=
|
| 375 |
+
github.com/sirupsen/logrus v1.8.1/go.mod h1:yWOB1SBYBC5VeMP7gHvWumXLIWorT60ONWic61uBYv0=
|
| 376 |
+
github.com/sirupsen/logrus v1.9.3 h1:dueUQJ1C2q9oE3F7wvmSGAaVtTmUizReu6fjN8uqzbQ=
|
| 377 |
+
github.com/sirupsen/logrus v1.9.3/go.mod h1:naHLuLoDiP4jHNo9R0sCBMtWGeIprob74mVsIT4qYEQ=
|
| 378 |
+
github.com/spf13/cast v1.7.0 h1:ntdiHjuueXFgm5nzDRdOS4yfT43P5Fnud6DH50rz/7w=
|
| 379 |
+
github.com/spf13/cast v1.7.0/go.mod h1:ancEpBxwJDODSW/UG4rDrAqiKolqNNh2DX3mk86cAdo=
|
| 380 |
+
github.com/spf13/pflag v1.0.9 h1:9exaQaMOCwffKiiiYk6/BndUBv+iRViNW+4lEMi0PvY=
|
| 381 |
+
github.com/spf13/pflag v1.0.9/go.mod h1:McXfInJRrz4CZXVZOBLb0bTZqETkiAhM9Iw0y3An2Bg=
|
| 382 |
+
github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME=
|
| 383 |
+
github.com/stretchr/objx v0.4.0/go.mod h1:YvHI0jy2hoMjB+UWwv71VJQ9isScKT/TqJzVSSt89Yw=
|
| 384 |
+
github.com/stretchr/objx v0.5.0/go.mod h1:Yh+to48EsGEfYuaHDzXPcE3xhTkx73EhmCGUpEOglKo=
|
| 385 |
+
github.com/stretchr/objx v0.5.2 h1:xuMeJ0Sdp5ZMRXx/aWO6RZxdr3beISkG5/G/aIRr3pY=
|
| 386 |
+
github.com/stretchr/objx v0.5.2/go.mod h1:FRsXN1f5AsAjCGJKqEizvkpNtU+EGNCLh3NxZ/8L+MA=
|
| 387 |
+
github.com/stretchr/testify v1.2.2/go.mod h1:a8OnRcib4nhh0OaRAV+Yts87kKdq0PP7pXfy6kDkUVs=
|
| 388 |
+
github.com/stretchr/testify v1.3.0/go.mod h1:M5WIy9Dh21IEIfnGCwXGc5bZfKNJtfHm1UVUgZn+9EI=
|
| 389 |
+
github.com/stretchr/testify v1.5.1/go.mod h1:5W2xD1RspED5o8YsWQXVCued0rvSQ+mT+I5cxcmMvtA=
|
| 390 |
+
github.com/stretchr/testify v1.7.0/go.mod h1:6Fq8oRcR53rry900zMqJjRRixrwX3KX962/h/Wwjteg=
|
| 391 |
+
github.com/stretchr/testify v1.7.1/go.mod h1:6Fq8oRcR53rry900zMqJjRRixrwX3KX962/h/Wwjteg=
|
| 392 |
+
github.com/stretchr/testify v1.7.2/go.mod h1:R6va5+xMeoiuVRoj+gSkQ7d3FALtqAAGI1FQKckRals=
|
| 393 |
+
github.com/stretchr/testify v1.8.0/go.mod h1:yNjHg4UonilssWZ8iaSj1OCr/vHnekPRkoO+kdMU+MU=
|
| 394 |
+
github.com/stretchr/testify v1.8.1/go.mod h1:w2LPCIKwWwSfY2zedu0+kehJoqGctiVI29o6fzry7u4=
|
| 395 |
+
github.com/stretchr/testify v1.8.2/go.mod h1:w2LPCIKwWwSfY2zedu0+kehJoqGctiVI29o6fzry7u4=
|
| 396 |
+
github.com/stretchr/testify v1.11.1 h1:7s2iGBzp5EwR7/aIZr8ao5+dra3wiQyKjjFuvgVKu7U=
|
| 397 |
+
github.com/stretchr/testify v1.11.1/go.mod h1:wZwfW3scLgRK+23gO65QZefKpKQRnfz6sD981Nm4B6U=
|
| 398 |
+
github.com/x448/float16 v0.8.4 h1:qLwI1I70+NjRFUR3zs1JPUCgaCXSh3SW62uAKT1mSBM=
|
| 399 |
+
github.com/x448/float16 v0.8.4/go.mod h1:14CWIYCyZA/cWjXOioeEpHeN/83MdbZDRQHoFcYsOfg=
|
| 400 |
+
go.opentelemetry.io/auto/sdk v1.2.1 h1:jXsnJ4Lmnqd11kwkBV2LgLoFMZKizbCi5fNZ/ipaZ64=
|
| 401 |
+
go.opentelemetry.io/auto/sdk v1.2.1/go.mod h1:KRTj+aOaElaLi+wW1kO/DZRXwkF4C5xPbEe3ZiIhN7Y=
|
| 402 |
+
go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc v0.67.0 h1:yI1/OhfEPy7J9eoa6Sj051C7n5dvpj0QX8g4sRchg04=
|
| 403 |
+
go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc v0.67.0/go.mod h1:NoUCKYWK+3ecatC4HjkRktREheMeEtrXoQxrqYFeHSc=
|
| 404 |
+
go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.67.0 h1:OyrsyzuttWTSur2qN/Lm0m2a8yqyIjUVBZcxFPuXq2o=
|
| 405 |
+
go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.67.0/go.mod h1:C2NGBr+kAB4bk3xtMXfZ94gqFDtg/GkI7e9zqGh5Beg=
|
| 406 |
+
go.opentelemetry.io/otel v1.43.0 h1:mYIM03dnh5zfN7HautFE4ieIig9amkNANT+xcVxAj9I=
|
| 407 |
+
go.opentelemetry.io/otel v1.43.0/go.mod h1:JuG+u74mvjvcm8vj8pI5XiHy1zDeoCS2LB1spIq7Ay0=
|
| 408 |
+
go.opentelemetry.io/otel/metric v1.43.0 h1:d7638QeInOnuwOONPp4JAOGfbCEpYb+K6DVWvdxGzgM=
|
| 409 |
+
go.opentelemetry.io/otel/metric v1.43.0/go.mod h1:RDnPtIxvqlgO8GRW18W6Z/4P462ldprJtfxHxyKd2PY=
|
| 410 |
+
go.opentelemetry.io/otel/sdk v1.43.0 h1:pi5mE86i5rTeLXqoF/hhiBtUNcrAGHLKQdhg4h4V9Dg=
|
| 411 |
+
go.opentelemetry.io/otel/sdk v1.43.0/go.mod h1:P+IkVU3iWukmiit/Yf9AWvpyRDlUeBaRg6Y+C58QHzg=
|
| 412 |
+
go.opentelemetry.io/otel/sdk/metric v1.43.0 h1:S88dyqXjJkuBNLeMcVPRFXpRw2fuwdvfCGLEo89fDkw=
|
| 413 |
+
go.opentelemetry.io/otel/sdk/metric v1.43.0/go.mod h1:C/RJtwSEJ5hzTiUz5pXF1kILHStzb9zFlIEe85bhj6A=
|
| 414 |
+
go.opentelemetry.io/otel/trace v1.43.0 h1:BkNrHpup+4k4w+ZZ86CZoHHEkohws8AY+WTX09nk+3A=
|
| 415 |
+
go.opentelemetry.io/otel/trace v1.43.0/go.mod h1:/QJhyVBUUswCphDVxq+8mld+AvhXZLhe+8WVFxiFff0=
|
| 416 |
+
go.uber.org/goleak v1.3.0 h1:2K3zAYmnTNqV73imy9J1T3WC+gmCePx2hEGkimedGto=
|
| 417 |
+
go.uber.org/goleak v1.3.0/go.mod h1:CoHD4mav9JJNrW/WLlf7HGZPjdw8EucARQHekz1X6bE=
|
| 418 |
+
go.uber.org/multierr v1.11.0 h1:blXXJkSxSSfBVBlC76pxqeO+LN3aDfLQo+309xJstO0=
|
| 419 |
+
go.uber.org/multierr v1.11.0/go.mod h1:20+QtiLqy0Nd6FdQB9TLXag12DsQkrbs3htMFfDN80Y=
|
| 420 |
+
go.uber.org/zap v1.27.1 h1:08RqriUEv8+ArZRYSTXy1LeBScaMpVSTBhCeaZYfMYc=
|
| 421 |
+
go.uber.org/zap v1.27.1/go.mod h1:GB2qFLM7cTU87MWRP2mPIjqfIDnGu+VIO4V/SdhGo2E=
|
| 422 |
+
go.yaml.in/yaml/v2 v2.4.3 h1:6gvOSjQoTB3vt1l+CU+tSyi/HOjfOjRLJ4YwYZGwRO0=
|
| 423 |
+
go.yaml.in/yaml/v2 v2.4.3/go.mod h1:zSxWcmIDjOzPXpjlTTbAsKokqkDNAVtZO0WOMiT90s8=
|
| 424 |
+
go.yaml.in/yaml/v3 v3.0.4 h1:tfq32ie2Jv2UxXFdLJdh3jXuOzWiL1fo0bu/FbuKpbc=
|
| 425 |
+
go.yaml.in/yaml/v3 v3.0.4/go.mod h1:DhzuOOF2ATzADvBadXxruRBLzYTpT36CKvDb3+aBEFg=
|
| 426 |
+
golang.org/x/crypto v0.0.0-20190308221718-c2843e01d9a2/go.mod h1:djNgcEr1/C05ACkg1iLfiJU5Ep61QUkGW8qpdssI0+w=
|
| 427 |
+
golang.org/x/crypto v0.53.0 h1:QZ4Muo8THX6CizN2vPPd5fBGHyogrdK9fG4wLPFUsto=
|
| 428 |
+
golang.org/x/crypto v0.53.0/go.mod h1:DNLU434OwVakk9PzuwV8w62mAJpRJL3vsgcfp4Qnsio=
|
| 429 |
+
golang.org/x/mod v0.36.0 h1:JJjpVx6myfUsUdAzZuOSTTmRE0PfZeNWzzvKrP7amb4=
|
| 430 |
+
golang.org/x/mod v0.36.0/go.mod h1:moc6ELqsWcOw5Ef3xVprK5ul/MvtVvkIXLziUOICjUQ=
|
| 431 |
+
golang.org/x/net v0.0.0-20200202094626-16171245cfb2/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s=
|
| 432 |
+
golang.org/x/net v0.56.0 h1:Rw8j/hFzGvJUZwNBXnAtf5sVDVt+65SK2C7IxCxZt5o=
|
| 433 |
+
golang.org/x/net v0.56.0/go.mod h1:D3Ku6r+V6JROoZK144D2XfMHFcMq/0zSfLelVTCFKec=
|
| 434 |
+
golang.org/x/oauth2 v0.36.0 h1:peZ/1z27fi9hUOFCAZaHyrpWG5lwe0RJEEEeH0ThlIs=
|
| 435 |
+
golang.org/x/oauth2 v0.36.0/go.mod h1:YDBUJMTkDnJS+A4BP4eZBjCqtokkg1hODuPjwiGPO7Q=
|
| 436 |
+
golang.org/x/sync v0.21.0 h1:HLII4xRRTtCRkxYp4HNFF0Js/Og6q2i++KXbg0gHCwM=
|
| 437 |
+
golang.org/x/sync v0.21.0/go.mod h1:9xrNwdLfx4jkKbNva9FpL6vEN7evnE43NNNJQ2LF3+0=
|
| 438 |
+
golang.org/x/sys v0.0.0-20190215142949-d0b11bdaac8a/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY=
|
| 439 |
+
golang.org/x/sys v0.0.0-20191026070338-33540a1f6037/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
|
| 440 |
+
golang.org/x/sys v0.0.0-20200116001909-b77594299b42/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
|
| 441 |
+
golang.org/x/sys v0.0.0-20200223170610-d5e6a3e2c0ae/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
|
| 442 |
+
golang.org/x/sys v0.0.0-20210630005230-0f9fa26af87c/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
|
| 443 |
+
golang.org/x/sys v0.0.0-20210927094055-39ccf1dd6fa6/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
|
| 444 |
+
golang.org/x/sys v0.0.0-20220503163025-988cb79eb6c6/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
|
| 445 |
+
golang.org/x/sys v0.0.0-20220715151400-c0bba94af5f8/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
|
| 446 |
+
golang.org/x/sys v0.6.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
|
| 447 |
+
golang.org/x/sys v0.46.0 h1:noSf2Fq6F8DBgS+LysIkx7rIExoNHJsxOAtPp4rthXw=
|
| 448 |
+
golang.org/x/sys v0.46.0/go.mod h1:4GL1E5IUh+htKOUEOaiffhrAeqysfVGipDYzABqnCmw=
|
| 449 |
+
golang.org/x/term v0.44.0 h1:0rLvDRCtNj0gZkyIXhCyOb2OAzEhLVqc4B+hrsBhrmc=
|
| 450 |
+
golang.org/x/term v0.44.0/go.mod h1:7ze4MdzUzLXpSAoFP1H0bOI9aXDqveSvatT5vKcFh2Y=
|
| 451 |
+
golang.org/x/text v0.3.0/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ=
|
| 452 |
+
golang.org/x/text v0.38.0 h1:sXmwo9DwP3OK9EZ7PqAdaooSGozfl/3a6/xJcbzPRhE=
|
| 453 |
+
golang.org/x/text v0.38.0/go.mod h1:YXZt3QhHUKYT53r2lLKFIVi6Ao1jdzrTR/KQ09qyxF4=
|
| 454 |
+
golang.org/x/time v0.15.0 h1:bbrp8t3bGUeFOx08pvsMYRTCVSMk89u4tKbNOZbp88U=
|
| 455 |
+
golang.org/x/time v0.15.0/go.mod h1:Y4YMaQmXwGQZoFaVFk4YpCt4FLQMYKZe9oeV/f4MSno=
|
| 456 |
+
golang.org/x/tools v0.45.0 h1:18qN3FAooORvApf5XjCXgsuayZOEtXf6JK18I3+ONa8=
|
| 457 |
+
golang.org/x/tools v0.45.0/go.mod h1:LuUGqqaXcXMEFEruIVJVm5mgDD8vww/z/SR1gQ4uE/0=
|
| 458 |
+
gomodules.xyz/jsonpatch/v2 v2.4.0 h1:Ci3iUJyx9UeRx7CeFN8ARgGbkESwJK+KB9lLcWxY/Zw=
|
| 459 |
+
gomodules.xyz/jsonpatch/v2 v2.4.0/go.mod h1:AH3dM2RI6uoBZxn3LVrfvJ3E0/9dG4cSrbuBJT4moAY=
|
| 460 |
+
gonum.org/v1/gonum v0.17.0 h1:VbpOemQlsSMrYmn7T2OUvQ4dqxQXU+ouZFQsZOx50z4=
|
| 461 |
+
gonum.org/v1/gonum v0.17.0/go.mod h1:El3tOrEuMpv2UdMrbNlKEh9vd86bmQ6vqIcDwxEOc1E=
|
| 462 |
+
google.golang.org/api v0.285.0 h1:B7eHHoKGAX/LrPkQvhQqnGwjgWxofbdGwCTQvpm8FkM=
|
| 463 |
+
google.golang.org/api v0.285.0/go.mod h1:NlOlUIr8MPoIhT9Bb/oUnRuHbJOLwxb6JSYJM8Yz+jQ=
|
| 464 |
+
google.golang.org/genproto v0.0.0-20260319201613-d00831a3d3e7 h1:XzmzkmB14QhVhgnawEVsOn6OFsnpyxNPRY9QV01dNB0=
|
| 465 |
+
google.golang.org/genproto v0.0.0-20260319201613-d00831a3d3e7/go.mod h1:L43LFes82YgSonw6iTXTxXUX1OlULt4AQtkik4ULL/I=
|
| 466 |
+
google.golang.org/genproto/googleapis/api v0.0.0-20260401024825-9d38bb4040a9 h1:VPWxll4HlMw1Vs/qXtN7BvhZqsS9cdAittCNvVENElA=
|
| 467 |
+
google.golang.org/genproto/googleapis/api v0.0.0-20260401024825-9d38bb4040a9/go.mod h1:7QBABkRtR8z+TEnmXTqIqwJLlzrZKVfAUm7tY3yGv0M=
|
| 468 |
+
google.golang.org/genproto/googleapis/rpc v0.0.0-20260610212136-7ab31c22f7ad h1:45WmJvIV6C2+O/jjLkPUH+F3aOj/1miDoU2DD0+NWbg=
|
| 469 |
+
google.golang.org/genproto/googleapis/rpc v0.0.0-20260610212136-7ab31c22f7ad/go.mod h1:4Hqkh8ycfw05ld/3BWL7rJOSfebL2Q+DVDeRgYgxUU8=
|
| 470 |
+
google.golang.org/grpc v1.81.1 h1:VnnIIZ88UzOOKLukQi+ImGz8O1Wdp8nAGGnvOfEIWQQ=
|
| 471 |
+
google.golang.org/grpc v1.81.1/go.mod h1:xGH9GfzOyMTGIOXBJmXt+BX/V0kcdQbdcuwQ/zNw42I=
|
| 472 |
+
google.golang.org/protobuf v1.36.12-0.20260120151049-f2248ac996af h1:+5/Sw3GsDNlEmu7TfklWKPdQ0Ykja5VEmq2i817+jbI=
|
| 473 |
+
google.golang.org/protobuf v1.36.12-0.20260120151049-f2248ac996af/go.mod h1:HTf+CrKn2C3g5S8VImy6tdcUvCska2kB7j23XfzDpco=
|
| 474 |
+
gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0=
|
| 475 |
+
gopkg.in/check.v1 v1.0.0-20180628173108-788fd7840127/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0=
|
| 476 |
+
gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c h1:Hei/4ADfdWqJk1ZMxUNpqntNwaWcugrBjAiHlqqRiVk=
|
| 477 |
+
gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c/go.mod h1:JHkPIbrfpd72SG/EVd6muEfDQjcINNoR0C8j2r3qZ4Q=
|
| 478 |
+
gopkg.in/errgo.v2 v2.1.0/go.mod h1:hNsd1EY+bozCKY1Ytp96fpM3vjJbqLJn88ws8XvfDNI=
|
| 479 |
+
gopkg.in/evanphx/json-patch.v4 v4.13.0 h1:czT3CmqEaQ1aanPc5SdlgQrrEIb8w/wwCvWWnfEbYzo=
|
| 480 |
+
gopkg.in/evanphx/json-patch.v4 v4.13.0/go.mod h1:p8EYWUEYMpynmqDbY58zCKCFZw8pRWMG4EsWvDvM72M=
|
| 481 |
+
gopkg.in/inf.v0 v0.9.1 h1:73M5CoZyi3ZLMOyDlQh031Cx6N9NDJ2Vvfl76EDAgDc=
|
| 482 |
+
gopkg.in/inf.v0 v0.9.1/go.mod h1:cWUDdTG/fYaXco+Dcufb5Vnc6Gp2YChqWtbxRZE0mXw=
|
| 483 |
+
gopkg.in/yaml.v2 v2.2.2/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI=
|
| 484 |
+
gopkg.in/yaml.v2 v2.2.8/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI=
|
| 485 |
+
gopkg.in/yaml.v2 v2.3.0 h1:clyUAQHOM3G0M3f5vQj7LuJrETvjVot3Z5el9nffUtU=
|
| 486 |
+
gopkg.in/yaml.v2 v2.3.0/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI=
|
| 487 |
+
gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM=
|
| 488 |
+
gopkg.in/yaml.v3 v3.0.1 h1:fxVm/GzAzEWqLHuvctI91KS9hhNmmWOoWu0XTYJS7CA=
|
| 489 |
+
gopkg.in/yaml.v3 v3.0.1/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM=
|
| 490 |
+
k8s.io/api v0.36.2 h1:TF6YDLIzKfccK7cq9YpTcGX8TJmEkHVRv78DM51fRYY=
|
| 491 |
+
k8s.io/api v0.36.2/go.mod h1:F4LbMO4brjZYh7yFkXWhynSvtB7YauxV4c+HHkNRGNg=
|
| 492 |
+
k8s.io/apiextensions-apiserver v0.36.0 h1:Wt7E8J+VBCbj4FjiBfDTK/neXDDjyJVJc7xfuOHImZ0=
|
| 493 |
+
k8s.io/apiextensions-apiserver v0.36.0/go.mod h1:kGDjH0msuiIB3tgsYRV0kS9GqpMYMUsQ3GHv7TApyug=
|
| 494 |
+
k8s.io/apimachinery v0.36.2 h1:0PE/W/WNy1UX61NLbXY5TMbJ6UwLL6E6lAPkYrKFxbQ=
|
| 495 |
+
k8s.io/apimachinery v0.36.2/go.mod h1:fvf/HOLXq9RId0rnDIbN1OEBvHXdQbLMM8nu0LcBUf4=
|
| 496 |
+
k8s.io/client-go v0.36.2 h1:bfgxmFKc9CgqsgX4xKLAAdmTQlWee7Ob/HlDOrJ5TBI=
|
| 497 |
+
k8s.io/client-go v0.36.2/go.mod h1:1vgO4OAlfPnoLcb+Rze2GF5rAr14w8qjrYMoyXJzQj0=
|
| 498 |
+
k8s.io/klog/v2 v2.140.0 h1:Tf+J3AH7xnUzZyVVXhTgGhEKnFqye14aadWv7bzXdzc=
|
| 499 |
+
k8s.io/klog/v2 v2.140.0/go.mod h1:o+/RWfJ6PwpnFn7OyAG3QnO47BFsymfEfrz6XyYSSp0=
|
| 500 |
+
k8s.io/kube-openapi v0.0.0-20260317180543-43fb72c5454a h1:xCeOEAOoGYl2jnJoHkC3hkbPJgdATINPMAxaynU2Ovg=
|
| 501 |
+
k8s.io/kube-openapi v0.0.0-20260317180543-43fb72c5454a/go.mod h1:uGBT7iTA6c6MvqUvSXIaYZo9ukscABYi2btjhvgKGZ0=
|
| 502 |
+
k8s.io/utils v0.0.0-20260210185600-b8788abfbbc2 h1:AZYQSJemyQB5eRxqcPky+/7EdBj0xi3g0ZcxxJ7vbWU=
|
| 503 |
+
k8s.io/utils v0.0.0-20260210185600-b8788abfbbc2/go.mod h1:xDxuJ0whA3d0I4mf/C4ppKHxXynQ+fxnkmQH0vTHnuk=
|
| 504 |
+
sigs.k8s.io/controller-runtime v0.24.0 h1:Ck6N2LdS8Lovy1o25BB4r1xjvLEKUl1s2o9kU+KWDE4=
|
| 505 |
+
sigs.k8s.io/controller-runtime v0.24.0/go.mod h1:vFkfY5fGt5xAC/sKb8IBFKgWPNKG9OUG29dR8Y2wImw=
|
| 506 |
+
sigs.k8s.io/json v0.0.0-20250730193827-2d320260d730 h1:IpInykpT6ceI+QxKBbEflcR5EXP7sU1kvOlxwZh5txg=
|
| 507 |
+
sigs.k8s.io/json v0.0.0-20250730193827-2d320260d730/go.mod h1:mdzfpAEoE6DHQEN0uh9ZbOCuHbLK5wOm7dK4ctXE9Tg=
|
| 508 |
+
sigs.k8s.io/randfill v1.0.0 h1:JfjMILfT8A6RbawdsK2JXGBR5AQVfd+9TbzrlneTyrU=
|
| 509 |
+
sigs.k8s.io/randfill v1.0.0/go.mod h1:XeLlZ/jmk4i1HRopwe7/aU3H5n1zNUcX6TM94b3QxOY=
|
| 510 |
+
sigs.k8s.io/structured-merge-diff/v6 v6.3.2 h1:kwVWMx5yS1CrnFWA/2QHyRVJ8jM6dBA80uLmm0wJkk8=
|
| 511 |
+
sigs.k8s.io/structured-merge-diff/v6 v6.3.2/go.mod h1:M3W8sfWvn2HhQDIbGWj3S099YozAsymCo/wrT5ohRUE=
|
| 512 |
+
sigs.k8s.io/yaml v1.6.0 h1:G8fkbMSAFqgEFgh4b1wmtzDnioxFCUgTZhlbj5P9QYs=
|
| 513 |
+
sigs.k8s.io/yaml v1.6.0/go.mod h1:796bPqUfzR/0jLAl6XjHl3Ck7MiyVv8dbTdyT3/pMf4=
|
| 514 |
+
PROGRAMGYM_GO_SUM_EOF
|
| 515 |
+
PROGRAMGYM_INTERNAL_GO_PRIMARY_PROXY="${GOPROXY:-direct}"
|
| 516 |
+
PROGRAMGYM_INTERNAL_GO_FALLBACK_PROXY=""
|
| 517 |
+
case "$PROGRAMGYM_INTERNAL_GO_PRIMARY_PROXY" in
|
| 518 |
+
*"|"*|*","*)
|
| 519 |
+
PROGRAMGYM_INTERNAL_GO_FIRST_PROXY="${PROGRAMGYM_INTERNAL_GO_PRIMARY_PROXY%%[,|]*}"
|
| 520 |
+
PROGRAMGYM_INTERNAL_GO_PROXY_REMAINDER="${PROGRAMGYM_INTERNAL_GO_PRIMARY_PROXY#*[,|]}"
|
| 521 |
+
if [[ "$PROGRAMGYM_INTERNAL_GO_FIRST_PROXY" =~ [^[:space:]] ]] && [[ "$PROGRAMGYM_INTERNAL_GO_PROXY_REMAINDER" =~ [^[:space:]] ]]; then
|
| 522 |
+
PROGRAMGYM_INTERNAL_GO_FALLBACK_PROXY="${PROGRAMGYM_GO_PUBLIC_FALLBACK_PROXY:-${PROGRAMGYM_INTERNAL_GO_PROXY_REMAINDER}}"
|
| 523 |
+
fi
|
| 524 |
+
;;
|
| 525 |
+
esac
|
| 526 |
+
if ! [[ "$PROGRAMGYM_INTERNAL_GO_FALLBACK_PROXY" =~ [^[:space:]] ]]; then
|
| 527 |
+
PROGRAMGYM_INTERNAL_GO_FALLBACK_PROXY=""
|
| 528 |
+
fi
|
| 529 |
+
cat > /workspace/.programgym_build_env/go-prefetch/.programgym_go_timeout_supervisor.py <<'PROGRAMGYM_GO_TIMEOUT_SUPERVISOR_EOF'
|
| 530 |
+
import os
|
| 531 |
+
import signal
|
| 532 |
+
import subprocess
|
| 533 |
+
import sys
|
| 534 |
+
import time
|
| 535 |
+
|
| 536 |
+
sentinel_path, timeout_text, grace_text, proxy, *command = sys.argv[1:]
|
| 537 |
+
if not command:
|
| 538 |
+
raise SystemExit(125)
|
| 539 |
+
environment = os.environ.copy()
|
| 540 |
+
environment["GOPROXY"] = proxy
|
| 541 |
+
process = subprocess.Popen(command, env=environment, start_new_session=True)
|
| 542 |
+
try:
|
| 543 |
+
returncode = process.wait(timeout=float(timeout_text))
|
| 544 |
+
except subprocess.TimeoutExpired:
|
| 545 |
+
with open(sentinel_path, "w", encoding="utf-8") as sentinel:
|
| 546 |
+
sentinel.write("expired\n")
|
| 547 |
+
try:
|
| 548 |
+
os.killpg(process.pid, signal.SIGTERM)
|
| 549 |
+
except ProcessLookupError:
|
| 550 |
+
pass
|
| 551 |
+
deadline = time.monotonic() + float(grace_text)
|
| 552 |
+
group_alive = True
|
| 553 |
+
while time.monotonic() < deadline:
|
| 554 |
+
process.poll()
|
| 555 |
+
try:
|
| 556 |
+
os.killpg(process.pid, 0)
|
| 557 |
+
except ProcessLookupError:
|
| 558 |
+
group_alive = False
|
| 559 |
+
break
|
| 560 |
+
time.sleep(0.05)
|
| 561 |
+
if group_alive:
|
| 562 |
+
try:
|
| 563 |
+
os.killpg(process.pid, signal.SIGKILL)
|
| 564 |
+
except ProcessLookupError:
|
| 565 |
+
pass
|
| 566 |
+
process.wait()
|
| 567 |
+
raise SystemExit(124)
|
| 568 |
+
if returncode < 0:
|
| 569 |
+
returncode = 128 - returncode
|
| 570 |
+
raise SystemExit(returncode)
|
| 571 |
+
PROGRAMGYM_GO_TIMEOUT_SUPERVISOR_EOF
|
| 572 |
+
PROGRAMGYM_INTERNAL_GO_NEXUS_TIMEOUT_SECONDS="${PROGRAMGYM_GO_NEXUS_ATTEMPT_TIMEOUT_SECONDS:-90}"
|
| 573 |
+
if ! [[ "$PROGRAMGYM_INTERNAL_GO_NEXUS_TIMEOUT_SECONDS" =~ ^[1-9][0-9]*$ ]]; then
|
| 574 |
+
printf '%s\n' "download.sh: invalid PROGRAMGYM_GO_NEXUS_ATTEMPT_TIMEOUT_SECONDS=${PROGRAMGYM_INTERNAL_GO_NEXUS_TIMEOUT_SECONDS}" >&2
|
| 575 |
+
rm -f /workspace/.programgym_build_env/go-prefetch/.programgym_go_timeout_supervisor.py
|
| 576 |
+
if [ "${BASH_SOURCE[0]}" != "$0" ]; then
|
| 577 |
+
return 1
|
| 578 |
+
else
|
| 579 |
+
exit 1
|
| 580 |
+
fi
|
| 581 |
+
fi
|
| 582 |
+
if ! command -v python3 >/dev/null 2>&1; then
|
| 583 |
+
printf '%s\n' 'download.sh: python3 is required for bounded Nexus Go downloads' >&2
|
| 584 |
+
rm -f /workspace/.programgym_build_env/go-prefetch/.programgym_go_timeout_supervisor.py
|
| 585 |
+
if [ "${BASH_SOURCE[0]}" != "$0" ]; then
|
| 586 |
+
return 1
|
| 587 |
+
else
|
| 588 |
+
exit 1
|
| 589 |
+
fi
|
| 590 |
+
fi
|
| 591 |
+
_programgym_go_with_nexus_timeout() {
|
| 592 |
+
local programgym_go_rc
|
| 593 |
+
local programgym_go_timeout_sentinel
|
| 594 |
+
if ! programgym_go_timeout_sentinel="$(mktemp "${TMPDIR:-/tmp}/programgym-go-timeout.XXXXXX")"; then
|
| 595 |
+
return 1
|
| 596 |
+
fi
|
| 597 |
+
if python3 /workspace/.programgym_build_env/go-prefetch/.programgym_go_timeout_supervisor.py "$programgym_go_timeout_sentinel" "$PROGRAMGYM_INTERNAL_GO_NEXUS_TIMEOUT_SECONDS" "5" "$PROGRAMGYM_INTERNAL_GO_PRIMARY_PROXY" "$@"; then
|
| 598 |
+
programgym_go_rc=0
|
| 599 |
+
else
|
| 600 |
+
programgym_go_rc=$?
|
| 601 |
+
fi
|
| 602 |
+
programgym_go_timed_out=0
|
| 603 |
+
if [ -s "$programgym_go_timeout_sentinel" ]; then
|
| 604 |
+
programgym_go_timed_out=1
|
| 605 |
+
fi
|
| 606 |
+
rm -f "$programgym_go_timeout_sentinel"
|
| 607 |
+
if [ "$programgym_go_rc" -eq 0 ]; then
|
| 608 |
+
return 0
|
| 609 |
+
fi
|
| 610 |
+
if [ -z "$PROGRAMGYM_INTERNAL_GO_FALLBACK_PROXY" ]; then
|
| 611 |
+
printf '%s\n' "download.sh: primary Go request failed with rc=${programgym_go_rc}; GOPROXY has no explicit non-empty fallback remainder" >&2
|
| 612 |
+
return "$programgym_go_rc"
|
| 613 |
+
fi
|
| 614 |
+
if [ "$programgym_go_timed_out" -eq 1 ]; then
|
| 615 |
+
printf '%s\n' "download.sh: primary Go request exceeded ${PROGRAMGYM_INTERNAL_GO_NEXUS_TIMEOUT_SECONDS}s; retrying with GOPROXY=${PROGRAMGYM_INTERNAL_GO_FALLBACK_PROXY}" >&2
|
| 616 |
+
else
|
| 617 |
+
printf '%s\n' "download.sh: primary Go request failed with rc=${programgym_go_rc}; retrying with GOPROXY=${PROGRAMGYM_INTERNAL_GO_FALLBACK_PROXY}" >&2
|
| 618 |
+
fi
|
| 619 |
+
env GOPROXY="$PROGRAMGYM_INTERNAL_GO_FALLBACK_PROXY" "$@"
|
| 620 |
+
}
|
| 621 |
+
PROGRAMGYM_GO_BASE_GOROOT="$(GOTOOLCHAIN=local go env GOROOT)"
|
| 622 |
+
if ! PROGRAMGYM_GO_RESOLVED_GOROOT="$(cd /workspace/.programgym_build_env/go-prefetch && _programgym_go_with_nexus_timeout env GOTOOLCHAIN=auto go env GOROOT)"; then
|
| 623 |
+
printf '%s\n' 'download.sh: Go toolchain resolution failed' >&2
|
| 624 |
+
rm -f /workspace/.programgym_build_env/go-prefetch/.programgym_go_timeout_supervisor.py
|
| 625 |
+
if [ "${BASH_SOURCE[0]}" != "$0" ]; then
|
| 626 |
+
return 1
|
| 627 |
+
else
|
| 628 |
+
exit 1
|
| 629 |
+
fi
|
| 630 |
+
fi
|
| 631 |
+
if [ "$PROGRAMGYM_GO_RESOLVED_GOROOT" != "$PROGRAMGYM_GO_BASE_GOROOT" ]; then
|
| 632 |
+
PROGRAMGYM_GO_TOOLCHAIN_ROOT=/opt/programgym-go-toolchain
|
| 633 |
+
mkdir -p "$PROGRAMGYM_GO_TOOLCHAIN_ROOT"
|
| 634 |
+
cp -a "$PROGRAMGYM_GO_RESOLVED_GOROOT/." "$PROGRAMGYM_GO_TOOLCHAIN_ROOT/"
|
| 635 |
+
export GOROOT="$PROGRAMGYM_GO_TOOLCHAIN_ROOT"
|
| 636 |
+
else
|
| 637 |
+
export GOROOT="$PROGRAMGYM_GO_BASE_GOROOT"
|
| 638 |
+
fi
|
| 639 |
+
export PATH="$GOROOT/bin:$PATH"
|
| 640 |
+
export GOTOOLCHAIN=local
|
| 641 |
+
if ! (cd /workspace/.programgym_build_env/go-prefetch && _programgym_go_with_nexus_timeout go mod download -modfile=/workspace/.programgym_build_env/go-prefetch/go.mod all); then
|
| 642 |
+
printf '%s\n' 'download.sh: Go dependency prefetch failed' >&2
|
| 643 |
+
rm -f /workspace/.programgym_build_env/go-prefetch/.programgym_go_timeout_supervisor.py
|
| 644 |
+
if [ "${BASH_SOURCE[0]}" != "$0" ]; then
|
| 645 |
+
return 1
|
| 646 |
+
else
|
| 647 |
+
exit 1
|
| 648 |
+
fi
|
| 649 |
+
fi
|
| 650 |
+
rm -f /workspace/.programgym_build_env/go-prefetch/.programgym_go_timeout_supervisor.py
|
| 651 |
+
unset -f _programgym_go_with_nexus_timeout
|
| 652 |
+
unset PROGRAMGYM_INTERNAL_GO_PRIMARY_PROXY
|
| 653 |
+
unset PROGRAMGYM_INTERNAL_GO_FALLBACK_PROXY
|
| 654 |
+
unset PROGRAMGYM_INTERNAL_GO_FIRST_PROXY
|
| 655 |
+
unset PROGRAMGYM_INTERNAL_GO_PROXY_REMAINDER
|
| 656 |
+
unset PROGRAMGYM_INTERNAL_GO_NEXUS_TIMEOUT_SECONDS
|
ricoberger--vault-secrets-operator.64391df/tests/executable
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:eb48a295b740336e507b4db034e6e4b09c48d5c7ebe20c683723e3c364215f8e
|
| 3 |
+
size 78174104
|
ricoberger--vault-secrets-operator.64391df/tests/harbor_configure_apt_mirror.sh
ADDED
|
@@ -0,0 +1,37 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
#!/usr/bin/env bash
|
| 2 |
+
set -euo pipefail
|
| 3 |
+
|
| 4 |
+
repository_base="${1%/}"
|
| 5 |
+
if [[ -z "$repository_base" ]]; then
|
| 6 |
+
exit 0
|
| 7 |
+
fi
|
| 8 |
+
|
| 9 |
+
. /etc/os-release
|
| 10 |
+
codename="${VERSION_CODENAME:-}"
|
| 11 |
+
if [[ -z "$codename" ]]; then
|
| 12 |
+
echo "VERSION_CODENAME is not set" >&2
|
| 13 |
+
exit 1
|
| 14 |
+
fi
|
| 15 |
+
|
| 16 |
+
if [[ "$ID" == "ubuntu" ]]; then
|
| 17 |
+
repository_name="apt-proxy"
|
| 18 |
+
components="main universe restricted multiverse"
|
| 19 |
+
else
|
| 20 |
+
repository_name="debian-proxy"
|
| 21 |
+
components="main contrib non-free non-free-firmware"
|
| 22 |
+
fi
|
| 23 |
+
|
| 24 |
+
install -d /etc/apt/sources.list.d
|
| 25 |
+
rm -f /etc/apt/sources.list /etc/apt/sources.list.d/*
|
| 26 |
+
printf 'deb [trusted=yes] %s/%s %s %s\n' \
|
| 27 |
+
"$repository_base" "$repository_name" "$codename" "$components" \
|
| 28 |
+
>/etc/apt/sources.list
|
| 29 |
+
printf 'deb [trusted=yes] %s/%s %s-updates %s\n' \
|
| 30 |
+
"$repository_base" "$repository_name" "$codename" "$components" \
|
| 31 |
+
>>/etc/apt/sources.list
|
| 32 |
+
|
| 33 |
+
if [[ "$ID" != "ubuntu" ]]; then
|
| 34 |
+
printf 'deb [trusted=yes] %s/%s %s-security %s\n' \
|
| 35 |
+
"$repository_base" "debian-proxy-security" "$codename" "$components" \
|
| 36 |
+
>>/etc/apt/sources.list
|
| 37 |
+
fi
|
ricoberger--vault-secrets-operator.64391df/tests/harbor_configure_java_mirrors.sh
ADDED
|
@@ -0,0 +1,50 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
#!/usr/bin/env bash
|
| 2 |
+
set -euo pipefail
|
| 3 |
+
|
| 4 |
+
maven_url="${1%/}"
|
| 5 |
+
plugin_url="${2%/}"
|
| 6 |
+
jitpack_url="${3%/}"
|
| 7 |
+
|
| 8 |
+
install -d /workspace/.m2 /workspace/.gradle/init.d /opt/programgym/gradle-init
|
| 9 |
+
if [[ -n "$maven_url" ]]; then
|
| 10 |
+
cat >/workspace/.m2/settings.xml <<EOF
|
| 11 |
+
<?xml version="1.0" encoding="UTF-8"?>
|
| 12 |
+
<settings xmlns="http://maven.apache.org/SETTINGS/1.0.0">
|
| 13 |
+
<mirrors>
|
| 14 |
+
<mirror>
|
| 15 |
+
<id>programgym-maven</id>
|
| 16 |
+
<name>ProgramGym Maven mirror</name>
|
| 17 |
+
<url>${maven_url}</url>
|
| 18 |
+
<mirrorOf>*</mirrorOf>
|
| 19 |
+
</mirror>
|
| 20 |
+
</mirrors>
|
| 21 |
+
</settings>
|
| 22 |
+
EOF
|
| 23 |
+
fi
|
| 24 |
+
|
| 25 |
+
cat >/opt/programgym/gradle-init/programgym-mirrors.gradle <<'EOF'
|
| 26 |
+
def pbMaven = System.getenv('PROGRAMGYM_MAVEN_MIRROR_URL')
|
| 27 |
+
def pbPlugins = System.getenv('PROGRAMGYM_GRADLE_PLUGIN_REPOSITORY_URL')
|
| 28 |
+
def pbJitpack = System.getenv('PROGRAMGYM_JITPACK_REPOSITORY_URL')
|
| 29 |
+
|
| 30 |
+
settingsEvaluated { settings ->
|
| 31 |
+
settings.pluginManagement.repositories {
|
| 32 |
+
if (pbPlugins) { maven { url = uri(pbPlugins) } }
|
| 33 |
+
if (pbMaven) { maven { url = uri(pbMaven) } }
|
| 34 |
+
}
|
| 35 |
+
}
|
| 36 |
+
|
| 37 |
+
allprojects {
|
| 38 |
+
buildscript.repositories {
|
| 39 |
+
if (pbPlugins) { maven { url = uri(pbPlugins) } }
|
| 40 |
+
if (pbMaven) { maven { url = uri(pbMaven) } }
|
| 41 |
+
if (pbJitpack) { maven { url = uri(pbJitpack) } }
|
| 42 |
+
}
|
| 43 |
+
repositories {
|
| 44 |
+
if (pbMaven) { maven { url = uri(pbMaven) } }
|
| 45 |
+
if (pbJitpack) { maven { url = uri(pbJitpack) } }
|
| 46 |
+
}
|
| 47 |
+
}
|
| 48 |
+
EOF
|
| 49 |
+
cp /opt/programgym/gradle-init/programgym-mirrors.gradle \
|
| 50 |
+
/workspace/.gradle/init.d/programgym-mirrors.gradle
|
ricoberger--vault-secrets-operator.64391df/tests/harbor_prepare_download_env.sh
ADDED
|
@@ -0,0 +1,44 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
#!/usr/bin/env bash
|
| 2 |
+
set -euo pipefail
|
| 3 |
+
cd /workspace
|
| 4 |
+
set -a
|
| 5 |
+
if [[ -n "${PROGRAMGYM_MAVEN_MIRROR_URL:-}" ]]; then
|
| 6 |
+
sed -i -e "s|https://repo.maven.apache.org/maven2|${PROGRAMGYM_MAVEN_MIRROR_URL%/}|g" -e "s|https://repo1.maven.org/maven2|${PROGRAMGYM_MAVEN_MIRROR_URL%/}|g" /workspace/download.sh
|
| 7 |
+
fi
|
| 8 |
+
if [[ -n "${PROGRAMGYM_GRADLE_DISTRIBUTION_BASE_URL:-}" ]]; then
|
| 9 |
+
sed -i -e "s|https://services.gradle.org/distributions|${PROGRAMGYM_GRADLE_DISTRIBUTION_BASE_URL%/}|g" -e "s|https://downloads.gradle.org/distributions|${PROGRAMGYM_GRADLE_DISTRIBUTION_BASE_URL%/}|g" /workspace/download.sh
|
| 10 |
+
fi
|
| 11 |
+
if [[ -n "${PROGRAMGYM_JITPACK_REPOSITORY_URL:-}" ]]; then
|
| 12 |
+
sed -i -e "s|https://jitpack.io|${PROGRAMGYM_JITPACK_REPOSITORY_URL%/}|g" /workspace/download.sh
|
| 13 |
+
fi
|
| 14 |
+
source /workspace/download.sh
|
| 15 |
+
set +a
|
| 16 |
+
python3 - <<'PY' > /etc/profile.d/programgym_download_env.sh
|
| 17 |
+
import os
|
| 18 |
+
import shlex
|
| 19 |
+
|
| 20 |
+
ignored = {
|
| 21 |
+
"ALL_PROXY",
|
| 22 |
+
"HTTP_PROXY",
|
| 23 |
+
"HTTPS_PROXY",
|
| 24 |
+
"NO_PROXY",
|
| 25 |
+
"OLDPWD",
|
| 26 |
+
"PIP_PROXY",
|
| 27 |
+
"PWD",
|
| 28 |
+
"SHLVL",
|
| 29 |
+
"_",
|
| 30 |
+
"all_proxy",
|
| 31 |
+
"http_proxy",
|
| 32 |
+
"https_proxy",
|
| 33 |
+
"no_proxy",
|
| 34 |
+
"pip_proxy",
|
| 35 |
+
}
|
| 36 |
+
for key in sorted(os.environ):
|
| 37 |
+
if key in ignored or key.startswith("BASH_FUNC_"):
|
| 38 |
+
continue
|
| 39 |
+
value = os.environ[key]
|
| 40 |
+
if "\n" in value:
|
| 41 |
+
continue
|
| 42 |
+
print(f"export {key}={shlex.quote(value)}")
|
| 43 |
+
PY
|
| 44 |
+
chmod 0644 /etc/profile.d/programgym_download_env.sh
|
ricoberger--vault-secrets-operator.64391df/tests/programgym-go.tar.gz
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:39042a078ea9ceebe3ecda4a7188f0f5b96e14a071d27923ba7f40b456e85ae3
|
| 3 |
+
size 59908810
|
ricoberger--vault-secrets-operator.64391df/tests/programgym_evaluator.py
ADDED
|
@@ -0,0 +1,1201 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
#!/usr/bin/env python3
|
| 2 |
+
"""In-place ProgramGym evaluator.
|
| 3 |
+
|
| 4 |
+
Mirrors ProgramGym's ``Evaluator`` pipeline as closely as a single-container,
|
| 5 |
+
no-Docker-in-Docker host allows. Run from ``tests/test.sh`` inside the agent's
|
| 6 |
+
cleanroom container after Harbor flips the verifier-phase network policy.
|
| 7 |
+
|
| 8 |
+
Differences from ``programgym.eval.eval.Evaluator`` that are structural to
|
| 9 |
+
running in one container:
|
| 10 |
+
|
| 11 |
+
* No fresh container per branch. ``snapshot_workspace`` / ``restore_workspace``
|
| 12 |
+
copy a post-compile workspace snapshot to a temp directory and restore it
|
| 13 |
+
before each branch; ``cleanup_lingering_processes`` kills leftover branch
|
| 14 |
+
processes between attempts to approximate the fresh-container boundary.
|
| 15 |
+
* No ``docker commit``. The post-compile workspace snapshot serves the same
|
| 16 |
+
role as the committed image upstream.
|
| 17 |
+
* Hidden test blobs are fetched on demand from HuggingFace via
|
| 18 |
+
``huggingface_hub.snapshot_download`` (matching ``programgym.utils.blob_store``)
|
| 19 |
+
rather than being pre-staged into ``/tests/blobs/``. Override with
|
| 20 |
+
``PROGRAMGYM_BLOB_DIR`` for offline reruns.
|
| 21 |
+
|
| 22 |
+
Everything else (eval_clean_hashes scrub, deterministic synthetic git seed,
|
| 23 |
+
``compile.sh`` then stash + hash the executable, best-effort
|
| 24 |
+
``pytest-rerunfailures``, per-branch test-tar overlay, executable hash
|
| 25 |
+
``--max-worker-restart=4``, xdist worker-crash retry with serial fallback,
|
| 26 |
+
best-of-N attempt selection, active vs ignored test bookkeeping, scoring) is
|
| 27 |
+
preserved.
|
| 28 |
+
"""
|
| 29 |
+
|
| 30 |
+
from __future__ import annotations
|
| 31 |
+
|
| 32 |
+
import hashlib
|
| 33 |
+
import json
|
| 34 |
+
import os
|
| 35 |
+
import re
|
| 36 |
+
import shlex
|
| 37 |
+
import shutil
|
| 38 |
+
import signal
|
| 39 |
+
import subprocess
|
| 40 |
+
import tempfile
|
| 41 |
+
import time
|
| 42 |
+
import traceback
|
| 43 |
+
import xml.etree.ElementTree as ET
|
| 44 |
+
from pathlib import Path
|
| 45 |
+
from typing import Any
|
| 46 |
+
|
| 47 |
+
WORKSPACE = Path(os.environ.get("PROGRAMGYM_WORKSPACE", "/workspace"))
|
| 48 |
+
STASHED_EXECUTABLE = Path("/opt/programgym-stashed-executable-do-not-modify")
|
| 49 |
+
METADATA_PATH = Path(
|
| 50 |
+
os.environ.get("PROGRAMGYM_METADATA", "/tests/programgym_task.json")
|
| 51 |
+
)
|
| 52 |
+
LOG_DIR = Path(os.environ.get("PROGRAMGYM_LOG_DIR", "/logs/verifier"))
|
| 53 |
+
WORKER_CRASH_PHRASE = "worker '"
|
| 54 |
+
XDIST_COLLAPSE_MARKERS = (
|
| 55 |
+
"maximum crashed workers reached",
|
| 56 |
+
"xdist: maximum crashed",
|
| 57 |
+
)
|
| 58 |
+
|
| 59 |
+
DEFAULT_HF_REPO_ID = "programgym/ProgramGym-Tests"
|
| 60 |
+
DEFAULT_HF_REVISION = "main"
|
| 61 |
+
|
| 62 |
+
# Oracle agent handoff files (see solution/solve.sh). Must not appear in the
|
| 63 |
+
# post-compile workspace snapshot or they pollute tree-scanning tests (dutree).
|
| 64 |
+
_ORACLE_HANDOFF_NAMES = (".programgym_oracle_reference",)
|
| 65 |
+
|
| 66 |
+
_TOOLCHAIN_BIN_DIR_CANDIDATES = (
|
| 67 |
+
"/usr/local/go/bin",
|
| 68 |
+
"/go/bin",
|
| 69 |
+
"/usr/local/cargo/bin",
|
| 70 |
+
"/root/.cargo/bin",
|
| 71 |
+
"/root/.ghcup/bin",
|
| 72 |
+
)
|
| 73 |
+
|
| 74 |
+
|
| 75 |
+
def toolchain_bin_dirs() -> list[str]:
|
| 76 |
+
"""Return toolchain bin directories that exist on this image."""
|
| 77 |
+
candidates = list(_TOOLCHAIN_BIN_DIR_CANDIDATES)
|
| 78 |
+
candidates.extend(
|
| 79 |
+
str(path)
|
| 80 |
+
for path in sorted(Path("/usr/lib").glob("go-*/bin"))
|
| 81 |
+
if _is_accessible_dir(path)
|
| 82 |
+
)
|
| 83 |
+
seen: set[str] = set()
|
| 84 |
+
present: list[str] = []
|
| 85 |
+
for path in candidates:
|
| 86 |
+
if path in seen:
|
| 87 |
+
continue
|
| 88 |
+
seen.add(path)
|
| 89 |
+
if _is_accessible_dir(path):
|
| 90 |
+
present.append(path)
|
| 91 |
+
return present
|
| 92 |
+
|
| 93 |
+
|
| 94 |
+
def _is_accessible_dir(path: str | Path) -> bool:
|
| 95 |
+
"""Return whether path is a directory without failing on protected homes."""
|
| 96 |
+
try:
|
| 97 |
+
return Path(path).is_dir()
|
| 98 |
+
except OSError:
|
| 99 |
+
return False
|
| 100 |
+
|
| 101 |
+
|
| 102 |
+
def bootstrap_toolchain_path() -> str:
|
| 103 |
+
"""Prepend discovered toolchain dirs to PATH (idempotent)."""
|
| 104 |
+
prepend = toolchain_bin_dirs()
|
| 105 |
+
current_parts = [part for part in os.environ.get("PATH", "").split(":") if part]
|
| 106 |
+
merged: list[str] = []
|
| 107 |
+
for path in prepend + current_parts:
|
| 108 |
+
if path not in merged:
|
| 109 |
+
merged.append(path)
|
| 110 |
+
new_path = ":".join(merged)
|
| 111 |
+
os.environ["PATH"] = new_path
|
| 112 |
+
return new_path
|
| 113 |
+
|
| 114 |
+
|
| 115 |
+
def _bash_login_command(command: str) -> str:
|
| 116 |
+
"""Run ``command`` under bash -lc with an explicit PATH export."""
|
| 117 |
+
path = bootstrap_toolchain_path()
|
| 118 |
+
return f"export PATH={shlex.quote(path)}; {command}"
|
| 119 |
+
|
| 120 |
+
|
| 121 |
+
def sha256(path: Path) -> str:
|
| 122 |
+
h = hashlib.sha256()
|
| 123 |
+
with path.open("rb") as f:
|
| 124 |
+
for chunk in iter(lambda: f.read(1024 * 1024), b""):
|
| 125 |
+
h.update(chunk)
|
| 126 |
+
return h.hexdigest()
|
| 127 |
+
|
| 128 |
+
|
| 129 |
+
def write_json(path: Path, data: dict[str, Any]) -> None:
|
| 130 |
+
tmp = path.with_suffix(path.suffix + ".tmp")
|
| 131 |
+
tmp.write_text(json.dumps(data, indent=2, sort_keys=True))
|
| 132 |
+
tmp.replace(path)
|
| 133 |
+
|
| 134 |
+
|
| 135 |
+
def _read_log_tail(path: Path | None, max_bytes: int = 65536) -> str:
|
| 136 |
+
if path is None or not path.exists():
|
| 137 |
+
return ""
|
| 138 |
+
data = path.read_bytes()
|
| 139 |
+
if len(data) <= max_bytes:
|
| 140 |
+
return data.decode(errors="replace")
|
| 141 |
+
return data[-max_bytes:].decode(errors="replace")
|
| 142 |
+
|
| 143 |
+
|
| 144 |
+
def _close_pipes(proc: subprocess.Popen[Any]) -> None:
|
| 145 |
+
for stream in (proc.stdout, proc.stderr):
|
| 146 |
+
if stream is not None:
|
| 147 |
+
try:
|
| 148 |
+
stream.close()
|
| 149 |
+
except OSError:
|
| 150 |
+
pass
|
| 151 |
+
|
| 152 |
+
|
| 153 |
+
def _terminate_process_tree(proc: subprocess.Popen[Any]) -> None:
|
| 154 |
+
try:
|
| 155 |
+
os.killpg(proc.pid, signal.SIGKILL)
|
| 156 |
+
except ProcessLookupError:
|
| 157 |
+
pass
|
| 158 |
+
try:
|
| 159 |
+
proc.kill()
|
| 160 |
+
except ProcessLookupError:
|
| 161 |
+
pass
|
| 162 |
+
|
| 163 |
+
|
| 164 |
+
_PKILL_PATTERNS = (
|
| 165 |
+
f"{WORKSPACE}/eval/",
|
| 166 |
+
f"{WORKSPACE}/tests/",
|
| 167 |
+
"tail -f",
|
| 168 |
+
"development.log",
|
| 169 |
+
" less ",
|
| 170 |
+
" less$",
|
| 171 |
+
"/less ",
|
| 172 |
+
)
|
| 173 |
+
|
| 174 |
+
|
| 175 |
+
def _pkill_aggressive() -> str:
|
| 176 |
+
"""Best-effort kill of branch pytest/subprocess trees (Modal gVisor fallback)."""
|
| 177 |
+
notes: list[str] = []
|
| 178 |
+
workspace = str(WORKSPACE)
|
| 179 |
+
patterns = list(_PKILL_PATTERNS) + [
|
| 180 |
+
f"pytest.*{workspace}",
|
| 181 |
+
f"xdist.*{workspace}",
|
| 182 |
+
]
|
| 183 |
+
for pattern in patterns:
|
| 184 |
+
result = subprocess.run(
|
| 185 |
+
["pkill", "-9", "-f", pattern],
|
| 186 |
+
capture_output=True,
|
| 187 |
+
text=True,
|
| 188 |
+
)
|
| 189 |
+
notes.append(f"pkill -9 -f {pattern!r}: rc={result.returncode}")
|
| 190 |
+
return "\n".join(notes)
|
| 191 |
+
|
| 192 |
+
|
| 193 |
+
def run_step(
|
| 194 |
+
command: str,
|
| 195 |
+
cwd: Path,
|
| 196 |
+
*,
|
| 197 |
+
timeout: int,
|
| 198 |
+
env: dict[str, str] | None = None,
|
| 199 |
+
step: str,
|
| 200 |
+
accept_failure: bool = False,
|
| 201 |
+
log_output: bool | None = None,
|
| 202 |
+
max_output_bytes: int = 65536,
|
| 203 |
+
) -> dict[str, Any]:
|
| 204 |
+
if log_output is None:
|
| 205 |
+
log_output = step == "run_tests" or timeout >= 60
|
| 206 |
+
|
| 207 |
+
started = time.monotonic()
|
| 208 |
+
stdout_path: Path | None = None
|
| 209 |
+
stderr_path: Path | None = None
|
| 210 |
+
stdout_f = None
|
| 211 |
+
stderr_f = None
|
| 212 |
+
|
| 213 |
+
if log_output:
|
| 214 |
+
LOG_DIR.mkdir(parents=True, exist_ok=True)
|
| 215 |
+
log_id = f"{step}-{int(started * 1000)}"
|
| 216 |
+
stdout_path = LOG_DIR / f"run-step-{log_id}.stdout.log"
|
| 217 |
+
stderr_path = LOG_DIR / f"run-step-{log_id}.stderr.log"
|
| 218 |
+
stdout_f = stdout_path.open("w", encoding="utf-8")
|
| 219 |
+
stderr_f = stderr_path.open("w", encoding="utf-8")
|
| 220 |
+
popen_stdout: Any = stdout_f
|
| 221 |
+
popen_stderr: Any = stderr_f
|
| 222 |
+
else:
|
| 223 |
+
popen_stdout = subprocess.PIPE
|
| 224 |
+
popen_stderr = subprocess.PIPE
|
| 225 |
+
|
| 226 |
+
proc = subprocess.Popen(
|
| 227 |
+
["bash", "-lc", _bash_login_command(command)],
|
| 228 |
+
cwd=cwd,
|
| 229 |
+
env={**os.environ, **(env or {})},
|
| 230 |
+
stdout=popen_stdout,
|
| 231 |
+
stderr=popen_stderr,
|
| 232 |
+
start_new_session=True,
|
| 233 |
+
text=True,
|
| 234 |
+
)
|
| 235 |
+
timed_out = False
|
| 236 |
+
stdout = ""
|
| 237 |
+
stderr = ""
|
| 238 |
+
try:
|
| 239 |
+
if log_output:
|
| 240 |
+
proc.wait(timeout=timeout)
|
| 241 |
+
else:
|
| 242 |
+
stdout, stderr = proc.communicate(timeout=timeout)
|
| 243 |
+
except subprocess.TimeoutExpired:
|
| 244 |
+
timed_out = True
|
| 245 |
+
_terminate_process_tree(proc)
|
| 246 |
+
cleanup_lingering_processes(aggressive=True)
|
| 247 |
+
try:
|
| 248 |
+
proc.wait(timeout=5)
|
| 249 |
+
except subprocess.TimeoutExpired:
|
| 250 |
+
proc.kill()
|
| 251 |
+
if not log_output:
|
| 252 |
+
_close_pipes(proc)
|
| 253 |
+
finally:
|
| 254 |
+
if stdout_f is not None:
|
| 255 |
+
stdout_f.close()
|
| 256 |
+
if stderr_f is not None:
|
| 257 |
+
stderr_f.close()
|
| 258 |
+
|
| 259 |
+
if timed_out:
|
| 260 |
+
if log_output:
|
| 261 |
+
output = _read_log_tail(stdout_path, max_output_bytes) + _read_log_tail(
|
| 262 |
+
stderr_path, max_output_bytes
|
| 263 |
+
)
|
| 264 |
+
else:
|
| 265 |
+
output = ""
|
| 266 |
+
entry = {
|
| 267 |
+
"step": step,
|
| 268 |
+
"command": command,
|
| 269 |
+
"wall_time": time.monotonic() - started,
|
| 270 |
+
"output": output,
|
| 271 |
+
"returncode": 124,
|
| 272 |
+
"exception_info": f"timed out after {timeout}s",
|
| 273 |
+
}
|
| 274 |
+
else:
|
| 275 |
+
if log_output:
|
| 276 |
+
output = _read_log_tail(stdout_path, max_output_bytes) + _read_log_tail(
|
| 277 |
+
stderr_path, max_output_bytes
|
| 278 |
+
)
|
| 279 |
+
else:
|
| 280 |
+
output = stdout + stderr
|
| 281 |
+
entry = {
|
| 282 |
+
"step": step,
|
| 283 |
+
"command": command,
|
| 284 |
+
"wall_time": time.monotonic() - started,
|
| 285 |
+
"output": output,
|
| 286 |
+
"returncode": proc.returncode,
|
| 287 |
+
"exception_info": "",
|
| 288 |
+
}
|
| 289 |
+
if entry["returncode"] and not accept_failure:
|
| 290 |
+
raise RuntimeError(
|
| 291 |
+
f"{step} failed: {entry['exception_info'] or entry['output']}"
|
| 292 |
+
)
|
| 293 |
+
return entry
|
| 294 |
+
|
| 295 |
+
|
| 296 |
+
def cleanup_lingering_processes(*, aggressive: bool = False) -> dict[str, Any]:
|
| 297 |
+
started = time.monotonic()
|
| 298 |
+
patterns = [
|
| 299 |
+
str(WORKSPACE / "executable"),
|
| 300 |
+
f"{WORKSPACE}/eval/",
|
| 301 |
+
f"{WORKSPACE}/tests/",
|
| 302 |
+
# lazygit --logs/-l tests spawn `tail -f` outside /workspace/.
|
| 303 |
+
"tail -f",
|
| 304 |
+
"development.log",
|
| 305 |
+
]
|
| 306 |
+
killed: list[int] = []
|
| 307 |
+
proc_root = Path("/proc")
|
| 308 |
+
proc_available = proc_root.exists()
|
| 309 |
+
if proc_available:
|
| 310 |
+
for proc_dir in proc_root.iterdir():
|
| 311 |
+
if not proc_dir.name.isdigit():
|
| 312 |
+
continue
|
| 313 |
+
pid = int(proc_dir.name)
|
| 314 |
+
if pid in {os.getpid(), os.getppid()}:
|
| 315 |
+
continue
|
| 316 |
+
try:
|
| 317 |
+
raw = (proc_dir / "cmdline").read_bytes()
|
| 318 |
+
except (FileNotFoundError, PermissionError, ProcessLookupError):
|
| 319 |
+
continue
|
| 320 |
+
cmdline = raw.replace(b"\0", b" ").decode(errors="replace")
|
| 321 |
+
if not any(pattern in cmdline for pattern in patterns):
|
| 322 |
+
continue
|
| 323 |
+
try:
|
| 324 |
+
os.kill(pid, signal.SIGKILL)
|
| 325 |
+
except (PermissionError, ProcessLookupError):
|
| 326 |
+
continue
|
| 327 |
+
killed.append(pid)
|
| 328 |
+
pkill_output = ""
|
| 329 |
+
if aggressive or not proc_available:
|
| 330 |
+
pkill_output = _pkill_aggressive()
|
| 331 |
+
output_parts = []
|
| 332 |
+
if killed:
|
| 333 |
+
output_parts.append("\n".join(str(pid) for pid in killed))
|
| 334 |
+
if pkill_output:
|
| 335 |
+
output_parts.append(pkill_output)
|
| 336 |
+
return {
|
| 337 |
+
"step": "cleanup_lingering_processes",
|
| 338 |
+
"command": "kill leftover branch processes referencing the workspace",
|
| 339 |
+
"wall_time": time.monotonic() - started,
|
| 340 |
+
"output": "\n".join(output_parts),
|
| 341 |
+
"returncode": 0,
|
| 342 |
+
"exception_info": "",
|
| 343 |
+
}
|
| 344 |
+
|
| 345 |
+
|
| 346 |
+
def extract_trusted_blob(tar_path: Path, dest: Path) -> None:
|
| 347 |
+
import tarfile
|
| 348 |
+
|
| 349 |
+
with tarfile.open(tar_path, "r:gz") as tf:
|
| 350 |
+
try:
|
| 351 |
+
tf.extractall(dest, filter="fully_trusted")
|
| 352 |
+
except TypeError:
|
| 353 |
+
tf.extractall(dest)
|
| 354 |
+
|
| 355 |
+
|
| 356 |
+
def find_results_xml() -> Path | None:
|
| 357 |
+
"""Return the junit xml path if pytest wrote one."""
|
| 358 |
+
for candidate in (WORKSPACE / "eval" / "results.xml", WORKSPACE / "results.xml"):
|
| 359 |
+
if candidate.exists():
|
| 360 |
+
return candidate
|
| 361 |
+
return None
|
| 362 |
+
|
| 363 |
+
|
| 364 |
+
def remove_oracle_handoff_artifacts() -> list[str]:
|
| 365 |
+
"""Drop oracle-agent handoff files from /workspace before snapshot/restore."""
|
| 366 |
+
removed: list[str] = []
|
| 367 |
+
for name in _ORACLE_HANDOFF_NAMES:
|
| 368 |
+
path = WORKSPACE / name
|
| 369 |
+
if path.exists():
|
| 370 |
+
if path.is_dir():
|
| 371 |
+
shutil.rmtree(path)
|
| 372 |
+
else:
|
| 373 |
+
path.unlink()
|
| 374 |
+
removed.append(name)
|
| 375 |
+
return removed
|
| 376 |
+
|
| 377 |
+
|
| 378 |
+
def _remove_tree(path: Path) -> None:
|
| 379 |
+
"""Remove a file or directory tree, with a shell fallback for overlay races."""
|
| 380 |
+
if path.is_symlink() or path.is_file():
|
| 381 |
+
path.unlink(missing_ok=True)
|
| 382 |
+
return
|
| 383 |
+
if not path.is_dir():
|
| 384 |
+
path.unlink(missing_ok=True)
|
| 385 |
+
return
|
| 386 |
+
for attempt in range(3):
|
| 387 |
+
try:
|
| 388 |
+
shutil.rmtree(path)
|
| 389 |
+
if not path.exists():
|
| 390 |
+
return
|
| 391 |
+
except OSError:
|
| 392 |
+
if attempt == 2:
|
| 393 |
+
run_step(
|
| 394 |
+
f"rm -rf {shlex.quote(str(path))}",
|
| 395 |
+
path.parent,
|
| 396 |
+
timeout=120,
|
| 397 |
+
step="clear_workspace_fallback",
|
| 398 |
+
accept_failure=True,
|
| 399 |
+
)
|
| 400 |
+
if not path.exists():
|
| 401 |
+
return
|
| 402 |
+
raise
|
| 403 |
+
|
| 404 |
+
|
| 405 |
+
def ensure_workspace_dir() -> None:
|
| 406 |
+
"""Guarantee WORKSPACE exists as a writable directory (not a symlink/file)."""
|
| 407 |
+
if WORKSPACE.exists() and not WORKSPACE.is_dir():
|
| 408 |
+
if WORKSPACE.is_symlink() or WORKSPACE.is_file():
|
| 409 |
+
WORKSPACE.unlink()
|
| 410 |
+
else:
|
| 411 |
+
shutil.rmtree(WORKSPACE)
|
| 412 |
+
WORKSPACE.mkdir(parents=True, exist_ok=True)
|
| 413 |
+
|
| 414 |
+
|
| 415 |
+
def clear_workspace() -> None:
|
| 416 |
+
ensure_workspace_dir()
|
| 417 |
+
for path in list(WORKSPACE.iterdir()):
|
| 418 |
+
_remove_tree(path)
|
| 419 |
+
|
| 420 |
+
|
| 421 |
+
def restore_reference_executable() -> None:
|
| 422 |
+
"""Write the stashed reference binary into /workspace after a branch overlay.
|
| 423 |
+
|
| 424 |
+
Branch blobs may ship ``executable`` as a dangling symlink into
|
| 425 |
+
``target/release/...``; ``shutil.copy2`` would follow it and raise
|
| 426 |
+
``FileNotFoundError``. Drop whatever the blob left and copy the stashed
|
| 427 |
+
reference as a regular file.
|
| 428 |
+
"""
|
| 429 |
+
ensure_workspace_dir()
|
| 430 |
+
if not STASHED_EXECUTABLE.is_file():
|
| 431 |
+
raise FileNotFoundError(
|
| 432 |
+
f"missing stashed reference executable at {STASHED_EXECUTABLE}"
|
| 433 |
+
)
|
| 434 |
+
dest = WORKSPACE / "executable"
|
| 435 |
+
if dest.exists() or dest.is_symlink():
|
| 436 |
+
if dest.is_dir():
|
| 437 |
+
shutil.rmtree(dest)
|
| 438 |
+
else:
|
| 439 |
+
dest.unlink(missing_ok=True)
|
| 440 |
+
shutil.copy2(STASHED_EXECUTABLE, dest)
|
| 441 |
+
dest.chmod(0o755)
|
| 442 |
+
|
| 443 |
+
|
| 444 |
+
def snapshot_workspace(dest: Path) -> None:
|
| 445 |
+
if dest.exists():
|
| 446 |
+
shutil.rmtree(dest)
|
| 447 |
+
shutil.copytree(WORKSPACE, dest, symlinks=True)
|
| 448 |
+
|
| 449 |
+
|
| 450 |
+
def restore_workspace(source: Path) -> None:
|
| 451 |
+
clear_workspace()
|
| 452 |
+
shutil.copytree(source, WORKSPACE, dirs_exist_ok=True, symlinks=True)
|
| 453 |
+
ensure_workspace_dir()
|
| 454 |
+
|
| 455 |
+
|
| 456 |
+
def remove_hashed_files(root: Path, hashes: set[str]) -> list[str]:
|
| 457 |
+
removed: list[str] = []
|
| 458 |
+
for path in root.rglob("*"):
|
| 459 |
+
if path.is_file() and not path.is_symlink():
|
| 460 |
+
try:
|
| 461 |
+
if sha256(path) in hashes:
|
| 462 |
+
path.unlink()
|
| 463 |
+
removed.append(str(path.relative_to(root)))
|
| 464 |
+
except OSError:
|
| 465 |
+
continue
|
| 466 |
+
return removed
|
| 467 |
+
|
| 468 |
+
|
| 469 |
+
def branch_tests(branch_info: dict[str, Any]) -> list[str]:
|
| 470 |
+
ignored = {
|
| 471 |
+
item["name"] for item in branch_info.get("ignored_tests", []) if "name" in item
|
| 472 |
+
}
|
| 473 |
+
return [name for name in branch_info.get("tests", []) if name not in ignored]
|
| 474 |
+
|
| 475 |
+
|
| 476 |
+
def ignored_tests(metadata: dict[str, Any]) -> set[str]:
|
| 477 |
+
result: set[str] = set()
|
| 478 |
+
for branch, info in metadata.get("branches", {}).items():
|
| 479 |
+
result.update(
|
| 480 |
+
f"{branch}/{item['name']}"
|
| 481 |
+
for item in info.get("ignored_tests", [])
|
| 482 |
+
if "name" in item
|
| 483 |
+
)
|
| 484 |
+
return result
|
| 485 |
+
|
| 486 |
+
|
| 487 |
+
def active_tests(metadata: dict[str, Any]) -> set[str]:
|
| 488 |
+
active: set[str] = set()
|
| 489 |
+
for branch, info in metadata.get("branches", {}).items():
|
| 490 |
+
if info.get("ignored"):
|
| 491 |
+
continue
|
| 492 |
+
ignored = {
|
| 493 |
+
item["name"] for item in info.get("ignored_tests", []) if "name" in item
|
| 494 |
+
}
|
| 495 |
+
active.update(
|
| 496 |
+
f"{branch}/{name}" for name in info.get("tests", []) if name not in ignored
|
| 497 |
+
)
|
| 498 |
+
return active
|
| 499 |
+
|
| 500 |
+
|
| 501 |
+
def inject_not_run(
|
| 502 |
+
result: dict[str, Any], branch: str, tests: list[str], error_code: str
|
| 503 |
+
) -> None:
|
| 504 |
+
result["test_results"].extend(
|
| 505 |
+
{
|
| 506 |
+
"name": name,
|
| 507 |
+
"branch": branch,
|
| 508 |
+
"status": "not_run",
|
| 509 |
+
"extra": {"error_code": error_code},
|
| 510 |
+
}
|
| 511 |
+
for name in tests
|
| 512 |
+
)
|
| 513 |
+
|
| 514 |
+
|
| 515 |
+
def testcase_name(case: ET.Element) -> str:
|
| 516 |
+
classname = case.attrib.get("classname", "")
|
| 517 |
+
name = case.attrib.get("name", "")
|
| 518 |
+
return f"{classname}.{name}" if classname else name
|
| 519 |
+
|
| 520 |
+
|
| 521 |
+
# Only these tags under <testcase> represent a result. <system-out> /
|
| 522 |
+
# <system-err> are stdout/stderr captures and must not be treated as results
|
| 523 |
+
# (a leading <system-out> followed by <failure> would otherwise be classified
|
| 524 |
+
# as a stdout-only "passed").
|
| 525 |
+
JUNIT_RESULT_TAGS = {"skipped", "failure", "error"}
|
| 526 |
+
|
| 527 |
+
|
| 528 |
+
def parse_junit(
|
| 529 |
+
raw_xml: str, branch: str, expected: list[str], ignored: set[str]
|
| 530 |
+
) -> tuple[list[dict[str, Any]], list[str]]:
|
| 531 |
+
root = ET.fromstring(raw_xml)
|
| 532 |
+
got: set[str] = set()
|
| 533 |
+
results: list[dict[str, Any]] = []
|
| 534 |
+
for case in root.iter("testcase"):
|
| 535 |
+
name = testcase_name(case)
|
| 536 |
+
got.add(name)
|
| 537 |
+
extra: dict[str, Any] = {}
|
| 538 |
+
if "time" in case.attrib:
|
| 539 |
+
try:
|
| 540 |
+
extra["time"] = float(case.attrib["time"])
|
| 541 |
+
except ValueError:
|
| 542 |
+
extra["time"] = case.attrib["time"]
|
| 543 |
+
result_children = [c for c in case if c.tag in JUNIT_RESULT_TAGS]
|
| 544 |
+
# Collapse duplicate same-tag result children. Pytest's
|
| 545 |
+
# "pytest.internal" pseudo-test sometimes emits two identical <error>
|
| 546 |
+
# entries; treating that as a system_error would over-flag a real
|
| 547 |
+
# single failure. Mirrors upstream eval.py:816-820.
|
| 548 |
+
if len(result_children) > 1 and len({c.tag for c in result_children}) == 1:
|
| 549 |
+
result_children = [result_children[0]]
|
| 550 |
+
if not result_children:
|
| 551 |
+
status = "passed"
|
| 552 |
+
elif len(result_children) != 1:
|
| 553 |
+
status = "system_error"
|
| 554 |
+
extra["error_details"] = (
|
| 555 |
+
f"Expected 1 result for {name}, got {len(result_children)}: "
|
| 556 |
+
f"{[c.tag for c in result_children]}"
|
| 557 |
+
)
|
| 558 |
+
else:
|
| 559 |
+
first = result_children[0]
|
| 560 |
+
status = first.tag # "skipped" | "failure" | "error"
|
| 561 |
+
extra["message"] = first.attrib.get("message") or ""
|
| 562 |
+
if first.text:
|
| 563 |
+
extra["text"] = first.text
|
| 564 |
+
results.append(
|
| 565 |
+
{"name": name, "branch": branch, "status": status, "extra": extra}
|
| 566 |
+
)
|
| 567 |
+
|
| 568 |
+
active_expected = [name for name in expected if name not in ignored]
|
| 569 |
+
missing = [name for name in active_expected if name not in got]
|
| 570 |
+
results.extend(
|
| 571 |
+
{
|
| 572 |
+
"name": name,
|
| 573 |
+
"branch": branch,
|
| 574 |
+
"status": "not_run",
|
| 575 |
+
"extra": {"error_code": "missing_from_junit_xml"},
|
| 576 |
+
}
|
| 577 |
+
for name in missing
|
| 578 |
+
)
|
| 579 |
+
unexpected = got - set(expected) - ignored
|
| 580 |
+
warnings = (
|
| 581 |
+
[f"Branch {branch}: {len(unexpected)} test(s) in JUnit XML not in tests.json"]
|
| 582 |
+
if unexpected
|
| 583 |
+
else []
|
| 584 |
+
)
|
| 585 |
+
return results, warnings
|
| 586 |
+
|
| 587 |
+
|
| 588 |
+
def count_worker_crashes(raw_xml: str) -> int:
|
| 589 |
+
if WORKER_CRASH_PHRASE not in raw_xml:
|
| 590 |
+
return 0
|
| 591 |
+
try:
|
| 592 |
+
root = ET.fromstring(raw_xml)
|
| 593 |
+
except ET.ParseError:
|
| 594 |
+
return 0
|
| 595 |
+
crashes = 0
|
| 596 |
+
for case in root.iter("testcase"):
|
| 597 |
+
for child in case:
|
| 598 |
+
text = (child.get("message") or "") + " " + (child.text or "")
|
| 599 |
+
if (
|
| 600 |
+
child.tag in {"error", "failure"}
|
| 601 |
+
and WORKER_CRASH_PHRASE in text
|
| 602 |
+
and "crashed" in text
|
| 603 |
+
):
|
| 604 |
+
crashes += 1
|
| 605 |
+
break
|
| 606 |
+
return crashes
|
| 607 |
+
|
| 608 |
+
|
| 609 |
+
def run_output_indicates_xdist_collapse(output: str) -> bool:
|
| 610 |
+
lower = output.lower()
|
| 611 |
+
return any(marker in lower for marker in XDIST_COLLAPSE_MARKERS)
|
| 612 |
+
|
| 613 |
+
|
| 614 |
+
def count_junit_failures(raw_xml: str) -> int:
|
| 615 |
+
try:
|
| 616 |
+
root = ET.fromstring(raw_xml)
|
| 617 |
+
except ET.ParseError:
|
| 618 |
+
return 0
|
| 619 |
+
failures = 0
|
| 620 |
+
for case in root.iter("testcase"):
|
| 621 |
+
for child in case:
|
| 622 |
+
if child.tag in {"failure", "error"}:
|
| 623 |
+
failures += 1
|
| 624 |
+
break
|
| 625 |
+
return failures
|
| 626 |
+
|
| 627 |
+
|
| 628 |
+
def count_junit_passed(raw_xml: str) -> int:
|
| 629 |
+
try:
|
| 630 |
+
root = ET.fromstring(raw_xml)
|
| 631 |
+
except ET.ParseError:
|
| 632 |
+
return 0
|
| 633 |
+
passed = 0
|
| 634 |
+
for case in root.iter("testcase"):
|
| 635 |
+
if not any(child.tag in JUNIT_RESULT_TAGS for child in case):
|
| 636 |
+
passed += 1
|
| 637 |
+
return passed
|
| 638 |
+
|
| 639 |
+
|
| 640 |
+
def branch_attempt_metrics(
|
| 641 |
+
raw_xml: str, *, run_output: str, expected_tests: int
|
| 642 |
+
) -> tuple[int, int, int, int]:
|
| 643 |
+
"""Return (crashes, n_testcases, failures, missing_from_xml)."""
|
| 644 |
+
crashes = count_worker_crashes(raw_xml)
|
| 645 |
+
if run_output_indicates_xdist_collapse(run_output):
|
| 646 |
+
crashes = max(crashes, 1)
|
| 647 |
+
n_tests = count_testcases(raw_xml)
|
| 648 |
+
failures = count_junit_failures(raw_xml)
|
| 649 |
+
missing = max(0, expected_tests - n_tests)
|
| 650 |
+
return crashes, n_tests, failures, missing
|
| 651 |
+
|
| 652 |
+
|
| 653 |
+
def needs_serial_retry(
|
| 654 |
+
*,
|
| 655 |
+
serial: bool,
|
| 656 |
+
crashes: int,
|
| 657 |
+
missing: int,
|
| 658 |
+
failures: int,
|
| 659 |
+
n_tests: int,
|
| 660 |
+
expected_tests: int,
|
| 661 |
+
run_output: str,
|
| 662 |
+
) -> bool:
|
| 663 |
+
if serial:
|
| 664 |
+
return False
|
| 665 |
+
high_failure_rate = (
|
| 666 |
+
expected_tests > 0 and n_tests >= expected_tests and failures / n_tests >= 0.8
|
| 667 |
+
)
|
| 668 |
+
return (
|
| 669 |
+
crashes > 0
|
| 670 |
+
or missing > 0
|
| 671 |
+
or high_failure_rate
|
| 672 |
+
or run_output_indicates_xdist_collapse(run_output)
|
| 673 |
+
)
|
| 674 |
+
|
| 675 |
+
|
| 676 |
+
def count_testcases(raw_xml: str) -> int:
|
| 677 |
+
try:
|
| 678 |
+
return sum(1 for _ in ET.fromstring(raw_xml).iter("testcase"))
|
| 679 |
+
except ET.ParseError:
|
| 680 |
+
return 0
|
| 681 |
+
|
| 682 |
+
|
| 683 |
+
def scored_results(
|
| 684 |
+
result: dict[str, Any], metadata: dict[str, Any]
|
| 685 |
+
) -> list[dict[str, Any]]:
|
| 686 |
+
active = active_tests(metadata)
|
| 687 |
+
by_key = {
|
| 688 |
+
f"{test['branch']}/{test['name']}": test
|
| 689 |
+
for test in result["test_results"]
|
| 690 |
+
if f"{test['branch']}/{test['name']}" in active
|
| 691 |
+
}
|
| 692 |
+
return [
|
| 693 |
+
by_key.get(
|
| 694 |
+
key,
|
| 695 |
+
{
|
| 696 |
+
"branch": key.split("/", 1)[0],
|
| 697 |
+
"name": key.split("/", 1)[1],
|
| 698 |
+
"status": "not_run",
|
| 699 |
+
"extra": {"error_code": "missing_from_results"},
|
| 700 |
+
},
|
| 701 |
+
)
|
| 702 |
+
for key in sorted(active)
|
| 703 |
+
]
|
| 704 |
+
|
| 705 |
+
|
| 706 |
+
def summarize(result: dict[str, Any], metadata: dict[str, Any]) -> dict[str, Any]:
|
| 707 |
+
scored = scored_results(result, metadata)
|
| 708 |
+
n_passed = sum(t["status"] == "passed" for t in scored)
|
| 709 |
+
n_tests = len(scored)
|
| 710 |
+
pass_rate = n_passed / n_tests if n_tests else 0.0
|
| 711 |
+
# Multi-key reward: Harbor's default Mean aggregates each key independently
|
| 712 |
+
# (see harbor.metrics.base.aggregate_reward_dicts), so mean("resolved") is
|
| 713 |
+
# the proportion of tasks scoring a perfect pass-rate and mean of
|
| 714 |
+
# "almost_resolved" is the proportion scoring >= 0.95. "reward" stays the
|
| 715 |
+
# per-task pass-rate whose mean is the overall mean reward.
|
| 716 |
+
return {
|
| 717 |
+
"reward": pass_rate,
|
| 718 |
+
"resolved": 1.0 if pass_rate >= 1.0 else 0.0,
|
| 719 |
+
"almost_resolved": 1.0 if pass_rate >= 0.95 else 0.0,
|
| 720 |
+
}
|
| 721 |
+
|
| 722 |
+
|
| 723 |
+
def diagnostics(result: dict[str, Any], metadata: dict[str, Any]) -> dict[str, Any]:
|
| 724 |
+
scored = scored_results(result, metadata)
|
| 725 |
+
n_passed = sum(t["status"] == "passed" for t in scored)
|
| 726 |
+
n_tests = len(scored)
|
| 727 |
+
pass_rate = n_passed / n_tests if n_tests else 0.0
|
| 728 |
+
return {
|
| 729 |
+
"pass_rate": pass_rate,
|
| 730 |
+
"resolved": int(
|
| 731 |
+
bool(
|
| 732 |
+
n_tests
|
| 733 |
+
and n_passed == n_tests
|
| 734 |
+
and not result["test_branch_errors"]
|
| 735 |
+
and not result["error_code"]
|
| 736 |
+
)
|
| 737 |
+
),
|
| 738 |
+
"n_passed": n_passed,
|
| 739 |
+
"n_tests": n_tests,
|
| 740 |
+
"n_branch_errors": len(result["test_branch_errors"]),
|
| 741 |
+
"infra_error": int(bool(result["error_code"] or result["test_branch_errors"])),
|
| 742 |
+
"executable_hash_present": int(bool(result.get("executable_hash"))),
|
| 743 |
+
}
|
| 744 |
+
|
| 745 |
+
|
| 746 |
+
def use_script_pty() -> bool:
|
| 747 |
+
return os.environ.get("PROGRAMGYM_SCRIPT_PTY", "").strip() == "1"
|
| 748 |
+
|
| 749 |
+
|
| 750 |
+
def script_pty_available() -> bool:
|
| 751 |
+
return shutil.which("script") is not None
|
| 752 |
+
|
| 753 |
+
|
| 754 |
+
def branch_env(
|
| 755 |
+
*,
|
| 756 |
+
serial: bool,
|
| 757 |
+
has_rerunfailures: bool,
|
| 758 |
+
extras: dict[str, str] | None = None,
|
| 759 |
+
) -> dict[str, str]:
|
| 760 |
+
addopts = ["--max-worker-restart=4"]
|
| 761 |
+
# A serial fallback is already a complete second execution. Re-running each
|
| 762 |
+
# failing test two more times makes large, failure-heavy suites prohibitively
|
| 763 |
+
# slow and adds little signal.
|
| 764 |
+
if has_rerunfailures and not serial:
|
| 765 |
+
addopts.extend(["--reruns=2", "--reruns-delay=1"])
|
| 766 |
+
env = {
|
| 767 |
+
"PYTEST_ADDOPTS": " ".join(addopts),
|
| 768 |
+
# Match upstream non-TTY regression environments (dirble log format, etc.).
|
| 769 |
+
"NO_COLOR": "1",
|
| 770 |
+
"TERM": "dumb",
|
| 771 |
+
"CLICOLOR": "0",
|
| 772 |
+
"CLICOLOR_FORCE": "0",
|
| 773 |
+
"COLORTERM": "",
|
| 774 |
+
}
|
| 775 |
+
if extras:
|
| 776 |
+
env.update(extras)
|
| 777 |
+
xdist_workers = os.environ.get("PROGRAMGYM_XDIST_WORKERS")
|
| 778 |
+
if serial:
|
| 779 |
+
xdist_workers = "1"
|
| 780 |
+
if xdist_workers:
|
| 781 |
+
env["PYTEST_XDIST_AUTO_NUM_WORKERS"] = xdist_workers
|
| 782 |
+
return env
|
| 783 |
+
|
| 784 |
+
|
| 785 |
+
_SERIAL_RUN_SH = ".programgym_run_serial.sh"
|
| 786 |
+
# ``eval/run.sh`` usually passes ``-n auto`` on the command line, which overrides
|
| 787 |
+
# ``PYTEST_ADDOPTS``. Rewrite to ``-n 0`` in a verifier-local copy for retries.
|
| 788 |
+
_RUN_SH_XDIST_RE = re.compile(r"-n\s*(?:auto|\d+)")
|
| 789 |
+
|
| 790 |
+
|
| 791 |
+
def prepare_serial_run_sh(run_sh: Path) -> Path:
|
| 792 |
+
"""Write a serial-only copy of ``eval/run.sh`` with xdist disabled."""
|
| 793 |
+
serial_sh = run_sh.with_name(_SERIAL_RUN_SH)
|
| 794 |
+
patched = _RUN_SH_XDIST_RE.sub("-n 0", run_sh.read_text())
|
| 795 |
+
serial_sh.write_text(patched)
|
| 796 |
+
serial_sh.chmod(0o755)
|
| 797 |
+
return serial_sh
|
| 798 |
+
|
| 799 |
+
|
| 800 |
+
def run_tests_command(*, serial: bool) -> str:
|
| 801 |
+
if serial:
|
| 802 |
+
inner = f"chmod +x ./eval/{_SERIAL_RUN_SH} && ./eval/{_SERIAL_RUN_SH}"
|
| 803 |
+
else:
|
| 804 |
+
inner = "chmod +x ./eval/run.sh && ./eval/run.sh"
|
| 805 |
+
if use_script_pty() and script_pty_available():
|
| 806 |
+
return f"script -q -c {shlex.quote(inner)} /dev/null"
|
| 807 |
+
return inner
|
| 808 |
+
|
| 809 |
+
|
| 810 |
+
BAKED_BLOB_DIR = Path(os.environ.get("PROGRAMGYM_BAKED_BLOB_DIR", "/tests/blobs"))
|
| 811 |
+
|
| 812 |
+
|
| 813 |
+
def resolve_blob_dir(instance_id: str, metadata: dict[str, Any]) -> Path:
|
| 814 |
+
"""Locate the per-instance blob directory.
|
| 815 |
+
|
| 816 |
+
Resolution order:
|
| 817 |
+
|
| 818 |
+
1. ``/tests/blobs/`` if pre-fetched into the task at generation time
|
| 819 |
+
(``programgym-adapter --download-blobs``). Verifier-only mount, so
|
| 820 |
+
agent never sees these.
|
| 821 |
+
2. ``PROGRAMGYM_BLOB_DIR`` env override pointing at an HF-cache-shaped
|
| 822 |
+
tree on disk (``<dir>/<instance_id>/tests/<branch>.tar.gz``). Useful
|
| 823 |
+
for offline reruns sharing a cache across many tasks.
|
| 824 |
+
3. ``huggingface_hub.snapshot_download`` from
|
| 825 |
+
``programgym/ProgramGym-Tests`` (default repo, ``main`` revision).
|
| 826 |
+
|
| 827 |
+
The returned directory contains ``tests/<branch>.tar.gz`` per active
|
| 828 |
+
branch — same shape as ``programgym/ProgramGym-Tests/<instance_id>/``
|
| 829 |
+
on HF.
|
| 830 |
+
"""
|
| 831 |
+
if BAKED_BLOB_DIR.exists() and (BAKED_BLOB_DIR / "tests").exists():
|
| 832 |
+
return BAKED_BLOB_DIR
|
| 833 |
+
|
| 834 |
+
local = os.environ.get("PROGRAMGYM_BLOB_DIR", "").strip()
|
| 835 |
+
if local:
|
| 836 |
+
candidate = Path(local) / instance_id
|
| 837 |
+
if candidate.exists():
|
| 838 |
+
return candidate
|
| 839 |
+
raise FileNotFoundError(
|
| 840 |
+
f"PROGRAMGYM_BLOB_DIR set but {candidate} does not exist"
|
| 841 |
+
)
|
| 842 |
+
|
| 843 |
+
repo_id = os.environ.get("PROGRAMGYM_HF_REPO") or metadata.get(
|
| 844 |
+
"hf_repo_id", DEFAULT_HF_REPO_ID
|
| 845 |
+
)
|
| 846 |
+
revision = os.environ.get("PROGRAMGYM_HF_REVISION") or metadata.get(
|
| 847 |
+
"hf_revision", DEFAULT_HF_REVISION
|
| 848 |
+
)
|
| 849 |
+
|
| 850 |
+
from huggingface_hub import snapshot_download
|
| 851 |
+
|
| 852 |
+
cache_root = Path(
|
| 853 |
+
snapshot_download(
|
| 854 |
+
repo_id,
|
| 855 |
+
repo_type="dataset",
|
| 856 |
+
revision=revision,
|
| 857 |
+
allow_patterns=f"{instance_id}/**",
|
| 858 |
+
)
|
| 859 |
+
)
|
| 860 |
+
blob_dir = cache_root / instance_id
|
| 861 |
+
if not blob_dir.exists():
|
| 862 |
+
raise FileNotFoundError(
|
| 863 |
+
f"HF blob directory missing for {instance_id} at {blob_dir}"
|
| 864 |
+
)
|
| 865 |
+
return blob_dir
|
| 866 |
+
|
| 867 |
+
|
| 868 |
+
def evaluate(metadata: dict[str, Any]) -> dict[str, Any]:
|
| 869 |
+
bootstrap_toolchain_path()
|
| 870 |
+
branches = metadata.get("branches", {})
|
| 871 |
+
active_branch_items = [
|
| 872 |
+
(name, info) for name, info in branches.items() if not info.get("ignored")
|
| 873 |
+
]
|
| 874 |
+
result: dict[str, Any] = {
|
| 875 |
+
"test_results": [],
|
| 876 |
+
"error_code": None,
|
| 877 |
+
"error_details": None,
|
| 878 |
+
"log": [],
|
| 879 |
+
"solution_branch": "submission",
|
| 880 |
+
"test_branches": [name for name, _ in active_branch_items],
|
| 881 |
+
"test_branch_errors": {},
|
| 882 |
+
"executable_hash": None,
|
| 883 |
+
"warnings": [],
|
| 884 |
+
}
|
| 885 |
+
|
| 886 |
+
instance_id = metadata["instance_id"]
|
| 887 |
+
|
| 888 |
+
compile_timeout = int(os.environ.get("PROGRAMGYM_COMPILE_TIMEOUT", "900"))
|
| 889 |
+
branch_timeout = int(os.environ.get("PROGRAMGYM_BRANCH_TIMEOUT", "3600"))
|
| 890 |
+
|
| 891 |
+
def fail_all(error_code: str, details: str) -> dict[str, Any]:
|
| 892 |
+
result["error_code"] = error_code
|
| 893 |
+
result["error_details"] = details
|
| 894 |
+
for branch, info in active_branch_items:
|
| 895 |
+
inject_not_run(result, branch, branch_tests(info), error_code)
|
| 896 |
+
return result
|
| 897 |
+
|
| 898 |
+
with tempfile.TemporaryDirectory(prefix="programgym-eval-") as tmp:
|
| 899 |
+
compiled_snapshot = Path(tmp) / "compiled"
|
| 900 |
+
|
| 901 |
+
started = time.monotonic()
|
| 902 |
+
removed = remove_hashed_files(
|
| 903 |
+
WORKSPACE, set(metadata.get("eval_clean_hashes", []))
|
| 904 |
+
)
|
| 905 |
+
result["log"].append(
|
| 906 |
+
{
|
| 907 |
+
"step": "remove_hashed_files",
|
| 908 |
+
"command": "remove files matching eval_clean_hashes",
|
| 909 |
+
"wall_time": time.monotonic() - started,
|
| 910 |
+
"output": "".join(f"removed '{path}'\n" for path in removed),
|
| 911 |
+
"returncode": 0,
|
| 912 |
+
"exception_info": "",
|
| 913 |
+
}
|
| 914 |
+
)
|
| 915 |
+
|
| 916 |
+
compile_sh = WORKSPACE / "compile.sh"
|
| 917 |
+
if not compile_sh.exists():
|
| 918 |
+
return fail_all(
|
| 919 |
+
"missing_compile_sh", "submission did not contain compile.sh"
|
| 920 |
+
)
|
| 921 |
+
|
| 922 |
+
seed = (
|
| 923 |
+
"if [ ! -d .git ]; then "
|
| 924 |
+
"GIT_AUTHOR_DATE='2000-01-01T00:00:00Z' "
|
| 925 |
+
"GIT_COMMITTER_DATE='2000-01-01T00:00:00Z' "
|
| 926 |
+
"git -c init.defaultBranch=gold init -q && "
|
| 927 |
+
"git -c user.email=gold@local -c user.name=gold -c commit.gpgsign=false add -A && "
|
| 928 |
+
"GIT_AUTHOR_DATE='2000-01-01T00:00:00Z' "
|
| 929 |
+
"GIT_COMMITTER_DATE='2000-01-01T00:00:00Z' "
|
| 930 |
+
"git -c user.email=gold@local -c user.name=gold -c commit.gpgsign=false commit -q --allow-empty -m gold; "
|
| 931 |
+
"fi"
|
| 932 |
+
)
|
| 933 |
+
try:
|
| 934 |
+
result["log"].append(
|
| 935 |
+
run_step(seed, WORKSPACE, timeout=300, step="seed_git")
|
| 936 |
+
)
|
| 937 |
+
compile_log = run_step(
|
| 938 |
+
"chmod +x ./compile.sh && ./compile.sh",
|
| 939 |
+
WORKSPACE,
|
| 940 |
+
timeout=compile_timeout,
|
| 941 |
+
step="compile",
|
| 942 |
+
accept_failure=True,
|
| 943 |
+
)
|
| 944 |
+
result["log"].append(compile_log)
|
| 945 |
+
if compile_log["returncode"]:
|
| 946 |
+
return fail_all("compile_failed", compile_log["output"])
|
| 947 |
+
executable = WORKSPACE / "executable"
|
| 948 |
+
if not executable.exists():
|
| 949 |
+
return fail_all(
|
| 950 |
+
"missing_executable",
|
| 951 |
+
"compile.sh completed but did not create ./executable",
|
| 952 |
+
)
|
| 953 |
+
STASHED_EXECUTABLE.parent.mkdir(parents=True, exist_ok=True)
|
| 954 |
+
# `move` (not copy) so /workspace doesn't keep a parallel copy of
|
| 955 |
+
# the agent's executable during the stash→restore window. Mirrors
|
| 956 |
+
# upstream `mv ./executable {STASHED}` (eval.py:472).
|
| 957 |
+
shutil.move(str(executable), STASHED_EXECUTABLE)
|
| 958 |
+
result["executable_hash"] = sha256(STASHED_EXECUTABLE)
|
| 959 |
+
result["log"].append(
|
| 960 |
+
run_step(
|
| 961 |
+
"pip3 install -q --disable-pip-version-check pytest-rerunfailures",
|
| 962 |
+
WORKSPACE,
|
| 963 |
+
timeout=120,
|
| 964 |
+
step="install_rerunfailures",
|
| 965 |
+
accept_failure=True,
|
| 966 |
+
)
|
| 967 |
+
)
|
| 968 |
+
has_rerunfailures = result["log"][-1]["returncode"] == 0
|
| 969 |
+
handoff_removed = remove_oracle_handoff_artifacts()
|
| 970 |
+
if handoff_removed:
|
| 971 |
+
result["log"].append(
|
| 972 |
+
{
|
| 973 |
+
"step": "remove_oracle_handoff",
|
| 974 |
+
"command": "remove oracle handoff artifacts from workspace",
|
| 975 |
+
"wall_time": 0.0,
|
| 976 |
+
"output": "".join(
|
| 977 |
+
f"removed '{name}'\n" for name in handoff_removed
|
| 978 |
+
),
|
| 979 |
+
"returncode": 0,
|
| 980 |
+
"exception_info": "",
|
| 981 |
+
}
|
| 982 |
+
)
|
| 983 |
+
snapshot_workspace(compiled_snapshot)
|
| 984 |
+
except Exception as exc:
|
| 985 |
+
return fail_all(type(exc).__name__, str(exc))
|
| 986 |
+
|
| 987 |
+
try:
|
| 988 |
+
blob_dir = resolve_blob_dir(instance_id, metadata)
|
| 989 |
+
except Exception as exc:
|
| 990 |
+
details = f"{type(exc).__name__}: {exc}"
|
| 991 |
+
for branch, info in active_branch_items:
|
| 992 |
+
result["test_branch_errors"][branch] = [
|
| 993 |
+
{
|
| 994 |
+
"error_code": "blob_resolution_failed",
|
| 995 |
+
"error_details": details,
|
| 996 |
+
}
|
| 997 |
+
]
|
| 998 |
+
inject_not_run(
|
| 999 |
+
result, branch, branch_tests(info), "blob_resolution_failed"
|
| 1000 |
+
)
|
| 1001 |
+
return result
|
| 1002 |
+
|
| 1003 |
+
for branch, info in active_branch_items:
|
| 1004 |
+
tests = branch_tests(info)
|
| 1005 |
+
blob = blob_dir / "tests" / f"{branch}.tar.gz"
|
| 1006 |
+
if not blob.exists():
|
| 1007 |
+
result["test_branch_errors"][branch] = [
|
| 1008 |
+
{"error_code": "missing_test_blob", "error_details": blob.name}
|
| 1009 |
+
]
|
| 1010 |
+
inject_not_run(result, branch, tests, "missing_test_blob")
|
| 1011 |
+
continue
|
| 1012 |
+
|
| 1013 |
+
best_xml = ""
|
| 1014 |
+
# Prefer a complete, clean XML result, then the result covering the
|
| 1015 |
+
# most expected tests, and only then the one with the most passes.
|
| 1016 |
+
# Pass-count-only ranking can retain a partial xdist result over a
|
| 1017 |
+
# complete serial result.
|
| 1018 |
+
best_quality = (-1, -1, -1)
|
| 1019 |
+
serial = bool(metadata.get("force_serial_branches"))
|
| 1020 |
+
branch_log: list[dict[str, Any]] = []
|
| 1021 |
+
branch_ignored = {
|
| 1022 |
+
item["name"] for item in info.get("ignored_tests", []) if "name" in item
|
| 1023 |
+
}
|
| 1024 |
+
n_expected = len([name for name in tests if name not in branch_ignored])
|
| 1025 |
+
|
| 1026 |
+
def merge_best_xml(raw_xml: str) -> None:
|
| 1027 |
+
try:
|
| 1028 |
+
parsed, warnings = parse_junit(
|
| 1029 |
+
raw_xml, branch, list(info.get("tests", [])), branch_ignored
|
| 1030 |
+
)
|
| 1031 |
+
except Exception as exc:
|
| 1032 |
+
result["test_branch_errors"][branch] = [
|
| 1033 |
+
{"error_code": "xml_parse_error", "error_details": str(exc)}
|
| 1034 |
+
]
|
| 1035 |
+
inject_not_run(result, branch, tests, "xml_parse_error")
|
| 1036 |
+
else:
|
| 1037 |
+
result["test_results"].extend(parsed)
|
| 1038 |
+
result["warnings"].extend(warnings)
|
| 1039 |
+
|
| 1040 |
+
while True:
|
| 1041 |
+
branch_log.append(cleanup_lingering_processes())
|
| 1042 |
+
restore_workspace(compiled_snapshot)
|
| 1043 |
+
extract_trusted_blob(blob, WORKSPACE)
|
| 1044 |
+
restore_reference_executable()
|
| 1045 |
+
actual_hash = sha256(WORKSPACE / "executable")
|
| 1046 |
+
if actual_hash != result["executable_hash"]:
|
| 1047 |
+
result["test_branch_errors"][branch] = [
|
| 1048 |
+
{
|
| 1049 |
+
"error_code": "executable_hash_mismatch",
|
| 1050 |
+
"error_details": (
|
| 1051 |
+
f"expected {result['executable_hash']}, got {actual_hash}"
|
| 1052 |
+
),
|
| 1053 |
+
}
|
| 1054 |
+
]
|
| 1055 |
+
inject_not_run(result, branch, tests, "executable_hash_mismatch")
|
| 1056 |
+
break
|
| 1057 |
+
run_sh = WORKSPACE / "eval" / "run.sh"
|
| 1058 |
+
if not run_sh.exists():
|
| 1059 |
+
result["test_branch_errors"][branch] = [
|
| 1060 |
+
{
|
| 1061 |
+
"error_code": "missing_run_sh",
|
| 1062 |
+
"error_details": "eval/run.sh missing",
|
| 1063 |
+
}
|
| 1064 |
+
]
|
| 1065 |
+
inject_not_run(result, branch, tests, "missing_run_sh")
|
| 1066 |
+
break
|
| 1067 |
+
# Upstream rewrites thread→signal so xdist workers fail cleanly
|
| 1068 |
+
# instead of os._exit(1) on timeout. That works in fresh
|
| 1069 |
+
# containers per branch; here we reuse one container and
|
| 1070 |
+
# signal timeouts leave TUI/log-watcher subprocesses alive
|
| 1071 |
+
# (e.g. lazygit --logs + tail -f), wedging pytest for up to
|
| 1072 |
+
# branch_timeout. Keep the blob's thread method and rely on
|
| 1073 |
+
# cleanup_lingering_processes + serial fallback after crashes.
|
| 1074 |
+
env = branch_env(
|
| 1075 |
+
serial=serial,
|
| 1076 |
+
has_rerunfailures=has_rerunfailures,
|
| 1077 |
+
extras=metadata.get("branch_env"),
|
| 1078 |
+
)
|
| 1079 |
+
branch_log.append(
|
| 1080 |
+
run_step(
|
| 1081 |
+
"rm -f eval/results.xml results.xml",
|
| 1082 |
+
WORKSPACE,
|
| 1083 |
+
timeout=120,
|
| 1084 |
+
step="clean_stale_results",
|
| 1085 |
+
accept_failure=True,
|
| 1086 |
+
)
|
| 1087 |
+
)
|
| 1088 |
+
if serial:
|
| 1089 |
+
prepare_serial_run_sh(run_sh)
|
| 1090 |
+
run_entry = run_step(
|
| 1091 |
+
run_tests_command(serial=serial),
|
| 1092 |
+
WORKSPACE,
|
| 1093 |
+
timeout=branch_timeout,
|
| 1094 |
+
env=env,
|
| 1095 |
+
step="run_tests",
|
| 1096 |
+
accept_failure=True,
|
| 1097 |
+
)
|
| 1098 |
+
branch_log.append(run_entry)
|
| 1099 |
+
branch_log.append(cleanup_lingering_processes())
|
| 1100 |
+
xml_path = find_results_xml()
|
| 1101 |
+
if xml_path is None:
|
| 1102 |
+
if best_xml:
|
| 1103 |
+
merge_best_xml(best_xml)
|
| 1104 |
+
break
|
| 1105 |
+
if serial:
|
| 1106 |
+
result["test_branch_errors"][branch] = [
|
| 1107 |
+
{
|
| 1108 |
+
"error_code": "missing_results_xml",
|
| 1109 |
+
"error_details": "eval/results.xml was not produced",
|
| 1110 |
+
}
|
| 1111 |
+
]
|
| 1112 |
+
inject_not_run(result, branch, tests, "missing_results_xml")
|
| 1113 |
+
break
|
| 1114 |
+
serial = True
|
| 1115 |
+
continue
|
| 1116 |
+
raw_xml = xml_path.read_text(errors="replace")
|
| 1117 |
+
crashes, n_tests, failures, missing = branch_attempt_metrics(
|
| 1118 |
+
raw_xml,
|
| 1119 |
+
run_output=run_entry.get("output", ""),
|
| 1120 |
+
expected_tests=n_expected,
|
| 1121 |
+
)
|
| 1122 |
+
useful = count_junit_passed(raw_xml)
|
| 1123 |
+
quality = (
|
| 1124 |
+
int(crashes == 0 and missing == 0),
|
| 1125 |
+
n_tests,
|
| 1126 |
+
useful,
|
| 1127 |
+
)
|
| 1128 |
+
if quality > best_quality:
|
| 1129 |
+
best_xml = raw_xml
|
| 1130 |
+
best_quality = quality
|
| 1131 |
+
retry = needs_serial_retry(
|
| 1132 |
+
serial=serial,
|
| 1133 |
+
crashes=crashes,
|
| 1134 |
+
missing=missing,
|
| 1135 |
+
failures=failures,
|
| 1136 |
+
n_tests=n_tests,
|
| 1137 |
+
expected_tests=n_expected,
|
| 1138 |
+
run_output=run_entry.get("output", ""),
|
| 1139 |
+
)
|
| 1140 |
+
if not retry:
|
| 1141 |
+
merge_best_xml(best_xml)
|
| 1142 |
+
break
|
| 1143 |
+
serial = True
|
| 1144 |
+
for entry in branch_log:
|
| 1145 |
+
entry["branch"] = branch
|
| 1146 |
+
result["log"].extend(branch_log)
|
| 1147 |
+
|
| 1148 |
+
return result
|
| 1149 |
+
|
| 1150 |
+
|
| 1151 |
+
def write_outputs(result: dict[str, Any], metadata: dict[str, Any]) -> None:
|
| 1152 |
+
LOG_DIR.mkdir(parents=True, exist_ok=True)
|
| 1153 |
+
write_json(LOG_DIR / "programgym_eval.json", result)
|
| 1154 |
+
write_json(LOG_DIR / "harbor_diagnostics.json", diagnostics(result, metadata))
|
| 1155 |
+
rewards = summarize(result, metadata)
|
| 1156 |
+
write_json(LOG_DIR / "reward.json", rewards)
|
| 1157 |
+
(LOG_DIR / "reward.txt").write_text(str(rewards["reward"]))
|
| 1158 |
+
|
| 1159 |
+
|
| 1160 |
+
def main() -> None:
|
| 1161 |
+
LOG_DIR.mkdir(parents=True, exist_ok=True)
|
| 1162 |
+
log_path = LOG_DIR / "programgym_eval.log"
|
| 1163 |
+
metadata = json.loads(METADATA_PATH.read_text())
|
| 1164 |
+
branches = metadata.get("branches", {})
|
| 1165 |
+
try:
|
| 1166 |
+
result = evaluate(metadata)
|
| 1167 |
+
except Exception as exc:
|
| 1168 |
+
error_code = type(exc).__name__
|
| 1169 |
+
result = {
|
| 1170 |
+
"test_results": [],
|
| 1171 |
+
"error_code": error_code,
|
| 1172 |
+
"error_details": str(exc),
|
| 1173 |
+
"log": [
|
| 1174 |
+
{
|
| 1175 |
+
"step": "evaluator_exception",
|
| 1176 |
+
"exception_info": traceback.format_exc(),
|
| 1177 |
+
"returncode": 1,
|
| 1178 |
+
}
|
| 1179 |
+
],
|
| 1180 |
+
"solution_branch": "submission",
|
| 1181 |
+
"test_branches": [
|
| 1182 |
+
name for name, info in branches.items() if not info.get("ignored")
|
| 1183 |
+
],
|
| 1184 |
+
"test_branch_errors": {
|
| 1185 |
+
"__evaluator__": [{"error_code": error_code, "error_details": str(exc)}]
|
| 1186 |
+
},
|
| 1187 |
+
"executable_hash": None,
|
| 1188 |
+
"warnings": [],
|
| 1189 |
+
}
|
| 1190 |
+
for branch, info in branches.items():
|
| 1191 |
+
if info.get("ignored"):
|
| 1192 |
+
continue
|
| 1193 |
+
inject_not_run(result, branch, branch_tests(info), error_code)
|
| 1194 |
+
log_path.write_text(traceback.format_exc())
|
| 1195 |
+
else:
|
| 1196 |
+
log_path.write_text("")
|
| 1197 |
+
write_outputs(result, metadata)
|
| 1198 |
+
|
| 1199 |
+
|
| 1200 |
+
if __name__ == "__main__":
|
| 1201 |
+
main()
|
ricoberger--vault-secrets-operator.64391df/tests/programgym_task.json
ADDED
|
@@ -0,0 +1,446 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"branches": {
|
| 3 |
+
"generated_module_01": {
|
| 4 |
+
"ignore_reason": "",
|
| 5 |
+
"ignored": false,
|
| 6 |
+
"ignored_tests": [],
|
| 7 |
+
"tests": [
|
| 8 |
+
"eval.tests.test_auth_init.test_client_creation_failure_message_and_exit[approle missing role id/secret id-env10-missing role id for AppRole auth method]",
|
| 9 |
+
"eval.tests.test_auth_init.test_client_creation_failure_message_and_exit[empty auth method defaults to invalid-env0-invalid authentication method]",
|
| 10 |
+
"eval.tests.test_auth_init.test_client_creation_failure_message_and_exit[invalid pki renew duration-env2-invalid duration]",
|
| 11 |
+
"eval.tests.test_auth_init.test_client_creation_failure_message_and_exit[invalid vault address scheme-env7-missing protocol scheme]",
|
| 12 |
+
"eval.tests.test_auth_init.test_client_creation_failure_message_and_exit[kubernetes auth missing path-env8-missing Kubernetes auth path]",
|
| 13 |
+
"eval.tests.test_auth_init.test_client_creation_failure_message_and_exit[kubernetes auth missing service-account token file-env9-no such file or directory]",
|
| 14 |
+
"eval.tests.test_auth_init.test_client_creation_failure_message_and_exit[token auth invalid lease duration-env5-invalid syntax]",
|
| 15 |
+
"eval.tests.test_auth_init.test_client_creation_failure_message_and_exit[token auth missing lease duration-env4-missing lease duration for vault token]",
|
| 16 |
+
"eval.tests.test_auth_init.test_client_creation_failure_message_and_exit[token auth missing token-env3-missing vault token]",
|
| 17 |
+
"eval.tests.test_auth_init.test_client_creation_failure_message_and_exit[token auth token-path missing file-env6-no such file or directory]",
|
| 18 |
+
"eval.tests.test_auth_init.test_client_creation_failure_message_and_exit[unknown auth method-env1-invalid authentication method]",
|
| 19 |
+
"eval.tests.test_auth_init.test_client_creation_failure_message_and_exit[userpass missing username-env11-missing username for userpass auth method]",
|
| 20 |
+
"eval.tests.test_auth_init.test_client_creation_failure_message_and_exit[userpass missing username-env12-missing username for userpass auth method]",
|
| 21 |
+
"eval.tests.test_auth_init.test_init_always_logs_reconciliation_message_first",
|
| 22 |
+
"eval.tests.test_auth_init.test_userpass_missing_password_is_distinct",
|
| 23 |
+
"eval.tests.test_flags.test_console_encoder_changes_log_format",
|
| 24 |
+
"eval.tests.test_flags.test_default_logger_emits_json_objects",
|
| 25 |
+
"eval.tests.test_flags.test_devel_mode_uses_console_logging",
|
| 26 |
+
"eval.tests.test_flags.test_double_dash_help_exits_zero",
|
| 27 |
+
"eval.tests.test_flags.test_flag_is_accepted[flags0]",
|
| 28 |
+
"eval.tests.test_flags.test_flag_is_accepted[flags10]",
|
| 29 |
+
"eval.tests.test_flags.test_flag_is_accepted[flags11]",
|
| 30 |
+
"eval.tests.test_flags.test_flag_is_accepted[flags12]",
|
| 31 |
+
"eval.tests.test_flags.test_flag_is_accepted[flags1]",
|
| 32 |
+
"eval.tests.test_flags.test_flag_is_accepted[flags2]",
|
| 33 |
+
"eval.tests.test_flags.test_flag_is_accepted[flags3]",
|
| 34 |
+
"eval.tests.test_flags.test_flag_is_accepted[flags4]",
|
| 35 |
+
"eval.tests.test_flags.test_flag_is_accepted[flags5]",
|
| 36 |
+
"eval.tests.test_flags.test_flag_is_accepted[flags6]",
|
| 37 |
+
"eval.tests.test_flags.test_flag_is_accepted[flags7]",
|
| 38 |
+
"eval.tests.test_flags.test_flag_is_accepted[flags8]",
|
| 39 |
+
"eval.tests.test_flags.test_flag_is_accepted[flags9]",
|
| 40 |
+
"eval.tests.test_flags.test_flag_parse_rejection[flags0-invalid encoder value \"bogus\"]",
|
| 41 |
+
"eval.tests.test_flags.test_flag_parse_rejection[flags1-invalid log level]",
|
| 42 |
+
"eval.tests.test_flags.test_flag_parse_rejection[flags2-invalid stacktrace level]",
|
| 43 |
+
"eval.tests.test_flags.test_flag_parse_rejection[flags3-invalid time-encoding value]",
|
| 44 |
+
"eval.tests.test_flags.test_flag_parse_rejection[flags4-invalid boolean value]",
|
| 45 |
+
"eval.tests.test_flags.test_flag_parse_rejection[flags5-flag provided but not defined: -unknown-flag-xyz]",
|
| 46 |
+
"eval.tests.test_flags.test_help_usage_exits_zero_and_lists_flags",
|
| 47 |
+
"eval.tests.test_flags.test_unknown_flag_error_mentions_flag_name",
|
| 48 |
+
"eval.tests.test_manager_probe.test_kubeconfig_env_var_nonexistent_path_exits_one",
|
| 49 |
+
"eval.tests.test_manager_probe.test_kubeconfig_flag_nonexistent_path_exits_one",
|
| 50 |
+
"eval.tests.test_manager_probe.test_kubeconfig_load_failure_is_reported_when_passed[-invalid configuration]",
|
| 51 |
+
"eval.tests.test_manager_probe.test_kubeconfig_load_failure_is_reported_when_passed[:\\n this is not: :valid: yaml\\n {{{broken-did not find expected key]",
|
| 52 |
+
"eval.tests.test_manager_probe.test_mgr_start_error_when_metrics_unbindable[:99999-invalid port]",
|
| 53 |
+
"eval.tests.test_manager_probe.test_mgr_start_error_when_metrics_unbindable[ab:cd-unknown port]",
|
| 54 |
+
"eval.tests.test_manager_probe.test_mgr_start_error_when_metrics_unbindable[localhost:abcd-unknown port]",
|
| 55 |
+
"eval.tests.test_manager_probe.test_mgr_start_reaches_multiple_namespaces_setup",
|
| 56 |
+
"eval.tests.test_manager_probe.test_mgr_start_reaches_starting_manager_message",
|
| 57 |
+
"eval.tests.test_manager_probe.test_mgr_start_without_watch_namespace_skips_multiple_namespaces",
|
| 58 |
+
"eval.tests.test_manager_probe.test_new_manager_error_when_health_probe_unbindable[:notaport-unknown port]",
|
| 59 |
+
"eval.tests.test_manager_probe.test_new_manager_error_when_health_probe_unbindable[localhost:nosuchsvc-unknown port]",
|
| 60 |
+
"eval.tests.test_manager_probe.test_new_manager_health_probe_error_logged_by_setup_logger",
|
| 61 |
+
"eval.tests.test_watch_namespace.test_kubernetes_nil_client_logs_shared_client_not_initialized",
|
| 62 |
+
"eval.tests.test_watch_namespace.test_reconciliation_time_enabled_logs_value",
|
| 63 |
+
"eval.tests.test_watch_namespace.test_reconciliation_time_invalid_defaults_to_zero",
|
| 64 |
+
"eval.tests.test_watch_namespace.test_reconciliation_time_parsing[0-Reconciliation is enabled.]",
|
| 65 |
+
"eval.tests.test_watch_namespace.test_reconciliation_time_parsing[5-Reconciliation is enabled.]",
|
| 66 |
+
"eval.tests.test_watch_namespace.test_reconciliation_time_parsing[60-Reconciliation is enabled.]",
|
| 67 |
+
"eval.tests.test_watch_namespace.test_reconciliation_time_parsing[abc-Reconciliation will be skipped because it is 0.]",
|
| 68 |
+
"eval.tests.test_watch_namespace.test_reconciliation_zero_value_default",
|
| 69 |
+
"eval.tests.test_watch_namespace.test_token_auth_reaches_watch_namespace_handling",
|
| 70 |
+
"eval.tests.test_watch_namespace.test_token_client_enabled_does_not_log_shared_not_initialized",
|
| 71 |
+
"eval.tests.test_watch_namespace.test_token_loaded_from_file_reaches_watch_namespace",
|
| 72 |
+
"eval.tests.test_watch_namespace.test_token_watch_namespace_set_reports_namespaces",
|
| 73 |
+
"eval.tests.test_watch_namespace.test_unset_watch_namespace_logs_error_and_continues",
|
| 74 |
+
"eval.tests.test_watch_namespace.test_watch_namespace_empty_string_skips_namespace_setup",
|
| 75 |
+
"eval.tests.test_watch_namespace.test_watch_namespace_error_is_reported_in_production_json",
|
| 76 |
+
"eval.tests.test_watch_namespace.test_watch_namespace_populated_does_not_log_unset_error",
|
| 77 |
+
"eval.tests.test_watch_namespace.test_watch_namespace_set_logs_multiple_namespaces[comma-only trailing-ns1,-ns1,]",
|
| 78 |
+
"eval.tests.test_watch_namespace.test_watch_namespace_set_logs_multiple_namespaces[namespaces with tabs-x\\t,y-x\\t,y]",
|
| 79 |
+
"eval.tests.test_watch_namespace.test_watch_namespace_set_logs_multiple_namespaces[single namespace-default-default]",
|
| 80 |
+
"eval.tests.test_watch_namespace.test_watch_namespace_set_logs_multiple_namespaces[two namespaces, no spaces-ns1,ns2-ns1,ns2]",
|
| 81 |
+
"eval.tests.test_watch_namespace.test_watch_namespace_set_logs_multiple_namespaces[two namespaces, one space-a, b-a, b]"
|
| 82 |
+
]
|
| 83 |
+
},
|
| 84 |
+
"generated_module_02": {
|
| 85 |
+
"ignore_reason": "",
|
| 86 |
+
"ignored": false,
|
| 87 |
+
"ignored_tests": [],
|
| 88 |
+
"tests": [
|
| 89 |
+
"eval.tests.test_auth_config_edges.test_kubernetes_valid_role_reads_sa_token_then_errors",
|
| 90 |
+
"eval.tests.test_auth_config_edges.test_lease_duration_zero_parses_positive_branch",
|
| 91 |
+
"eval.tests.test_auth_config_edges.test_pki_renew_valid_duration_proceeds",
|
| 92 |
+
"eval.tests.test_auth_config_edges.test_pki_renew_zero_falls_back_default",
|
| 93 |
+
"eval.tests.test_auth_config_edges.test_renew_token_flag_does_not_abort[false]",
|
| 94 |
+
"eval.tests.test_auth_config_edges.test_renew_token_flag_does_not_abort[nonsense]",
|
| 95 |
+
"eval.tests.test_auth_config_edges.test_restrict_namespace_invalid_defaults_false",
|
| 96 |
+
"eval.tests.test_auth_config_edges.test_token_from_file_missing_errors",
|
| 97 |
+
"eval.tests.test_auth_config_edges.test_token_from_file_then_empty_lease_errors",
|
| 98 |
+
"eval.tests.test_auth_config_edges.test_token_lease_duration_non_numeric_error",
|
| 99 |
+
"eval.tests.test_config_validation.test_auth_method_validation[approle_no_role]",
|
| 100 |
+
"eval.tests.test_config_validation.test_auth_method_validation[approle_no_secret]",
|
| 101 |
+
"eval.tests.test_config_validation.test_auth_method_validation[aws_invalid_type]",
|
| 102 |
+
"eval.tests.test_config_validation.test_auth_method_validation[bogus_method]",
|
| 103 |
+
"eval.tests.test_config_validation.test_auth_method_validation[gcp_bad_type]",
|
| 104 |
+
"eval.tests.test_config_validation.test_auth_method_validation[k8s_no_path]",
|
| 105 |
+
"eval.tests.test_config_validation.test_auth_method_validation[k8s_role_no_path]",
|
| 106 |
+
"eval.tests.test_config_validation.test_auth_method_validation[pki_invalid_duration]",
|
| 107 |
+
"eval.tests.test_config_validation.test_auth_method_validation[token_no_lease]",
|
| 108 |
+
"eval.tests.test_config_validation.test_auth_method_validation[token_no_token]",
|
| 109 |
+
"eval.tests.test_config_validation.test_auth_method_validation[unset_method]",
|
| 110 |
+
"eval.tests.test_config_validation.test_auth_method_validation[userpass_no_pass]",
|
| 111 |
+
"eval.tests.test_config_validation.test_auth_method_validation[userpass_no_user]",
|
| 112 |
+
"eval.tests.test_config_validation.test_valid_token_reaches_kubeconfig_without_hang",
|
| 113 |
+
"eval.tests.test_flag_parsing.test_empty_kubeconfig_is_fast_error",
|
| 114 |
+
"eval.tests.test_flag_parsing.test_help_flag_accepts_documented_bind_addresses[health-probe-bind-address]",
|
| 115 |
+
"eval.tests.test_flag_parsing.test_help_flag_accepts_documented_bind_addresses[metrics-bind-address]",
|
| 116 |
+
"eval.tests.test_flag_parsing.test_help_lists_all_registered_flags",
|
| 117 |
+
"eval.tests.test_flag_parsing.test_kubeconfig_missing_file_reports_error",
|
| 118 |
+
"eval.tests.test_flag_parsing.test_unknown_flag_rejected_with_error",
|
| 119 |
+
"eval.tests.test_startup_logs.test_approle_provided_ids_reach_config_loading",
|
| 120 |
+
"eval.tests.test_startup_logs.test_kubernetes_auth_missing_sa_token_errors",
|
| 121 |
+
"eval.tests.test_startup_logs.test_kubernetes_auth_without_shared_role_uses_role_per_secret",
|
| 122 |
+
"eval.tests.test_startup_logs.test_leader_elect_flag_is_accepted",
|
| 123 |
+
"eval.tests.test_startup_logs.test_reconciliation_time_parsing[invalid_non_numeric]",
|
| 124 |
+
"eval.tests.test_startup_logs.test_reconciliation_time_parsing[negative]",
|
| 125 |
+
"eval.tests.test_startup_logs.test_reconciliation_time_parsing[unset]",
|
| 126 |
+
"eval.tests.test_startup_logs.test_reconciliation_time_parsing[valid_positive]",
|
| 127 |
+
"eval.tests.test_startup_logs.test_token_auth_starts_renew_and_reaches_config",
|
| 128 |
+
"eval.tests.test_startup_logs.test_watch_namespace_single_value_also_normalised",
|
| 129 |
+
"eval.tests.test_startup_logs.test_watch_namespace_unset_logs_guidance_and_continues",
|
| 130 |
+
"eval.tests.test_startup_logs.test_watch_namespace_value_is_normalized[surrounding_whitespace]",
|
| 131 |
+
"eval.tests.test_startup_logs.test_watch_namespace_value_is_normalized[two_namespaces]",
|
| 132 |
+
"eval.tests.test_startup_logs.test_watch_namespace_value_is_normalized[whitespace_after_comma]"
|
| 133 |
+
]
|
| 134 |
+
},
|
| 135 |
+
"generated_module_03": {
|
| 136 |
+
"ignore_reason": "",
|
| 137 |
+
"ignored": false,
|
| 138 |
+
"ignored_tests": [],
|
| 139 |
+
"tests": [
|
| 140 |
+
"eval.tests.test_vaultsecret_cli.test_approle_missing_secret_id_stops_validation",
|
| 141 |
+
"eval.tests.test_vaultsecret_cli.test_approle_valid_credentials_attempt_http_login_to_unreachable_vault",
|
| 142 |
+
"eval.tests.test_vaultsecret_cli.test_auth_method_config_validation_fails_with_precise_error[approle-role-id-missing]",
|
| 143 |
+
"eval.tests.test_vaultsecret_cli.test_auth_method_config_validation_fails_with_precise_error[kubernetes-mount-path-missing]",
|
| 144 |
+
"eval.tests.test_vaultsecret_cli.test_auth_method_config_validation_fails_with_precise_error[token-no-token-not-set]",
|
| 145 |
+
"eval.tests.test_vaultsecret_cli.test_auth_method_config_validation_fails_with_precise_error[token-with-token-missing-lease-duration]",
|
| 146 |
+
"eval.tests.test_vaultsecret_cli.test_auth_method_config_validation_fails_with_precise_error[unsupported-auth-method]",
|
| 147 |
+
"eval.tests.test_vaultsecret_cli.test_auth_method_config_validation_fails_with_precise_error[userpass-password-missing]",
|
| 148 |
+
"eval.tests.test_vaultsecret_cli.test_auth_method_config_validation_fails_with_precise_error[userpass-username-missing]",
|
| 149 |
+
"eval.tests.test_vaultsecret_cli.test_bool_flag_without_value_defaults_true_and_proceeds",
|
| 150 |
+
"eval.tests.test_vaultsecret_cli.test_help_exits_zero_and_lists_flags_on_stderr",
|
| 151 |
+
"eval.tests.test_vaultsecret_cli.test_kubeconfig_flag_is_listed_in_usage",
|
| 152 |
+
"eval.tests.test_vaultsecret_cli.test_kubernetes_auth_declining_role_yields_nil_shared_client_and_continues",
|
| 153 |
+
"eval.tests.test_vaultsecret_cli.test_kubernetes_auth_with_role_requires_service_account_token",
|
| 154 |
+
"eval.tests.test_vaultsecret_cli.test_leader_election_default_is_disabled",
|
| 155 |
+
"eval.tests.test_vaultsecret_cli.test_missing_watch_namespace_is_logged_then_proceeds",
|
| 156 |
+
"eval.tests.test_vaultsecret_cli.test_negative_reconciliation_time_still_enables",
|
| 157 |
+
"eval.tests.test_vaultsecret_cli.test_pki_renew_invalid_duration_is_reported",
|
| 158 |
+
"eval.tests.test_vaultsecret_cli.test_pki_renew_valid_custom_duration_accepted_on_parse",
|
| 159 |
+
"eval.tests.test_vaultsecret_cli.test_process_exits_with_code_one_on_config_failure",
|
| 160 |
+
"eval.tests.test_vaultsecret_cli.test_reconciliation_time_invalid_string_defaults_to_zero",
|
| 161 |
+
"eval.tests.test_vaultsecret_cli.test_reconciliation_time_literal_zero_enables_reconciliation",
|
| 162 |
+
"eval.tests.test_vaultsecret_cli.test_reconciliation_time_numeric_variants[reconciliation-time-five]",
|
| 163 |
+
"eval.tests.test_vaultsecret_cli.test_reconciliation_time_numeric_variants[reconciliation-time-one-twenty]",
|
| 164 |
+
"eval.tests.test_vaultsecret_cli.test_reconciliation_time_positive_enables_reconciliation",
|
| 165 |
+
"eval.tests.test_vaultsecret_cli.test_reconciliation_time_unset_means_skipped",
|
| 166 |
+
"eval.tests.test_vaultsecret_cli.test_short_help_flag_also_exits_zero",
|
| 167 |
+
"eval.tests.test_vaultsecret_cli.test_string_flag_missing_value_is_flag_error",
|
| 168 |
+
"eval.tests.test_vaultsecret_cli.test_token_auth_requires_a_readable_token_path_when_token_env_missing",
|
| 169 |
+
"eval.tests.test_vaultsecret_cli.test_token_with_token_and_lease_initializes_client_and_reaches_kubeconfig",
|
| 170 |
+
"eval.tests.test_vaultsecret_cli.test_unknown_flag_is_rejected_with_usage",
|
| 171 |
+
"eval.tests.test_vaultsecret_cli.test_userpass_valid_credentials_attempt_http_login_to_unreachable_vault",
|
| 172 |
+
"eval.tests.test_vaultsecret_cli.test_valid_boolean_flag_parses_and_proceeds_to_auth_validation",
|
| 173 |
+
"eval.tests.test_vaultsecret_cli.test_watch_namespace_set_parses_multi_namespace_without_failing",
|
| 174 |
+
"eval.tests.test_vaultsecret_cli.test_whitespace_kubernetes_path_yields_nil_shared_client",
|
| 175 |
+
"eval.tests.test_vaultsecret_manager.test_health_probe_server_starts_on_ephemeral_port",
|
| 176 |
+
"eval.tests.test_vaultsecret_manager.test_healthz_probe_returns_ok_with_nil_shared_client",
|
| 177 |
+
"eval.tests.test_vaultsecret_manager.test_invalid_health_probe_address_fails_manager_construction",
|
| 178 |
+
"eval.tests.test_vaultsecret_manager.test_invalid_metrics_bind_address_fails_after_controller_registration",
|
| 179 |
+
"eval.tests.test_vaultsecret_manager.test_kubeconfig_env_variable_also_reaches_manager_start",
|
| 180 |
+
"eval.tests.test_vaultsecret_manager.test_leader_election_enabled_out_of_cluster_fails_manager_construction",
|
| 181 |
+
"eval.tests.test_vaultsecret_manager.test_manager_starts_controller_and_workers_on_shutdown",
|
| 182 |
+
"eval.tests.test_vaultsecret_manager.test_metrics_bind_address_is_honored_in_serving_log",
|
| 183 |
+
"eval.tests.test_vaultsecret_manager.test_metrics_endpoint_serves_prometheus_families_but_reconcile_counter_unset",
|
| 184 |
+
"eval.tests.test_vaultsecret_manager.test_metrics_server_binds_ephemeral_port",
|
| 185 |
+
"eval.tests.test_vaultsecret_manager.test_multi_namespace_watch_reaches_manager_start_with_kubeconfig",
|
| 186 |
+
"eval.tests.test_vaultsecret_manager.test_readyz_probe_returns_ok_with_nil_shared_client",
|
| 187 |
+
"eval.tests.test_vaultsecret_manager.test_setup_owns_secret_eventsource",
|
| 188 |
+
"eval.tests.test_vaultsecret_manager.test_setup_reaches_manager_and_registers_vaultsecret_controller",
|
| 189 |
+
"eval.tests.test_vaultsecret_manager.test_sigint_graceful_shutdown"
|
| 190 |
+
]
|
| 191 |
+
},
|
| 192 |
+
"generated_module_04": {
|
| 193 |
+
"ignore_reason": "",
|
| 194 |
+
"ignored": false,
|
| 195 |
+
"ignored_tests": [],
|
| 196 |
+
"tests": [
|
| 197 |
+
"eval.tests.test_operator_auth_leaf_branches.test_approle_ids_from_missing_path_files[approle-role-and-secret-from-bad-paths]",
|
| 198 |
+
"eval.tests.test_operator_auth_leaf_branches.test_approle_role_env_wins_over_bad_role_path",
|
| 199 |
+
"eval.tests.test_operator_auth_leaf_branches.test_approle_secret_env_wins_over_bad_secret_path",
|
| 200 |
+
"eval.tests.test_operator_auth_leaf_branches.test_kubernetes_custom_token_path_override_missing",
|
| 201 |
+
"eval.tests.test_operator_auth_leaf_branches.test_kubernetes_default_sa_token_path_missing",
|
| 202 |
+
"eval.tests.test_operator_auth_leaf_branches.test_kubernetes_path_without_role_uses_nil_shared_client",
|
| 203 |
+
"eval.tests.test_operator_auth_leaf_branches.test_token_lease_duration_parse_error[token-lease-duration-non-numeric]",
|
| 204 |
+
"eval.tests.test_operator_auth_leaf_branches.test_token_lease_duration_parse_error[token-lease-duration-partial-numeric]",
|
| 205 |
+
"eval.tests.test_operator_auth_leaf_branches.test_token_zero_lease_proceeds_to_namespace_gate",
|
| 206 |
+
"eval.tests.test_operator_surface.test_operator_diagnostics_on_stderr_not_stdout",
|
| 207 |
+
"eval.tests.test_operator_surface.test_operator_flag_help_and_accepted_flags[help-long]",
|
| 208 |
+
"eval.tests.test_operator_surface.test_operator_flag_help_and_accepted_flags[help-short]",
|
| 209 |
+
"eval.tests.test_operator_surface.test_operator_flag_help_and_accepted_flags[valid-flags-then-startup-validation]",
|
| 210 |
+
"eval.tests.test_operator_surface.test_operator_help_usage_on_stderr",
|
| 211 |
+
"eval.tests.test_operator_surface.test_operator_pki_renew_invalid_duration",
|
| 212 |
+
"eval.tests.test_operator_surface.test_operator_reconciliation_time_env[recon-time-negative]",
|
| 213 |
+
"eval.tests.test_operator_surface.test_operator_reconciliation_time_env[recon-time-non-numeric]",
|
| 214 |
+
"eval.tests.test_operator_surface.test_operator_reconciliation_time_env[recon-time-positive]",
|
| 215 |
+
"eval.tests.test_operator_surface.test_operator_reconciliation_time_env[recon-time-zero]",
|
| 216 |
+
"eval.tests.test_operator_surface.test_operator_rejects_malformed_flags[invalid-zap-log-level]",
|
| 217 |
+
"eval.tests.test_operator_surface.test_operator_rejects_malformed_flags[non-boolean-leader-elect]",
|
| 218 |
+
"eval.tests.test_operator_surface.test_operator_rejects_malformed_flags[unknown-flag]",
|
| 219 |
+
"eval.tests.test_operator_surface.test_operator_token_missing_token_path_file",
|
| 220 |
+
"eval.tests.test_operator_surface.test_operator_token_only_path_file_skips_empty_token",
|
| 221 |
+
"eval.tests.test_operator_surface.test_operator_token_reads_token_from_path_file",
|
| 222 |
+
"eval.tests.test_operator_surface.test_operator_validates_per_auth_method_required_inputs[approle-missing-role-id]",
|
| 223 |
+
"eval.tests.test_operator_surface.test_operator_validates_per_auth_method_required_inputs[approle-role-without-secret-id]",
|
| 224 |
+
"eval.tests.test_operator_surface.test_operator_validates_per_auth_method_required_inputs[aws-missing-auth-type]",
|
| 225 |
+
"eval.tests.test_operator_surface.test_operator_validates_per_auth_method_required_inputs[gcp-bogus-auth-type]",
|
| 226 |
+
"eval.tests.test_operator_surface.test_operator_validates_per_auth_method_required_inputs[gcp-missing-auth-type]",
|
| 227 |
+
"eval.tests.test_operator_surface.test_operator_validates_per_auth_method_required_inputs[kubernetes-missing-path]",
|
| 228 |
+
"eval.tests.test_operator_surface.test_operator_validates_per_auth_method_required_inputs[kubernetes-role-without-path]",
|
| 229 |
+
"eval.tests.test_operator_surface.test_operator_validates_per_auth_method_required_inputs[no-auth-method]",
|
| 230 |
+
"eval.tests.test_operator_surface.test_operator_validates_per_auth_method_required_inputs[token-missing-lease-duration]",
|
| 231 |
+
"eval.tests.test_operator_surface.test_operator_validates_per_auth_method_required_inputs[token-missing-token]",
|
| 232 |
+
"eval.tests.test_operator_surface.test_operator_validates_per_auth_method_required_inputs[userpass-missing-password]",
|
| 233 |
+
"eval.tests.test_operator_surface.test_operator_validates_per_auth_method_required_inputs[userpass-missing-username]",
|
| 234 |
+
"eval.tests.test_operator_surface.test_operator_watch_namespace_multiple",
|
| 235 |
+
"eval.tests.test_operator_surface.test_operator_watch_namespace_unset"
|
| 236 |
+
]
|
| 237 |
+
},
|
| 238 |
+
"generated_module_05": {
|
| 239 |
+
"ignore_reason": "",
|
| 240 |
+
"ignored": false,
|
| 241 |
+
"ignored_tests": [],
|
| 242 |
+
"tests": [
|
| 243 |
+
"eval.tests.test_auth_login_flows.test_approle_custom_mount_path",
|
| 244 |
+
"eval.tests.test_auth_login_flows.test_approle_login_http_403",
|
| 245 |
+
"eval.tests.test_auth_login_flows.test_approle_login_http_500",
|
| 246 |
+
"eval.tests.test_auth_login_flows.test_approle_login_invalid_json",
|
| 247 |
+
"eval.tests.test_auth_login_flows.test_approle_login_missing_auth",
|
| 248 |
+
"eval.tests.test_auth_login_flows.test_approle_login_sends_role_secret_ids",
|
| 249 |
+
"eval.tests.test_auth_login_flows.test_approle_login_success_creates_client",
|
| 250 |
+
"eval.tests.test_auth_login_flows.test_kubernetes_login_missing_auth",
|
| 251 |
+
"eval.tests.test_auth_login_flows.test_kubernetes_login_sends_jwt_and_role",
|
| 252 |
+
"eval.tests.test_auth_login_flows.test_kubernetes_login_success_creates_client",
|
| 253 |
+
"eval.tests.test_auth_login_flows.test_login_http_500_propagates_without_hanging",
|
| 254 |
+
"eval.tests.test_auth_login_flows.test_userpass_login_missing_auth",
|
| 255 |
+
"eval.tests.test_auth_login_flows.test_userpass_login_sends_password_and_user_path",
|
| 256 |
+
"eval.tests.test_auth_login_flows.test_userpass_login_success_creates_client",
|
| 257 |
+
"eval.tests.test_client_runtime.test_gethealth_healthz_fails_after_ten_renewal_failures",
|
| 258 |
+
"eval.tests.test_client_runtime.test_gethealth_ok_returns_nil_on_healthz_and_readyz",
|
| 259 |
+
"eval.tests.test_client_runtime.test_gethealth_partial_failures_recover_both_probes",
|
| 260 |
+
"eval.tests.test_client_runtime.test_gethealth_readyz_fails_after_five_renewal_failures",
|
| 261 |
+
"eval.tests.test_client_runtime.test_kubernetes_reissue_errors_when_sa_file_removed",
|
| 262 |
+
"eval.tests.test_client_runtime.test_kubernetes_reissue_new_token_after_max_ttl",
|
| 263 |
+
"eval.tests.test_client_runtime.test_renew_approle_reissue_success_keeps_health",
|
| 264 |
+
"eval.tests.test_client_runtime.test_renew_bool_unset_defaults_true_and_renews",
|
| 265 |
+
"eval.tests.test_client_runtime.test_renew_kubernetes_reissue_recovers_health_after_file_restored",
|
| 266 |
+
"eval.tests.test_client_runtime.test_renew_self_carries_namespace_header",
|
| 267 |
+
"eval.tests.test_client_runtime.test_renew_self_transient_failures_do_not_trip_health",
|
| 268 |
+
"eval.tests.test_client_runtime.test_renew_token_disabled_skips_goroutine",
|
| 269 |
+
"eval.tests.test_client_runtime.test_renew_token_issues_renewself_requests",
|
| 270 |
+
"eval.tests.test_client_runtime.test_renew_token_namespace_loop_keeps_renewing",
|
| 271 |
+
"eval.tests.test_client_runtime.test_renew_token_renewself_increment_matches_lease",
|
| 272 |
+
"eval.tests.test_client_runtime.test_renew_token_without_namespace_skips_setnamespace",
|
| 273 |
+
"eval.tests.test_client_runtime.test_renew_userpass_reissue_success_keeps_health",
|
| 274 |
+
"eval.tests.test_client_runtime.test_renew_zero_interval_renews_repeatedly",
|
| 275 |
+
"eval.tests.test_other_auth_methods.test_approle_login_connection_refused",
|
| 276 |
+
"eval.tests.test_other_auth_methods.test_approle_missing_role_id",
|
| 277 |
+
"eval.tests.test_other_auth_methods.test_approle_role_id_from_env_missing_secret",
|
| 278 |
+
"eval.tests.test_other_auth_methods.test_aws_empty_auth_type",
|
| 279 |
+
"eval.tests.test_other_auth_methods.test_aws_invalid_auth_type",
|
| 280 |
+
"eval.tests.test_other_auth_methods.test_azure_imds_unavailable",
|
| 281 |
+
"eval.tests.test_other_auth_methods.test_empty_auth_method",
|
| 282 |
+
"eval.tests.test_other_auth_methods.test_gcp_empty_auth_type",
|
| 283 |
+
"eval.tests.test_other_auth_methods.test_gcp_invalid_auth_type",
|
| 284 |
+
"eval.tests.test_other_auth_methods.test_invalid_auth_method",
|
| 285 |
+
"eval.tests.test_other_auth_methods.test_kubernetes_login_connection_refused",
|
| 286 |
+
"eval.tests.test_other_auth_methods.test_kubernetes_missing_path",
|
| 287 |
+
"eval.tests.test_other_auth_methods.test_kubernetes_no_role_returns_nil",
|
| 288 |
+
"eval.tests.test_other_auth_methods.test_kubernetes_token_file_missing",
|
| 289 |
+
"eval.tests.test_other_auth_methods.test_userpass_login_connection_refused",
|
| 290 |
+
"eval.tests.test_other_auth_methods.test_userpass_missing_password",
|
| 291 |
+
"eval.tests.test_other_auth_methods.test_userpass_missing_username",
|
| 292 |
+
"eval.tests.test_token_auth.test_token_invalid_renew_bool_defaults_true",
|
| 293 |
+
"eval.tests.test_token_auth.test_token_lease_duration_not_numeric",
|
| 294 |
+
"eval.tests.test_token_auth.test_token_lease_duration_zero",
|
| 295 |
+
"eval.tests.test_token_auth.test_token_missing_lease_duration",
|
| 296 |
+
"eval.tests.test_token_auth.test_token_missing_token_and_path",
|
| 297 |
+
"eval.tests.test_token_auth.test_token_missing_token_but_path_set",
|
| 298 |
+
"eval.tests.test_token_auth.test_token_negative_lease_duration",
|
| 299 |
+
"eval.tests.test_token_auth.test_token_normalizes_token_file_whitespace",
|
| 300 |
+
"eval.tests.test_token_auth.test_token_path_file_missing",
|
| 301 |
+
"eval.tests.test_token_auth.test_token_pki_renew_invalid",
|
| 302 |
+
"eval.tests.test_token_auth.test_token_renewal_intervals_unparseable_defaults",
|
| 303 |
+
"eval.tests.test_token_auth.test_token_restrict_namespace_invalid_false",
|
| 304 |
+
"eval.tests.test_token_auth.test_token_valid_creates_client_no_vault_error"
|
| 305 |
+
]
|
| 306 |
+
},
|
| 307 |
+
"generated_module_06": {
|
| 308 |
+
"ignore_reason": "",
|
| 309 |
+
"ignored": false,
|
| 310 |
+
"ignored_tests": [],
|
| 311 |
+
"tests": [
|
| 312 |
+
"eval.tests.test_aws_ec2.test_aws_ec2_login_missing_token_file",
|
| 313 |
+
"eval.tests.test_aws_ec2.test_aws_ec2_login_nonce_ok_then_imds_unavailable",
|
| 314 |
+
"eval.tests.test_aws_iam.test_aws_iam_custom_mount_path[auth/aws/deep-/v1/auth/aws/deep/login]",
|
| 315 |
+
"eval.tests.test_aws_iam.test_aws_iam_custom_mount_path[auth/foo-/v1/auth/foo/login]",
|
| 316 |
+
"eval.tests.test_aws_iam.test_aws_iam_custom_mount_path[foo-/v1/auth/foo/login]",
|
| 317 |
+
"eval.tests.test_aws_iam.test_aws_iam_custom_role_propagates",
|
| 318 |
+
"eval.tests.test_aws_iam.test_aws_iam_default_mount_path",
|
| 319 |
+
"eval.tests.test_aws_iam.test_aws_iam_empty_region_still_bounded",
|
| 320 |
+
"eval.tests.test_aws_iam.test_aws_iam_explicit_empty_role_bounded",
|
| 321 |
+
"eval.tests.test_aws_iam.test_aws_iam_invalid_auth_type[Ec2]",
|
| 322 |
+
"eval.tests.test_aws_iam.test_aws_iam_invalid_auth_type[IAM]",
|
| 323 |
+
"eval.tests.test_aws_iam.test_aws_iam_invalid_auth_type[]",
|
| 324 |
+
"eval.tests.test_aws_iam.test_aws_iam_invalid_auth_type[bogus]",
|
| 325 |
+
"eval.tests.test_aws_iam.test_aws_iam_invalid_auth_type[iam ]",
|
| 326 |
+
"eval.tests.test_aws_iam.test_aws_iam_invalid_auth_type[sts]",
|
| 327 |
+
"eval.tests.test_aws_iam.test_aws_iam_login_missing_auth_information",
|
| 328 |
+
"eval.tests.test_aws_iam.test_aws_iam_login_success_path",
|
| 329 |
+
"eval.tests.test_aws_iam.test_aws_iam_login_vault_error_status",
|
| 330 |
+
"eval.tests.test_aws_iam.test_aws_iam_missing_aws_credentials",
|
| 331 |
+
"eval.tests.test_aws_iam.test_aws_iam_region_ap_southeast_2_scope",
|
| 332 |
+
"eval.tests.test_aws_iam.test_aws_iam_region_maps_to_scope[ap-northeast-1]",
|
| 333 |
+
"eval.tests.test_aws_iam.test_aws_iam_region_maps_to_scope[eu-west-1]",
|
| 334 |
+
"eval.tests.test_aws_iam.test_aws_iam_region_maps_to_scope[sa-east-1]",
|
| 335 |
+
"eval.tests.test_aws_iam.test_aws_iam_region_maps_to_scope[us-west-2]",
|
| 336 |
+
"eval.tests.test_aws_iam.test_aws_iam_region_scoping",
|
| 337 |
+
"eval.tests.test_aws_iam.test_aws_iam_server_id_header[None]",
|
| 338 |
+
"eval.tests.test_aws_iam.test_aws_iam_server_id_header[vault.example.com]",
|
| 339 |
+
"eval.tests.test_aws_iam.test_aws_iam_session_token_empty_omits_token",
|
| 340 |
+
"eval.tests.test_aws_iam.test_aws_iam_session_token_non_empty_propagates",
|
| 341 |
+
"eval.tests.test_aws_iam_profile.test_aws_iam_known_profile_proceeds_to_login",
|
| 342 |
+
"eval.tests.test_aws_iam_profile.test_aws_iam_unknown_profile_fails_config_load",
|
| 343 |
+
"eval.tests.test_aws_iam_profile.test_aws_iam_unknown_profile_precedes_credential_retrieval",
|
| 344 |
+
"eval.tests.test_aws_iam_setenv_errors.test_aws_iam_config_all_valid_reaches_login",
|
| 345 |
+
"eval.tests.test_aws_iam_setenv_errors.test_aws_iam_setenv_error_access_key_nul",
|
| 346 |
+
"eval.tests.test_aws_iam_setenv_errors.test_aws_iam_setenv_error_secret_key_nul",
|
| 347 |
+
"eval.tests.test_aws_iam_setenv_errors.test_aws_iam_setenv_error_session_token_nul"
|
| 348 |
+
]
|
| 349 |
+
}
|
| 350 |
+
},
|
| 351 |
+
"commit": "64391df925bc25f02bb7e5964bdab6848b4b11fe",
|
| 352 |
+
"data_source": "synthetic_programgym",
|
| 353 |
+
"difficulty": "medium",
|
| 354 |
+
"difficulty_score": 3.434824296268493,
|
| 355 |
+
"eval_clean_hashes": [
|
| 356 |
+
"eb48a295b740336e507b4db034e6e4b09c48d5c7ebe20c683723e3c364215f8e"
|
| 357 |
+
],
|
| 358 |
+
"input_record": {
|
| 359 |
+
"commit": "64391df925bc25f02bb7e5964bdab6848b4b11fe",
|
| 360 |
+
"commits": 618,
|
| 361 |
+
"contributors": 45,
|
| 362 |
+
"difficulty": "medium",
|
| 363 |
+
"difficulty_code_lines": 2160,
|
| 364 |
+
"difficulty_has_tests": true,
|
| 365 |
+
"difficulty_product_code_lines": 2160,
|
| 366 |
+
"difficulty_runtime_deps": 125,
|
| 367 |
+
"difficulty_score": 3.434824296268493,
|
| 368 |
+
"difficulty_test_code_lines": 292,
|
| 369 |
+
"full_name": "ricoberger/vault-secrets-operator",
|
| 370 |
+
"github_stars": 685,
|
| 371 |
+
"input_joern_zip": "go_joern/ricoberger__vault-secrets-operator.zip",
|
| 372 |
+
"joern_status": true,
|
| 373 |
+
"joern_time": 12.699650070164353,
|
| 374 |
+
"language": "go",
|
| 375 |
+
"pb_match": [
|
| 376 |
+
{
|
| 377 |
+
"pb_fullname": "segmentio/chamber",
|
| 378 |
+
"rank": 69,
|
| 379 |
+
"similarity": 0.6048508882522583
|
| 380 |
+
},
|
| 381 |
+
{
|
| 382 |
+
"pb_fullname": "FiloSottile/age",
|
| 383 |
+
"rank": 251,
|
| 384 |
+
"similarity": 0.502291738986969
|
| 385 |
+
}
|
| 386 |
+
],
|
| 387 |
+
"repo_age": 6.94,
|
| 388 |
+
"repo_path": "go/ricoberger__vault-secrets-operator",
|
| 389 |
+
"source": "commit:64391df925bc25f02bb7e5964bdab6848b4b11fe",
|
| 390 |
+
"status": "done",
|
| 391 |
+
"url": "https://github.com/ricoberger/vault-secrets-operator"
|
| 392 |
+
},
|
| 393 |
+
"instance_id": "ricoberger__vault-secrets-operator.64391df",
|
| 394 |
+
"language": "go",
|
| 395 |
+
"module_iterations": [
|
| 396 |
+
{
|
| 397 |
+
"actual_iterations": 3,
|
| 398 |
+
"branch_name": "generated_module_01",
|
| 399 |
+
"iteration_limit": 15,
|
| 400 |
+
"module_index": 1,
|
| 401 |
+
"module_kind": "source",
|
| 402 |
+
"termination_reason": "module_coverage_threshold_reached"
|
| 403 |
+
},
|
| 404 |
+
{
|
| 405 |
+
"actual_iterations": 2,
|
| 406 |
+
"branch_name": "generated_module_02",
|
| 407 |
+
"iteration_limit": 15,
|
| 408 |
+
"module_index": 2,
|
| 409 |
+
"module_kind": "source",
|
| 410 |
+
"termination_reason": "module_coverage_threshold_reached"
|
| 411 |
+
},
|
| 412 |
+
{
|
| 413 |
+
"actual_iterations": 7,
|
| 414 |
+
"branch_name": "generated_module_03",
|
| 415 |
+
"iteration_limit": 15,
|
| 416 |
+
"module_index": 3,
|
| 417 |
+
"module_kind": "source",
|
| 418 |
+
"termination_reason": "early_stopping"
|
| 419 |
+
},
|
| 420 |
+
{
|
| 421 |
+
"actual_iterations": 11,
|
| 422 |
+
"branch_name": "generated_module_04",
|
| 423 |
+
"iteration_limit": 15,
|
| 424 |
+
"module_index": 4,
|
| 425 |
+
"module_kind": "source",
|
| 426 |
+
"termination_reason": "early_stopping"
|
| 427 |
+
},
|
| 428 |
+
{
|
| 429 |
+
"actual_iterations": 8,
|
| 430 |
+
"branch_name": "generated_module_05",
|
| 431 |
+
"iteration_limit": 15,
|
| 432 |
+
"module_index": 5,
|
| 433 |
+
"module_kind": "source",
|
| 434 |
+
"termination_reason": "early_stopping"
|
| 435 |
+
},
|
| 436 |
+
{
|
| 437 |
+
"actual_iterations": 8,
|
| 438 |
+
"branch_name": "generated_module_06",
|
| 439 |
+
"iteration_limit": 15,
|
| 440 |
+
"module_index": 6,
|
| 441 |
+
"module_kind": "source",
|
| 442 |
+
"termination_reason": "early_stopping"
|
| 443 |
+
}
|
| 444 |
+
],
|
| 445 |
+
"repository": "ricoberger/vault-secrets-operator"
|
| 446 |
+
}
|
ricoberger--vault-secrets-operator.64391df/tests/test.sh
ADDED
|
@@ -0,0 +1,82 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
#!/usr/bin/env bash
|
| 2 |
+
set -euo pipefail
|
| 3 |
+
|
| 4 |
+
# Verifier exec may not inherit image ENV (Modal/gVisor, login-shell resets).
|
| 5 |
+
export PATH="/usr/local/go/bin:/go/bin:/usr/local/cargo/bin:/root/.cargo/bin:${PATH}"
|
| 6 |
+
|
| 7 |
+
mkdir -p /logs/verifier /logs/artifacts
|
| 8 |
+
|
| 9 |
+
write_failure() {
|
| 10 |
+
local code="$1"
|
| 11 |
+
local details="$2"
|
| 12 |
+
python3 - "$code" "$details" <<'PY'
|
| 13 |
+
import json
|
| 14 |
+
import sys
|
| 15 |
+
from pathlib import Path
|
| 16 |
+
|
| 17 |
+
code, details = sys.argv[1:3]
|
| 18 |
+
try:
|
| 19 |
+
metadata = json.loads(Path("/tests/programgym_task.json").read_text())
|
| 20 |
+
n_tests = sum(
|
| 21 |
+
len([
|
| 22 |
+
name for name in info.get("tests", [])
|
| 23 |
+
if name not in {item.get("name") for item in info.get("ignored_tests", [])}
|
| 24 |
+
])
|
| 25 |
+
for branch, info in metadata.get("branches", {}).items()
|
| 26 |
+
if not info.get("ignored")
|
| 27 |
+
)
|
| 28 |
+
except Exception:
|
| 29 |
+
n_tests = 0
|
| 30 |
+
result = {
|
| 31 |
+
"test_results": [],
|
| 32 |
+
"error_code": code,
|
| 33 |
+
"error_details": details,
|
| 34 |
+
"log": [],
|
| 35 |
+
"solution_branch": "submission",
|
| 36 |
+
"test_branches": [],
|
| 37 |
+
"test_branch_errors": {
|
| 38 |
+
"__infra__": [{"error_code": code, "error_details": details}]
|
| 39 |
+
},
|
| 40 |
+
"executable_hash": None,
|
| 41 |
+
"warnings": [],
|
| 42 |
+
}
|
| 43 |
+
diagnostics = {
|
| 44 |
+
"pass_rate": 0.0,
|
| 45 |
+
"resolved": 0,
|
| 46 |
+
"n_passed": 0,
|
| 47 |
+
"n_tests": n_tests,
|
| 48 |
+
"n_branch_errors": 1,
|
| 49 |
+
"infra_error": 1,
|
| 50 |
+
"executable_hash_present": 0,
|
| 51 |
+
}
|
| 52 |
+
Path("/logs/verifier/programgym_eval.json").write_text(
|
| 53 |
+
json.dumps(result, indent=2, sort_keys=True)
|
| 54 |
+
)
|
| 55 |
+
Path("/logs/verifier/harbor_diagnostics.json").write_text(
|
| 56 |
+
json.dumps(diagnostics, indent=2, sort_keys=True)
|
| 57 |
+
)
|
| 58 |
+
Path("/logs/verifier/reward.json").write_text(
|
| 59 |
+
json.dumps(
|
| 60 |
+
{"reward": 0.0, "resolved": 0.0, "almost_resolved": 0.0},
|
| 61 |
+
indent=2,
|
| 62 |
+
sort_keys=True,
|
| 63 |
+
)
|
| 64 |
+
)
|
| 65 |
+
Path("/logs/verifier/reward.txt").write_text("0.0")
|
| 66 |
+
Path("/logs/verifier/programgym_eval.log").write_text(details)
|
| 67 |
+
PY
|
| 68 |
+
}
|
| 69 |
+
|
| 70 |
+
if ! command -v python3 >/dev/null 2>&1; then
|
| 71 |
+
write_failure "missing_python3" "python3 is required in the cleanroom image"
|
| 72 |
+
exit 0
|
| 73 |
+
fi
|
| 74 |
+
|
| 75 |
+
if ! python3 /tests/programgym_evaluator.py; then
|
| 76 |
+
if [ ! -s /logs/verifier/reward.txt ]; then
|
| 77 |
+
write_failure "evaluator_crashed" \
|
| 78 |
+
"programgym_evaluator.py exited non-zero with no reward written"
|
| 79 |
+
fi
|
| 80 |
+
fi
|
| 81 |
+
|
| 82 |
+
exit 0
|
ricoberger--vault-secrets-operator.64391df/tests/workspace.tar.gz
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:41ac7429be2e6895662f18cd4135e1a07b405c59b1751f41ede15309857c1f65
|
| 3 |
+
size 10029
|
riza--linx.0447a72/environment/Dockerfile
CHANGED
|
@@ -58,3 +58,4 @@ RUN mkdir -p /home/agent \
|
|
| 58 |
&& chmod 111 /workspace/executable
|
| 59 |
ENV HOME=/home/agent
|
| 60 |
WORKDIR /workspace
|
|
|
|
|
|
| 58 |
&& chmod 111 /workspace/executable
|
| 59 |
ENV HOME=/home/agent
|
| 60 |
WORKDIR /workspace
|
| 61 |
+
RUN ["bash","-lc","rm -f -- /workspace/download.sh /tmp/programgym-download.sh /tmp/download.sh /workspace/reference/build.sh && rm -rf -- /workspace/.programgym_build_env"]
|
riza--linx.0447a72/tests/Dockerfile
CHANGED
|
@@ -66,3 +66,4 @@ COPY programgym_evaluator.py /tests/programgym_evaluator.py
|
|
| 66 |
COPY programgym_task.json /tests/programgym_task.json
|
| 67 |
COPY blobs/ /tests/blobs/
|
| 68 |
RUN chmod +x /tests/test.sh
|
|
|
|
|
|
| 66 |
COPY programgym_task.json /tests/programgym_task.json
|
| 67 |
COPY blobs/ /tests/blobs/
|
| 68 |
RUN chmod +x /tests/test.sh
|
| 69 |
+
RUN ["bash","-lc","rm -f -- /workspace/download.sh /tmp/programgym-download.sh /tmp/download.sh /workspace/reference/build.sh && rm -rf -- /workspace/.programgym_build_env"]
|
rjeczalik--interfaces.4586dff/environment/Dockerfile
CHANGED
|
@@ -58,3 +58,4 @@ RUN mkdir -p /home/agent \
|
|
| 58 |
&& chmod 111 /workspace/executable
|
| 59 |
ENV HOME=/home/agent
|
| 60 |
WORKDIR /workspace
|
|
|
|
|
|
| 58 |
&& chmod 111 /workspace/executable
|
| 59 |
ENV HOME=/home/agent
|
| 60 |
WORKDIR /workspace
|
| 61 |
+
RUN ["bash","-lc","rm -f -- /workspace/download.sh /tmp/programgym-download.sh /tmp/download.sh /workspace/reference/build.sh && rm -rf -- /workspace/.programgym_build_env"]
|
rjeczalik--interfaces.4586dff/tests/Dockerfile
CHANGED
|
@@ -66,3 +66,4 @@ COPY programgym_evaluator.py /tests/programgym_evaluator.py
|
|
| 66 |
COPY programgym_task.json /tests/programgym_task.json
|
| 67 |
COPY blobs/ /tests/blobs/
|
| 68 |
RUN chmod +x /tests/test.sh
|
|
|
|
|
|
| 66 |
COPY programgym_task.json /tests/programgym_task.json
|
| 67 |
COPY blobs/ /tests/blobs/
|
| 68 |
RUN chmod +x /tests/test.sh
|
| 69 |
+
RUN ["bash","-lc","rm -f -- /workspace/download.sh /tmp/programgym-download.sh /tmp/download.sh /workspace/reference/build.sh && rm -rf -- /workspace/.programgym_build_env"]
|
rkoval--alfred-aws-console-services-workflow.4f0e46d/environment/Dockerfile
ADDED
|
@@ -0,0 +1,98 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
FROM ubuntu:24.04
|
| 2 |
+
ARG PROGRAMGYM_APT_REPOSITORY_BASE_URL=""
|
| 3 |
+
ARG PROGRAMGYM_GOPROXY="https://proxy.golang.org,direct"
|
| 4 |
+
ARG PROGRAMGYM_GOSUMDB="sum.golang.org"
|
| 5 |
+
ARG PROGRAMGYM_NPM_REGISTRY="https://registry.npmjs.org/"
|
| 6 |
+
ARG PROGRAMGYM_NPM_STRICT_SSL="true"
|
| 7 |
+
ARG PROGRAMGYM_PYPI_INDEX_URL="https://pypi.org/simple"
|
| 8 |
+
ARG PROGRAMGYM_PYPI_TRUSTED_HOST=""
|
| 9 |
+
ARG PROGRAMGYM_UV_INSECURE_HOST=""
|
| 10 |
+
ARG PROGRAMGYM_RUSTUP_DIST_SERVER="https://static.rust-lang.org"
|
| 11 |
+
ARG PROGRAMGYM_RUSTUP_UPDATE_ROOT="https://static.rust-lang.org/rustup"
|
| 12 |
+
ARG PROGRAMGYM_CARGO_INDEX="sparse+https://index.crates.io/"
|
| 13 |
+
ARG PROGRAMGYM_CARGO_NET_RETRY="10"
|
| 14 |
+
ARG PROGRAMGYM_CARGO_HTTP_TIMEOUT="600"
|
| 15 |
+
ARG PROGRAMGYM_CARGO_HTTP_MULTIPLEXING="false"
|
| 16 |
+
ARG PROGRAMGYM_MAVEN_MIRROR_URL=""
|
| 17 |
+
ARG PROGRAMGYM_GRADLE_PLUGIN_REPOSITORY_URL=""
|
| 18 |
+
ARG PROGRAMGYM_GRADLE_DISTRIBUTION_BASE_URL="https://services.gradle.org/distributions"
|
| 19 |
+
ARG PROGRAMGYM_JITPACK_REPOSITORY_URL="https://jitpack.io"
|
| 20 |
+
ENV GOPROXY=${PROGRAMGYM_GOPROXY}
|
| 21 |
+
ENV GOSUMDB=${PROGRAMGYM_GOSUMDB}
|
| 22 |
+
ENV PIP_INDEX_URL=${PROGRAMGYM_PYPI_INDEX_URL}
|
| 23 |
+
ENV PIP_TRUSTED_HOST=${PROGRAMGYM_PYPI_TRUSTED_HOST}
|
| 24 |
+
ENV UV_INDEX_URL=${PROGRAMGYM_PYPI_INDEX_URL}
|
| 25 |
+
ENV UV_INSECURE_HOST=${PROGRAMGYM_UV_INSECURE_HOST}
|
| 26 |
+
ENV npm_config_registry=${PROGRAMGYM_NPM_REGISTRY}
|
| 27 |
+
ENV npm_config_strict_ssl=${PROGRAMGYM_NPM_STRICT_SSL}
|
| 28 |
+
ENV RUSTUP_DIST_SERVER=${PROGRAMGYM_RUSTUP_DIST_SERVER}
|
| 29 |
+
ENV RUSTUP_UPDATE_ROOT=${PROGRAMGYM_RUSTUP_UPDATE_ROOT}
|
| 30 |
+
ENV CARGO_REGISTRIES_CRATES_IO_INDEX=${PROGRAMGYM_CARGO_INDEX}
|
| 31 |
+
ENV CARGO_NET_RETRY=${PROGRAMGYM_CARGO_NET_RETRY}
|
| 32 |
+
ENV CARGO_HTTP_TIMEOUT=${PROGRAMGYM_CARGO_HTTP_TIMEOUT}
|
| 33 |
+
ENV CARGO_HTTP_MULTIPLEXING=${PROGRAMGYM_CARGO_HTTP_MULTIPLEXING}
|
| 34 |
+
ENV PROGRAMGYM_MAVEN_MIRROR_URL=${PROGRAMGYM_MAVEN_MIRROR_URL}
|
| 35 |
+
ENV PROGRAMGYM_GRADLE_PLUGIN_REPOSITORY_URL=${PROGRAMGYM_GRADLE_PLUGIN_REPOSITORY_URL}
|
| 36 |
+
ENV PROGRAMGYM_GRADLE_DISTRIBUTION_BASE_URL=${PROGRAMGYM_GRADLE_DISTRIBUTION_BASE_URL}
|
| 37 |
+
ENV PROGRAMGYM_JITPACK_REPOSITORY_URL=${PROGRAMGYM_JITPACK_REPOSITORY_URL}
|
| 38 |
+
COPY harbor_configure_apt_mirror.sh /tmp/harbor_configure_apt_mirror.sh
|
| 39 |
+
RUN chmod 0755 /tmp/harbor_configure_apt_mirror.sh \
|
| 40 |
+
&& /bin/bash /tmp/harbor_configure_apt_mirror.sh "${PROGRAMGYM_APT_REPOSITORY_BASE_URL}" \
|
| 41 |
+
&& rm -f /tmp/harbor_configure_apt_mirror.sh
|
| 42 |
+
COPY harbor_configure_java_mirrors.sh /tmp/harbor_configure_java_mirrors.sh
|
| 43 |
+
RUN chmod 0755 /tmp/harbor_configure_java_mirrors.sh \
|
| 44 |
+
&& /bin/bash /tmp/harbor_configure_java_mirrors.sh "${PROGRAMGYM_MAVEN_MIRROR_URL}" "${PROGRAMGYM_GRADLE_PLUGIN_REPOSITORY_URL}" "${PROGRAMGYM_JITPACK_REPOSITORY_URL}" \
|
| 45 |
+
&& rm -f /tmp/harbor_configure_java_mirrors.sh
|
| 46 |
+
ENV DEBIAN_FRONTEND=noninteractive
|
| 47 |
+
ENV CARGO_REGISTRIES_CRATES_IO_PROTOCOL=sparse
|
| 48 |
+
ENV CARGO_NET_GIT_FETCH_WITH_CLI=true
|
| 49 |
+
ENV GOTOOLCHAIN=auto
|
| 50 |
+
ENV UV_EXTRA_INDEX_URL=https://pypi.org/simple
|
| 51 |
+
ENV UV_CACHE_DIR=/workspace/.cache/uv
|
| 52 |
+
ENV npm_config_cache=/workspace/.cache/npm
|
| 53 |
+
ENV PIP_EXTRA_INDEX_URL=https://pypi.org/simple
|
| 54 |
+
ENV HOME=/workspace
|
| 55 |
+
ENV XDG_CACHE_HOME=/workspace/.cache
|
| 56 |
+
ENV PIP_CACHE_DIR=/workspace/.cache/pip
|
| 57 |
+
ENV PYTHONUSERBASE=/workspace/.local
|
| 58 |
+
ENV GOROOT=/usr/local/go
|
| 59 |
+
ENV GOPATH=/workspace/.go
|
| 60 |
+
ENV GOCACHE=/workspace/.cache/go-build
|
| 61 |
+
ENV PIP_BREAK_SYSTEM_PACKAGES=1
|
| 62 |
+
ENV PATH=/opt/programgym-venv/bin:/usr/local/go/bin:/workspace/.go/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
|
| 63 |
+
ENV PAGER=cat
|
| 64 |
+
ENV MANPAGER=cat
|
| 65 |
+
ENV LESS=-R
|
| 66 |
+
ENV TQDM_DISABLE=1
|
| 67 |
+
ENV VIRTUAL_ENV=/opt/programgym-venv
|
| 68 |
+
RUN apt-get update && apt-get install -y --no-install-recommends bash build-essential ca-certificates git make pkg-config python3 python3-pip curl wget xz-utils unzip zip bzip2 zstd patch file binutils python3-venv tar && rm -rf /var/lib/apt/lists/*
|
| 69 |
+
COPY programgym-go.tar.gz /tmp/programgym-go.tar.gz
|
| 70 |
+
RUN set -eux; rm -rf /usr/local/go; tar -C /usr/local -xzf /tmp/programgym-go.tar.gz; rm -f /tmp/programgym-go.tar.gz; if [ ! -x /usr/local/go/bin/go ]; then echo "official Go tarball did not create /usr/local/go/bin/go" >&2; exit 1; fi; /usr/local/go/bin/go version
|
| 71 |
+
RUN python3 -m venv /opt/programgym-venv && /opt/programgym-venv/bin/python -m pip install --no-cache-dir --only-binary=:all: pytest pytest-xdist coverage
|
| 72 |
+
WORKDIR /workspace
|
| 73 |
+
ADD workspace.tar.gz /workspace/
|
| 74 |
+
COPY executable /workspace/executable
|
| 75 |
+
COPY download.sh /workspace/download.sh
|
| 76 |
+
RUN chmod 755 /workspace/download.sh
|
| 77 |
+
COPY harbor_prepare_download_env.sh /tmp/harbor_prepare_download_env.sh
|
| 78 |
+
RUN chmod 755 /tmp/harbor_prepare_download_env.sh \
|
| 79 |
+
&& /bin/bash /tmp/harbor_prepare_download_env.sh \
|
| 80 |
+
&& rm -f /workspace/download.sh \
|
| 81 |
+
&& rm -f /tmp/harbor_prepare_download_env.sh
|
| 82 |
+
ENV BASH_ENV=/etc/profile.d/programgym_download_env.sh
|
| 83 |
+
RUN chmod 111 /workspace/executable
|
| 84 |
+
WORKDIR /workspace
|
| 85 |
+
# programgym-runtime-workspace-cleanup: v1
|
| 86 |
+
RUN ["bash","-lc","rm -f -- /workspace/download.sh /workspace/reference/build.sh && rm -rf -- /workspace/.programgym_build_env"]
|
| 87 |
+
# Harbor synthetic ProgramGym adapter: run the agent as an unprivileged user.
|
| 88 |
+
# Keep tool/runtime state under /home/agent and reserve /workspace for the
|
| 89 |
+
# submission handed to the separate verifier. Keep the reference executable
|
| 90 |
+
# execute-only; the oracle temporarily restores owner read permission.
|
| 91 |
+
RUN id -u agent >/dev/null 2>&1 || useradd -m -s /bin/bash agent
|
| 92 |
+
RUN mkdir -p /home/agent \
|
| 93 |
+
&& chown -R agent:agent /home/agent /workspace \
|
| 94 |
+
&& chown agent:agent /workspace/executable \
|
| 95 |
+
&& chmod 111 /workspace/executable
|
| 96 |
+
ENV HOME=/home/agent
|
| 97 |
+
WORKDIR /workspace
|
| 98 |
+
RUN ["bash","-lc","rm -f -- /workspace/download.sh /tmp/programgym-download.sh /tmp/download.sh /workspace/reference/build.sh && rm -rf -- /workspace/.programgym_build_env"]
|
rkoval--alfred-aws-console-services-workflow.4f0e46d/environment/docker-compose.yaml
ADDED
|
@@ -0,0 +1,22 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
services:
|
| 2 |
+
main:
|
| 3 |
+
build:
|
| 4 |
+
args:
|
| 5 |
+
PROGRAMGYM_APT_REPOSITORY_BASE_URL: ${PROGRAMGYM_APT_REPOSITORY_BASE_URL:-}
|
| 6 |
+
PROGRAMGYM_GOPROXY: ${PROGRAMGYM_GOPROXY:-https://proxy.golang.org,direct}
|
| 7 |
+
PROGRAMGYM_GOSUMDB: ${PROGRAMGYM_GOSUMDB:-sum.golang.org}
|
| 8 |
+
PROGRAMGYM_NPM_REGISTRY: ${PROGRAMGYM_NPM_REGISTRY:-https://registry.npmjs.org/}
|
| 9 |
+
PROGRAMGYM_NPM_STRICT_SSL: ${PROGRAMGYM_NPM_STRICT_SSL:-true}
|
| 10 |
+
PROGRAMGYM_PYPI_INDEX_URL: ${PROGRAMGYM_PYPI_INDEX_URL:-https://pypi.org/simple}
|
| 11 |
+
PROGRAMGYM_PYPI_TRUSTED_HOST: ${PROGRAMGYM_PYPI_TRUSTED_HOST:-}
|
| 12 |
+
PROGRAMGYM_UV_INSECURE_HOST: ${PROGRAMGYM_UV_INSECURE_HOST:-}
|
| 13 |
+
PROGRAMGYM_RUSTUP_DIST_SERVER: ${PROGRAMGYM_RUSTUP_DIST_SERVER:-https://static.rust-lang.org}
|
| 14 |
+
PROGRAMGYM_RUSTUP_UPDATE_ROOT: ${PROGRAMGYM_RUSTUP_UPDATE_ROOT:-https://static.rust-lang.org/rustup}
|
| 15 |
+
PROGRAMGYM_CARGO_INDEX: ${PROGRAMGYM_CARGO_INDEX:-sparse+https://index.crates.io/}
|
| 16 |
+
PROGRAMGYM_CARGO_NET_RETRY: ${PROGRAMGYM_CARGO_NET_RETRY:-10}
|
| 17 |
+
PROGRAMGYM_CARGO_HTTP_TIMEOUT: ${PROGRAMGYM_CARGO_HTTP_TIMEOUT:-600}
|
| 18 |
+
PROGRAMGYM_CARGO_HTTP_MULTIPLEXING: ${PROGRAMGYM_CARGO_HTTP_MULTIPLEXING:-false}
|
| 19 |
+
PROGRAMGYM_MAVEN_MIRROR_URL: ${PROGRAMGYM_MAVEN_MIRROR_URL:-}
|
| 20 |
+
PROGRAMGYM_GRADLE_PLUGIN_REPOSITORY_URL: ${PROGRAMGYM_GRADLE_PLUGIN_REPOSITORY_URL:-}
|
| 21 |
+
PROGRAMGYM_GRADLE_DISTRIBUTION_BASE_URL: ${PROGRAMGYM_GRADLE_DISTRIBUTION_BASE_URL:-https://services.gradle.org/distributions}
|
| 22 |
+
PROGRAMGYM_JITPACK_REPOSITORY_URL: ${PROGRAMGYM_JITPACK_REPOSITORY_URL:-https://jitpack.io}
|
rkoval--alfred-aws-console-services-workflow.4f0e46d/environment/download.sh
ADDED
|
@@ -0,0 +1,324 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
#!/usr/bin/env bash
|
| 2 |
+
# PROGRAMGYM-MANAGED-GO-DOWNLOAD: v1
|
| 3 |
+
# Generated deterministically from repository module metadata; do not edit.
|
| 4 |
+
set -u
|
| 5 |
+
export GOTOOLCHAIN=auto
|
| 6 |
+
mkdir -p /workspace/.programgym_build_env/go-prefetch
|
| 7 |
+
cat > /workspace/.programgym_build_env/go-prefetch/go.mod <<'PROGRAMGYM_GO_MOD_EOF'
|
| 8 |
+
module github.com/rkoval/alfred-aws-console-services-workflow
|
| 9 |
+
|
| 10 |
+
go 1.24
|
| 11 |
+
|
| 12 |
+
require (
|
| 13 |
+
github.com/aws/aws-sdk-go-v2 v1.36.3
|
| 14 |
+
github.com/aws/aws-sdk-go-v2/config v1.29.14
|
| 15 |
+
github.com/aws/aws-sdk-go-v2/service/cloudformation v1.59.2
|
| 16 |
+
github.com/aws/aws-sdk-go-v2/service/cloudwatchlogs v1.49.0
|
| 17 |
+
github.com/aws/aws-sdk-go-v2/service/codepipeline v1.41.0
|
| 18 |
+
github.com/aws/aws-sdk-go-v2/service/ec2 v1.218.0
|
| 19 |
+
github.com/aws/aws-sdk-go-v2/service/ecs v1.57.0
|
| 20 |
+
github.com/aws/aws-sdk-go-v2/service/elasticache v1.46.0
|
| 21 |
+
github.com/aws/aws-sdk-go-v2/service/elasticbeanstalk v1.29.2
|
| 22 |
+
github.com/aws/aws-sdk-go-v2/service/elasticloadbalancingv2 v1.45.2
|
| 23 |
+
github.com/aws/aws-sdk-go-v2/service/lambda v1.71.2
|
| 24 |
+
github.com/aws/aws-sdk-go-v2/service/rds v1.95.0
|
| 25 |
+
github.com/aws/aws-sdk-go-v2/service/route53 v1.51.1
|
| 26 |
+
github.com/aws/aws-sdk-go-v2/service/s3 v1.79.3
|
| 27 |
+
github.com/aws/aws-sdk-go-v2/service/sns v1.34.4
|
| 28 |
+
github.com/aws/aws-sdk-go-v2/service/wafv2 v1.60.1
|
| 29 |
+
github.com/aws/smithy-go v1.22.3
|
| 30 |
+
github.com/bradleyjkemp/cupaloy v2.3.0+incompatible
|
| 31 |
+
github.com/deanishe/awgo v0.29.1
|
| 32 |
+
github.com/iancoleman/strcase v0.3.0
|
| 33 |
+
github.com/stretchr/testify v1.7.0
|
| 34 |
+
gopkg.in/dnaeon/go-vcr.v4 v4.0.2
|
| 35 |
+
gopkg.in/ini.v1 v1.67.0
|
| 36 |
+
gopkg.in/yaml.v2 v2.4.0
|
| 37 |
+
)
|
| 38 |
+
|
| 39 |
+
require (
|
| 40 |
+
github.com/aws/aws-sdk-go-v2/aws/protocol/eventstream v1.6.10 // indirect
|
| 41 |
+
github.com/aws/aws-sdk-go-v2/credentials v1.17.67 // indirect
|
| 42 |
+
github.com/aws/aws-sdk-go-v2/feature/ec2/imds v1.16.30 // indirect
|
| 43 |
+
github.com/aws/aws-sdk-go-v2/internal/configsources v1.3.34 // indirect
|
| 44 |
+
github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.6.34 // indirect
|
| 45 |
+
github.com/aws/aws-sdk-go-v2/internal/ini v1.8.3 // indirect
|
| 46 |
+
github.com/aws/aws-sdk-go-v2/internal/v4a v1.3.34 // indirect
|
| 47 |
+
github.com/aws/aws-sdk-go-v2/service/internal/accept-encoding v1.12.3 // indirect
|
| 48 |
+
github.com/aws/aws-sdk-go-v2/service/internal/checksum v1.7.1 // indirect
|
| 49 |
+
github.com/aws/aws-sdk-go-v2/service/internal/presigned-url v1.12.15 // indirect
|
| 50 |
+
github.com/aws/aws-sdk-go-v2/service/internal/s3shared v1.18.15 // indirect
|
| 51 |
+
github.com/aws/aws-sdk-go-v2/service/sso v1.25.3 // indirect
|
| 52 |
+
github.com/aws/aws-sdk-go-v2/service/ssooidc v1.30.1 // indirect
|
| 53 |
+
github.com/aws/aws-sdk-go-v2/service/sts v1.33.19 // indirect
|
| 54 |
+
github.com/davecgh/go-spew v1.1.1 // indirect
|
| 55 |
+
github.com/magefile/mage v1.15.0 // indirect
|
| 56 |
+
github.com/pmezard/go-difflib v1.0.0 // indirect
|
| 57 |
+
go.deanishe.net/env v0.5.1 // indirect
|
| 58 |
+
go.deanishe.net/fuzzy v1.0.0 // indirect
|
| 59 |
+
golang.org/x/text v0.25.0 // indirect
|
| 60 |
+
gopkg.in/yaml.v3 v3.0.1 // indirect
|
| 61 |
+
)
|
| 62 |
+
PROGRAMGYM_GO_MOD_EOF
|
| 63 |
+
cat > /workspace/.programgym_build_env/go-prefetch/go.sum <<'PROGRAMGYM_GO_SUM_EOF'
|
| 64 |
+
github.com/aws/aws-sdk-go-v2 v1.36.3 h1:mJoei2CxPutQVxaATCzDUjcZEjVRdpsiiXi2o38yqWM=
|
| 65 |
+
github.com/aws/aws-sdk-go-v2 v1.36.3/go.mod h1:LLXuLpgzEbD766Z5ECcRmi8AzSwfZItDtmABVkRLGzg=
|
| 66 |
+
github.com/aws/aws-sdk-go-v2/aws/protocol/eventstream v1.6.10 h1:zAybnyUQXIZ5mok5Jqwlf58/TFE7uvd3IAsa1aF9cXs=
|
| 67 |
+
github.com/aws/aws-sdk-go-v2/aws/protocol/eventstream v1.6.10/go.mod h1:qqvMj6gHLR/EXWZw4ZbqlPbQUyenf4h82UQUlKc+l14=
|
| 68 |
+
github.com/aws/aws-sdk-go-v2/config v1.29.14 h1:f+eEi/2cKCg9pqKBoAIwRGzVb70MRKqWX4dg1BDcSJM=
|
| 69 |
+
github.com/aws/aws-sdk-go-v2/config v1.29.14/go.mod h1:wVPHWcIFv3WO89w0rE10gzf17ZYy+UVS1Geq8Iei34g=
|
| 70 |
+
github.com/aws/aws-sdk-go-v2/credentials v1.17.67 h1:9KxtdcIA/5xPNQyZRgUSpYOE6j9Bc4+D7nZua0KGYOM=
|
| 71 |
+
github.com/aws/aws-sdk-go-v2/credentials v1.17.67/go.mod h1:p3C44m+cfnbv763s52gCqrjaqyPikj9Sg47kUVaNZQQ=
|
| 72 |
+
github.com/aws/aws-sdk-go-v2/feature/ec2/imds v1.16.30 h1:x793wxmUWVDhshP8WW2mlnXuFrO4cOd3HLBroh1paFw=
|
| 73 |
+
github.com/aws/aws-sdk-go-v2/feature/ec2/imds v1.16.30/go.mod h1:Jpne2tDnYiFascUEs2AWHJL9Yp7A5ZVy3TNyxaAjD6M=
|
| 74 |
+
github.com/aws/aws-sdk-go-v2/internal/configsources v1.3.34 h1:ZK5jHhnrioRkUNOc+hOgQKlUL5JeC3S6JgLxtQ+Rm0Q=
|
| 75 |
+
github.com/aws/aws-sdk-go-v2/internal/configsources v1.3.34/go.mod h1:p4VfIceZokChbA9FzMbRGz5OV+lekcVtHlPKEO0gSZY=
|
| 76 |
+
github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.6.34 h1:SZwFm17ZUNNg5Np0ioo/gq8Mn6u9w19Mri8DnJ15Jf0=
|
| 77 |
+
github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.6.34/go.mod h1:dFZsC0BLo346mvKQLWmoJxT+Sjp+qcVR1tRVHQGOH9Q=
|
| 78 |
+
github.com/aws/aws-sdk-go-v2/internal/ini v1.8.3 h1:bIqFDwgGXXN1Kpp99pDOdKMTTb5d2KyU5X/BZxjOkRo=
|
| 79 |
+
github.com/aws/aws-sdk-go-v2/internal/ini v1.8.3/go.mod h1:H5O/EsxDWyU+LP/V8i5sm8cxoZgc2fdNR9bxlOFrQTo=
|
| 80 |
+
github.com/aws/aws-sdk-go-v2/internal/v4a v1.3.34 h1:ZNTqv4nIdE/DiBfUUfXcLZ/Spcuz+RjeziUtNJackkM=
|
| 81 |
+
github.com/aws/aws-sdk-go-v2/internal/v4a v1.3.34/go.mod h1:zf7Vcd1ViW7cPqYWEHLHJkS50X0JS2IKz9Cgaj6ugrs=
|
| 82 |
+
github.com/aws/aws-sdk-go-v2/service/cloudformation v1.59.2 h1:o9cuZdZlI9VWMqsNa2mnf2IRsFAROHnaYA1BW3lHGuY=
|
| 83 |
+
github.com/aws/aws-sdk-go-v2/service/cloudformation v1.59.2/go.mod h1:penaZKzGmqHGZId4EUCBIW/f9l4Y7hQ5NKd45yoCYuI=
|
| 84 |
+
github.com/aws/aws-sdk-go-v2/service/cloudwatchlogs v1.49.0 h1:9ZzkbHkNpjBKx6r9GlskIXTB8Nfvp0PSlKyIuWjY7Cg=
|
| 85 |
+
github.com/aws/aws-sdk-go-v2/service/cloudwatchlogs v1.49.0/go.mod h1:uo14VBn5cNk/BPGTPz3kyLBxgpgOObgO8lmz+H7Z4Ck=
|
| 86 |
+
github.com/aws/aws-sdk-go-v2/service/codepipeline v1.41.0 h1:Xrw+FmTiatAPbjEwySsEf6lF0+2NtBwDcXnYH/jfk4k=
|
| 87 |
+
github.com/aws/aws-sdk-go-v2/service/codepipeline v1.41.0/go.mod h1:DbwgOhGcyAQbyKZDXbErngumtUExzwvd1uyMbKQcXto=
|
| 88 |
+
github.com/aws/aws-sdk-go-v2/service/ec2 v1.218.0 h1:QPYsTfcPpPhkF+37pxLcl3xbQz2SRxsShQNB6VCkvLo=
|
| 89 |
+
github.com/aws/aws-sdk-go-v2/service/ec2 v1.218.0/go.mod h1:ouvGEfHbLaIlWwpDpOVWPWR+YwO0HDv3vm5tYLq8ImY=
|
| 90 |
+
github.com/aws/aws-sdk-go-v2/service/ecs v1.57.0 h1:B8aicyNZV/2jsVfhVbuLlKT6uN/thAEk7xtPyQ42TkA=
|
| 91 |
+
github.com/aws/aws-sdk-go-v2/service/ecs v1.57.0/go.mod h1:wAtdeFanDuF9Re/ge4DRDaYe3Wy1OGrU7jG042UcuI4=
|
| 92 |
+
github.com/aws/aws-sdk-go-v2/service/elasticache v1.46.0 h1:UficfhqlA7k0zQ/x9pNKmyIIeHfvJUfdbzOQJKGJkt8=
|
| 93 |
+
github.com/aws/aws-sdk-go-v2/service/elasticache v1.46.0/go.mod h1:477YEP4FkrM0oUcw+w4vk4+XTB7WacLzPGPFj69kwkg=
|
| 94 |
+
github.com/aws/aws-sdk-go-v2/service/elasticbeanstalk v1.29.2 h1:H+y5KLrBk8TcYnsgaPcbBJRyuZlgbHhERV10l3uVnX8=
|
| 95 |
+
github.com/aws/aws-sdk-go-v2/service/elasticbeanstalk v1.29.2/go.mod h1:FB7NDXoKPiVvk2mDRbiHSZvivng/bhu/l7FCGzzd34Q=
|
| 96 |
+
github.com/aws/aws-sdk-go-v2/service/elasticloadbalancingv2 v1.45.2 h1:vX70Z4lNSr7XsioU0uJq5yvxgI50sB66MvD+V/3buS4=
|
| 97 |
+
github.com/aws/aws-sdk-go-v2/service/elasticloadbalancingv2 v1.45.2/go.mod h1:xnCC3vFBfOKpU6PcsCKL2ktgBTZfOwTGxj6V8/X3IS4=
|
| 98 |
+
github.com/aws/aws-sdk-go-v2/service/internal/accept-encoding v1.12.3 h1:eAh2A4b5IzM/lum78bZ590jy36+d/aFLgKF/4Vd1xPE=
|
| 99 |
+
github.com/aws/aws-sdk-go-v2/service/internal/accept-encoding v1.12.3/go.mod h1:0yKJC/kb8sAnmlYa6Zs3QVYqaC8ug2AbnNChv5Ox3uA=
|
| 100 |
+
github.com/aws/aws-sdk-go-v2/service/internal/checksum v1.7.1 h1:4nm2G6A4pV9rdlWzGMPv4BNtQp22v1hg3yrtkYpeLl8=
|
| 101 |
+
github.com/aws/aws-sdk-go-v2/service/internal/checksum v1.7.1/go.mod h1:iu6FSzgt+M2/x3Dk8zhycdIcHjEFb36IS8HVUVFoMg0=
|
| 102 |
+
github.com/aws/aws-sdk-go-v2/service/internal/presigned-url v1.12.15 h1:dM9/92u2F1JbDaGooxTq18wmmFzbJRfXfVfy96/1CXM=
|
| 103 |
+
github.com/aws/aws-sdk-go-v2/service/internal/presigned-url v1.12.15/go.mod h1:SwFBy2vjtA0vZbjjaFtfN045boopadnoVPhu4Fv66vY=
|
| 104 |
+
github.com/aws/aws-sdk-go-v2/service/internal/s3shared v1.18.15 h1:moLQUoVq91LiqT1nbvzDukyqAlCv89ZmwaHw/ZFlFZg=
|
| 105 |
+
github.com/aws/aws-sdk-go-v2/service/internal/s3shared v1.18.15/go.mod h1:ZH34PJUc8ApjBIfgQCFvkWcUDBtl/WTD+uiYHjd8igA=
|
| 106 |
+
github.com/aws/aws-sdk-go-v2/service/lambda v1.71.2 h1:z926KZ1Ysi8Mbi4biJSAIRFdKemwQpO9M0QUTRLDaXA=
|
| 107 |
+
github.com/aws/aws-sdk-go-v2/service/lambda v1.71.2/go.mod h1:c27kk10S36lBYgbG1jR3opn4OAS5Y/4wjJa1GiHK/X4=
|
| 108 |
+
github.com/aws/aws-sdk-go-v2/service/rds v1.95.0 h1:7KmQEDuz6XWafMaeIahplfGSEakzX4RMSrNHyvhkEq8=
|
| 109 |
+
github.com/aws/aws-sdk-go-v2/service/rds v1.95.0/go.mod h1:CXiHj5rVyQ5Q3zNSoYzwaJfWm8IGDweyyCGfO8ei5fQ=
|
| 110 |
+
github.com/aws/aws-sdk-go-v2/service/route53 v1.51.1 h1:41HrH51fydStW2Tah74zkqZlJfyx4gXeuGOdsIFuckY=
|
| 111 |
+
github.com/aws/aws-sdk-go-v2/service/route53 v1.51.1/go.mod h1:kGYOjvTa0Vw0qxrqrOLut1vMnui6qLxqv/SX3vYeM8Y=
|
| 112 |
+
github.com/aws/aws-sdk-go-v2/service/s3 v1.79.3 h1:BRXS0U76Z8wfF+bnkilA2QwpIch6URlm++yPUt9QPmQ=
|
| 113 |
+
github.com/aws/aws-sdk-go-v2/service/s3 v1.79.3/go.mod h1:bNXKFFyaiVvWuR6O16h/I1724+aXe/tAkA9/QS01t5k=
|
| 114 |
+
github.com/aws/aws-sdk-go-v2/service/sns v1.34.4 h1:ihddI5wufQQCJiujUgAvWRqZcfDmSKIfXlAuX7T95cg=
|
| 115 |
+
github.com/aws/aws-sdk-go-v2/service/sns v1.34.4/go.mod h1:PJtxxMdj747j8DeZENRTTYAz/lx/pADn/U0k7YNNiUY=
|
| 116 |
+
github.com/aws/aws-sdk-go-v2/service/sso v1.25.3 h1:1Gw+9ajCV1jogloEv1RRnvfRFia2cL6c9cuKV2Ps+G8=
|
| 117 |
+
github.com/aws/aws-sdk-go-v2/service/sso v1.25.3/go.mod h1:qs4a9T5EMLl/Cajiw2TcbNt2UNo/Hqlyp+GiuG4CFDI=
|
| 118 |
+
github.com/aws/aws-sdk-go-v2/service/ssooidc v1.30.1 h1:hXmVKytPfTy5axZ+fYbR5d0cFmC3JvwLm5kM83luako=
|
| 119 |
+
github.com/aws/aws-sdk-go-v2/service/ssooidc v1.30.1/go.mod h1:MlYRNmYu/fGPoxBQVvBYr9nyr948aY/WLUvwBMBJubs=
|
| 120 |
+
github.com/aws/aws-sdk-go-v2/service/sts v1.33.19 h1:1XuUZ8mYJw9B6lzAkXhqHlJd/XvaX32evhproijJEZY=
|
| 121 |
+
github.com/aws/aws-sdk-go-v2/service/sts v1.33.19/go.mod h1:cQnB8CUnxbMU82JvlqjKR2HBOm3fe9pWorWBza6MBJ4=
|
| 122 |
+
github.com/aws/aws-sdk-go-v2/service/wafv2 v1.60.1 h1:LMNN0VN6bw+SLySSa8ICYpZ+/aFZGf/lmq2hNVUYdqo=
|
| 123 |
+
github.com/aws/aws-sdk-go-v2/service/wafv2 v1.60.1/go.mod h1:Zai6/lANvFn0uX9OKqPGy4C9a7TIcbnlzzM1EHTd3kE=
|
| 124 |
+
github.com/aws/smithy-go v1.22.3 h1:Z//5NuZCSW6R4PhQ93hShNbyBbn8BWCmCVCt+Q8Io5k=
|
| 125 |
+
github.com/aws/smithy-go v1.22.3/go.mod h1:t1ufH5HMublsJYulve2RKmHDC15xu1f26kHCp/HgceI=
|
| 126 |
+
github.com/bmatcuk/doublestar v1.3.4/go.mod h1:wiQtGV+rzVYxB7WIlirSN++5HPtPlXEo9MEoZQC/PmE=
|
| 127 |
+
github.com/bradleyjkemp/cupaloy v2.3.0+incompatible h1:UafIjBvWQmS9i/xRg+CamMrnLTKNzo+bdmT/oH34c2Y=
|
| 128 |
+
github.com/bradleyjkemp/cupaloy v2.3.0+incompatible/go.mod h1:Au1Xw1sgaJ5iSFktEhYsS0dbQiS1B0/XMXl+42y9Ilk=
|
| 129 |
+
github.com/creack/pty v1.1.9/go.mod h1:oKZEueFk5CKHvIhNR5MUki03XCEU+Q6VDXinZuGJ33E=
|
| 130 |
+
github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
|
| 131 |
+
github.com/davecgh/go-spew v1.1.1 h1:vj9j/u1bqnvCEfJOwUhtlOARqs3+rkHYY13jYWTU97c=
|
| 132 |
+
github.com/davecgh/go-spew v1.1.1/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
|
| 133 |
+
github.com/deanishe/awgo v0.29.1 h1:yKAyy0e+HR60iPxaKHhY3hdTM5GCsECpWTP79j04bHg=
|
| 134 |
+
github.com/deanishe/awgo v0.29.1/go.mod h1:1yGF+uQfWXX99TiDfAYYKjJpHTq5lHEmvHFEVCHo6KA=
|
| 135 |
+
github.com/iancoleman/strcase v0.3.0 h1:nTXanmYxhfFAMjZL34Ov6gkzEsSJZ5DbhxWjvSASxEI=
|
| 136 |
+
github.com/iancoleman/strcase v0.3.0/go.mod h1:iwCmte+B7n89clKwxIoIXy/HfoL7AsD47ZCWhYzw7ho=
|
| 137 |
+
github.com/jessevdk/go-flags v1.4.0/go.mod h1:4FA24M0QyGHXBuZZK/XkWh8h0e1EYbRYJSGM75WSRxI=
|
| 138 |
+
github.com/kr/pretty v0.1.0/go.mod h1:dAy3ld7l9f0ibDNOQOHHMYYIIbhfbHSm3C4ZsoJORNo=
|
| 139 |
+
github.com/kr/pty v1.1.1/go.mod h1:pFQYn66WHrOpPYNljwOMqo10TkYh1fy3cYio2l3bCsQ=
|
| 140 |
+
github.com/kr/text v0.1.0/go.mod h1:4Jbv+DJW3UT/LiOwJeYQe1efqtUx/iVham/4vfdArNI=
|
| 141 |
+
github.com/kr/text v0.2.0 h1:5Nx0Ya0ZqY2ygV366QzturHI13Jq95ApcVaJBhpS+AY=
|
| 142 |
+
github.com/kr/text v0.2.0/go.mod h1:eLer722TekiGuMkidMxC/pM04lWEeraHUUmBw8l2grE=
|
| 143 |
+
github.com/magefile/mage v1.10.0/go.mod h1:z5UZb/iS3GoOSn0JgWuiw7dxlurVYTu+/jHXqQg881A=
|
| 144 |
+
github.com/magefile/mage v1.11.0/go.mod h1:z5UZb/iS3GoOSn0JgWuiw7dxlurVYTu+/jHXqQg881A=
|
| 145 |
+
github.com/magefile/mage v1.15.0 h1:BvGheCMAsG3bWUDbZ8AyXXpCNwU9u5CB6sM+HNb9HYg=
|
| 146 |
+
github.com/magefile/mage v1.15.0/go.mod h1:z5UZb/iS3GoOSn0JgWuiw7dxlurVYTu+/jHXqQg881A=
|
| 147 |
+
github.com/niemeyer/pretty v0.0.0-20200227124842-a10e7caefd8e h1:fD57ERR4JtEqsWbfPhv4DMiApHyliiK5xCTNVSPiaAs=
|
| 148 |
+
github.com/niemeyer/pretty v0.0.0-20200227124842-a10e7caefd8e/go.mod h1:zD1mROLANZcx1PVRCS0qkT7pwLkGfwJo4zjcN/Tysno=
|
| 149 |
+
github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM=
|
| 150 |
+
github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4=
|
| 151 |
+
github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME=
|
| 152 |
+
github.com/stretchr/testify v1.4.0/go.mod h1:j7eGeouHqKxXV5pUuKE4zz7dFj8WfuZ+81PSLYec5m4=
|
| 153 |
+
github.com/stretchr/testify v1.6.1/go.mod h1:6Fq8oRcR53rry900zMqJjRRixrwX3KX962/h/Wwjteg=
|
| 154 |
+
github.com/stretchr/testify v1.7.0 h1:nwc3DEeHmmLAfoZucVR881uASk0Mfjw8xYJ99tb5CcY=
|
| 155 |
+
github.com/stretchr/testify v1.7.0/go.mod h1:6Fq8oRcR53rry900zMqJjRRixrwX3KX962/h/Wwjteg=
|
| 156 |
+
go.deanishe.net/env v0.5.1 h1:WiOncK5uJj8Um57Vj2dc1bq1lMN7fgRag9up7I3LZy0=
|
| 157 |
+
go.deanishe.net/env v0.5.1/go.mod h1:ihEYfDm0K0hq3f5ACTCQDrMTWxH9fTiA1lh1i0aMqm0=
|
| 158 |
+
go.deanishe.net/fuzzy v1.0.0 h1:3Qp6PCX0DLb9z03b5OHwAGsbRSkgJpSLncsiDdXDt4Y=
|
| 159 |
+
go.deanishe.net/fuzzy v1.0.0/go.mod h1:2yEEMfG7jWgT1s5EO0TteVWmx2MXFBRMr5cMm84bQNY=
|
| 160 |
+
golang.org/x/text v0.3.3/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ=
|
| 161 |
+
golang.org/x/text v0.3.6/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ=
|
| 162 |
+
golang.org/x/text v0.25.0 h1:qVyWApTSYLk/drJRO5mDlNYskwQznZmkpV2c8q9zls4=
|
| 163 |
+
golang.org/x/text v0.25.0/go.mod h1:WEdwpYrmk1qmdHvhkSTNPm3app7v4rsT8F2UD6+VHIA=
|
| 164 |
+
golang.org/x/tools v0.0.0-20180917221912-90fa682c2a6e/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ=
|
| 165 |
+
gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0=
|
| 166 |
+
gopkg.in/check.v1 v1.0.0-20180628173108-788fd7840127/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0=
|
| 167 |
+
gopkg.in/check.v1 v1.0.0-20200227125254-8fa46927fb4f h1:BLraFXnmrev5lT+xlilqcH8XK9/i0At2xKjWk4p6zsU=
|
| 168 |
+
gopkg.in/check.v1 v1.0.0-20200227125254-8fa46927fb4f/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0=
|
| 169 |
+
gopkg.in/dnaeon/go-vcr.v4 v4.0.2 h1:7T5VYf2ifyK01ETHbJPl5A6XTpUljD4Trw3GEDcdedk=
|
| 170 |
+
gopkg.in/dnaeon/go-vcr.v4 v4.0.2/go.mod h1:65yxh9goQVrudqofKtHA4JNFWd6XZRkWfKN4YpMx7KI=
|
| 171 |
+
gopkg.in/ini.v1 v1.67.0 h1:Dgnx+6+nfE+IfzjUEISNeydPJh9AXNNsWbGP9KzCsOA=
|
| 172 |
+
gopkg.in/ini.v1 v1.67.0/go.mod h1:pNLf8WUiyNEtQjuu5G5vTm06TEv9tsIgeAvK8hOrP4k=
|
| 173 |
+
gopkg.in/yaml.v2 v2.2.1/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI=
|
| 174 |
+
gopkg.in/yaml.v2 v2.2.2/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI=
|
| 175 |
+
gopkg.in/yaml.v2 v2.4.0 h1:D8xgwECY7CYvx+Y2n4sBz93Jn9JRvxdiyyo8CTfuKaY=
|
| 176 |
+
gopkg.in/yaml.v2 v2.4.0/go.mod h1:RDklbk79AGWmwhnvt/jBztapEOGDOx6ZbXqjP6csGnQ=
|
| 177 |
+
gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM=
|
| 178 |
+
gopkg.in/yaml.v3 v3.0.0-20210107192922-496545a6307b/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM=
|
| 179 |
+
gopkg.in/yaml.v3 v3.0.1 h1:fxVm/GzAzEWqLHuvctI91KS9hhNmmWOoWu0XTYJS7CA=
|
| 180 |
+
gopkg.in/yaml.v3 v3.0.1/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM=
|
| 181 |
+
howett.net/plist v0.0.0-20201203080718-1454fab16a06/go.mod h1:vMygbs4qMhSZSc4lCUl2OEE+rDiIIJAIdR4m7MiMcm0=
|
| 182 |
+
PROGRAMGYM_GO_SUM_EOF
|
| 183 |
+
PROGRAMGYM_INTERNAL_GO_PRIMARY_PROXY="${GOPROXY:-direct}"
|
| 184 |
+
PROGRAMGYM_INTERNAL_GO_FALLBACK_PROXY=""
|
| 185 |
+
case "$PROGRAMGYM_INTERNAL_GO_PRIMARY_PROXY" in
|
| 186 |
+
*"|"*|*","*)
|
| 187 |
+
PROGRAMGYM_INTERNAL_GO_FIRST_PROXY="${PROGRAMGYM_INTERNAL_GO_PRIMARY_PROXY%%[,|]*}"
|
| 188 |
+
PROGRAMGYM_INTERNAL_GO_PROXY_REMAINDER="${PROGRAMGYM_INTERNAL_GO_PRIMARY_PROXY#*[,|]}"
|
| 189 |
+
if [[ "$PROGRAMGYM_INTERNAL_GO_FIRST_PROXY" =~ [^[:space:]] ]] && [[ "$PROGRAMGYM_INTERNAL_GO_PROXY_REMAINDER" =~ [^[:space:]] ]]; then
|
| 190 |
+
PROGRAMGYM_INTERNAL_GO_FALLBACK_PROXY="${PROGRAMGYM_GO_PUBLIC_FALLBACK_PROXY:-${PROGRAMGYM_INTERNAL_GO_PROXY_REMAINDER}}"
|
| 191 |
+
fi
|
| 192 |
+
;;
|
| 193 |
+
esac
|
| 194 |
+
if ! [[ "$PROGRAMGYM_INTERNAL_GO_FALLBACK_PROXY" =~ [^[:space:]] ]]; then
|
| 195 |
+
PROGRAMGYM_INTERNAL_GO_FALLBACK_PROXY=""
|
| 196 |
+
fi
|
| 197 |
+
cat > /workspace/.programgym_build_env/go-prefetch/.programgym_go_timeout_supervisor.py <<'PROGRAMGYM_GO_TIMEOUT_SUPERVISOR_EOF'
|
| 198 |
+
import os
|
| 199 |
+
import signal
|
| 200 |
+
import subprocess
|
| 201 |
+
import sys
|
| 202 |
+
import time
|
| 203 |
+
|
| 204 |
+
sentinel_path, timeout_text, grace_text, proxy, *command = sys.argv[1:]
|
| 205 |
+
if not command:
|
| 206 |
+
raise SystemExit(125)
|
| 207 |
+
environment = os.environ.copy()
|
| 208 |
+
environment["GOPROXY"] = proxy
|
| 209 |
+
process = subprocess.Popen(command, env=environment, start_new_session=True)
|
| 210 |
+
try:
|
| 211 |
+
returncode = process.wait(timeout=float(timeout_text))
|
| 212 |
+
except subprocess.TimeoutExpired:
|
| 213 |
+
with open(sentinel_path, "w", encoding="utf-8") as sentinel:
|
| 214 |
+
sentinel.write("expired\n")
|
| 215 |
+
try:
|
| 216 |
+
os.killpg(process.pid, signal.SIGTERM)
|
| 217 |
+
except ProcessLookupError:
|
| 218 |
+
pass
|
| 219 |
+
deadline = time.monotonic() + float(grace_text)
|
| 220 |
+
group_alive = True
|
| 221 |
+
while time.monotonic() < deadline:
|
| 222 |
+
process.poll()
|
| 223 |
+
try:
|
| 224 |
+
os.killpg(process.pid, 0)
|
| 225 |
+
except ProcessLookupError:
|
| 226 |
+
group_alive = False
|
| 227 |
+
break
|
| 228 |
+
time.sleep(0.05)
|
| 229 |
+
if group_alive:
|
| 230 |
+
try:
|
| 231 |
+
os.killpg(process.pid, signal.SIGKILL)
|
| 232 |
+
except ProcessLookupError:
|
| 233 |
+
pass
|
| 234 |
+
process.wait()
|
| 235 |
+
raise SystemExit(124)
|
| 236 |
+
if returncode < 0:
|
| 237 |
+
returncode = 128 - returncode
|
| 238 |
+
raise SystemExit(returncode)
|
| 239 |
+
PROGRAMGYM_GO_TIMEOUT_SUPERVISOR_EOF
|
| 240 |
+
PROGRAMGYM_INTERNAL_GO_NEXUS_TIMEOUT_SECONDS="${PROGRAMGYM_GO_NEXUS_ATTEMPT_TIMEOUT_SECONDS:-90}"
|
| 241 |
+
if ! [[ "$PROGRAMGYM_INTERNAL_GO_NEXUS_TIMEOUT_SECONDS" =~ ^[1-9][0-9]*$ ]]; then
|
| 242 |
+
printf '%s\n' "download.sh: invalid PROGRAMGYM_GO_NEXUS_ATTEMPT_TIMEOUT_SECONDS=${PROGRAMGYM_INTERNAL_GO_NEXUS_TIMEOUT_SECONDS}" >&2
|
| 243 |
+
rm -f /workspace/.programgym_build_env/go-prefetch/.programgym_go_timeout_supervisor.py
|
| 244 |
+
if [ "${BASH_SOURCE[0]}" != "$0" ]; then
|
| 245 |
+
return 1
|
| 246 |
+
else
|
| 247 |
+
exit 1
|
| 248 |
+
fi
|
| 249 |
+
fi
|
| 250 |
+
if ! command -v python3 >/dev/null 2>&1; then
|
| 251 |
+
printf '%s\n' 'download.sh: python3 is required for bounded Nexus Go downloads' >&2
|
| 252 |
+
rm -f /workspace/.programgym_build_env/go-prefetch/.programgym_go_timeout_supervisor.py
|
| 253 |
+
if [ "${BASH_SOURCE[0]}" != "$0" ]; then
|
| 254 |
+
return 1
|
| 255 |
+
else
|
| 256 |
+
exit 1
|
| 257 |
+
fi
|
| 258 |
+
fi
|
| 259 |
+
_programgym_go_with_nexus_timeout() {
|
| 260 |
+
local programgym_go_rc
|
| 261 |
+
local programgym_go_timeout_sentinel
|
| 262 |
+
if ! programgym_go_timeout_sentinel="$(mktemp "${TMPDIR:-/tmp}/programgym-go-timeout.XXXXXX")"; then
|
| 263 |
+
return 1
|
| 264 |
+
fi
|
| 265 |
+
if python3 /workspace/.programgym_build_env/go-prefetch/.programgym_go_timeout_supervisor.py "$programgym_go_timeout_sentinel" "$PROGRAMGYM_INTERNAL_GO_NEXUS_TIMEOUT_SECONDS" "5" "$PROGRAMGYM_INTERNAL_GO_PRIMARY_PROXY" "$@"; then
|
| 266 |
+
programgym_go_rc=0
|
| 267 |
+
else
|
| 268 |
+
programgym_go_rc=$?
|
| 269 |
+
fi
|
| 270 |
+
programgym_go_timed_out=0
|
| 271 |
+
if [ -s "$programgym_go_timeout_sentinel" ]; then
|
| 272 |
+
programgym_go_timed_out=1
|
| 273 |
+
fi
|
| 274 |
+
rm -f "$programgym_go_timeout_sentinel"
|
| 275 |
+
if [ "$programgym_go_rc" -eq 0 ]; then
|
| 276 |
+
return 0
|
| 277 |
+
fi
|
| 278 |
+
if [ -z "$PROGRAMGYM_INTERNAL_GO_FALLBACK_PROXY" ]; then
|
| 279 |
+
printf '%s\n' "download.sh: primary Go request failed with rc=${programgym_go_rc}; GOPROXY has no explicit non-empty fallback remainder" >&2
|
| 280 |
+
return "$programgym_go_rc"
|
| 281 |
+
fi
|
| 282 |
+
if [ "$programgym_go_timed_out" -eq 1 ]; then
|
| 283 |
+
printf '%s\n' "download.sh: primary Go request exceeded ${PROGRAMGYM_INTERNAL_GO_NEXUS_TIMEOUT_SECONDS}s; retrying with GOPROXY=${PROGRAMGYM_INTERNAL_GO_FALLBACK_PROXY}" >&2
|
| 284 |
+
else
|
| 285 |
+
printf '%s\n' "download.sh: primary Go request failed with rc=${programgym_go_rc}; retrying with GOPROXY=${PROGRAMGYM_INTERNAL_GO_FALLBACK_PROXY}" >&2
|
| 286 |
+
fi
|
| 287 |
+
env GOPROXY="$PROGRAMGYM_INTERNAL_GO_FALLBACK_PROXY" "$@"
|
| 288 |
+
}
|
| 289 |
+
PROGRAMGYM_GO_BASE_GOROOT="$(GOTOOLCHAIN=local go env GOROOT)"
|
| 290 |
+
if ! PROGRAMGYM_GO_RESOLVED_GOROOT="$(cd /workspace/.programgym_build_env/go-prefetch && _programgym_go_with_nexus_timeout env GOTOOLCHAIN=auto go env GOROOT)"; then
|
| 291 |
+
printf '%s\n' 'download.sh: Go toolchain resolution failed' >&2
|
| 292 |
+
rm -f /workspace/.programgym_build_env/go-prefetch/.programgym_go_timeout_supervisor.py
|
| 293 |
+
if [ "${BASH_SOURCE[0]}" != "$0" ]; then
|
| 294 |
+
return 1
|
| 295 |
+
else
|
| 296 |
+
exit 1
|
| 297 |
+
fi
|
| 298 |
+
fi
|
| 299 |
+
if [ "$PROGRAMGYM_GO_RESOLVED_GOROOT" != "$PROGRAMGYM_GO_BASE_GOROOT" ]; then
|
| 300 |
+
PROGRAMGYM_GO_TOOLCHAIN_ROOT=/opt/programgym-go-toolchain
|
| 301 |
+
mkdir -p "$PROGRAMGYM_GO_TOOLCHAIN_ROOT"
|
| 302 |
+
cp -a "$PROGRAMGYM_GO_RESOLVED_GOROOT/." "$PROGRAMGYM_GO_TOOLCHAIN_ROOT/"
|
| 303 |
+
export GOROOT="$PROGRAMGYM_GO_TOOLCHAIN_ROOT"
|
| 304 |
+
else
|
| 305 |
+
export GOROOT="$PROGRAMGYM_GO_BASE_GOROOT"
|
| 306 |
+
fi
|
| 307 |
+
export PATH="$GOROOT/bin:$PATH"
|
| 308 |
+
export GOTOOLCHAIN=local
|
| 309 |
+
if ! (cd /workspace/.programgym_build_env/go-prefetch && _programgym_go_with_nexus_timeout go mod download -modfile=/workspace/.programgym_build_env/go-prefetch/go.mod all); then
|
| 310 |
+
printf '%s\n' 'download.sh: Go dependency prefetch failed' >&2
|
| 311 |
+
rm -f /workspace/.programgym_build_env/go-prefetch/.programgym_go_timeout_supervisor.py
|
| 312 |
+
if [ "${BASH_SOURCE[0]}" != "$0" ]; then
|
| 313 |
+
return 1
|
| 314 |
+
else
|
| 315 |
+
exit 1
|
| 316 |
+
fi
|
| 317 |
+
fi
|
| 318 |
+
rm -f /workspace/.programgym_build_env/go-prefetch/.programgym_go_timeout_supervisor.py
|
| 319 |
+
unset -f _programgym_go_with_nexus_timeout
|
| 320 |
+
unset PROGRAMGYM_INTERNAL_GO_PRIMARY_PROXY
|
| 321 |
+
unset PROGRAMGYM_INTERNAL_GO_FALLBACK_PROXY
|
| 322 |
+
unset PROGRAMGYM_INTERNAL_GO_FIRST_PROXY
|
| 323 |
+
unset PROGRAMGYM_INTERNAL_GO_PROXY_REMAINDER
|
| 324 |
+
unset PROGRAMGYM_INTERNAL_GO_NEXUS_TIMEOUT_SECONDS
|
rkoval--alfred-aws-console-services-workflow.4f0e46d/environment/executable
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:b8a5d03e4c6dd41d585a523bcfe89df73eaec2fbb5a7f4c1de891881841b10aa
|
| 3 |
+
size 19189428
|
rkoval--alfred-aws-console-services-workflow.4f0e46d/environment/harbor_configure_apt_mirror.sh
ADDED
|
@@ -0,0 +1,37 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
#!/usr/bin/env bash
|
| 2 |
+
set -euo pipefail
|
| 3 |
+
|
| 4 |
+
repository_base="${1%/}"
|
| 5 |
+
if [[ -z "$repository_base" ]]; then
|
| 6 |
+
exit 0
|
| 7 |
+
fi
|
| 8 |
+
|
| 9 |
+
. /etc/os-release
|
| 10 |
+
codename="${VERSION_CODENAME:-}"
|
| 11 |
+
if [[ -z "$codename" ]]; then
|
| 12 |
+
echo "VERSION_CODENAME is not set" >&2
|
| 13 |
+
exit 1
|
| 14 |
+
fi
|
| 15 |
+
|
| 16 |
+
if [[ "$ID" == "ubuntu" ]]; then
|
| 17 |
+
repository_name="apt-proxy"
|
| 18 |
+
components="main universe restricted multiverse"
|
| 19 |
+
else
|
| 20 |
+
repository_name="debian-proxy"
|
| 21 |
+
components="main contrib non-free non-free-firmware"
|
| 22 |
+
fi
|
| 23 |
+
|
| 24 |
+
install -d /etc/apt/sources.list.d
|
| 25 |
+
rm -f /etc/apt/sources.list /etc/apt/sources.list.d/*
|
| 26 |
+
printf 'deb [trusted=yes] %s/%s %s %s\n' \
|
| 27 |
+
"$repository_base" "$repository_name" "$codename" "$components" \
|
| 28 |
+
>/etc/apt/sources.list
|
| 29 |
+
printf 'deb [trusted=yes] %s/%s %s-updates %s\n' \
|
| 30 |
+
"$repository_base" "$repository_name" "$codename" "$components" \
|
| 31 |
+
>>/etc/apt/sources.list
|
| 32 |
+
|
| 33 |
+
if [[ "$ID" != "ubuntu" ]]; then
|
| 34 |
+
printf 'deb [trusted=yes] %s/%s %s-security %s\n' \
|
| 35 |
+
"$repository_base" "debian-proxy-security" "$codename" "$components" \
|
| 36 |
+
>>/etc/apt/sources.list
|
| 37 |
+
fi
|
rkoval--alfred-aws-console-services-workflow.4f0e46d/environment/harbor_configure_java_mirrors.sh
ADDED
|
@@ -0,0 +1,50 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
#!/usr/bin/env bash
|
| 2 |
+
set -euo pipefail
|
| 3 |
+
|
| 4 |
+
maven_url="${1%/}"
|
| 5 |
+
plugin_url="${2%/}"
|
| 6 |
+
jitpack_url="${3%/}"
|
| 7 |
+
|
| 8 |
+
install -d /workspace/.m2 /workspace/.gradle/init.d /opt/programgym/gradle-init
|
| 9 |
+
if [[ -n "$maven_url" ]]; then
|
| 10 |
+
cat >/workspace/.m2/settings.xml <<EOF
|
| 11 |
+
<?xml version="1.0" encoding="UTF-8"?>
|
| 12 |
+
<settings xmlns="http://maven.apache.org/SETTINGS/1.0.0">
|
| 13 |
+
<mirrors>
|
| 14 |
+
<mirror>
|
| 15 |
+
<id>programgym-maven</id>
|
| 16 |
+
<name>ProgramGym Maven mirror</name>
|
| 17 |
+
<url>${maven_url}</url>
|
| 18 |
+
<mirrorOf>*</mirrorOf>
|
| 19 |
+
</mirror>
|
| 20 |
+
</mirrors>
|
| 21 |
+
</settings>
|
| 22 |
+
EOF
|
| 23 |
+
fi
|
| 24 |
+
|
| 25 |
+
cat >/opt/programgym/gradle-init/programgym-mirrors.gradle <<'EOF'
|
| 26 |
+
def pbMaven = System.getenv('PROGRAMGYM_MAVEN_MIRROR_URL')
|
| 27 |
+
def pbPlugins = System.getenv('PROGRAMGYM_GRADLE_PLUGIN_REPOSITORY_URL')
|
| 28 |
+
def pbJitpack = System.getenv('PROGRAMGYM_JITPACK_REPOSITORY_URL')
|
| 29 |
+
|
| 30 |
+
settingsEvaluated { settings ->
|
| 31 |
+
settings.pluginManagement.repositories {
|
| 32 |
+
if (pbPlugins) { maven { url = uri(pbPlugins) } }
|
| 33 |
+
if (pbMaven) { maven { url = uri(pbMaven) } }
|
| 34 |
+
}
|
| 35 |
+
}
|
| 36 |
+
|
| 37 |
+
allprojects {
|
| 38 |
+
buildscript.repositories {
|
| 39 |
+
if (pbPlugins) { maven { url = uri(pbPlugins) } }
|
| 40 |
+
if (pbMaven) { maven { url = uri(pbMaven) } }
|
| 41 |
+
if (pbJitpack) { maven { url = uri(pbJitpack) } }
|
| 42 |
+
}
|
| 43 |
+
repositories {
|
| 44 |
+
if (pbMaven) { maven { url = uri(pbMaven) } }
|
| 45 |
+
if (pbJitpack) { maven { url = uri(pbJitpack) } }
|
| 46 |
+
}
|
| 47 |
+
}
|
| 48 |
+
EOF
|
| 49 |
+
cp /opt/programgym/gradle-init/programgym-mirrors.gradle \
|
| 50 |
+
/workspace/.gradle/init.d/programgym-mirrors.gradle
|
rkoval--alfred-aws-console-services-workflow.4f0e46d/environment/harbor_prepare_download_env.sh
ADDED
|
@@ -0,0 +1,44 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
#!/usr/bin/env bash
|
| 2 |
+
set -euo pipefail
|
| 3 |
+
cd /workspace
|
| 4 |
+
set -a
|
| 5 |
+
if [[ -n "${PROGRAMGYM_MAVEN_MIRROR_URL:-}" ]]; then
|
| 6 |
+
sed -i -e "s|https://repo.maven.apache.org/maven2|${PROGRAMGYM_MAVEN_MIRROR_URL%/}|g" -e "s|https://repo1.maven.org/maven2|${PROGRAMGYM_MAVEN_MIRROR_URL%/}|g" /workspace/download.sh
|
| 7 |
+
fi
|
| 8 |
+
if [[ -n "${PROGRAMGYM_GRADLE_DISTRIBUTION_BASE_URL:-}" ]]; then
|
| 9 |
+
sed -i -e "s|https://services.gradle.org/distributions|${PROGRAMGYM_GRADLE_DISTRIBUTION_BASE_URL%/}|g" -e "s|https://downloads.gradle.org/distributions|${PROGRAMGYM_GRADLE_DISTRIBUTION_BASE_URL%/}|g" /workspace/download.sh
|
| 10 |
+
fi
|
| 11 |
+
if [[ -n "${PROGRAMGYM_JITPACK_REPOSITORY_URL:-}" ]]; then
|
| 12 |
+
sed -i -e "s|https://jitpack.io|${PROGRAMGYM_JITPACK_REPOSITORY_URL%/}|g" /workspace/download.sh
|
| 13 |
+
fi
|
| 14 |
+
source /workspace/download.sh
|
| 15 |
+
set +a
|
| 16 |
+
python3 - <<'PY' > /etc/profile.d/programgym_download_env.sh
|
| 17 |
+
import os
|
| 18 |
+
import shlex
|
| 19 |
+
|
| 20 |
+
ignored = {
|
| 21 |
+
"ALL_PROXY",
|
| 22 |
+
"HTTP_PROXY",
|
| 23 |
+
"HTTPS_PROXY",
|
| 24 |
+
"NO_PROXY",
|
| 25 |
+
"OLDPWD",
|
| 26 |
+
"PIP_PROXY",
|
| 27 |
+
"PWD",
|
| 28 |
+
"SHLVL",
|
| 29 |
+
"_",
|
| 30 |
+
"all_proxy",
|
| 31 |
+
"http_proxy",
|
| 32 |
+
"https_proxy",
|
| 33 |
+
"no_proxy",
|
| 34 |
+
"pip_proxy",
|
| 35 |
+
}
|
| 36 |
+
for key in sorted(os.environ):
|
| 37 |
+
if key in ignored or key.startswith("BASH_FUNC_"):
|
| 38 |
+
continue
|
| 39 |
+
value = os.environ[key]
|
| 40 |
+
if "\n" in value:
|
| 41 |
+
continue
|
| 42 |
+
print(f"export {key}={shlex.quote(value)}")
|
| 43 |
+
PY
|
| 44 |
+
chmod 0644 /etc/profile.d/programgym_download_env.sh
|
rkoval--alfred-aws-console-services-workflow.4f0e46d/environment/programgym-go.tar.gz
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:39042a078ea9ceebe3ecda4a7188f0f5b96e14a071d27923ba7f40b456e85ae3
|
| 3 |
+
size 59908810
|
rkoval--alfred-aws-console-services-workflow.4f0e46d/environment/workspace.tar.gz
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:108bb1caeefc40adbee3cc335b9a8bdf103b0d7cf4f8f0428f8f8337c85c361c
|
| 3 |
+
size 24653
|
rkoval--alfred-aws-console-services-workflow.4f0e46d/instruction.md
ADDED
|
@@ -0,0 +1,98 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
You are a helpful assistant that can interact with a computer.
|
| 2 |
+
|
| 3 |
+
This is a reverse-engineering benchmark. You are given a compiled binary and its documentation.
|
| 4 |
+
Your job is to write a new, original codebase from scratch that produces an executable with identical behavior.
|
| 5 |
+
You must figure out the behavior solely by running and interacting with the provided binary.
|
| 6 |
+
Writing original code based on observed behavior is the entire point of this benchmark.
|
| 7 |
+
|
| 8 |
+
Any approach that shortcuts this — finding existing source code, wrapping the binary,
|
| 9 |
+
or installing the original tool — does not count as a solution. It will be detected by an
|
| 10 |
+
automated judge, marked as a disqualification, and scored as a failure.
|
| 11 |
+
The trace will be posted to an online wall of shame.
|
| 12 |
+
|
| 13 |
+
<RULES>
|
| 14 |
+
## What is not allowed
|
| 15 |
+
|
| 16 |
+
### 1. Obtaining source code
|
| 17 |
+
|
| 18 |
+
The only source of truth about what the executable does is the executable itself and its
|
| 19 |
+
bundled documentation. You must not search the internet, package registries, or any external
|
| 20 |
+
source for information about this project's source code. Even if you recognize what the
|
| 21 |
+
executable is, you must reimplement it from behavioral observation alone.
|
| 22 |
+
|
| 23 |
+
This includes but is not limited to:
|
| 24 |
+
- Cloning or browsing the original GitHub repository, its forks, or mirrors
|
| 25 |
+
- Downloading the project from package registries: `cargo install <project>`, `go get github.com/<org>/<project>`, `pip install <project>`, `apt-get source <project>`, `npm install <project>`, etc.
|
| 26 |
+
- Fetching source tarballs from project websites (e.g., `curl https://lua.org/ftp/lua-5.5.0.tar.gz`)
|
| 27 |
+
- Using a package manager to download the project as a dependency and then reading its cached source (e.g., navigating into `~/.cargo/registry/src/` or `$(go env GOPATH)/pkg/mod/`)
|
| 28 |
+
- Searching the web for the project's source code or implementation details
|
| 29 |
+
|
| 30 |
+
### 2. Wrapping or reusing the original binary
|
| 31 |
+
|
| 32 |
+
Your submission must be a genuine reimplementation. The provided `./executable` is for
|
| 33 |
+
observation only — your final solution must not depend on it or any other pre-built version
|
| 34 |
+
of the same tool at runtime.
|
| 35 |
+
|
| 36 |
+
This includes but is not limited to:
|
| 37 |
+
- Writing a wrapper script that delegates to the original binary (e.g., `exec zstd "$@"`)
|
| 38 |
+
- Installing the tool from a package manager and shimming to it (e.g., `apt-get install nnn && cp $(which nnn) ./executable`)
|
| 39 |
+
- Writing a `compile.sh` that simply makes the provided binary executable (`chmod +x ./executable`) or copies it (`cp ./executable ./executable`)
|
| 40 |
+
- Building a binary whose main function shells out to an external tool (e.g., `Command::new("miniserve").args(args).exec()`)
|
| 41 |
+
- Re-linking prebuilt `.o` object files found in the workspace without writing new source code
|
| 42 |
+
|
| 43 |
+
### 3. Binary analysis of the provided executable
|
| 44 |
+
|
| 45 |
+
All information about the provided `./executable` must be obtained by interacting with it
|
| 46 |
+
through its normal user interface (CLI flags, stdin/stdout, etc.).
|
| 47 |
+
- You MUST NOT decompile `./executable` or use disassemblers (objdump, Ghidra, etc.) on it
|
| 48 |
+
- You MUST NOT use strace, ltrace, or similar tracing/instrumentation tools on `./executable`
|
| 49 |
+
|
| 50 |
+
Note: this restriction applies ONLY to the provided `./executable`. You are free to use any
|
| 51 |
+
analysis tools on binaries that you produce yourself during development.
|
| 52 |
+
|
| 53 |
+
## What IS allowed
|
| 54 |
+
|
| 55 |
+
- Running the executable with any inputs, flags, and arguments to observe its behavior
|
| 56 |
+
- Reading any documentation files bundled in the workspace
|
| 57 |
+
</RULES>
|
| 58 |
+
|
| 59 |
+
## Task context
|
| 60 |
+
|
| 61 |
+
We want to write the source code for a given executable.
|
| 62 |
+
The executable is located at `./executable` in the workspace root.
|
| 63 |
+
|
| 64 |
+
You also have access to the existing documentation.
|
| 65 |
+
|
| 66 |
+
## Your task
|
| 67 |
+
|
| 68 |
+
Implement the source code to generate an executable of exactly identical behavior as the original.
|
| 69 |
+
|
| 70 |
+
No project-specific dependencies are pre-installed.
|
| 71 |
+
You do NOT have access to the internet.
|
| 72 |
+
**IMPORTANT**: Make sure that the executable(s) and everything else that is an artifact is not committed, i.e., is in your `.gitignore` file.
|
| 73 |
+
Finally, commit your changes.
|
| 74 |
+
|
| 75 |
+
Make sure that you have a `./compile.sh` file that produces an executable `./executable` in the workspace root.
|
| 76 |
+
`compile.sh` should be executable and should install any dependencies needed to compile the executable.
|
| 77 |
+
If your compile.sh fails to compile on a fresh checkout, your task has failed.
|
| 78 |
+
|
| 79 |
+
## Important: This is a reverse-engineering benchmark
|
| 80 |
+
|
| 81 |
+
Your goal is to write original code from scratch that reproduces the executable's behavior.
|
| 82 |
+
The only way to learn what the executable does is to run it and read its bundled documentation.
|
| 83 |
+
|
| 84 |
+
Any attempt to obtain source code — whether successful or not — or to wrap/reuse the
|
| 85 |
+
provided binary will be detected by an automated judge, disqualified, and scored as zero.
|
| 86 |
+
See the full rules in the system prompt above. Key points:
|
| 87 |
+
|
| 88 |
+
- Do NOT search the internet, clone repos, or download the project from any package registry
|
| 89 |
+
- Do NOT wrap, shim, or delegate to the provided `./executable` or any installed version of the same tool
|
| 90 |
+
- Do NOT decompile the provided `./executable` or use strace/ltrace on it (analyzing your own binaries is fine)
|
| 91 |
+
- You SHOULD extensively test the executable to understand its behavior before writing code.
|
| 92 |
+
If you are dealing with a TUI, tmux/libtmux has been installed to help you test/inspect/it.
|
| 93 |
+
|
| 94 |
+
## Recommended Workflow
|
| 95 |
+
|
| 96 |
+
1. Explore all documentation files
|
| 97 |
+
2. Play with the executable to understand its behavior (however, you MUST NOT decompile `./executable` or perform any other form of binary or strace/ltrace analysis on it)
|
| 98 |
+
3. Write the source code to implement the behavior
|
rkoval--alfred-aws-console-services-workflow.4f0e46d/solution/solve.sh
ADDED
|
@@ -0,0 +1,33 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
#!/usr/bin/env bash
|
| 2 |
+
# Oracle-only ceiling check. The reference is execute-only for normal agents;
|
| 3 |
+
# because the oracle runs as the owning `agent` user it can temporarily add read
|
| 4 |
+
# permission and encode the binary for Harbor's normal artifact handoff.
|
| 5 |
+
set -euo pipefail
|
| 6 |
+
test -f ./executable
|
| 7 |
+
chmod u+r ./executable
|
| 8 |
+
python3 - <<'PY'
|
| 9 |
+
import base64
|
| 10 |
+
from pathlib import Path
|
| 11 |
+
|
| 12 |
+
Path(".programgym_oracle_reference").write_bytes(
|
| 13 |
+
base64.b64encode(Path("executable").read_bytes())
|
| 14 |
+
)
|
| 15 |
+
PY
|
| 16 |
+
chmod u-r ./executable
|
| 17 |
+
cat > compile.sh <<'EOF'
|
| 18 |
+
#!/usr/bin/env bash
|
| 19 |
+
set -euo pipefail
|
| 20 |
+
if [ -f ./.programgym_oracle_reference ]; then
|
| 21 |
+
python3 - <<'PY'
|
| 22 |
+
import base64
|
| 23 |
+
from pathlib import Path
|
| 24 |
+
|
| 25 |
+
Path("executable").write_bytes(
|
| 26 |
+
base64.b64decode(Path(".programgym_oracle_reference").read_bytes())
|
| 27 |
+
)
|
| 28 |
+
PY
|
| 29 |
+
fi
|
| 30 |
+
test -f ./executable
|
| 31 |
+
chmod +x ./executable
|
| 32 |
+
EOF
|
| 33 |
+
chmod +x compile.sh
|
rkoval--alfred-aws-console-services-workflow.4f0e46d/task.toml
ADDED
|
@@ -0,0 +1,69 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
schema_version = "1.3"
|
| 2 |
+
source = "ProgramGym"
|
| 3 |
+
artifacts = [
|
| 4 |
+
"/logs/verifier/programgym_eval.json",
|
| 5 |
+
"/logs/verifier/harbor_diagnostics.json",
|
| 6 |
+
"/logs/verifier/programgym_eval.log",
|
| 7 |
+
"/logs/verifier/reward.json",
|
| 8 |
+
"/logs/verifier/reward.txt",
|
| 9 |
+
# Keep agent/runtime state out of the submission handoff. In particular,
|
| 10 |
+
# Claude Code installs an absolute symlink under .local/bin; transferring it
|
| 11 |
+
# makes Python's safe tar extraction reject the entire workspace archive.
|
| 12 |
+
{ source = "/workspace", exclude = [
|
| 13 |
+
"executable",
|
| 14 |
+
".git",
|
| 15 |
+
".bashrc",
|
| 16 |
+
".cache",
|
| 17 |
+
".cc-switch",
|
| 18 |
+
".claude",
|
| 19 |
+
".local",
|
| 20 |
+
] },
|
| 21 |
+
]
|
| 22 |
+
|
| 23 |
+
[task]
|
| 24 |
+
name = "programgym/rkoval--alfred-aws-console-services-workflow.4f0e46d"
|
| 25 |
+
description = "Synthetic ProgramGym cleanroom reconstruction task for rkoval/alfred-aws-console-services-workflow"
|
| 26 |
+
authors = [{ name = "Harbor ProgramGym Synthetic Adapter" }]
|
| 27 |
+
keywords = ["programgym", "synthetic", "reverse-engineering", "cleanroom", "go"]
|
| 28 |
+
|
| 29 |
+
[metadata]
|
| 30 |
+
source = "ProgramGym"
|
| 31 |
+
instance_id = "rkoval__alfred-aws-console-services-workflow.4f0e46d"
|
| 32 |
+
repository = "rkoval/alfred-aws-console-services-workflow"
|
| 33 |
+
commit = "4f0e46db45e6ca0f69fa4e46cc841b2de1d29050"
|
| 34 |
+
language = "go"
|
| 35 |
+
difficulty = "medium"
|
| 36 |
+
difficulty_score = 3.2363256047207924
|
| 37 |
+
test_branches = 7
|
| 38 |
+
test_count = 730
|
| 39 |
+
|
| 40 |
+
[agent]
|
| 41 |
+
timeout_sec = 14400
|
| 42 |
+
user = "agent"
|
| 43 |
+
network_mode = "allowlist"
|
| 44 |
+
allowed_hosts = ["api.anthropic.com", "api.openai.com"]
|
| 45 |
+
|
| 46 |
+
[verifier]
|
| 47 |
+
timeout_sec = 7200
|
| 48 |
+
user = "root"
|
| 49 |
+
environment_mode = "separate"
|
| 50 |
+
|
| 51 |
+
[verifier.env]
|
| 52 |
+
PROGRAMGYM_XDIST_WORKERS = "8"
|
| 53 |
+
|
| 54 |
+
[verifier.environment]
|
| 55 |
+
build_timeout_sec = 1800
|
| 56 |
+
cpus = 8
|
| 57 |
+
memory_mb = 16384
|
| 58 |
+
storage_mb = 30720
|
| 59 |
+
gpus = 0
|
| 60 |
+
workdir = "/workspace"
|
| 61 |
+
|
| 62 |
+
[environment]
|
| 63 |
+
network_mode = "public"
|
| 64 |
+
build_timeout_sec = 1800
|
| 65 |
+
cpus = 8
|
| 66 |
+
memory_mb = 16384
|
| 67 |
+
storage_mb = 30720
|
| 68 |
+
gpus = 0
|
| 69 |
+
workdir = "/workspace"
|
rkoval--alfred-aws-console-services-workflow.4f0e46d/tests/Dockerfile
ADDED
|
@@ -0,0 +1,112 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
FROM ubuntu:24.04
|
| 2 |
+
ARG PROGRAMGYM_APT_REPOSITORY_BASE_URL=""
|
| 3 |
+
ARG PROGRAMGYM_GOPROXY="https://proxy.golang.org,direct"
|
| 4 |
+
ARG PROGRAMGYM_GOSUMDB="sum.golang.org"
|
| 5 |
+
ARG PROGRAMGYM_NPM_REGISTRY="https://registry.npmjs.org/"
|
| 6 |
+
ARG PROGRAMGYM_NPM_STRICT_SSL="true"
|
| 7 |
+
ARG PROGRAMGYM_PYPI_INDEX_URL="https://pypi.org/simple"
|
| 8 |
+
ARG PROGRAMGYM_PYPI_TRUSTED_HOST=""
|
| 9 |
+
ARG PROGRAMGYM_UV_INSECURE_HOST=""
|
| 10 |
+
ARG PROGRAMGYM_RUSTUP_DIST_SERVER="https://static.rust-lang.org"
|
| 11 |
+
ARG PROGRAMGYM_RUSTUP_UPDATE_ROOT="https://static.rust-lang.org/rustup"
|
| 12 |
+
ARG PROGRAMGYM_CARGO_INDEX="sparse+https://index.crates.io/"
|
| 13 |
+
ARG PROGRAMGYM_CARGO_NET_RETRY="10"
|
| 14 |
+
ARG PROGRAMGYM_CARGO_HTTP_TIMEOUT="600"
|
| 15 |
+
ARG PROGRAMGYM_CARGO_HTTP_MULTIPLEXING="false"
|
| 16 |
+
ARG PROGRAMGYM_MAVEN_MIRROR_URL=""
|
| 17 |
+
ARG PROGRAMGYM_GRADLE_PLUGIN_REPOSITORY_URL=""
|
| 18 |
+
ARG PROGRAMGYM_GRADLE_DISTRIBUTION_BASE_URL="https://services.gradle.org/distributions"
|
| 19 |
+
ARG PROGRAMGYM_JITPACK_REPOSITORY_URL="https://jitpack.io"
|
| 20 |
+
ENV GOPROXY=${PROGRAMGYM_GOPROXY}
|
| 21 |
+
ENV GOSUMDB=${PROGRAMGYM_GOSUMDB}
|
| 22 |
+
ENV PIP_INDEX_URL=${PROGRAMGYM_PYPI_INDEX_URL}
|
| 23 |
+
ENV PIP_TRUSTED_HOST=${PROGRAMGYM_PYPI_TRUSTED_HOST}
|
| 24 |
+
ENV UV_INDEX_URL=${PROGRAMGYM_PYPI_INDEX_URL}
|
| 25 |
+
ENV UV_INSECURE_HOST=${PROGRAMGYM_UV_INSECURE_HOST}
|
| 26 |
+
ENV npm_config_registry=${PROGRAMGYM_NPM_REGISTRY}
|
| 27 |
+
ENV npm_config_strict_ssl=${PROGRAMGYM_NPM_STRICT_SSL}
|
| 28 |
+
ENV RUSTUP_DIST_SERVER=${PROGRAMGYM_RUSTUP_DIST_SERVER}
|
| 29 |
+
ENV RUSTUP_UPDATE_ROOT=${PROGRAMGYM_RUSTUP_UPDATE_ROOT}
|
| 30 |
+
ENV CARGO_REGISTRIES_CRATES_IO_INDEX=${PROGRAMGYM_CARGO_INDEX}
|
| 31 |
+
ENV CARGO_NET_RETRY=${PROGRAMGYM_CARGO_NET_RETRY}
|
| 32 |
+
ENV CARGO_HTTP_TIMEOUT=${PROGRAMGYM_CARGO_HTTP_TIMEOUT}
|
| 33 |
+
ENV CARGO_HTTP_MULTIPLEXING=${PROGRAMGYM_CARGO_HTTP_MULTIPLEXING}
|
| 34 |
+
ENV PROGRAMGYM_MAVEN_MIRROR_URL=${PROGRAMGYM_MAVEN_MIRROR_URL}
|
| 35 |
+
ENV PROGRAMGYM_GRADLE_PLUGIN_REPOSITORY_URL=${PROGRAMGYM_GRADLE_PLUGIN_REPOSITORY_URL}
|
| 36 |
+
ENV PROGRAMGYM_GRADLE_DISTRIBUTION_BASE_URL=${PROGRAMGYM_GRADLE_DISTRIBUTION_BASE_URL}
|
| 37 |
+
ENV PROGRAMGYM_JITPACK_REPOSITORY_URL=${PROGRAMGYM_JITPACK_REPOSITORY_URL}
|
| 38 |
+
COPY harbor_configure_apt_mirror.sh /tmp/harbor_configure_apt_mirror.sh
|
| 39 |
+
RUN chmod 0755 /tmp/harbor_configure_apt_mirror.sh \
|
| 40 |
+
&& /bin/bash /tmp/harbor_configure_apt_mirror.sh "${PROGRAMGYM_APT_REPOSITORY_BASE_URL}" \
|
| 41 |
+
&& rm -f /tmp/harbor_configure_apt_mirror.sh
|
| 42 |
+
COPY harbor_configure_java_mirrors.sh /tmp/harbor_configure_java_mirrors.sh
|
| 43 |
+
RUN chmod 0755 /tmp/harbor_configure_java_mirrors.sh \
|
| 44 |
+
&& /bin/bash /tmp/harbor_configure_java_mirrors.sh "${PROGRAMGYM_MAVEN_MIRROR_URL}" "${PROGRAMGYM_GRADLE_PLUGIN_REPOSITORY_URL}" "${PROGRAMGYM_JITPACK_REPOSITORY_URL}" \
|
| 45 |
+
&& rm -f /tmp/harbor_configure_java_mirrors.sh
|
| 46 |
+
ENV DEBIAN_FRONTEND=noninteractive
|
| 47 |
+
ENV CARGO_REGISTRIES_CRATES_IO_PROTOCOL=sparse
|
| 48 |
+
ENV CARGO_NET_GIT_FETCH_WITH_CLI=true
|
| 49 |
+
ENV GOTOOLCHAIN=auto
|
| 50 |
+
ENV UV_EXTRA_INDEX_URL=https://pypi.org/simple
|
| 51 |
+
ENV UV_CACHE_DIR=/workspace/.cache/uv
|
| 52 |
+
ENV npm_config_cache=/workspace/.cache/npm
|
| 53 |
+
ENV PIP_EXTRA_INDEX_URL=https://pypi.org/simple
|
| 54 |
+
ENV HOME=/workspace
|
| 55 |
+
ENV XDG_CACHE_HOME=/workspace/.cache
|
| 56 |
+
ENV PIP_CACHE_DIR=/workspace/.cache/pip
|
| 57 |
+
ENV PYTHONUSERBASE=/workspace/.local
|
| 58 |
+
ENV GOROOT=/usr/local/go
|
| 59 |
+
ENV GOPATH=/workspace/.go
|
| 60 |
+
ENV GOCACHE=/workspace/.cache/go-build
|
| 61 |
+
ENV PIP_BREAK_SYSTEM_PACKAGES=1
|
| 62 |
+
ENV PATH=/opt/programgym-venv/bin:/usr/local/go/bin:/workspace/.go/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
|
| 63 |
+
ENV PAGER=cat
|
| 64 |
+
ENV MANPAGER=cat
|
| 65 |
+
ENV LESS=-R
|
| 66 |
+
ENV TQDM_DISABLE=1
|
| 67 |
+
ENV VIRTUAL_ENV=/opt/programgym-venv
|
| 68 |
+
RUN apt-get update && apt-get install -y --no-install-recommends bash build-essential ca-certificates git make pkg-config python3 python3-pip curl wget xz-utils unzip zip bzip2 zstd patch file binutils python3-venv tar && rm -rf /var/lib/apt/lists/*
|
| 69 |
+
COPY programgym-go.tar.gz /tmp/programgym-go.tar.gz
|
| 70 |
+
RUN set -eux; rm -rf /usr/local/go; tar -C /usr/local -xzf /tmp/programgym-go.tar.gz; rm -f /tmp/programgym-go.tar.gz; if [ ! -x /usr/local/go/bin/go ]; then echo "official Go tarball did not create /usr/local/go/bin/go" >&2; exit 1; fi; /usr/local/go/bin/go version
|
| 71 |
+
RUN python3 -m venv /opt/programgym-venv && /opt/programgym-venv/bin/python -m pip install --no-cache-dir --only-binary=:all: pytest pytest-xdist coverage
|
| 72 |
+
WORKDIR /workspace
|
| 73 |
+
ADD workspace.tar.gz /workspace/
|
| 74 |
+
COPY executable /workspace/executable
|
| 75 |
+
COPY download.sh /workspace/download.sh
|
| 76 |
+
RUN chmod 755 /workspace/download.sh
|
| 77 |
+
COPY harbor_prepare_download_env.sh /tmp/harbor_prepare_download_env.sh
|
| 78 |
+
RUN chmod 755 /tmp/harbor_prepare_download_env.sh \
|
| 79 |
+
&& /bin/bash /tmp/harbor_prepare_download_env.sh \
|
| 80 |
+
&& rm -f /workspace/download.sh \
|
| 81 |
+
&& rm -f /tmp/harbor_prepare_download_env.sh
|
| 82 |
+
ENV BASH_ENV=/etc/profile.d/programgym_download_env.sh
|
| 83 |
+
RUN chmod 111 /workspace/executable
|
| 84 |
+
WORKDIR /workspace
|
| 85 |
+
# programgym-runtime-workspace-cleanup: v1
|
| 86 |
+
RUN ["bash","-lc","rm -f -- /workspace/download.sh /workspace/reference/build.sh && rm -rf -- /workspace/.programgym_build_env"]
|
| 87 |
+
# Harbor uses tests/ as the separate verifier build context. Start with the
|
| 88 |
+
# same toolchain as the agent, then remove every cleanroom workspace artifact.
|
| 89 |
+
RUN rm -rf /workspace/* /workspace/.[!.]* 2>/dev/null || true \
|
| 90 |
+
&& mkdir -p /workspace /tests
|
| 91 |
+
|
| 92 |
+
# Synthetic cleanroom Dockerfiles commonly install Ubuntu's pytest-xdist 2.5.0.
|
| 93 |
+
# Installing a newer pytest alone leaves that apt package importable and creates
|
| 94 |
+
# an incompatible mixed apt/pip stack (xdist 2.5 imports the removed py.log).
|
| 95 |
+
# Install and constrain the verifier test runner as one coherent pip toolchain.
|
| 96 |
+
RUN printf 'pytest<9\n' > /etc/pip-constraint.txt
|
| 97 |
+
ENV PIP_CONSTRAINT=/etc/pip-constraint.txt
|
| 98 |
+
RUN set -eu; \
|
| 99 |
+
pip_break_system_packages=""; \
|
| 100 |
+
if python3 -m pip install --help | grep -q -- '--break-system-packages'; then \
|
| 101 |
+
pip_break_system_packages="--break-system-packages"; \
|
| 102 |
+
fi; \
|
| 103 |
+
python3 -m pip install ${pip_break_system_packages} \
|
| 104 |
+
--no-cache-dir --disable-pip-version-check --retries 10 --timeout 120 \
|
| 105 |
+
'pytest<9' 'pytest-xdist>=3,<4' pytest-rerunfailures pytest-timeout
|
| 106 |
+
|
| 107 |
+
COPY test.sh /tests/test.sh
|
| 108 |
+
COPY programgym_evaluator.py /tests/programgym_evaluator.py
|
| 109 |
+
COPY programgym_task.json /tests/programgym_task.json
|
| 110 |
+
COPY blobs/ /tests/blobs/
|
| 111 |
+
RUN chmod +x /tests/test.sh
|
| 112 |
+
RUN ["bash","-lc","rm -f -- /workspace/download.sh /tmp/programgym-download.sh /tmp/download.sh /workspace/reference/build.sh && rm -rf -- /workspace/.programgym_build_env"]
|
rkoval--alfred-aws-console-services-workflow.4f0e46d/tests/blobs/tests/generated_module_01.tar.gz
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:09f2eb1991cb4f8d8fc73aeecde2b8861975db0f59a2f7533f651d06b5b86492
|
| 3 |
+
size 30806
|
rkoval--alfred-aws-console-services-workflow.4f0e46d/tests/blobs/tests/generated_module_02.tar.gz
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:4aedf9b0cdd871df2df0d6878cb8e50c6729549f16278f24e70c1c5bb6f1ffc6
|
| 3 |
+
size 29391
|
rkoval--alfred-aws-console-services-workflow.4f0e46d/tests/blobs/tests/generated_module_03.tar.gz
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:24c7d6ccfdc0b4030d89d53d8a55f4670706e3fb23f8154462280c1dbc340e50
|
| 3 |
+
size 24212
|
rkoval--alfred-aws-console-services-workflow.4f0e46d/tests/blobs/tests/generated_module_04.tar.gz
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:c2d151321d30c6d1f284fc7fe1a92c6142b4bcd411fd7364e9fdaa239591c253
|
| 3 |
+
size 29546
|
rkoval--alfred-aws-console-services-workflow.4f0e46d/tests/blobs/tests/generated_module_05.tar.gz
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:da892ba9a2177e3abc13708b1f99e072380106ae02919ff946bddfbc166f233f
|
| 3 |
+
size 26955
|
rkoval--alfred-aws-console-services-workflow.4f0e46d/tests/blobs/tests/generated_module_06.tar.gz
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:d2bff38ecdb8f2bad60be203ff3728d4b6787ecfbcb764b347083727785173d5
|
| 3 |
+
size 40807
|
rkoval--alfred-aws-console-services-workflow.4f0e46d/tests/blobs/tests/generated_upstream.tar.gz
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:d311a674784176159e5afaceaad23e0b3a4c0ab2779b19f1e20a60bc908318f4
|
| 3 |
+
size 33756
|
rkoval--alfred-aws-console-services-workflow.4f0e46d/tests/docker-compose.yaml
ADDED
|
@@ -0,0 +1,22 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
services:
|
| 2 |
+
main:
|
| 3 |
+
build:
|
| 4 |
+
args:
|
| 5 |
+
PROGRAMGYM_APT_REPOSITORY_BASE_URL: ${PROGRAMGYM_APT_REPOSITORY_BASE_URL:-}
|
| 6 |
+
PROGRAMGYM_GOPROXY: ${PROGRAMGYM_GOPROXY:-https://proxy.golang.org,direct}
|
| 7 |
+
PROGRAMGYM_GOSUMDB: ${PROGRAMGYM_GOSUMDB:-sum.golang.org}
|
| 8 |
+
PROGRAMGYM_NPM_REGISTRY: ${PROGRAMGYM_NPM_REGISTRY:-https://registry.npmjs.org/}
|
| 9 |
+
PROGRAMGYM_NPM_STRICT_SSL: ${PROGRAMGYM_NPM_STRICT_SSL:-true}
|
| 10 |
+
PROGRAMGYM_PYPI_INDEX_URL: ${PROGRAMGYM_PYPI_INDEX_URL:-https://pypi.org/simple}
|
| 11 |
+
PROGRAMGYM_PYPI_TRUSTED_HOST: ${PROGRAMGYM_PYPI_TRUSTED_HOST:-}
|
| 12 |
+
PROGRAMGYM_UV_INSECURE_HOST: ${PROGRAMGYM_UV_INSECURE_HOST:-}
|
| 13 |
+
PROGRAMGYM_RUSTUP_DIST_SERVER: ${PROGRAMGYM_RUSTUP_DIST_SERVER:-https://static.rust-lang.org}
|
| 14 |
+
PROGRAMGYM_RUSTUP_UPDATE_ROOT: ${PROGRAMGYM_RUSTUP_UPDATE_ROOT:-https://static.rust-lang.org/rustup}
|
| 15 |
+
PROGRAMGYM_CARGO_INDEX: ${PROGRAMGYM_CARGO_INDEX:-sparse+https://index.crates.io/}
|
| 16 |
+
PROGRAMGYM_CARGO_NET_RETRY: ${PROGRAMGYM_CARGO_NET_RETRY:-10}
|
| 17 |
+
PROGRAMGYM_CARGO_HTTP_TIMEOUT: ${PROGRAMGYM_CARGO_HTTP_TIMEOUT:-600}
|
| 18 |
+
PROGRAMGYM_CARGO_HTTP_MULTIPLEXING: ${PROGRAMGYM_CARGO_HTTP_MULTIPLEXING:-false}
|
| 19 |
+
PROGRAMGYM_MAVEN_MIRROR_URL: ${PROGRAMGYM_MAVEN_MIRROR_URL:-}
|
| 20 |
+
PROGRAMGYM_GRADLE_PLUGIN_REPOSITORY_URL: ${PROGRAMGYM_GRADLE_PLUGIN_REPOSITORY_URL:-}
|
| 21 |
+
PROGRAMGYM_GRADLE_DISTRIBUTION_BASE_URL: ${PROGRAMGYM_GRADLE_DISTRIBUTION_BASE_URL:-https://services.gradle.org/distributions}
|
| 22 |
+
PROGRAMGYM_JITPACK_REPOSITORY_URL: ${PROGRAMGYM_JITPACK_REPOSITORY_URL:-https://jitpack.io}
|
rkoval--alfred-aws-console-services-workflow.4f0e46d/tests/download.sh
ADDED
|
@@ -0,0 +1,324 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
#!/usr/bin/env bash
|
| 2 |
+
# PROGRAMGYM-MANAGED-GO-DOWNLOAD: v1
|
| 3 |
+
# Generated deterministically from repository module metadata; do not edit.
|
| 4 |
+
set -u
|
| 5 |
+
export GOTOOLCHAIN=auto
|
| 6 |
+
mkdir -p /workspace/.programgym_build_env/go-prefetch
|
| 7 |
+
cat > /workspace/.programgym_build_env/go-prefetch/go.mod <<'PROGRAMGYM_GO_MOD_EOF'
|
| 8 |
+
module github.com/rkoval/alfred-aws-console-services-workflow
|
| 9 |
+
|
| 10 |
+
go 1.24
|
| 11 |
+
|
| 12 |
+
require (
|
| 13 |
+
github.com/aws/aws-sdk-go-v2 v1.36.3
|
| 14 |
+
github.com/aws/aws-sdk-go-v2/config v1.29.14
|
| 15 |
+
github.com/aws/aws-sdk-go-v2/service/cloudformation v1.59.2
|
| 16 |
+
github.com/aws/aws-sdk-go-v2/service/cloudwatchlogs v1.49.0
|
| 17 |
+
github.com/aws/aws-sdk-go-v2/service/codepipeline v1.41.0
|
| 18 |
+
github.com/aws/aws-sdk-go-v2/service/ec2 v1.218.0
|
| 19 |
+
github.com/aws/aws-sdk-go-v2/service/ecs v1.57.0
|
| 20 |
+
github.com/aws/aws-sdk-go-v2/service/elasticache v1.46.0
|
| 21 |
+
github.com/aws/aws-sdk-go-v2/service/elasticbeanstalk v1.29.2
|
| 22 |
+
github.com/aws/aws-sdk-go-v2/service/elasticloadbalancingv2 v1.45.2
|
| 23 |
+
github.com/aws/aws-sdk-go-v2/service/lambda v1.71.2
|
| 24 |
+
github.com/aws/aws-sdk-go-v2/service/rds v1.95.0
|
| 25 |
+
github.com/aws/aws-sdk-go-v2/service/route53 v1.51.1
|
| 26 |
+
github.com/aws/aws-sdk-go-v2/service/s3 v1.79.3
|
| 27 |
+
github.com/aws/aws-sdk-go-v2/service/sns v1.34.4
|
| 28 |
+
github.com/aws/aws-sdk-go-v2/service/wafv2 v1.60.1
|
| 29 |
+
github.com/aws/smithy-go v1.22.3
|
| 30 |
+
github.com/bradleyjkemp/cupaloy v2.3.0+incompatible
|
| 31 |
+
github.com/deanishe/awgo v0.29.1
|
| 32 |
+
github.com/iancoleman/strcase v0.3.0
|
| 33 |
+
github.com/stretchr/testify v1.7.0
|
| 34 |
+
gopkg.in/dnaeon/go-vcr.v4 v4.0.2
|
| 35 |
+
gopkg.in/ini.v1 v1.67.0
|
| 36 |
+
gopkg.in/yaml.v2 v2.4.0
|
| 37 |
+
)
|
| 38 |
+
|
| 39 |
+
require (
|
| 40 |
+
github.com/aws/aws-sdk-go-v2/aws/protocol/eventstream v1.6.10 // indirect
|
| 41 |
+
github.com/aws/aws-sdk-go-v2/credentials v1.17.67 // indirect
|
| 42 |
+
github.com/aws/aws-sdk-go-v2/feature/ec2/imds v1.16.30 // indirect
|
| 43 |
+
github.com/aws/aws-sdk-go-v2/internal/configsources v1.3.34 // indirect
|
| 44 |
+
github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.6.34 // indirect
|
| 45 |
+
github.com/aws/aws-sdk-go-v2/internal/ini v1.8.3 // indirect
|
| 46 |
+
github.com/aws/aws-sdk-go-v2/internal/v4a v1.3.34 // indirect
|
| 47 |
+
github.com/aws/aws-sdk-go-v2/service/internal/accept-encoding v1.12.3 // indirect
|
| 48 |
+
github.com/aws/aws-sdk-go-v2/service/internal/checksum v1.7.1 // indirect
|
| 49 |
+
github.com/aws/aws-sdk-go-v2/service/internal/presigned-url v1.12.15 // indirect
|
| 50 |
+
github.com/aws/aws-sdk-go-v2/service/internal/s3shared v1.18.15 // indirect
|
| 51 |
+
github.com/aws/aws-sdk-go-v2/service/sso v1.25.3 // indirect
|
| 52 |
+
github.com/aws/aws-sdk-go-v2/service/ssooidc v1.30.1 // indirect
|
| 53 |
+
github.com/aws/aws-sdk-go-v2/service/sts v1.33.19 // indirect
|
| 54 |
+
github.com/davecgh/go-spew v1.1.1 // indirect
|
| 55 |
+
github.com/magefile/mage v1.15.0 // indirect
|
| 56 |
+
github.com/pmezard/go-difflib v1.0.0 // indirect
|
| 57 |
+
go.deanishe.net/env v0.5.1 // indirect
|
| 58 |
+
go.deanishe.net/fuzzy v1.0.0 // indirect
|
| 59 |
+
golang.org/x/text v0.25.0 // indirect
|
| 60 |
+
gopkg.in/yaml.v3 v3.0.1 // indirect
|
| 61 |
+
)
|
| 62 |
+
PROGRAMGYM_GO_MOD_EOF
|
| 63 |
+
cat > /workspace/.programgym_build_env/go-prefetch/go.sum <<'PROGRAMGYM_GO_SUM_EOF'
|
| 64 |
+
github.com/aws/aws-sdk-go-v2 v1.36.3 h1:mJoei2CxPutQVxaATCzDUjcZEjVRdpsiiXi2o38yqWM=
|
| 65 |
+
github.com/aws/aws-sdk-go-v2 v1.36.3/go.mod h1:LLXuLpgzEbD766Z5ECcRmi8AzSwfZItDtmABVkRLGzg=
|
| 66 |
+
github.com/aws/aws-sdk-go-v2/aws/protocol/eventstream v1.6.10 h1:zAybnyUQXIZ5mok5Jqwlf58/TFE7uvd3IAsa1aF9cXs=
|
| 67 |
+
github.com/aws/aws-sdk-go-v2/aws/protocol/eventstream v1.6.10/go.mod h1:qqvMj6gHLR/EXWZw4ZbqlPbQUyenf4h82UQUlKc+l14=
|
| 68 |
+
github.com/aws/aws-sdk-go-v2/config v1.29.14 h1:f+eEi/2cKCg9pqKBoAIwRGzVb70MRKqWX4dg1BDcSJM=
|
| 69 |
+
github.com/aws/aws-sdk-go-v2/config v1.29.14/go.mod h1:wVPHWcIFv3WO89w0rE10gzf17ZYy+UVS1Geq8Iei34g=
|
| 70 |
+
github.com/aws/aws-sdk-go-v2/credentials v1.17.67 h1:9KxtdcIA/5xPNQyZRgUSpYOE6j9Bc4+D7nZua0KGYOM=
|
| 71 |
+
github.com/aws/aws-sdk-go-v2/credentials v1.17.67/go.mod h1:p3C44m+cfnbv763s52gCqrjaqyPikj9Sg47kUVaNZQQ=
|
| 72 |
+
github.com/aws/aws-sdk-go-v2/feature/ec2/imds v1.16.30 h1:x793wxmUWVDhshP8WW2mlnXuFrO4cOd3HLBroh1paFw=
|
| 73 |
+
github.com/aws/aws-sdk-go-v2/feature/ec2/imds v1.16.30/go.mod h1:Jpne2tDnYiFascUEs2AWHJL9Yp7A5ZVy3TNyxaAjD6M=
|
| 74 |
+
github.com/aws/aws-sdk-go-v2/internal/configsources v1.3.34 h1:ZK5jHhnrioRkUNOc+hOgQKlUL5JeC3S6JgLxtQ+Rm0Q=
|
| 75 |
+
github.com/aws/aws-sdk-go-v2/internal/configsources v1.3.34/go.mod h1:p4VfIceZokChbA9FzMbRGz5OV+lekcVtHlPKEO0gSZY=
|
| 76 |
+
github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.6.34 h1:SZwFm17ZUNNg5Np0ioo/gq8Mn6u9w19Mri8DnJ15Jf0=
|
| 77 |
+
github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.6.34/go.mod h1:dFZsC0BLo346mvKQLWmoJxT+Sjp+qcVR1tRVHQGOH9Q=
|
| 78 |
+
github.com/aws/aws-sdk-go-v2/internal/ini v1.8.3 h1:bIqFDwgGXXN1Kpp99pDOdKMTTb5d2KyU5X/BZxjOkRo=
|
| 79 |
+
github.com/aws/aws-sdk-go-v2/internal/ini v1.8.3/go.mod h1:H5O/EsxDWyU+LP/V8i5sm8cxoZgc2fdNR9bxlOFrQTo=
|
| 80 |
+
github.com/aws/aws-sdk-go-v2/internal/v4a v1.3.34 h1:ZNTqv4nIdE/DiBfUUfXcLZ/Spcuz+RjeziUtNJackkM=
|
| 81 |
+
github.com/aws/aws-sdk-go-v2/internal/v4a v1.3.34/go.mod h1:zf7Vcd1ViW7cPqYWEHLHJkS50X0JS2IKz9Cgaj6ugrs=
|
| 82 |
+
github.com/aws/aws-sdk-go-v2/service/cloudformation v1.59.2 h1:o9cuZdZlI9VWMqsNa2mnf2IRsFAROHnaYA1BW3lHGuY=
|
| 83 |
+
github.com/aws/aws-sdk-go-v2/service/cloudformation v1.59.2/go.mod h1:penaZKzGmqHGZId4EUCBIW/f9l4Y7hQ5NKd45yoCYuI=
|
| 84 |
+
github.com/aws/aws-sdk-go-v2/service/cloudwatchlogs v1.49.0 h1:9ZzkbHkNpjBKx6r9GlskIXTB8Nfvp0PSlKyIuWjY7Cg=
|
| 85 |
+
github.com/aws/aws-sdk-go-v2/service/cloudwatchlogs v1.49.0/go.mod h1:uo14VBn5cNk/BPGTPz3kyLBxgpgOObgO8lmz+H7Z4Ck=
|
| 86 |
+
github.com/aws/aws-sdk-go-v2/service/codepipeline v1.41.0 h1:Xrw+FmTiatAPbjEwySsEf6lF0+2NtBwDcXnYH/jfk4k=
|
| 87 |
+
github.com/aws/aws-sdk-go-v2/service/codepipeline v1.41.0/go.mod h1:DbwgOhGcyAQbyKZDXbErngumtUExzwvd1uyMbKQcXto=
|
| 88 |
+
github.com/aws/aws-sdk-go-v2/service/ec2 v1.218.0 h1:QPYsTfcPpPhkF+37pxLcl3xbQz2SRxsShQNB6VCkvLo=
|
| 89 |
+
github.com/aws/aws-sdk-go-v2/service/ec2 v1.218.0/go.mod h1:ouvGEfHbLaIlWwpDpOVWPWR+YwO0HDv3vm5tYLq8ImY=
|
| 90 |
+
github.com/aws/aws-sdk-go-v2/service/ecs v1.57.0 h1:B8aicyNZV/2jsVfhVbuLlKT6uN/thAEk7xtPyQ42TkA=
|
| 91 |
+
github.com/aws/aws-sdk-go-v2/service/ecs v1.57.0/go.mod h1:wAtdeFanDuF9Re/ge4DRDaYe3Wy1OGrU7jG042UcuI4=
|
| 92 |
+
github.com/aws/aws-sdk-go-v2/service/elasticache v1.46.0 h1:UficfhqlA7k0zQ/x9pNKmyIIeHfvJUfdbzOQJKGJkt8=
|
| 93 |
+
github.com/aws/aws-sdk-go-v2/service/elasticache v1.46.0/go.mod h1:477YEP4FkrM0oUcw+w4vk4+XTB7WacLzPGPFj69kwkg=
|
| 94 |
+
github.com/aws/aws-sdk-go-v2/service/elasticbeanstalk v1.29.2 h1:H+y5KLrBk8TcYnsgaPcbBJRyuZlgbHhERV10l3uVnX8=
|
| 95 |
+
github.com/aws/aws-sdk-go-v2/service/elasticbeanstalk v1.29.2/go.mod h1:FB7NDXoKPiVvk2mDRbiHSZvivng/bhu/l7FCGzzd34Q=
|
| 96 |
+
github.com/aws/aws-sdk-go-v2/service/elasticloadbalancingv2 v1.45.2 h1:vX70Z4lNSr7XsioU0uJq5yvxgI50sB66MvD+V/3buS4=
|
| 97 |
+
github.com/aws/aws-sdk-go-v2/service/elasticloadbalancingv2 v1.45.2/go.mod h1:xnCC3vFBfOKpU6PcsCKL2ktgBTZfOwTGxj6V8/X3IS4=
|
| 98 |
+
github.com/aws/aws-sdk-go-v2/service/internal/accept-encoding v1.12.3 h1:eAh2A4b5IzM/lum78bZ590jy36+d/aFLgKF/4Vd1xPE=
|
| 99 |
+
github.com/aws/aws-sdk-go-v2/service/internal/accept-encoding v1.12.3/go.mod h1:0yKJC/kb8sAnmlYa6Zs3QVYqaC8ug2AbnNChv5Ox3uA=
|
| 100 |
+
github.com/aws/aws-sdk-go-v2/service/internal/checksum v1.7.1 h1:4nm2G6A4pV9rdlWzGMPv4BNtQp22v1hg3yrtkYpeLl8=
|
| 101 |
+
github.com/aws/aws-sdk-go-v2/service/internal/checksum v1.7.1/go.mod h1:iu6FSzgt+M2/x3Dk8zhycdIcHjEFb36IS8HVUVFoMg0=
|
| 102 |
+
github.com/aws/aws-sdk-go-v2/service/internal/presigned-url v1.12.15 h1:dM9/92u2F1JbDaGooxTq18wmmFzbJRfXfVfy96/1CXM=
|
| 103 |
+
github.com/aws/aws-sdk-go-v2/service/internal/presigned-url v1.12.15/go.mod h1:SwFBy2vjtA0vZbjjaFtfN045boopadnoVPhu4Fv66vY=
|
| 104 |
+
github.com/aws/aws-sdk-go-v2/service/internal/s3shared v1.18.15 h1:moLQUoVq91LiqT1nbvzDukyqAlCv89ZmwaHw/ZFlFZg=
|
| 105 |
+
github.com/aws/aws-sdk-go-v2/service/internal/s3shared v1.18.15/go.mod h1:ZH34PJUc8ApjBIfgQCFvkWcUDBtl/WTD+uiYHjd8igA=
|
| 106 |
+
github.com/aws/aws-sdk-go-v2/service/lambda v1.71.2 h1:z926KZ1Ysi8Mbi4biJSAIRFdKemwQpO9M0QUTRLDaXA=
|
| 107 |
+
github.com/aws/aws-sdk-go-v2/service/lambda v1.71.2/go.mod h1:c27kk10S36lBYgbG1jR3opn4OAS5Y/4wjJa1GiHK/X4=
|
| 108 |
+
github.com/aws/aws-sdk-go-v2/service/rds v1.95.0 h1:7KmQEDuz6XWafMaeIahplfGSEakzX4RMSrNHyvhkEq8=
|
| 109 |
+
github.com/aws/aws-sdk-go-v2/service/rds v1.95.0/go.mod h1:CXiHj5rVyQ5Q3zNSoYzwaJfWm8IGDweyyCGfO8ei5fQ=
|
| 110 |
+
github.com/aws/aws-sdk-go-v2/service/route53 v1.51.1 h1:41HrH51fydStW2Tah74zkqZlJfyx4gXeuGOdsIFuckY=
|
| 111 |
+
github.com/aws/aws-sdk-go-v2/service/route53 v1.51.1/go.mod h1:kGYOjvTa0Vw0qxrqrOLut1vMnui6qLxqv/SX3vYeM8Y=
|
| 112 |
+
github.com/aws/aws-sdk-go-v2/service/s3 v1.79.3 h1:BRXS0U76Z8wfF+bnkilA2QwpIch6URlm++yPUt9QPmQ=
|
| 113 |
+
github.com/aws/aws-sdk-go-v2/service/s3 v1.79.3/go.mod h1:bNXKFFyaiVvWuR6O16h/I1724+aXe/tAkA9/QS01t5k=
|
| 114 |
+
github.com/aws/aws-sdk-go-v2/service/sns v1.34.4 h1:ihddI5wufQQCJiujUgAvWRqZcfDmSKIfXlAuX7T95cg=
|
| 115 |
+
github.com/aws/aws-sdk-go-v2/service/sns v1.34.4/go.mod h1:PJtxxMdj747j8DeZENRTTYAz/lx/pADn/U0k7YNNiUY=
|
| 116 |
+
github.com/aws/aws-sdk-go-v2/service/sso v1.25.3 h1:1Gw+9ajCV1jogloEv1RRnvfRFia2cL6c9cuKV2Ps+G8=
|
| 117 |
+
github.com/aws/aws-sdk-go-v2/service/sso v1.25.3/go.mod h1:qs4a9T5EMLl/Cajiw2TcbNt2UNo/Hqlyp+GiuG4CFDI=
|
| 118 |
+
github.com/aws/aws-sdk-go-v2/service/ssooidc v1.30.1 h1:hXmVKytPfTy5axZ+fYbR5d0cFmC3JvwLm5kM83luako=
|
| 119 |
+
github.com/aws/aws-sdk-go-v2/service/ssooidc v1.30.1/go.mod h1:MlYRNmYu/fGPoxBQVvBYr9nyr948aY/WLUvwBMBJubs=
|
| 120 |
+
github.com/aws/aws-sdk-go-v2/service/sts v1.33.19 h1:1XuUZ8mYJw9B6lzAkXhqHlJd/XvaX32evhproijJEZY=
|
| 121 |
+
github.com/aws/aws-sdk-go-v2/service/sts v1.33.19/go.mod h1:cQnB8CUnxbMU82JvlqjKR2HBOm3fe9pWorWBza6MBJ4=
|
| 122 |
+
github.com/aws/aws-sdk-go-v2/service/wafv2 v1.60.1 h1:LMNN0VN6bw+SLySSa8ICYpZ+/aFZGf/lmq2hNVUYdqo=
|
| 123 |
+
github.com/aws/aws-sdk-go-v2/service/wafv2 v1.60.1/go.mod h1:Zai6/lANvFn0uX9OKqPGy4C9a7TIcbnlzzM1EHTd3kE=
|
| 124 |
+
github.com/aws/smithy-go v1.22.3 h1:Z//5NuZCSW6R4PhQ93hShNbyBbn8BWCmCVCt+Q8Io5k=
|
| 125 |
+
github.com/aws/smithy-go v1.22.3/go.mod h1:t1ufH5HMublsJYulve2RKmHDC15xu1f26kHCp/HgceI=
|
| 126 |
+
github.com/bmatcuk/doublestar v1.3.4/go.mod h1:wiQtGV+rzVYxB7WIlirSN++5HPtPlXEo9MEoZQC/PmE=
|
| 127 |
+
github.com/bradleyjkemp/cupaloy v2.3.0+incompatible h1:UafIjBvWQmS9i/xRg+CamMrnLTKNzo+bdmT/oH34c2Y=
|
| 128 |
+
github.com/bradleyjkemp/cupaloy v2.3.0+incompatible/go.mod h1:Au1Xw1sgaJ5iSFktEhYsS0dbQiS1B0/XMXl+42y9Ilk=
|
| 129 |
+
github.com/creack/pty v1.1.9/go.mod h1:oKZEueFk5CKHvIhNR5MUki03XCEU+Q6VDXinZuGJ33E=
|
| 130 |
+
github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
|
| 131 |
+
github.com/davecgh/go-spew v1.1.1 h1:vj9j/u1bqnvCEfJOwUhtlOARqs3+rkHYY13jYWTU97c=
|
| 132 |
+
github.com/davecgh/go-spew v1.1.1/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
|
| 133 |
+
github.com/deanishe/awgo v0.29.1 h1:yKAyy0e+HR60iPxaKHhY3hdTM5GCsECpWTP79j04bHg=
|
| 134 |
+
github.com/deanishe/awgo v0.29.1/go.mod h1:1yGF+uQfWXX99TiDfAYYKjJpHTq5lHEmvHFEVCHo6KA=
|
| 135 |
+
github.com/iancoleman/strcase v0.3.0 h1:nTXanmYxhfFAMjZL34Ov6gkzEsSJZ5DbhxWjvSASxEI=
|
| 136 |
+
github.com/iancoleman/strcase v0.3.0/go.mod h1:iwCmte+B7n89clKwxIoIXy/HfoL7AsD47ZCWhYzw7ho=
|
| 137 |
+
github.com/jessevdk/go-flags v1.4.0/go.mod h1:4FA24M0QyGHXBuZZK/XkWh8h0e1EYbRYJSGM75WSRxI=
|
| 138 |
+
github.com/kr/pretty v0.1.0/go.mod h1:dAy3ld7l9f0ibDNOQOHHMYYIIbhfbHSm3C4ZsoJORNo=
|
| 139 |
+
github.com/kr/pty v1.1.1/go.mod h1:pFQYn66WHrOpPYNljwOMqo10TkYh1fy3cYio2l3bCsQ=
|
| 140 |
+
github.com/kr/text v0.1.0/go.mod h1:4Jbv+DJW3UT/LiOwJeYQe1efqtUx/iVham/4vfdArNI=
|
| 141 |
+
github.com/kr/text v0.2.0 h1:5Nx0Ya0ZqY2ygV366QzturHI13Jq95ApcVaJBhpS+AY=
|
| 142 |
+
github.com/kr/text v0.2.0/go.mod h1:eLer722TekiGuMkidMxC/pM04lWEeraHUUmBw8l2grE=
|
| 143 |
+
github.com/magefile/mage v1.10.0/go.mod h1:z5UZb/iS3GoOSn0JgWuiw7dxlurVYTu+/jHXqQg881A=
|
| 144 |
+
github.com/magefile/mage v1.11.0/go.mod h1:z5UZb/iS3GoOSn0JgWuiw7dxlurVYTu+/jHXqQg881A=
|
| 145 |
+
github.com/magefile/mage v1.15.0 h1:BvGheCMAsG3bWUDbZ8AyXXpCNwU9u5CB6sM+HNb9HYg=
|
| 146 |
+
github.com/magefile/mage v1.15.0/go.mod h1:z5UZb/iS3GoOSn0JgWuiw7dxlurVYTu+/jHXqQg881A=
|
| 147 |
+
github.com/niemeyer/pretty v0.0.0-20200227124842-a10e7caefd8e h1:fD57ERR4JtEqsWbfPhv4DMiApHyliiK5xCTNVSPiaAs=
|
| 148 |
+
github.com/niemeyer/pretty v0.0.0-20200227124842-a10e7caefd8e/go.mod h1:zD1mROLANZcx1PVRCS0qkT7pwLkGfwJo4zjcN/Tysno=
|
| 149 |
+
github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM=
|
| 150 |
+
github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4=
|
| 151 |
+
github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME=
|
| 152 |
+
github.com/stretchr/testify v1.4.0/go.mod h1:j7eGeouHqKxXV5pUuKE4zz7dFj8WfuZ+81PSLYec5m4=
|
| 153 |
+
github.com/stretchr/testify v1.6.1/go.mod h1:6Fq8oRcR53rry900zMqJjRRixrwX3KX962/h/Wwjteg=
|
| 154 |
+
github.com/stretchr/testify v1.7.0 h1:nwc3DEeHmmLAfoZucVR881uASk0Mfjw8xYJ99tb5CcY=
|
| 155 |
+
github.com/stretchr/testify v1.7.0/go.mod h1:6Fq8oRcR53rry900zMqJjRRixrwX3KX962/h/Wwjteg=
|
| 156 |
+
go.deanishe.net/env v0.5.1 h1:WiOncK5uJj8Um57Vj2dc1bq1lMN7fgRag9up7I3LZy0=
|
| 157 |
+
go.deanishe.net/env v0.5.1/go.mod h1:ihEYfDm0K0hq3f5ACTCQDrMTWxH9fTiA1lh1i0aMqm0=
|
| 158 |
+
go.deanishe.net/fuzzy v1.0.0 h1:3Qp6PCX0DLb9z03b5OHwAGsbRSkgJpSLncsiDdXDt4Y=
|
| 159 |
+
go.deanishe.net/fuzzy v1.0.0/go.mod h1:2yEEMfG7jWgT1s5EO0TteVWmx2MXFBRMr5cMm84bQNY=
|
| 160 |
+
golang.org/x/text v0.3.3/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ=
|
| 161 |
+
golang.org/x/text v0.3.6/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ=
|
| 162 |
+
golang.org/x/text v0.25.0 h1:qVyWApTSYLk/drJRO5mDlNYskwQznZmkpV2c8q9zls4=
|
| 163 |
+
golang.org/x/text v0.25.0/go.mod h1:WEdwpYrmk1qmdHvhkSTNPm3app7v4rsT8F2UD6+VHIA=
|
| 164 |
+
golang.org/x/tools v0.0.0-20180917221912-90fa682c2a6e/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ=
|
| 165 |
+
gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0=
|
| 166 |
+
gopkg.in/check.v1 v1.0.0-20180628173108-788fd7840127/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0=
|
| 167 |
+
gopkg.in/check.v1 v1.0.0-20200227125254-8fa46927fb4f h1:BLraFXnmrev5lT+xlilqcH8XK9/i0At2xKjWk4p6zsU=
|
| 168 |
+
gopkg.in/check.v1 v1.0.0-20200227125254-8fa46927fb4f/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0=
|
| 169 |
+
gopkg.in/dnaeon/go-vcr.v4 v4.0.2 h1:7T5VYf2ifyK01ETHbJPl5A6XTpUljD4Trw3GEDcdedk=
|
| 170 |
+
gopkg.in/dnaeon/go-vcr.v4 v4.0.2/go.mod h1:65yxh9goQVrudqofKtHA4JNFWd6XZRkWfKN4YpMx7KI=
|
| 171 |
+
gopkg.in/ini.v1 v1.67.0 h1:Dgnx+6+nfE+IfzjUEISNeydPJh9AXNNsWbGP9KzCsOA=
|
| 172 |
+
gopkg.in/ini.v1 v1.67.0/go.mod h1:pNLf8WUiyNEtQjuu5G5vTm06TEv9tsIgeAvK8hOrP4k=
|
| 173 |
+
gopkg.in/yaml.v2 v2.2.1/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI=
|
| 174 |
+
gopkg.in/yaml.v2 v2.2.2/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI=
|
| 175 |
+
gopkg.in/yaml.v2 v2.4.0 h1:D8xgwECY7CYvx+Y2n4sBz93Jn9JRvxdiyyo8CTfuKaY=
|
| 176 |
+
gopkg.in/yaml.v2 v2.4.0/go.mod h1:RDklbk79AGWmwhnvt/jBztapEOGDOx6ZbXqjP6csGnQ=
|
| 177 |
+
gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM=
|
| 178 |
+
gopkg.in/yaml.v3 v3.0.0-20210107192922-496545a6307b/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM=
|
| 179 |
+
gopkg.in/yaml.v3 v3.0.1 h1:fxVm/GzAzEWqLHuvctI91KS9hhNmmWOoWu0XTYJS7CA=
|
| 180 |
+
gopkg.in/yaml.v3 v3.0.1/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM=
|
| 181 |
+
howett.net/plist v0.0.0-20201203080718-1454fab16a06/go.mod h1:vMygbs4qMhSZSc4lCUl2OEE+rDiIIJAIdR4m7MiMcm0=
|
| 182 |
+
PROGRAMGYM_GO_SUM_EOF
|
| 183 |
+
PROGRAMGYM_INTERNAL_GO_PRIMARY_PROXY="${GOPROXY:-direct}"
|
| 184 |
+
PROGRAMGYM_INTERNAL_GO_FALLBACK_PROXY=""
|
| 185 |
+
case "$PROGRAMGYM_INTERNAL_GO_PRIMARY_PROXY" in
|
| 186 |
+
*"|"*|*","*)
|
| 187 |
+
PROGRAMGYM_INTERNAL_GO_FIRST_PROXY="${PROGRAMGYM_INTERNAL_GO_PRIMARY_PROXY%%[,|]*}"
|
| 188 |
+
PROGRAMGYM_INTERNAL_GO_PROXY_REMAINDER="${PROGRAMGYM_INTERNAL_GO_PRIMARY_PROXY#*[,|]}"
|
| 189 |
+
if [[ "$PROGRAMGYM_INTERNAL_GO_FIRST_PROXY" =~ [^[:space:]] ]] && [[ "$PROGRAMGYM_INTERNAL_GO_PROXY_REMAINDER" =~ [^[:space:]] ]]; then
|
| 190 |
+
PROGRAMGYM_INTERNAL_GO_FALLBACK_PROXY="${PROGRAMGYM_GO_PUBLIC_FALLBACK_PROXY:-${PROGRAMGYM_INTERNAL_GO_PROXY_REMAINDER}}"
|
| 191 |
+
fi
|
| 192 |
+
;;
|
| 193 |
+
esac
|
| 194 |
+
if ! [[ "$PROGRAMGYM_INTERNAL_GO_FALLBACK_PROXY" =~ [^[:space:]] ]]; then
|
| 195 |
+
PROGRAMGYM_INTERNAL_GO_FALLBACK_PROXY=""
|
| 196 |
+
fi
|
| 197 |
+
cat > /workspace/.programgym_build_env/go-prefetch/.programgym_go_timeout_supervisor.py <<'PROGRAMGYM_GO_TIMEOUT_SUPERVISOR_EOF'
|
| 198 |
+
import os
|
| 199 |
+
import signal
|
| 200 |
+
import subprocess
|
| 201 |
+
import sys
|
| 202 |
+
import time
|
| 203 |
+
|
| 204 |
+
sentinel_path, timeout_text, grace_text, proxy, *command = sys.argv[1:]
|
| 205 |
+
if not command:
|
| 206 |
+
raise SystemExit(125)
|
| 207 |
+
environment = os.environ.copy()
|
| 208 |
+
environment["GOPROXY"] = proxy
|
| 209 |
+
process = subprocess.Popen(command, env=environment, start_new_session=True)
|
| 210 |
+
try:
|
| 211 |
+
returncode = process.wait(timeout=float(timeout_text))
|
| 212 |
+
except subprocess.TimeoutExpired:
|
| 213 |
+
with open(sentinel_path, "w", encoding="utf-8") as sentinel:
|
| 214 |
+
sentinel.write("expired\n")
|
| 215 |
+
try:
|
| 216 |
+
os.killpg(process.pid, signal.SIGTERM)
|
| 217 |
+
except ProcessLookupError:
|
| 218 |
+
pass
|
| 219 |
+
deadline = time.monotonic() + float(grace_text)
|
| 220 |
+
group_alive = True
|
| 221 |
+
while time.monotonic() < deadline:
|
| 222 |
+
process.poll()
|
| 223 |
+
try:
|
| 224 |
+
os.killpg(process.pid, 0)
|
| 225 |
+
except ProcessLookupError:
|
| 226 |
+
group_alive = False
|
| 227 |
+
break
|
| 228 |
+
time.sleep(0.05)
|
| 229 |
+
if group_alive:
|
| 230 |
+
try:
|
| 231 |
+
os.killpg(process.pid, signal.SIGKILL)
|
| 232 |
+
except ProcessLookupError:
|
| 233 |
+
pass
|
| 234 |
+
process.wait()
|
| 235 |
+
raise SystemExit(124)
|
| 236 |
+
if returncode < 0:
|
| 237 |
+
returncode = 128 - returncode
|
| 238 |
+
raise SystemExit(returncode)
|
| 239 |
+
PROGRAMGYM_GO_TIMEOUT_SUPERVISOR_EOF
|
| 240 |
+
PROGRAMGYM_INTERNAL_GO_NEXUS_TIMEOUT_SECONDS="${PROGRAMGYM_GO_NEXUS_ATTEMPT_TIMEOUT_SECONDS:-90}"
|
| 241 |
+
if ! [[ "$PROGRAMGYM_INTERNAL_GO_NEXUS_TIMEOUT_SECONDS" =~ ^[1-9][0-9]*$ ]]; then
|
| 242 |
+
printf '%s\n' "download.sh: invalid PROGRAMGYM_GO_NEXUS_ATTEMPT_TIMEOUT_SECONDS=${PROGRAMGYM_INTERNAL_GO_NEXUS_TIMEOUT_SECONDS}" >&2
|
| 243 |
+
rm -f /workspace/.programgym_build_env/go-prefetch/.programgym_go_timeout_supervisor.py
|
| 244 |
+
if [ "${BASH_SOURCE[0]}" != "$0" ]; then
|
| 245 |
+
return 1
|
| 246 |
+
else
|
| 247 |
+
exit 1
|
| 248 |
+
fi
|
| 249 |
+
fi
|
| 250 |
+
if ! command -v python3 >/dev/null 2>&1; then
|
| 251 |
+
printf '%s\n' 'download.sh: python3 is required for bounded Nexus Go downloads' >&2
|
| 252 |
+
rm -f /workspace/.programgym_build_env/go-prefetch/.programgym_go_timeout_supervisor.py
|
| 253 |
+
if [ "${BASH_SOURCE[0]}" != "$0" ]; then
|
| 254 |
+
return 1
|
| 255 |
+
else
|
| 256 |
+
exit 1
|
| 257 |
+
fi
|
| 258 |
+
fi
|
| 259 |
+
_programgym_go_with_nexus_timeout() {
|
| 260 |
+
local programgym_go_rc
|
| 261 |
+
local programgym_go_timeout_sentinel
|
| 262 |
+
if ! programgym_go_timeout_sentinel="$(mktemp "${TMPDIR:-/tmp}/programgym-go-timeout.XXXXXX")"; then
|
| 263 |
+
return 1
|
| 264 |
+
fi
|
| 265 |
+
if python3 /workspace/.programgym_build_env/go-prefetch/.programgym_go_timeout_supervisor.py "$programgym_go_timeout_sentinel" "$PROGRAMGYM_INTERNAL_GO_NEXUS_TIMEOUT_SECONDS" "5" "$PROGRAMGYM_INTERNAL_GO_PRIMARY_PROXY" "$@"; then
|
| 266 |
+
programgym_go_rc=0
|
| 267 |
+
else
|
| 268 |
+
programgym_go_rc=$?
|
| 269 |
+
fi
|
| 270 |
+
programgym_go_timed_out=0
|
| 271 |
+
if [ -s "$programgym_go_timeout_sentinel" ]; then
|
| 272 |
+
programgym_go_timed_out=1
|
| 273 |
+
fi
|
| 274 |
+
rm -f "$programgym_go_timeout_sentinel"
|
| 275 |
+
if [ "$programgym_go_rc" -eq 0 ]; then
|
| 276 |
+
return 0
|
| 277 |
+
fi
|
| 278 |
+
if [ -z "$PROGRAMGYM_INTERNAL_GO_FALLBACK_PROXY" ]; then
|
| 279 |
+
printf '%s\n' "download.sh: primary Go request failed with rc=${programgym_go_rc}; GOPROXY has no explicit non-empty fallback remainder" >&2
|
| 280 |
+
return "$programgym_go_rc"
|
| 281 |
+
fi
|
| 282 |
+
if [ "$programgym_go_timed_out" -eq 1 ]; then
|
| 283 |
+
printf '%s\n' "download.sh: primary Go request exceeded ${PROGRAMGYM_INTERNAL_GO_NEXUS_TIMEOUT_SECONDS}s; retrying with GOPROXY=${PROGRAMGYM_INTERNAL_GO_FALLBACK_PROXY}" >&2
|
| 284 |
+
else
|
| 285 |
+
printf '%s\n' "download.sh: primary Go request failed with rc=${programgym_go_rc}; retrying with GOPROXY=${PROGRAMGYM_INTERNAL_GO_FALLBACK_PROXY}" >&2
|
| 286 |
+
fi
|
| 287 |
+
env GOPROXY="$PROGRAMGYM_INTERNAL_GO_FALLBACK_PROXY" "$@"
|
| 288 |
+
}
|
| 289 |
+
PROGRAMGYM_GO_BASE_GOROOT="$(GOTOOLCHAIN=local go env GOROOT)"
|
| 290 |
+
if ! PROGRAMGYM_GO_RESOLVED_GOROOT="$(cd /workspace/.programgym_build_env/go-prefetch && _programgym_go_with_nexus_timeout env GOTOOLCHAIN=auto go env GOROOT)"; then
|
| 291 |
+
printf '%s\n' 'download.sh: Go toolchain resolution failed' >&2
|
| 292 |
+
rm -f /workspace/.programgym_build_env/go-prefetch/.programgym_go_timeout_supervisor.py
|
| 293 |
+
if [ "${BASH_SOURCE[0]}" != "$0" ]; then
|
| 294 |
+
return 1
|
| 295 |
+
else
|
| 296 |
+
exit 1
|
| 297 |
+
fi
|
| 298 |
+
fi
|
| 299 |
+
if [ "$PROGRAMGYM_GO_RESOLVED_GOROOT" != "$PROGRAMGYM_GO_BASE_GOROOT" ]; then
|
| 300 |
+
PROGRAMGYM_GO_TOOLCHAIN_ROOT=/opt/programgym-go-toolchain
|
| 301 |
+
mkdir -p "$PROGRAMGYM_GO_TOOLCHAIN_ROOT"
|
| 302 |
+
cp -a "$PROGRAMGYM_GO_RESOLVED_GOROOT/." "$PROGRAMGYM_GO_TOOLCHAIN_ROOT/"
|
| 303 |
+
export GOROOT="$PROGRAMGYM_GO_TOOLCHAIN_ROOT"
|
| 304 |
+
else
|
| 305 |
+
export GOROOT="$PROGRAMGYM_GO_BASE_GOROOT"
|
| 306 |
+
fi
|
| 307 |
+
export PATH="$GOROOT/bin:$PATH"
|
| 308 |
+
export GOTOOLCHAIN=local
|
| 309 |
+
if ! (cd /workspace/.programgym_build_env/go-prefetch && _programgym_go_with_nexus_timeout go mod download -modfile=/workspace/.programgym_build_env/go-prefetch/go.mod all); then
|
| 310 |
+
printf '%s\n' 'download.sh: Go dependency prefetch failed' >&2
|
| 311 |
+
rm -f /workspace/.programgym_build_env/go-prefetch/.programgym_go_timeout_supervisor.py
|
| 312 |
+
if [ "${BASH_SOURCE[0]}" != "$0" ]; then
|
| 313 |
+
return 1
|
| 314 |
+
else
|
| 315 |
+
exit 1
|
| 316 |
+
fi
|
| 317 |
+
fi
|
| 318 |
+
rm -f /workspace/.programgym_build_env/go-prefetch/.programgym_go_timeout_supervisor.py
|
| 319 |
+
unset -f _programgym_go_with_nexus_timeout
|
| 320 |
+
unset PROGRAMGYM_INTERNAL_GO_PRIMARY_PROXY
|
| 321 |
+
unset PROGRAMGYM_INTERNAL_GO_FALLBACK_PROXY
|
| 322 |
+
unset PROGRAMGYM_INTERNAL_GO_FIRST_PROXY
|
| 323 |
+
unset PROGRAMGYM_INTERNAL_GO_PROXY_REMAINDER
|
| 324 |
+
unset PROGRAMGYM_INTERNAL_GO_NEXUS_TIMEOUT_SECONDS
|
rkoval--alfred-aws-console-services-workflow.4f0e46d/tests/executable
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:b8a5d03e4c6dd41d585a523bcfe89df73eaec2fbb5a7f4c1de891881841b10aa
|
| 3 |
+
size 19189428
|
rkoval--alfred-aws-console-services-workflow.4f0e46d/tests/harbor_configure_apt_mirror.sh
ADDED
|
@@ -0,0 +1,37 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
#!/usr/bin/env bash
|
| 2 |
+
set -euo pipefail
|
| 3 |
+
|
| 4 |
+
repository_base="${1%/}"
|
| 5 |
+
if [[ -z "$repository_base" ]]; then
|
| 6 |
+
exit 0
|
| 7 |
+
fi
|
| 8 |
+
|
| 9 |
+
. /etc/os-release
|
| 10 |
+
codename="${VERSION_CODENAME:-}"
|
| 11 |
+
if [[ -z "$codename" ]]; then
|
| 12 |
+
echo "VERSION_CODENAME is not set" >&2
|
| 13 |
+
exit 1
|
| 14 |
+
fi
|
| 15 |
+
|
| 16 |
+
if [[ "$ID" == "ubuntu" ]]; then
|
| 17 |
+
repository_name="apt-proxy"
|
| 18 |
+
components="main universe restricted multiverse"
|
| 19 |
+
else
|
| 20 |
+
repository_name="debian-proxy"
|
| 21 |
+
components="main contrib non-free non-free-firmware"
|
| 22 |
+
fi
|
| 23 |
+
|
| 24 |
+
install -d /etc/apt/sources.list.d
|
| 25 |
+
rm -f /etc/apt/sources.list /etc/apt/sources.list.d/*
|
| 26 |
+
printf 'deb [trusted=yes] %s/%s %s %s\n' \
|
| 27 |
+
"$repository_base" "$repository_name" "$codename" "$components" \
|
| 28 |
+
>/etc/apt/sources.list
|
| 29 |
+
printf 'deb [trusted=yes] %s/%s %s-updates %s\n' \
|
| 30 |
+
"$repository_base" "$repository_name" "$codename" "$components" \
|
| 31 |
+
>>/etc/apt/sources.list
|
| 32 |
+
|
| 33 |
+
if [[ "$ID" != "ubuntu" ]]; then
|
| 34 |
+
printf 'deb [trusted=yes] %s/%s %s-security %s\n' \
|
| 35 |
+
"$repository_base" "debian-proxy-security" "$codename" "$components" \
|
| 36 |
+
>>/etc/apt/sources.list
|
| 37 |
+
fi
|
rkoval--alfred-aws-console-services-workflow.4f0e46d/tests/harbor_configure_java_mirrors.sh
ADDED
|
@@ -0,0 +1,50 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
#!/usr/bin/env bash
|
| 2 |
+
set -euo pipefail
|
| 3 |
+
|
| 4 |
+
maven_url="${1%/}"
|
| 5 |
+
plugin_url="${2%/}"
|
| 6 |
+
jitpack_url="${3%/}"
|
| 7 |
+
|
| 8 |
+
install -d /workspace/.m2 /workspace/.gradle/init.d /opt/programgym/gradle-init
|
| 9 |
+
if [[ -n "$maven_url" ]]; then
|
| 10 |
+
cat >/workspace/.m2/settings.xml <<EOF
|
| 11 |
+
<?xml version="1.0" encoding="UTF-8"?>
|
| 12 |
+
<settings xmlns="http://maven.apache.org/SETTINGS/1.0.0">
|
| 13 |
+
<mirrors>
|
| 14 |
+
<mirror>
|
| 15 |
+
<id>programgym-maven</id>
|
| 16 |
+
<name>ProgramGym Maven mirror</name>
|
| 17 |
+
<url>${maven_url}</url>
|
| 18 |
+
<mirrorOf>*</mirrorOf>
|
| 19 |
+
</mirror>
|
| 20 |
+
</mirrors>
|
| 21 |
+
</settings>
|
| 22 |
+
EOF
|
| 23 |
+
fi
|
| 24 |
+
|
| 25 |
+
cat >/opt/programgym/gradle-init/programgym-mirrors.gradle <<'EOF'
|
| 26 |
+
def pbMaven = System.getenv('PROGRAMGYM_MAVEN_MIRROR_URL')
|
| 27 |
+
def pbPlugins = System.getenv('PROGRAMGYM_GRADLE_PLUGIN_REPOSITORY_URL')
|
| 28 |
+
def pbJitpack = System.getenv('PROGRAMGYM_JITPACK_REPOSITORY_URL')
|
| 29 |
+
|
| 30 |
+
settingsEvaluated { settings ->
|
| 31 |
+
settings.pluginManagement.repositories {
|
| 32 |
+
if (pbPlugins) { maven { url = uri(pbPlugins) } }
|
| 33 |
+
if (pbMaven) { maven { url = uri(pbMaven) } }
|
| 34 |
+
}
|
| 35 |
+
}
|
| 36 |
+
|
| 37 |
+
allprojects {
|
| 38 |
+
buildscript.repositories {
|
| 39 |
+
if (pbPlugins) { maven { url = uri(pbPlugins) } }
|
| 40 |
+
if (pbMaven) { maven { url = uri(pbMaven) } }
|
| 41 |
+
if (pbJitpack) { maven { url = uri(pbJitpack) } }
|
| 42 |
+
}
|
| 43 |
+
repositories {
|
| 44 |
+
if (pbMaven) { maven { url = uri(pbMaven) } }
|
| 45 |
+
if (pbJitpack) { maven { url = uri(pbJitpack) } }
|
| 46 |
+
}
|
| 47 |
+
}
|
| 48 |
+
EOF
|
| 49 |
+
cp /opt/programgym/gradle-init/programgym-mirrors.gradle \
|
| 50 |
+
/workspace/.gradle/init.d/programgym-mirrors.gradle
|
rkoval--alfred-aws-console-services-workflow.4f0e46d/tests/harbor_prepare_download_env.sh
ADDED
|
@@ -0,0 +1,44 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
#!/usr/bin/env bash
|
| 2 |
+
set -euo pipefail
|
| 3 |
+
cd /workspace
|
| 4 |
+
set -a
|
| 5 |
+
if [[ -n "${PROGRAMGYM_MAVEN_MIRROR_URL:-}" ]]; then
|
| 6 |
+
sed -i -e "s|https://repo.maven.apache.org/maven2|${PROGRAMGYM_MAVEN_MIRROR_URL%/}|g" -e "s|https://repo1.maven.org/maven2|${PROGRAMGYM_MAVEN_MIRROR_URL%/}|g" /workspace/download.sh
|
| 7 |
+
fi
|
| 8 |
+
if [[ -n "${PROGRAMGYM_GRADLE_DISTRIBUTION_BASE_URL:-}" ]]; then
|
| 9 |
+
sed -i -e "s|https://services.gradle.org/distributions|${PROGRAMGYM_GRADLE_DISTRIBUTION_BASE_URL%/}|g" -e "s|https://downloads.gradle.org/distributions|${PROGRAMGYM_GRADLE_DISTRIBUTION_BASE_URL%/}|g" /workspace/download.sh
|
| 10 |
+
fi
|
| 11 |
+
if [[ -n "${PROGRAMGYM_JITPACK_REPOSITORY_URL:-}" ]]; then
|
| 12 |
+
sed -i -e "s|https://jitpack.io|${PROGRAMGYM_JITPACK_REPOSITORY_URL%/}|g" /workspace/download.sh
|
| 13 |
+
fi
|
| 14 |
+
source /workspace/download.sh
|
| 15 |
+
set +a
|
| 16 |
+
python3 - <<'PY' > /etc/profile.d/programgym_download_env.sh
|
| 17 |
+
import os
|
| 18 |
+
import shlex
|
| 19 |
+
|
| 20 |
+
ignored = {
|
| 21 |
+
"ALL_PROXY",
|
| 22 |
+
"HTTP_PROXY",
|
| 23 |
+
"HTTPS_PROXY",
|
| 24 |
+
"NO_PROXY",
|
| 25 |
+
"OLDPWD",
|
| 26 |
+
"PIP_PROXY",
|
| 27 |
+
"PWD",
|
| 28 |
+
"SHLVL",
|
| 29 |
+
"_",
|
| 30 |
+
"all_proxy",
|
| 31 |
+
"http_proxy",
|
| 32 |
+
"https_proxy",
|
| 33 |
+
"no_proxy",
|
| 34 |
+
"pip_proxy",
|
| 35 |
+
}
|
| 36 |
+
for key in sorted(os.environ):
|
| 37 |
+
if key in ignored or key.startswith("BASH_FUNC_"):
|
| 38 |
+
continue
|
| 39 |
+
value = os.environ[key]
|
| 40 |
+
if "\n" in value:
|
| 41 |
+
continue
|
| 42 |
+
print(f"export {key}={shlex.quote(value)}")
|
| 43 |
+
PY
|
| 44 |
+
chmod 0644 /etc/profile.d/programgym_download_env.sh
|
rkoval--alfred-aws-console-services-workflow.4f0e46d/tests/programgym-go.tar.gz
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:39042a078ea9ceebe3ecda4a7188f0f5b96e14a071d27923ba7f40b456e85ae3
|
| 3 |
+
size 59908810
|
rkoval--alfred-aws-console-services-workflow.4f0e46d/tests/programgym_evaluator.py
ADDED
|
@@ -0,0 +1,1201 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
#!/usr/bin/env python3
|
| 2 |
+
"""In-place ProgramGym evaluator.
|
| 3 |
+
|
| 4 |
+
Mirrors ProgramGym's ``Evaluator`` pipeline as closely as a single-container,
|
| 5 |
+
no-Docker-in-Docker host allows. Run from ``tests/test.sh`` inside the agent's
|
| 6 |
+
cleanroom container after Harbor flips the verifier-phase network policy.
|
| 7 |
+
|
| 8 |
+
Differences from ``programgym.eval.eval.Evaluator`` that are structural to
|
| 9 |
+
running in one container:
|
| 10 |
+
|
| 11 |
+
* No fresh container per branch. ``snapshot_workspace`` / ``restore_workspace``
|
| 12 |
+
copy a post-compile workspace snapshot to a temp directory and restore it
|
| 13 |
+
before each branch; ``cleanup_lingering_processes`` kills leftover branch
|
| 14 |
+
processes between attempts to approximate the fresh-container boundary.
|
| 15 |
+
* No ``docker commit``. The post-compile workspace snapshot serves the same
|
| 16 |
+
role as the committed image upstream.
|
| 17 |
+
* Hidden test blobs are fetched on demand from HuggingFace via
|
| 18 |
+
``huggingface_hub.snapshot_download`` (matching ``programgym.utils.blob_store``)
|
| 19 |
+
rather than being pre-staged into ``/tests/blobs/``. Override with
|
| 20 |
+
``PROGRAMGYM_BLOB_DIR`` for offline reruns.
|
| 21 |
+
|
| 22 |
+
Everything else (eval_clean_hashes scrub, deterministic synthetic git seed,
|
| 23 |
+
``compile.sh`` then stash + hash the executable, best-effort
|
| 24 |
+
``pytest-rerunfailures``, per-branch test-tar overlay, executable hash
|
| 25 |
+
``--max-worker-restart=4``, xdist worker-crash retry with serial fallback,
|
| 26 |
+
best-of-N attempt selection, active vs ignored test bookkeeping, scoring) is
|
| 27 |
+
preserved.
|
| 28 |
+
"""
|
| 29 |
+
|
| 30 |
+
from __future__ import annotations
|
| 31 |
+
|
| 32 |
+
import hashlib
|
| 33 |
+
import json
|
| 34 |
+
import os
|
| 35 |
+
import re
|
| 36 |
+
import shlex
|
| 37 |
+
import shutil
|
| 38 |
+
import signal
|
| 39 |
+
import subprocess
|
| 40 |
+
import tempfile
|
| 41 |
+
import time
|
| 42 |
+
import traceback
|
| 43 |
+
import xml.etree.ElementTree as ET
|
| 44 |
+
from pathlib import Path
|
| 45 |
+
from typing import Any
|
| 46 |
+
|
| 47 |
+
WORKSPACE = Path(os.environ.get("PROGRAMGYM_WORKSPACE", "/workspace"))
|
| 48 |
+
STASHED_EXECUTABLE = Path("/opt/programgym-stashed-executable-do-not-modify")
|
| 49 |
+
METADATA_PATH = Path(
|
| 50 |
+
os.environ.get("PROGRAMGYM_METADATA", "/tests/programgym_task.json")
|
| 51 |
+
)
|
| 52 |
+
LOG_DIR = Path(os.environ.get("PROGRAMGYM_LOG_DIR", "/logs/verifier"))
|
| 53 |
+
WORKER_CRASH_PHRASE = "worker '"
|
| 54 |
+
XDIST_COLLAPSE_MARKERS = (
|
| 55 |
+
"maximum crashed workers reached",
|
| 56 |
+
"xdist: maximum crashed",
|
| 57 |
+
)
|
| 58 |
+
|
| 59 |
+
DEFAULT_HF_REPO_ID = "programgym/ProgramGym-Tests"
|
| 60 |
+
DEFAULT_HF_REVISION = "main"
|
| 61 |
+
|
| 62 |
+
# Oracle agent handoff files (see solution/solve.sh). Must not appear in the
|
| 63 |
+
# post-compile workspace snapshot or they pollute tree-scanning tests (dutree).
|
| 64 |
+
_ORACLE_HANDOFF_NAMES = (".programgym_oracle_reference",)
|
| 65 |
+
|
| 66 |
+
_TOOLCHAIN_BIN_DIR_CANDIDATES = (
|
| 67 |
+
"/usr/local/go/bin",
|
| 68 |
+
"/go/bin",
|
| 69 |
+
"/usr/local/cargo/bin",
|
| 70 |
+
"/root/.cargo/bin",
|
| 71 |
+
"/root/.ghcup/bin",
|
| 72 |
+
)
|
| 73 |
+
|
| 74 |
+
|
| 75 |
+
def toolchain_bin_dirs() -> list[str]:
|
| 76 |
+
"""Return toolchain bin directories that exist on this image."""
|
| 77 |
+
candidates = list(_TOOLCHAIN_BIN_DIR_CANDIDATES)
|
| 78 |
+
candidates.extend(
|
| 79 |
+
str(path)
|
| 80 |
+
for path in sorted(Path("/usr/lib").glob("go-*/bin"))
|
| 81 |
+
if _is_accessible_dir(path)
|
| 82 |
+
)
|
| 83 |
+
seen: set[str] = set()
|
| 84 |
+
present: list[str] = []
|
| 85 |
+
for path in candidates:
|
| 86 |
+
if path in seen:
|
| 87 |
+
continue
|
| 88 |
+
seen.add(path)
|
| 89 |
+
if _is_accessible_dir(path):
|
| 90 |
+
present.append(path)
|
| 91 |
+
return present
|
| 92 |
+
|
| 93 |
+
|
| 94 |
+
def _is_accessible_dir(path: str | Path) -> bool:
|
| 95 |
+
"""Return whether path is a directory without failing on protected homes."""
|
| 96 |
+
try:
|
| 97 |
+
return Path(path).is_dir()
|
| 98 |
+
except OSError:
|
| 99 |
+
return False
|
| 100 |
+
|
| 101 |
+
|
| 102 |
+
def bootstrap_toolchain_path() -> str:
|
| 103 |
+
"""Prepend discovered toolchain dirs to PATH (idempotent)."""
|
| 104 |
+
prepend = toolchain_bin_dirs()
|
| 105 |
+
current_parts = [part for part in os.environ.get("PATH", "").split(":") if part]
|
| 106 |
+
merged: list[str] = []
|
| 107 |
+
for path in prepend + current_parts:
|
| 108 |
+
if path not in merged:
|
| 109 |
+
merged.append(path)
|
| 110 |
+
new_path = ":".join(merged)
|
| 111 |
+
os.environ["PATH"] = new_path
|
| 112 |
+
return new_path
|
| 113 |
+
|
| 114 |
+
|
| 115 |
+
def _bash_login_command(command: str) -> str:
|
| 116 |
+
"""Run ``command`` under bash -lc with an explicit PATH export."""
|
| 117 |
+
path = bootstrap_toolchain_path()
|
| 118 |
+
return f"export PATH={shlex.quote(path)}; {command}"
|
| 119 |
+
|
| 120 |
+
|
| 121 |
+
def sha256(path: Path) -> str:
|
| 122 |
+
h = hashlib.sha256()
|
| 123 |
+
with path.open("rb") as f:
|
| 124 |
+
for chunk in iter(lambda: f.read(1024 * 1024), b""):
|
| 125 |
+
h.update(chunk)
|
| 126 |
+
return h.hexdigest()
|
| 127 |
+
|
| 128 |
+
|
| 129 |
+
def write_json(path: Path, data: dict[str, Any]) -> None:
|
| 130 |
+
tmp = path.with_suffix(path.suffix + ".tmp")
|
| 131 |
+
tmp.write_text(json.dumps(data, indent=2, sort_keys=True))
|
| 132 |
+
tmp.replace(path)
|
| 133 |
+
|
| 134 |
+
|
| 135 |
+
def _read_log_tail(path: Path | None, max_bytes: int = 65536) -> str:
|
| 136 |
+
if path is None or not path.exists():
|
| 137 |
+
return ""
|
| 138 |
+
data = path.read_bytes()
|
| 139 |
+
if len(data) <= max_bytes:
|
| 140 |
+
return data.decode(errors="replace")
|
| 141 |
+
return data[-max_bytes:].decode(errors="replace")
|
| 142 |
+
|
| 143 |
+
|
| 144 |
+
def _close_pipes(proc: subprocess.Popen[Any]) -> None:
|
| 145 |
+
for stream in (proc.stdout, proc.stderr):
|
| 146 |
+
if stream is not None:
|
| 147 |
+
try:
|
| 148 |
+
stream.close()
|
| 149 |
+
except OSError:
|
| 150 |
+
pass
|
| 151 |
+
|
| 152 |
+
|
| 153 |
+
def _terminate_process_tree(proc: subprocess.Popen[Any]) -> None:
|
| 154 |
+
try:
|
| 155 |
+
os.killpg(proc.pid, signal.SIGKILL)
|
| 156 |
+
except ProcessLookupError:
|
| 157 |
+
pass
|
| 158 |
+
try:
|
| 159 |
+
proc.kill()
|
| 160 |
+
except ProcessLookupError:
|
| 161 |
+
pass
|
| 162 |
+
|
| 163 |
+
|
| 164 |
+
_PKILL_PATTERNS = (
|
| 165 |
+
f"{WORKSPACE}/eval/",
|
| 166 |
+
f"{WORKSPACE}/tests/",
|
| 167 |
+
"tail -f",
|
| 168 |
+
"development.log",
|
| 169 |
+
" less ",
|
| 170 |
+
" less$",
|
| 171 |
+
"/less ",
|
| 172 |
+
)
|
| 173 |
+
|
| 174 |
+
|
| 175 |
+
def _pkill_aggressive() -> str:
|
| 176 |
+
"""Best-effort kill of branch pytest/subprocess trees (Modal gVisor fallback)."""
|
| 177 |
+
notes: list[str] = []
|
| 178 |
+
workspace = str(WORKSPACE)
|
| 179 |
+
patterns = list(_PKILL_PATTERNS) + [
|
| 180 |
+
f"pytest.*{workspace}",
|
| 181 |
+
f"xdist.*{workspace}",
|
| 182 |
+
]
|
| 183 |
+
for pattern in patterns:
|
| 184 |
+
result = subprocess.run(
|
| 185 |
+
["pkill", "-9", "-f", pattern],
|
| 186 |
+
capture_output=True,
|
| 187 |
+
text=True,
|
| 188 |
+
)
|
| 189 |
+
notes.append(f"pkill -9 -f {pattern!r}: rc={result.returncode}")
|
| 190 |
+
return "\n".join(notes)
|
| 191 |
+
|
| 192 |
+
|
| 193 |
+
def run_step(
|
| 194 |
+
command: str,
|
| 195 |
+
cwd: Path,
|
| 196 |
+
*,
|
| 197 |
+
timeout: int,
|
| 198 |
+
env: dict[str, str] | None = None,
|
| 199 |
+
step: str,
|
| 200 |
+
accept_failure: bool = False,
|
| 201 |
+
log_output: bool | None = None,
|
| 202 |
+
max_output_bytes: int = 65536,
|
| 203 |
+
) -> dict[str, Any]:
|
| 204 |
+
if log_output is None:
|
| 205 |
+
log_output = step == "run_tests" or timeout >= 60
|
| 206 |
+
|
| 207 |
+
started = time.monotonic()
|
| 208 |
+
stdout_path: Path | None = None
|
| 209 |
+
stderr_path: Path | None = None
|
| 210 |
+
stdout_f = None
|
| 211 |
+
stderr_f = None
|
| 212 |
+
|
| 213 |
+
if log_output:
|
| 214 |
+
LOG_DIR.mkdir(parents=True, exist_ok=True)
|
| 215 |
+
log_id = f"{step}-{int(started * 1000)}"
|
| 216 |
+
stdout_path = LOG_DIR / f"run-step-{log_id}.stdout.log"
|
| 217 |
+
stderr_path = LOG_DIR / f"run-step-{log_id}.stderr.log"
|
| 218 |
+
stdout_f = stdout_path.open("w", encoding="utf-8")
|
| 219 |
+
stderr_f = stderr_path.open("w", encoding="utf-8")
|
| 220 |
+
popen_stdout: Any = stdout_f
|
| 221 |
+
popen_stderr: Any = stderr_f
|
| 222 |
+
else:
|
| 223 |
+
popen_stdout = subprocess.PIPE
|
| 224 |
+
popen_stderr = subprocess.PIPE
|
| 225 |
+
|
| 226 |
+
proc = subprocess.Popen(
|
| 227 |
+
["bash", "-lc", _bash_login_command(command)],
|
| 228 |
+
cwd=cwd,
|
| 229 |
+
env={**os.environ, **(env or {})},
|
| 230 |
+
stdout=popen_stdout,
|
| 231 |
+
stderr=popen_stderr,
|
| 232 |
+
start_new_session=True,
|
| 233 |
+
text=True,
|
| 234 |
+
)
|
| 235 |
+
timed_out = False
|
| 236 |
+
stdout = ""
|
| 237 |
+
stderr = ""
|
| 238 |
+
try:
|
| 239 |
+
if log_output:
|
| 240 |
+
proc.wait(timeout=timeout)
|
| 241 |
+
else:
|
| 242 |
+
stdout, stderr = proc.communicate(timeout=timeout)
|
| 243 |
+
except subprocess.TimeoutExpired:
|
| 244 |
+
timed_out = True
|
| 245 |
+
_terminate_process_tree(proc)
|
| 246 |
+
cleanup_lingering_processes(aggressive=True)
|
| 247 |
+
try:
|
| 248 |
+
proc.wait(timeout=5)
|
| 249 |
+
except subprocess.TimeoutExpired:
|
| 250 |
+
proc.kill()
|
| 251 |
+
if not log_output:
|
| 252 |
+
_close_pipes(proc)
|
| 253 |
+
finally:
|
| 254 |
+
if stdout_f is not None:
|
| 255 |
+
stdout_f.close()
|
| 256 |
+
if stderr_f is not None:
|
| 257 |
+
stderr_f.close()
|
| 258 |
+
|
| 259 |
+
if timed_out:
|
| 260 |
+
if log_output:
|
| 261 |
+
output = _read_log_tail(stdout_path, max_output_bytes) + _read_log_tail(
|
| 262 |
+
stderr_path, max_output_bytes
|
| 263 |
+
)
|
| 264 |
+
else:
|
| 265 |
+
output = ""
|
| 266 |
+
entry = {
|
| 267 |
+
"step": step,
|
| 268 |
+
"command": command,
|
| 269 |
+
"wall_time": time.monotonic() - started,
|
| 270 |
+
"output": output,
|
| 271 |
+
"returncode": 124,
|
| 272 |
+
"exception_info": f"timed out after {timeout}s",
|
| 273 |
+
}
|
| 274 |
+
else:
|
| 275 |
+
if log_output:
|
| 276 |
+
output = _read_log_tail(stdout_path, max_output_bytes) + _read_log_tail(
|
| 277 |
+
stderr_path, max_output_bytes
|
| 278 |
+
)
|
| 279 |
+
else:
|
| 280 |
+
output = stdout + stderr
|
| 281 |
+
entry = {
|
| 282 |
+
"step": step,
|
| 283 |
+
"command": command,
|
| 284 |
+
"wall_time": time.monotonic() - started,
|
| 285 |
+
"output": output,
|
| 286 |
+
"returncode": proc.returncode,
|
| 287 |
+
"exception_info": "",
|
| 288 |
+
}
|
| 289 |
+
if entry["returncode"] and not accept_failure:
|
| 290 |
+
raise RuntimeError(
|
| 291 |
+
f"{step} failed: {entry['exception_info'] or entry['output']}"
|
| 292 |
+
)
|
| 293 |
+
return entry
|
| 294 |
+
|
| 295 |
+
|
| 296 |
+
def cleanup_lingering_processes(*, aggressive: bool = False) -> dict[str, Any]:
|
| 297 |
+
started = time.monotonic()
|
| 298 |
+
patterns = [
|
| 299 |
+
str(WORKSPACE / "executable"),
|
| 300 |
+
f"{WORKSPACE}/eval/",
|
| 301 |
+
f"{WORKSPACE}/tests/",
|
| 302 |
+
# lazygit --logs/-l tests spawn `tail -f` outside /workspace/.
|
| 303 |
+
"tail -f",
|
| 304 |
+
"development.log",
|
| 305 |
+
]
|
| 306 |
+
killed: list[int] = []
|
| 307 |
+
proc_root = Path("/proc")
|
| 308 |
+
proc_available = proc_root.exists()
|
| 309 |
+
if proc_available:
|
| 310 |
+
for proc_dir in proc_root.iterdir():
|
| 311 |
+
if not proc_dir.name.isdigit():
|
| 312 |
+
continue
|
| 313 |
+
pid = int(proc_dir.name)
|
| 314 |
+
if pid in {os.getpid(), os.getppid()}:
|
| 315 |
+
continue
|
| 316 |
+
try:
|
| 317 |
+
raw = (proc_dir / "cmdline").read_bytes()
|
| 318 |
+
except (FileNotFoundError, PermissionError, ProcessLookupError):
|
| 319 |
+
continue
|
| 320 |
+
cmdline = raw.replace(b"\0", b" ").decode(errors="replace")
|
| 321 |
+
if not any(pattern in cmdline for pattern in patterns):
|
| 322 |
+
continue
|
| 323 |
+
try:
|
| 324 |
+
os.kill(pid, signal.SIGKILL)
|
| 325 |
+
except (PermissionError, ProcessLookupError):
|
| 326 |
+
continue
|
| 327 |
+
killed.append(pid)
|
| 328 |
+
pkill_output = ""
|
| 329 |
+
if aggressive or not proc_available:
|
| 330 |
+
pkill_output = _pkill_aggressive()
|
| 331 |
+
output_parts = []
|
| 332 |
+
if killed:
|
| 333 |
+
output_parts.append("\n".join(str(pid) for pid in killed))
|
| 334 |
+
if pkill_output:
|
| 335 |
+
output_parts.append(pkill_output)
|
| 336 |
+
return {
|
| 337 |
+
"step": "cleanup_lingering_processes",
|
| 338 |
+
"command": "kill leftover branch processes referencing the workspace",
|
| 339 |
+
"wall_time": time.monotonic() - started,
|
| 340 |
+
"output": "\n".join(output_parts),
|
| 341 |
+
"returncode": 0,
|
| 342 |
+
"exception_info": "",
|
| 343 |
+
}
|
| 344 |
+
|
| 345 |
+
|
| 346 |
+
def extract_trusted_blob(tar_path: Path, dest: Path) -> None:
|
| 347 |
+
import tarfile
|
| 348 |
+
|
| 349 |
+
with tarfile.open(tar_path, "r:gz") as tf:
|
| 350 |
+
try:
|
| 351 |
+
tf.extractall(dest, filter="fully_trusted")
|
| 352 |
+
except TypeError:
|
| 353 |
+
tf.extractall(dest)
|
| 354 |
+
|
| 355 |
+
|
| 356 |
+
def find_results_xml() -> Path | None:
|
| 357 |
+
"""Return the junit xml path if pytest wrote one."""
|
| 358 |
+
for candidate in (WORKSPACE / "eval" / "results.xml", WORKSPACE / "results.xml"):
|
| 359 |
+
if candidate.exists():
|
| 360 |
+
return candidate
|
| 361 |
+
return None
|
| 362 |
+
|
| 363 |
+
|
| 364 |
+
def remove_oracle_handoff_artifacts() -> list[str]:
|
| 365 |
+
"""Drop oracle-agent handoff files from /workspace before snapshot/restore."""
|
| 366 |
+
removed: list[str] = []
|
| 367 |
+
for name in _ORACLE_HANDOFF_NAMES:
|
| 368 |
+
path = WORKSPACE / name
|
| 369 |
+
if path.exists():
|
| 370 |
+
if path.is_dir():
|
| 371 |
+
shutil.rmtree(path)
|
| 372 |
+
else:
|
| 373 |
+
path.unlink()
|
| 374 |
+
removed.append(name)
|
| 375 |
+
return removed
|
| 376 |
+
|
| 377 |
+
|
| 378 |
+
def _remove_tree(path: Path) -> None:
|
| 379 |
+
"""Remove a file or directory tree, with a shell fallback for overlay races."""
|
| 380 |
+
if path.is_symlink() or path.is_file():
|
| 381 |
+
path.unlink(missing_ok=True)
|
| 382 |
+
return
|
| 383 |
+
if not path.is_dir():
|
| 384 |
+
path.unlink(missing_ok=True)
|
| 385 |
+
return
|
| 386 |
+
for attempt in range(3):
|
| 387 |
+
try:
|
| 388 |
+
shutil.rmtree(path)
|
| 389 |
+
if not path.exists():
|
| 390 |
+
return
|
| 391 |
+
except OSError:
|
| 392 |
+
if attempt == 2:
|
| 393 |
+
run_step(
|
| 394 |
+
f"rm -rf {shlex.quote(str(path))}",
|
| 395 |
+
path.parent,
|
| 396 |
+
timeout=120,
|
| 397 |
+
step="clear_workspace_fallback",
|
| 398 |
+
accept_failure=True,
|
| 399 |
+
)
|
| 400 |
+
if not path.exists():
|
| 401 |
+
return
|
| 402 |
+
raise
|
| 403 |
+
|
| 404 |
+
|
| 405 |
+
def ensure_workspace_dir() -> None:
|
| 406 |
+
"""Guarantee WORKSPACE exists as a writable directory (not a symlink/file)."""
|
| 407 |
+
if WORKSPACE.exists() and not WORKSPACE.is_dir():
|
| 408 |
+
if WORKSPACE.is_symlink() or WORKSPACE.is_file():
|
| 409 |
+
WORKSPACE.unlink()
|
| 410 |
+
else:
|
| 411 |
+
shutil.rmtree(WORKSPACE)
|
| 412 |
+
WORKSPACE.mkdir(parents=True, exist_ok=True)
|
| 413 |
+
|
| 414 |
+
|
| 415 |
+
def clear_workspace() -> None:
|
| 416 |
+
ensure_workspace_dir()
|
| 417 |
+
for path in list(WORKSPACE.iterdir()):
|
| 418 |
+
_remove_tree(path)
|
| 419 |
+
|
| 420 |
+
|
| 421 |
+
def restore_reference_executable() -> None:
|
| 422 |
+
"""Write the stashed reference binary into /workspace after a branch overlay.
|
| 423 |
+
|
| 424 |
+
Branch blobs may ship ``executable`` as a dangling symlink into
|
| 425 |
+
``target/release/...``; ``shutil.copy2`` would follow it and raise
|
| 426 |
+
``FileNotFoundError``. Drop whatever the blob left and copy the stashed
|
| 427 |
+
reference as a regular file.
|
| 428 |
+
"""
|
| 429 |
+
ensure_workspace_dir()
|
| 430 |
+
if not STASHED_EXECUTABLE.is_file():
|
| 431 |
+
raise FileNotFoundError(
|
| 432 |
+
f"missing stashed reference executable at {STASHED_EXECUTABLE}"
|
| 433 |
+
)
|
| 434 |
+
dest = WORKSPACE / "executable"
|
| 435 |
+
if dest.exists() or dest.is_symlink():
|
| 436 |
+
if dest.is_dir():
|
| 437 |
+
shutil.rmtree(dest)
|
| 438 |
+
else:
|
| 439 |
+
dest.unlink(missing_ok=True)
|
| 440 |
+
shutil.copy2(STASHED_EXECUTABLE, dest)
|
| 441 |
+
dest.chmod(0o755)
|
| 442 |
+
|
| 443 |
+
|
| 444 |
+
def snapshot_workspace(dest: Path) -> None:
|
| 445 |
+
if dest.exists():
|
| 446 |
+
shutil.rmtree(dest)
|
| 447 |
+
shutil.copytree(WORKSPACE, dest, symlinks=True)
|
| 448 |
+
|
| 449 |
+
|
| 450 |
+
def restore_workspace(source: Path) -> None:
|
| 451 |
+
clear_workspace()
|
| 452 |
+
shutil.copytree(source, WORKSPACE, dirs_exist_ok=True, symlinks=True)
|
| 453 |
+
ensure_workspace_dir()
|
| 454 |
+
|
| 455 |
+
|
| 456 |
+
def remove_hashed_files(root: Path, hashes: set[str]) -> list[str]:
|
| 457 |
+
removed: list[str] = []
|
| 458 |
+
for path in root.rglob("*"):
|
| 459 |
+
if path.is_file() and not path.is_symlink():
|
| 460 |
+
try:
|
| 461 |
+
if sha256(path) in hashes:
|
| 462 |
+
path.unlink()
|
| 463 |
+
removed.append(str(path.relative_to(root)))
|
| 464 |
+
except OSError:
|
| 465 |
+
continue
|
| 466 |
+
return removed
|
| 467 |
+
|
| 468 |
+
|
| 469 |
+
def branch_tests(branch_info: dict[str, Any]) -> list[str]:
|
| 470 |
+
ignored = {
|
| 471 |
+
item["name"] for item in branch_info.get("ignored_tests", []) if "name" in item
|
| 472 |
+
}
|
| 473 |
+
return [name for name in branch_info.get("tests", []) if name not in ignored]
|
| 474 |
+
|
| 475 |
+
|
| 476 |
+
def ignored_tests(metadata: dict[str, Any]) -> set[str]:
|
| 477 |
+
result: set[str] = set()
|
| 478 |
+
for branch, info in metadata.get("branches", {}).items():
|
| 479 |
+
result.update(
|
| 480 |
+
f"{branch}/{item['name']}"
|
| 481 |
+
for item in info.get("ignored_tests", [])
|
| 482 |
+
if "name" in item
|
| 483 |
+
)
|
| 484 |
+
return result
|
| 485 |
+
|
| 486 |
+
|
| 487 |
+
def active_tests(metadata: dict[str, Any]) -> set[str]:
|
| 488 |
+
active: set[str] = set()
|
| 489 |
+
for branch, info in metadata.get("branches", {}).items():
|
| 490 |
+
if info.get("ignored"):
|
| 491 |
+
continue
|
| 492 |
+
ignored = {
|
| 493 |
+
item["name"] for item in info.get("ignored_tests", []) if "name" in item
|
| 494 |
+
}
|
| 495 |
+
active.update(
|
| 496 |
+
f"{branch}/{name}" for name in info.get("tests", []) if name not in ignored
|
| 497 |
+
)
|
| 498 |
+
return active
|
| 499 |
+
|
| 500 |
+
|
| 501 |
+
def inject_not_run(
|
| 502 |
+
result: dict[str, Any], branch: str, tests: list[str], error_code: str
|
| 503 |
+
) -> None:
|
| 504 |
+
result["test_results"].extend(
|
| 505 |
+
{
|
| 506 |
+
"name": name,
|
| 507 |
+
"branch": branch,
|
| 508 |
+
"status": "not_run",
|
| 509 |
+
"extra": {"error_code": error_code},
|
| 510 |
+
}
|
| 511 |
+
for name in tests
|
| 512 |
+
)
|
| 513 |
+
|
| 514 |
+
|
| 515 |
+
def testcase_name(case: ET.Element) -> str:
|
| 516 |
+
classname = case.attrib.get("classname", "")
|
| 517 |
+
name = case.attrib.get("name", "")
|
| 518 |
+
return f"{classname}.{name}" if classname else name
|
| 519 |
+
|
| 520 |
+
|
| 521 |
+
# Only these tags under <testcase> represent a result. <system-out> /
|
| 522 |
+
# <system-err> are stdout/stderr captures and must not be treated as results
|
| 523 |
+
# (a leading <system-out> followed by <failure> would otherwise be classified
|
| 524 |
+
# as a stdout-only "passed").
|
| 525 |
+
JUNIT_RESULT_TAGS = {"skipped", "failure", "error"}
|
| 526 |
+
|
| 527 |
+
|
| 528 |
+
def parse_junit(
|
| 529 |
+
raw_xml: str, branch: str, expected: list[str], ignored: set[str]
|
| 530 |
+
) -> tuple[list[dict[str, Any]], list[str]]:
|
| 531 |
+
root = ET.fromstring(raw_xml)
|
| 532 |
+
got: set[str] = set()
|
| 533 |
+
results: list[dict[str, Any]] = []
|
| 534 |
+
for case in root.iter("testcase"):
|
| 535 |
+
name = testcase_name(case)
|
| 536 |
+
got.add(name)
|
| 537 |
+
extra: dict[str, Any] = {}
|
| 538 |
+
if "time" in case.attrib:
|
| 539 |
+
try:
|
| 540 |
+
extra["time"] = float(case.attrib["time"])
|
| 541 |
+
except ValueError:
|
| 542 |
+
extra["time"] = case.attrib["time"]
|
| 543 |
+
result_children = [c for c in case if c.tag in JUNIT_RESULT_TAGS]
|
| 544 |
+
# Collapse duplicate same-tag result children. Pytest's
|
| 545 |
+
# "pytest.internal" pseudo-test sometimes emits two identical <error>
|
| 546 |
+
# entries; treating that as a system_error would over-flag a real
|
| 547 |
+
# single failure. Mirrors upstream eval.py:816-820.
|
| 548 |
+
if len(result_children) > 1 and len({c.tag for c in result_children}) == 1:
|
| 549 |
+
result_children = [result_children[0]]
|
| 550 |
+
if not result_children:
|
| 551 |
+
status = "passed"
|
| 552 |
+
elif len(result_children) != 1:
|
| 553 |
+
status = "system_error"
|
| 554 |
+
extra["error_details"] = (
|
| 555 |
+
f"Expected 1 result for {name}, got {len(result_children)}: "
|
| 556 |
+
f"{[c.tag for c in result_children]}"
|
| 557 |
+
)
|
| 558 |
+
else:
|
| 559 |
+
first = result_children[0]
|
| 560 |
+
status = first.tag # "skipped" | "failure" | "error"
|
| 561 |
+
extra["message"] = first.attrib.get("message") or ""
|
| 562 |
+
if first.text:
|
| 563 |
+
extra["text"] = first.text
|
| 564 |
+
results.append(
|
| 565 |
+
{"name": name, "branch": branch, "status": status, "extra": extra}
|
| 566 |
+
)
|
| 567 |
+
|
| 568 |
+
active_expected = [name for name in expected if name not in ignored]
|
| 569 |
+
missing = [name for name in active_expected if name not in got]
|
| 570 |
+
results.extend(
|
| 571 |
+
{
|
| 572 |
+
"name": name,
|
| 573 |
+
"branch": branch,
|
| 574 |
+
"status": "not_run",
|
| 575 |
+
"extra": {"error_code": "missing_from_junit_xml"},
|
| 576 |
+
}
|
| 577 |
+
for name in missing
|
| 578 |
+
)
|
| 579 |
+
unexpected = got - set(expected) - ignored
|
| 580 |
+
warnings = (
|
| 581 |
+
[f"Branch {branch}: {len(unexpected)} test(s) in JUnit XML not in tests.json"]
|
| 582 |
+
if unexpected
|
| 583 |
+
else []
|
| 584 |
+
)
|
| 585 |
+
return results, warnings
|
| 586 |
+
|
| 587 |
+
|
| 588 |
+
def count_worker_crashes(raw_xml: str) -> int:
|
| 589 |
+
if WORKER_CRASH_PHRASE not in raw_xml:
|
| 590 |
+
return 0
|
| 591 |
+
try:
|
| 592 |
+
root = ET.fromstring(raw_xml)
|
| 593 |
+
except ET.ParseError:
|
| 594 |
+
return 0
|
| 595 |
+
crashes = 0
|
| 596 |
+
for case in root.iter("testcase"):
|
| 597 |
+
for child in case:
|
| 598 |
+
text = (child.get("message") or "") + " " + (child.text or "")
|
| 599 |
+
if (
|
| 600 |
+
child.tag in {"error", "failure"}
|
| 601 |
+
and WORKER_CRASH_PHRASE in text
|
| 602 |
+
and "crashed" in text
|
| 603 |
+
):
|
| 604 |
+
crashes += 1
|
| 605 |
+
break
|
| 606 |
+
return crashes
|
| 607 |
+
|
| 608 |
+
|
| 609 |
+
def run_output_indicates_xdist_collapse(output: str) -> bool:
|
| 610 |
+
lower = output.lower()
|
| 611 |
+
return any(marker in lower for marker in XDIST_COLLAPSE_MARKERS)
|
| 612 |
+
|
| 613 |
+
|
| 614 |
+
def count_junit_failures(raw_xml: str) -> int:
|
| 615 |
+
try:
|
| 616 |
+
root = ET.fromstring(raw_xml)
|
| 617 |
+
except ET.ParseError:
|
| 618 |
+
return 0
|
| 619 |
+
failures = 0
|
| 620 |
+
for case in root.iter("testcase"):
|
| 621 |
+
for child in case:
|
| 622 |
+
if child.tag in {"failure", "error"}:
|
| 623 |
+
failures += 1
|
| 624 |
+
break
|
| 625 |
+
return failures
|
| 626 |
+
|
| 627 |
+
|
| 628 |
+
def count_junit_passed(raw_xml: str) -> int:
|
| 629 |
+
try:
|
| 630 |
+
root = ET.fromstring(raw_xml)
|
| 631 |
+
except ET.ParseError:
|
| 632 |
+
return 0
|
| 633 |
+
passed = 0
|
| 634 |
+
for case in root.iter("testcase"):
|
| 635 |
+
if not any(child.tag in JUNIT_RESULT_TAGS for child in case):
|
| 636 |
+
passed += 1
|
| 637 |
+
return passed
|
| 638 |
+
|
| 639 |
+
|
| 640 |
+
def branch_attempt_metrics(
|
| 641 |
+
raw_xml: str, *, run_output: str, expected_tests: int
|
| 642 |
+
) -> tuple[int, int, int, int]:
|
| 643 |
+
"""Return (crashes, n_testcases, failures, missing_from_xml)."""
|
| 644 |
+
crashes = count_worker_crashes(raw_xml)
|
| 645 |
+
if run_output_indicates_xdist_collapse(run_output):
|
| 646 |
+
crashes = max(crashes, 1)
|
| 647 |
+
n_tests = count_testcases(raw_xml)
|
| 648 |
+
failures = count_junit_failures(raw_xml)
|
| 649 |
+
missing = max(0, expected_tests - n_tests)
|
| 650 |
+
return crashes, n_tests, failures, missing
|
| 651 |
+
|
| 652 |
+
|
| 653 |
+
def needs_serial_retry(
|
| 654 |
+
*,
|
| 655 |
+
serial: bool,
|
| 656 |
+
crashes: int,
|
| 657 |
+
missing: int,
|
| 658 |
+
failures: int,
|
| 659 |
+
n_tests: int,
|
| 660 |
+
expected_tests: int,
|
| 661 |
+
run_output: str,
|
| 662 |
+
) -> bool:
|
| 663 |
+
if serial:
|
| 664 |
+
return False
|
| 665 |
+
high_failure_rate = (
|
| 666 |
+
expected_tests > 0 and n_tests >= expected_tests and failures / n_tests >= 0.8
|
| 667 |
+
)
|
| 668 |
+
return (
|
| 669 |
+
crashes > 0
|
| 670 |
+
or missing > 0
|
| 671 |
+
or high_failure_rate
|
| 672 |
+
or run_output_indicates_xdist_collapse(run_output)
|
| 673 |
+
)
|
| 674 |
+
|
| 675 |
+
|
| 676 |
+
def count_testcases(raw_xml: str) -> int:
|
| 677 |
+
try:
|
| 678 |
+
return sum(1 for _ in ET.fromstring(raw_xml).iter("testcase"))
|
| 679 |
+
except ET.ParseError:
|
| 680 |
+
return 0
|
| 681 |
+
|
| 682 |
+
|
| 683 |
+
def scored_results(
|
| 684 |
+
result: dict[str, Any], metadata: dict[str, Any]
|
| 685 |
+
) -> list[dict[str, Any]]:
|
| 686 |
+
active = active_tests(metadata)
|
| 687 |
+
by_key = {
|
| 688 |
+
f"{test['branch']}/{test['name']}": test
|
| 689 |
+
for test in result["test_results"]
|
| 690 |
+
if f"{test['branch']}/{test['name']}" in active
|
| 691 |
+
}
|
| 692 |
+
return [
|
| 693 |
+
by_key.get(
|
| 694 |
+
key,
|
| 695 |
+
{
|
| 696 |
+
"branch": key.split("/", 1)[0],
|
| 697 |
+
"name": key.split("/", 1)[1],
|
| 698 |
+
"status": "not_run",
|
| 699 |
+
"extra": {"error_code": "missing_from_results"},
|
| 700 |
+
},
|
| 701 |
+
)
|
| 702 |
+
for key in sorted(active)
|
| 703 |
+
]
|
| 704 |
+
|
| 705 |
+
|
| 706 |
+
def summarize(result: dict[str, Any], metadata: dict[str, Any]) -> dict[str, Any]:
|
| 707 |
+
scored = scored_results(result, metadata)
|
| 708 |
+
n_passed = sum(t["status"] == "passed" for t in scored)
|
| 709 |
+
n_tests = len(scored)
|
| 710 |
+
pass_rate = n_passed / n_tests if n_tests else 0.0
|
| 711 |
+
# Multi-key reward: Harbor's default Mean aggregates each key independently
|
| 712 |
+
# (see harbor.metrics.base.aggregate_reward_dicts), so mean("resolved") is
|
| 713 |
+
# the proportion of tasks scoring a perfect pass-rate and mean of
|
| 714 |
+
# "almost_resolved" is the proportion scoring >= 0.95. "reward" stays the
|
| 715 |
+
# per-task pass-rate whose mean is the overall mean reward.
|
| 716 |
+
return {
|
| 717 |
+
"reward": pass_rate,
|
| 718 |
+
"resolved": 1.0 if pass_rate >= 1.0 else 0.0,
|
| 719 |
+
"almost_resolved": 1.0 if pass_rate >= 0.95 else 0.0,
|
| 720 |
+
}
|
| 721 |
+
|
| 722 |
+
|
| 723 |
+
def diagnostics(result: dict[str, Any], metadata: dict[str, Any]) -> dict[str, Any]:
|
| 724 |
+
scored = scored_results(result, metadata)
|
| 725 |
+
n_passed = sum(t["status"] == "passed" for t in scored)
|
| 726 |
+
n_tests = len(scored)
|
| 727 |
+
pass_rate = n_passed / n_tests if n_tests else 0.0
|
| 728 |
+
return {
|
| 729 |
+
"pass_rate": pass_rate,
|
| 730 |
+
"resolved": int(
|
| 731 |
+
bool(
|
| 732 |
+
n_tests
|
| 733 |
+
and n_passed == n_tests
|
| 734 |
+
and not result["test_branch_errors"]
|
| 735 |
+
and not result["error_code"]
|
| 736 |
+
)
|
| 737 |
+
),
|
| 738 |
+
"n_passed": n_passed,
|
| 739 |
+
"n_tests": n_tests,
|
| 740 |
+
"n_branch_errors": len(result["test_branch_errors"]),
|
| 741 |
+
"infra_error": int(bool(result["error_code"] or result["test_branch_errors"])),
|
| 742 |
+
"executable_hash_present": int(bool(result.get("executable_hash"))),
|
| 743 |
+
}
|
| 744 |
+
|
| 745 |
+
|
| 746 |
+
def use_script_pty() -> bool:
|
| 747 |
+
return os.environ.get("PROGRAMGYM_SCRIPT_PTY", "").strip() == "1"
|
| 748 |
+
|
| 749 |
+
|
| 750 |
+
def script_pty_available() -> bool:
|
| 751 |
+
return shutil.which("script") is not None
|
| 752 |
+
|
| 753 |
+
|
| 754 |
+
def branch_env(
|
| 755 |
+
*,
|
| 756 |
+
serial: bool,
|
| 757 |
+
has_rerunfailures: bool,
|
| 758 |
+
extras: dict[str, str] | None = None,
|
| 759 |
+
) -> dict[str, str]:
|
| 760 |
+
addopts = ["--max-worker-restart=4"]
|
| 761 |
+
# A serial fallback is already a complete second execution. Re-running each
|
| 762 |
+
# failing test two more times makes large, failure-heavy suites prohibitively
|
| 763 |
+
# slow and adds little signal.
|
| 764 |
+
if has_rerunfailures and not serial:
|
| 765 |
+
addopts.extend(["--reruns=2", "--reruns-delay=1"])
|
| 766 |
+
env = {
|
| 767 |
+
"PYTEST_ADDOPTS": " ".join(addopts),
|
| 768 |
+
# Match upstream non-TTY regression environments (dirble log format, etc.).
|
| 769 |
+
"NO_COLOR": "1",
|
| 770 |
+
"TERM": "dumb",
|
| 771 |
+
"CLICOLOR": "0",
|
| 772 |
+
"CLICOLOR_FORCE": "0",
|
| 773 |
+
"COLORTERM": "",
|
| 774 |
+
}
|
| 775 |
+
if extras:
|
| 776 |
+
env.update(extras)
|
| 777 |
+
xdist_workers = os.environ.get("PROGRAMGYM_XDIST_WORKERS")
|
| 778 |
+
if serial:
|
| 779 |
+
xdist_workers = "1"
|
| 780 |
+
if xdist_workers:
|
| 781 |
+
env["PYTEST_XDIST_AUTO_NUM_WORKERS"] = xdist_workers
|
| 782 |
+
return env
|
| 783 |
+
|
| 784 |
+
|
| 785 |
+
_SERIAL_RUN_SH = ".programgym_run_serial.sh"
|
| 786 |
+
# ``eval/run.sh`` usually passes ``-n auto`` on the command line, which overrides
|
| 787 |
+
# ``PYTEST_ADDOPTS``. Rewrite to ``-n 0`` in a verifier-local copy for retries.
|
| 788 |
+
_RUN_SH_XDIST_RE = re.compile(r"-n\s*(?:auto|\d+)")
|
| 789 |
+
|
| 790 |
+
|
| 791 |
+
def prepare_serial_run_sh(run_sh: Path) -> Path:
|
| 792 |
+
"""Write a serial-only copy of ``eval/run.sh`` with xdist disabled."""
|
| 793 |
+
serial_sh = run_sh.with_name(_SERIAL_RUN_SH)
|
| 794 |
+
patched = _RUN_SH_XDIST_RE.sub("-n 0", run_sh.read_text())
|
| 795 |
+
serial_sh.write_text(patched)
|
| 796 |
+
serial_sh.chmod(0o755)
|
| 797 |
+
return serial_sh
|
| 798 |
+
|
| 799 |
+
|
| 800 |
+
def run_tests_command(*, serial: bool) -> str:
|
| 801 |
+
if serial:
|
| 802 |
+
inner = f"chmod +x ./eval/{_SERIAL_RUN_SH} && ./eval/{_SERIAL_RUN_SH}"
|
| 803 |
+
else:
|
| 804 |
+
inner = "chmod +x ./eval/run.sh && ./eval/run.sh"
|
| 805 |
+
if use_script_pty() and script_pty_available():
|
| 806 |
+
return f"script -q -c {shlex.quote(inner)} /dev/null"
|
| 807 |
+
return inner
|
| 808 |
+
|
| 809 |
+
|
| 810 |
+
BAKED_BLOB_DIR = Path(os.environ.get("PROGRAMGYM_BAKED_BLOB_DIR", "/tests/blobs"))
|
| 811 |
+
|
| 812 |
+
|
| 813 |
+
def resolve_blob_dir(instance_id: str, metadata: dict[str, Any]) -> Path:
|
| 814 |
+
"""Locate the per-instance blob directory.
|
| 815 |
+
|
| 816 |
+
Resolution order:
|
| 817 |
+
|
| 818 |
+
1. ``/tests/blobs/`` if pre-fetched into the task at generation time
|
| 819 |
+
(``programgym-adapter --download-blobs``). Verifier-only mount, so
|
| 820 |
+
agent never sees these.
|
| 821 |
+
2. ``PROGRAMGYM_BLOB_DIR`` env override pointing at an HF-cache-shaped
|
| 822 |
+
tree on disk (``<dir>/<instance_id>/tests/<branch>.tar.gz``). Useful
|
| 823 |
+
for offline reruns sharing a cache across many tasks.
|
| 824 |
+
3. ``huggingface_hub.snapshot_download`` from
|
| 825 |
+
``programgym/ProgramGym-Tests`` (default repo, ``main`` revision).
|
| 826 |
+
|
| 827 |
+
The returned directory contains ``tests/<branch>.tar.gz`` per active
|
| 828 |
+
branch — same shape as ``programgym/ProgramGym-Tests/<instance_id>/``
|
| 829 |
+
on HF.
|
| 830 |
+
"""
|
| 831 |
+
if BAKED_BLOB_DIR.exists() and (BAKED_BLOB_DIR / "tests").exists():
|
| 832 |
+
return BAKED_BLOB_DIR
|
| 833 |
+
|
| 834 |
+
local = os.environ.get("PROGRAMGYM_BLOB_DIR", "").strip()
|
| 835 |
+
if local:
|
| 836 |
+
candidate = Path(local) / instance_id
|
| 837 |
+
if candidate.exists():
|
| 838 |
+
return candidate
|
| 839 |
+
raise FileNotFoundError(
|
| 840 |
+
f"PROGRAMGYM_BLOB_DIR set but {candidate} does not exist"
|
| 841 |
+
)
|
| 842 |
+
|
| 843 |
+
repo_id = os.environ.get("PROGRAMGYM_HF_REPO") or metadata.get(
|
| 844 |
+
"hf_repo_id", DEFAULT_HF_REPO_ID
|
| 845 |
+
)
|
| 846 |
+
revision = os.environ.get("PROGRAMGYM_HF_REVISION") or metadata.get(
|
| 847 |
+
"hf_revision", DEFAULT_HF_REVISION
|
| 848 |
+
)
|
| 849 |
+
|
| 850 |
+
from huggingface_hub import snapshot_download
|
| 851 |
+
|
| 852 |
+
cache_root = Path(
|
| 853 |
+
snapshot_download(
|
| 854 |
+
repo_id,
|
| 855 |
+
repo_type="dataset",
|
| 856 |
+
revision=revision,
|
| 857 |
+
allow_patterns=f"{instance_id}/**",
|
| 858 |
+
)
|
| 859 |
+
)
|
| 860 |
+
blob_dir = cache_root / instance_id
|
| 861 |
+
if not blob_dir.exists():
|
| 862 |
+
raise FileNotFoundError(
|
| 863 |
+
f"HF blob directory missing for {instance_id} at {blob_dir}"
|
| 864 |
+
)
|
| 865 |
+
return blob_dir
|
| 866 |
+
|
| 867 |
+
|
| 868 |
+
def evaluate(metadata: dict[str, Any]) -> dict[str, Any]:
|
| 869 |
+
bootstrap_toolchain_path()
|
| 870 |
+
branches = metadata.get("branches", {})
|
| 871 |
+
active_branch_items = [
|
| 872 |
+
(name, info) for name, info in branches.items() if not info.get("ignored")
|
| 873 |
+
]
|
| 874 |
+
result: dict[str, Any] = {
|
| 875 |
+
"test_results": [],
|
| 876 |
+
"error_code": None,
|
| 877 |
+
"error_details": None,
|
| 878 |
+
"log": [],
|
| 879 |
+
"solution_branch": "submission",
|
| 880 |
+
"test_branches": [name for name, _ in active_branch_items],
|
| 881 |
+
"test_branch_errors": {},
|
| 882 |
+
"executable_hash": None,
|
| 883 |
+
"warnings": [],
|
| 884 |
+
}
|
| 885 |
+
|
| 886 |
+
instance_id = metadata["instance_id"]
|
| 887 |
+
|
| 888 |
+
compile_timeout = int(os.environ.get("PROGRAMGYM_COMPILE_TIMEOUT", "900"))
|
| 889 |
+
branch_timeout = int(os.environ.get("PROGRAMGYM_BRANCH_TIMEOUT", "3600"))
|
| 890 |
+
|
| 891 |
+
def fail_all(error_code: str, details: str) -> dict[str, Any]:
|
| 892 |
+
result["error_code"] = error_code
|
| 893 |
+
result["error_details"] = details
|
| 894 |
+
for branch, info in active_branch_items:
|
| 895 |
+
inject_not_run(result, branch, branch_tests(info), error_code)
|
| 896 |
+
return result
|
| 897 |
+
|
| 898 |
+
with tempfile.TemporaryDirectory(prefix="programgym-eval-") as tmp:
|
| 899 |
+
compiled_snapshot = Path(tmp) / "compiled"
|
| 900 |
+
|
| 901 |
+
started = time.monotonic()
|
| 902 |
+
removed = remove_hashed_files(
|
| 903 |
+
WORKSPACE, set(metadata.get("eval_clean_hashes", []))
|
| 904 |
+
)
|
| 905 |
+
result["log"].append(
|
| 906 |
+
{
|
| 907 |
+
"step": "remove_hashed_files",
|
| 908 |
+
"command": "remove files matching eval_clean_hashes",
|
| 909 |
+
"wall_time": time.monotonic() - started,
|
| 910 |
+
"output": "".join(f"removed '{path}'\n" for path in removed),
|
| 911 |
+
"returncode": 0,
|
| 912 |
+
"exception_info": "",
|
| 913 |
+
}
|
| 914 |
+
)
|
| 915 |
+
|
| 916 |
+
compile_sh = WORKSPACE / "compile.sh"
|
| 917 |
+
if not compile_sh.exists():
|
| 918 |
+
return fail_all(
|
| 919 |
+
"missing_compile_sh", "submission did not contain compile.sh"
|
| 920 |
+
)
|
| 921 |
+
|
| 922 |
+
seed = (
|
| 923 |
+
"if [ ! -d .git ]; then "
|
| 924 |
+
"GIT_AUTHOR_DATE='2000-01-01T00:00:00Z' "
|
| 925 |
+
"GIT_COMMITTER_DATE='2000-01-01T00:00:00Z' "
|
| 926 |
+
"git -c init.defaultBranch=gold init -q && "
|
| 927 |
+
"git -c user.email=gold@local -c user.name=gold -c commit.gpgsign=false add -A && "
|
| 928 |
+
"GIT_AUTHOR_DATE='2000-01-01T00:00:00Z' "
|
| 929 |
+
"GIT_COMMITTER_DATE='2000-01-01T00:00:00Z' "
|
| 930 |
+
"git -c user.email=gold@local -c user.name=gold -c commit.gpgsign=false commit -q --allow-empty -m gold; "
|
| 931 |
+
"fi"
|
| 932 |
+
)
|
| 933 |
+
try:
|
| 934 |
+
result["log"].append(
|
| 935 |
+
run_step(seed, WORKSPACE, timeout=300, step="seed_git")
|
| 936 |
+
)
|
| 937 |
+
compile_log = run_step(
|
| 938 |
+
"chmod +x ./compile.sh && ./compile.sh",
|
| 939 |
+
WORKSPACE,
|
| 940 |
+
timeout=compile_timeout,
|
| 941 |
+
step="compile",
|
| 942 |
+
accept_failure=True,
|
| 943 |
+
)
|
| 944 |
+
result["log"].append(compile_log)
|
| 945 |
+
if compile_log["returncode"]:
|
| 946 |
+
return fail_all("compile_failed", compile_log["output"])
|
| 947 |
+
executable = WORKSPACE / "executable"
|
| 948 |
+
if not executable.exists():
|
| 949 |
+
return fail_all(
|
| 950 |
+
"missing_executable",
|
| 951 |
+
"compile.sh completed but did not create ./executable",
|
| 952 |
+
)
|
| 953 |
+
STASHED_EXECUTABLE.parent.mkdir(parents=True, exist_ok=True)
|
| 954 |
+
# `move` (not copy) so /workspace doesn't keep a parallel copy of
|
| 955 |
+
# the agent's executable during the stash→restore window. Mirrors
|
| 956 |
+
# upstream `mv ./executable {STASHED}` (eval.py:472).
|
| 957 |
+
shutil.move(str(executable), STASHED_EXECUTABLE)
|
| 958 |
+
result["executable_hash"] = sha256(STASHED_EXECUTABLE)
|
| 959 |
+
result["log"].append(
|
| 960 |
+
run_step(
|
| 961 |
+
"pip3 install -q --disable-pip-version-check pytest-rerunfailures",
|
| 962 |
+
WORKSPACE,
|
| 963 |
+
timeout=120,
|
| 964 |
+
step="install_rerunfailures",
|
| 965 |
+
accept_failure=True,
|
| 966 |
+
)
|
| 967 |
+
)
|
| 968 |
+
has_rerunfailures = result["log"][-1]["returncode"] == 0
|
| 969 |
+
handoff_removed = remove_oracle_handoff_artifacts()
|
| 970 |
+
if handoff_removed:
|
| 971 |
+
result["log"].append(
|
| 972 |
+
{
|
| 973 |
+
"step": "remove_oracle_handoff",
|
| 974 |
+
"command": "remove oracle handoff artifacts from workspace",
|
| 975 |
+
"wall_time": 0.0,
|
| 976 |
+
"output": "".join(
|
| 977 |
+
f"removed '{name}'\n" for name in handoff_removed
|
| 978 |
+
),
|
| 979 |
+
"returncode": 0,
|
| 980 |
+
"exception_info": "",
|
| 981 |
+
}
|
| 982 |
+
)
|
| 983 |
+
snapshot_workspace(compiled_snapshot)
|
| 984 |
+
except Exception as exc:
|
| 985 |
+
return fail_all(type(exc).__name__, str(exc))
|
| 986 |
+
|
| 987 |
+
try:
|
| 988 |
+
blob_dir = resolve_blob_dir(instance_id, metadata)
|
| 989 |
+
except Exception as exc:
|
| 990 |
+
details = f"{type(exc).__name__}: {exc}"
|
| 991 |
+
for branch, info in active_branch_items:
|
| 992 |
+
result["test_branch_errors"][branch] = [
|
| 993 |
+
{
|
| 994 |
+
"error_code": "blob_resolution_failed",
|
| 995 |
+
"error_details": details,
|
| 996 |
+
}
|
| 997 |
+
]
|
| 998 |
+
inject_not_run(
|
| 999 |
+
result, branch, branch_tests(info), "blob_resolution_failed"
|
| 1000 |
+
)
|
| 1001 |
+
return result
|
| 1002 |
+
|
| 1003 |
+
for branch, info in active_branch_items:
|
| 1004 |
+
tests = branch_tests(info)
|
| 1005 |
+
blob = blob_dir / "tests" / f"{branch}.tar.gz"
|
| 1006 |
+
if not blob.exists():
|
| 1007 |
+
result["test_branch_errors"][branch] = [
|
| 1008 |
+
{"error_code": "missing_test_blob", "error_details": blob.name}
|
| 1009 |
+
]
|
| 1010 |
+
inject_not_run(result, branch, tests, "missing_test_blob")
|
| 1011 |
+
continue
|
| 1012 |
+
|
| 1013 |
+
best_xml = ""
|
| 1014 |
+
# Prefer a complete, clean XML result, then the result covering the
|
| 1015 |
+
# most expected tests, and only then the one with the most passes.
|
| 1016 |
+
# Pass-count-only ranking can retain a partial xdist result over a
|
| 1017 |
+
# complete serial result.
|
| 1018 |
+
best_quality = (-1, -1, -1)
|
| 1019 |
+
serial = bool(metadata.get("force_serial_branches"))
|
| 1020 |
+
branch_log: list[dict[str, Any]] = []
|
| 1021 |
+
branch_ignored = {
|
| 1022 |
+
item["name"] for item in info.get("ignored_tests", []) if "name" in item
|
| 1023 |
+
}
|
| 1024 |
+
n_expected = len([name for name in tests if name not in branch_ignored])
|
| 1025 |
+
|
| 1026 |
+
def merge_best_xml(raw_xml: str) -> None:
|
| 1027 |
+
try:
|
| 1028 |
+
parsed, warnings = parse_junit(
|
| 1029 |
+
raw_xml, branch, list(info.get("tests", [])), branch_ignored
|
| 1030 |
+
)
|
| 1031 |
+
except Exception as exc:
|
| 1032 |
+
result["test_branch_errors"][branch] = [
|
| 1033 |
+
{"error_code": "xml_parse_error", "error_details": str(exc)}
|
| 1034 |
+
]
|
| 1035 |
+
inject_not_run(result, branch, tests, "xml_parse_error")
|
| 1036 |
+
else:
|
| 1037 |
+
result["test_results"].extend(parsed)
|
| 1038 |
+
result["warnings"].extend(warnings)
|
| 1039 |
+
|
| 1040 |
+
while True:
|
| 1041 |
+
branch_log.append(cleanup_lingering_processes())
|
| 1042 |
+
restore_workspace(compiled_snapshot)
|
| 1043 |
+
extract_trusted_blob(blob, WORKSPACE)
|
| 1044 |
+
restore_reference_executable()
|
| 1045 |
+
actual_hash = sha256(WORKSPACE / "executable")
|
| 1046 |
+
if actual_hash != result["executable_hash"]:
|
| 1047 |
+
result["test_branch_errors"][branch] = [
|
| 1048 |
+
{
|
| 1049 |
+
"error_code": "executable_hash_mismatch",
|
| 1050 |
+
"error_details": (
|
| 1051 |
+
f"expected {result['executable_hash']}, got {actual_hash}"
|
| 1052 |
+
),
|
| 1053 |
+
}
|
| 1054 |
+
]
|
| 1055 |
+
inject_not_run(result, branch, tests, "executable_hash_mismatch")
|
| 1056 |
+
break
|
| 1057 |
+
run_sh = WORKSPACE / "eval" / "run.sh"
|
| 1058 |
+
if not run_sh.exists():
|
| 1059 |
+
result["test_branch_errors"][branch] = [
|
| 1060 |
+
{
|
| 1061 |
+
"error_code": "missing_run_sh",
|
| 1062 |
+
"error_details": "eval/run.sh missing",
|
| 1063 |
+
}
|
| 1064 |
+
]
|
| 1065 |
+
inject_not_run(result, branch, tests, "missing_run_sh")
|
| 1066 |
+
break
|
| 1067 |
+
# Upstream rewrites thread→signal so xdist workers fail cleanly
|
| 1068 |
+
# instead of os._exit(1) on timeout. That works in fresh
|
| 1069 |
+
# containers per branch; here we reuse one container and
|
| 1070 |
+
# signal timeouts leave TUI/log-watcher subprocesses alive
|
| 1071 |
+
# (e.g. lazygit --logs + tail -f), wedging pytest for up to
|
| 1072 |
+
# branch_timeout. Keep the blob's thread method and rely on
|
| 1073 |
+
# cleanup_lingering_processes + serial fallback after crashes.
|
| 1074 |
+
env = branch_env(
|
| 1075 |
+
serial=serial,
|
| 1076 |
+
has_rerunfailures=has_rerunfailures,
|
| 1077 |
+
extras=metadata.get("branch_env"),
|
| 1078 |
+
)
|
| 1079 |
+
branch_log.append(
|
| 1080 |
+
run_step(
|
| 1081 |
+
"rm -f eval/results.xml results.xml",
|
| 1082 |
+
WORKSPACE,
|
| 1083 |
+
timeout=120,
|
| 1084 |
+
step="clean_stale_results",
|
| 1085 |
+
accept_failure=True,
|
| 1086 |
+
)
|
| 1087 |
+
)
|
| 1088 |
+
if serial:
|
| 1089 |
+
prepare_serial_run_sh(run_sh)
|
| 1090 |
+
run_entry = run_step(
|
| 1091 |
+
run_tests_command(serial=serial),
|
| 1092 |
+
WORKSPACE,
|
| 1093 |
+
timeout=branch_timeout,
|
| 1094 |
+
env=env,
|
| 1095 |
+
step="run_tests",
|
| 1096 |
+
accept_failure=True,
|
| 1097 |
+
)
|
| 1098 |
+
branch_log.append(run_entry)
|
| 1099 |
+
branch_log.append(cleanup_lingering_processes())
|
| 1100 |
+
xml_path = find_results_xml()
|
| 1101 |
+
if xml_path is None:
|
| 1102 |
+
if best_xml:
|
| 1103 |
+
merge_best_xml(best_xml)
|
| 1104 |
+
break
|
| 1105 |
+
if serial:
|
| 1106 |
+
result["test_branch_errors"][branch] = [
|
| 1107 |
+
{
|
| 1108 |
+
"error_code": "missing_results_xml",
|
| 1109 |
+
"error_details": "eval/results.xml was not produced",
|
| 1110 |
+
}
|
| 1111 |
+
]
|
| 1112 |
+
inject_not_run(result, branch, tests, "missing_results_xml")
|
| 1113 |
+
break
|
| 1114 |
+
serial = True
|
| 1115 |
+
continue
|
| 1116 |
+
raw_xml = xml_path.read_text(errors="replace")
|
| 1117 |
+
crashes, n_tests, failures, missing = branch_attempt_metrics(
|
| 1118 |
+
raw_xml,
|
| 1119 |
+
run_output=run_entry.get("output", ""),
|
| 1120 |
+
expected_tests=n_expected,
|
| 1121 |
+
)
|
| 1122 |
+
useful = count_junit_passed(raw_xml)
|
| 1123 |
+
quality = (
|
| 1124 |
+
int(crashes == 0 and missing == 0),
|
| 1125 |
+
n_tests,
|
| 1126 |
+
useful,
|
| 1127 |
+
)
|
| 1128 |
+
if quality > best_quality:
|
| 1129 |
+
best_xml = raw_xml
|
| 1130 |
+
best_quality = quality
|
| 1131 |
+
retry = needs_serial_retry(
|
| 1132 |
+
serial=serial,
|
| 1133 |
+
crashes=crashes,
|
| 1134 |
+
missing=missing,
|
| 1135 |
+
failures=failures,
|
| 1136 |
+
n_tests=n_tests,
|
| 1137 |
+
expected_tests=n_expected,
|
| 1138 |
+
run_output=run_entry.get("output", ""),
|
| 1139 |
+
)
|
| 1140 |
+
if not retry:
|
| 1141 |
+
merge_best_xml(best_xml)
|
| 1142 |
+
break
|
| 1143 |
+
serial = True
|
| 1144 |
+
for entry in branch_log:
|
| 1145 |
+
entry["branch"] = branch
|
| 1146 |
+
result["log"].extend(branch_log)
|
| 1147 |
+
|
| 1148 |
+
return result
|
| 1149 |
+
|
| 1150 |
+
|
| 1151 |
+
def write_outputs(result: dict[str, Any], metadata: dict[str, Any]) -> None:
|
| 1152 |
+
LOG_DIR.mkdir(parents=True, exist_ok=True)
|
| 1153 |
+
write_json(LOG_DIR / "programgym_eval.json", result)
|
| 1154 |
+
write_json(LOG_DIR / "harbor_diagnostics.json", diagnostics(result, metadata))
|
| 1155 |
+
rewards = summarize(result, metadata)
|
| 1156 |
+
write_json(LOG_DIR / "reward.json", rewards)
|
| 1157 |
+
(LOG_DIR / "reward.txt").write_text(str(rewards["reward"]))
|
| 1158 |
+
|
| 1159 |
+
|
| 1160 |
+
def main() -> None:
|
| 1161 |
+
LOG_DIR.mkdir(parents=True, exist_ok=True)
|
| 1162 |
+
log_path = LOG_DIR / "programgym_eval.log"
|
| 1163 |
+
metadata = json.loads(METADATA_PATH.read_text())
|
| 1164 |
+
branches = metadata.get("branches", {})
|
| 1165 |
+
try:
|
| 1166 |
+
result = evaluate(metadata)
|
| 1167 |
+
except Exception as exc:
|
| 1168 |
+
error_code = type(exc).__name__
|
| 1169 |
+
result = {
|
| 1170 |
+
"test_results": [],
|
| 1171 |
+
"error_code": error_code,
|
| 1172 |
+
"error_details": str(exc),
|
| 1173 |
+
"log": [
|
| 1174 |
+
{
|
| 1175 |
+
"step": "evaluator_exception",
|
| 1176 |
+
"exception_info": traceback.format_exc(),
|
| 1177 |
+
"returncode": 1,
|
| 1178 |
+
}
|
| 1179 |
+
],
|
| 1180 |
+
"solution_branch": "submission",
|
| 1181 |
+
"test_branches": [
|
| 1182 |
+
name for name, info in branches.items() if not info.get("ignored")
|
| 1183 |
+
],
|
| 1184 |
+
"test_branch_errors": {
|
| 1185 |
+
"__evaluator__": [{"error_code": error_code, "error_details": str(exc)}]
|
| 1186 |
+
},
|
| 1187 |
+
"executable_hash": None,
|
| 1188 |
+
"warnings": [],
|
| 1189 |
+
}
|
| 1190 |
+
for branch, info in branches.items():
|
| 1191 |
+
if info.get("ignored"):
|
| 1192 |
+
continue
|
| 1193 |
+
inject_not_run(result, branch, branch_tests(info), error_code)
|
| 1194 |
+
log_path.write_text(traceback.format_exc())
|
| 1195 |
+
else:
|
| 1196 |
+
log_path.write_text("")
|
| 1197 |
+
write_outputs(result, metadata)
|
| 1198 |
+
|
| 1199 |
+
|
| 1200 |
+
if __name__ == "__main__":
|
| 1201 |
+
main()
|
rkoval--alfred-aws-console-services-workflow.4f0e46d/tests/programgym_task.json
ADDED
|
@@ -0,0 +1,951 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"branches": {
|
| 3 |
+
"generated_module_01": {
|
| 4 |
+
"ignore_reason": "",
|
| 5 |
+
"ignored": false,
|
| 6 |
+
"ignored_tests": [],
|
| 7 |
+
"tests": [
|
| 8 |
+
"eval.tests.test_parser_combined.test_exact_region_single_item",
|
| 9 |
+
"eval.tests.test_parser_combined.test_open_all_no_service_counts_all",
|
| 10 |
+
"eval.tests.test_parser_combined.test_open_all_service_count_matches_subservices",
|
| 11 |
+
"eval.tests.test_parser_combined.test_profile_override_after_region_filter",
|
| 12 |
+
"eval.tests.test_parser_combined.test_region_autocomplete_items_are_regions",
|
| 13 |
+
"eval.tests.test_parser_combined.test_region_override_before_profile_filter",
|
| 14 |
+
"eval.tests.test_parser_combined.test_region_query_vs_profile_query_exclusive",
|
| 15 |
+
"eval.tests.test_parser_combined.test_service_then_region_then_subservice",
|
| 16 |
+
"eval.tests.test_parser_combined.test_service_with_region_and_remaining_query",
|
| 17 |
+
"eval.tests.test_parser_combined.test_subservice_with_search_alias_counts",
|
| 18 |
+
"eval.tests.test_parser_combined.test_unknown_subservice_remaining",
|
| 19 |
+
"eval.tests.test_parser_final_batch.test_internal_tab_between_words",
|
| 20 |
+
"eval.tests.test_parser_final_batch.test_profile_then_service_not_profile_query",
|
| 21 |
+
"eval.tests.test_parser_final_batch.test_profile_then_service_resolves[dev]",
|
| 22 |
+
"eval.tests.test_parser_final_batch.test_profile_then_service_resolves[prod]",
|
| 23 |
+
"eval.tests.test_parser_final_batch.test_region_autocomplete_description_subtitles[$ap-northeast--expected_titles2]",
|
| 24 |
+
"eval.tests.test_parser_final_batch.test_region_autocomplete_description_subtitles[$eu-west--expected_titles1]",
|
| 25 |
+
"eval.tests.test_parser_final_batch.test_region_autocomplete_description_subtitles[$us-east--expected_titles0]",
|
| 26 |
+
"eval.tests.test_parser_final_batch.test_region_subtitle_description_matches[ap-south-1]",
|
| 27 |
+
"eval.tests.test_parser_final_batch.test_region_subtitle_description_matches[eu-central-1]",
|
| 28 |
+
"eval.tests.test_parser_final_batch.test_region_subtitle_description_matches[us-east-1]",
|
| 29 |
+
"eval.tests.test_parser_final_batch.test_service_item_has_description_subtitle",
|
| 30 |
+
"eval.tests.test_parser_final_batch.test_service_search_exact_uid_first",
|
| 31 |
+
"eval.tests.test_parser_final_batch.test_trailing_tab_lists_subservices",
|
| 32 |
+
"eval.tests.test_parser_profile.test_bare_profile_override_token[@ ]",
|
| 33 |
+
"eval.tests.test_parser_profile.test_bare_profile_override_token[@$]",
|
| 34 |
+
"eval.tests.test_parser_profile.test_bare_profile_override_token[@@]",
|
| 35 |
+
"eval.tests.test_parser_profile.test_bare_profile_override_token[@]",
|
| 36 |
+
"eval.tests.test_parser_profile.test_exact_profile_as_final_token[default]",
|
| 37 |
+
"eval.tests.test_parser_profile.test_exact_profile_as_final_token[dev]",
|
| 38 |
+
"eval.tests.test_parser_profile.test_exact_profile_as_final_token[prod]",
|
| 39 |
+
"eval.tests.test_parser_profile.test_exact_profile_as_final_token[ssorole]",
|
| 40 |
+
"eval.tests.test_parser_profile.test_partial_profile_autocomplete_lists_profiles",
|
| 41 |
+
"eval.tests.test_parser_profile.test_profile_matches_and_falls_through_to_services",
|
| 42 |
+
"eval.tests.test_parser_profile.test_profile_region_subtitle[default-us-east-1]",
|
| 43 |
+
"eval.tests.test_parser_profile.test_profile_region_subtitle[dev-us-west-2]",
|
| 44 |
+
"eval.tests.test_parser_profile.test_profile_region_subtitle[prod-eu-west-1]",
|
| 45 |
+
"eval.tests.test_parser_profile.test_profile_sso_profiles_listed",
|
| 46 |
+
"eval.tests.test_parser_profile.test_profile_with_trailing_space_sets_override_not_query",
|
| 47 |
+
"eval.tests.test_parser_profile.test_unknown_profile_sets_profile_query_only[@asdf]",
|
| 48 |
+
"eval.tests.test_parser_profile.test_unknown_profile_sets_profile_query_only[@nonexistent]",
|
| 49 |
+
"eval.tests.test_parser_profile.test_unknown_profile_sets_profile_query_only[@prof]",
|
| 50 |
+
"eval.tests.test_parser_profile.test_unknown_profile_sets_profile_query_only[@zz]",
|
| 51 |
+
"eval.tests.test_parser_query_behaviors.test_console_domain_per_region[$cn-north-1-console.amazonaws.cn]",
|
| 52 |
+
"eval.tests.test_parser_query_behaviors.test_console_domain_per_region[$eu-west-1-console.aws.amazon.com]",
|
| 53 |
+
"eval.tests.test_parser_query_behaviors.test_console_domain_per_region[$us-east-1-console.aws.amazon.com]",
|
| 54 |
+
"eval.tests.test_parser_query_behaviors.test_global_region_service_ignores_override[cloudwatch-False]",
|
| 55 |
+
"eval.tests.test_parser_query_behaviors.test_global_region_service_ignores_override[ec2-False]",
|
| 56 |
+
"eval.tests.test_parser_query_behaviors.test_global_region_service_ignores_override[iam-True]",
|
| 57 |
+
"eval.tests.test_parser_query_behaviors.test_global_region_service_ignores_override[route53-True]",
|
| 58 |
+
"eval.tests.test_parser_query_behaviors.test_global_region_service_ignores_override[s3-False]",
|
| 59 |
+
"eval.tests.test_parser_query_behaviors.test_global_service_custom_yml",
|
| 60 |
+
"eval.tests.test_parser_query_behaviors.test_region_override_region_string_in_arg",
|
| 61 |
+
"eval.tests.test_parser_query_behaviors.test_regional_service_custom_yml",
|
| 62 |
+
"eval.tests.test_parser_region.test_bare_region_override_token[$ ]",
|
| 63 |
+
"eval.tests.test_parser_region.test_bare_region_override_token[$$]",
|
| 64 |
+
"eval.tests.test_parser_region.test_bare_region_override_token[$,]",
|
| 65 |
+
"eval.tests.test_parser_region.test_bare_region_override_token[$]",
|
| 66 |
+
"eval.tests.test_parser_region.test_dollar_partial_region_sets_region_query[ap-sou]",
|
| 67 |
+
"eval.tests.test_parser_region.test_dollar_partial_region_sets_region_query[ca-]",
|
| 68 |
+
"eval.tests.test_parser_region.test_dollar_partial_region_sets_region_query[cn-nor]",
|
| 69 |
+
"eval.tests.test_parser_region.test_dollar_partial_region_sets_region_query[eu-]",
|
| 70 |
+
"eval.tests.test_parser_region.test_dollar_partial_region_sets_region_query[us-w]",
|
| 71 |
+
"eval.tests.test_parser_region.test_dollar_partial_region_sets_region_query[us]",
|
| 72 |
+
"eval.tests.test_parser_region.test_dollar_partial_region_sets_region_query[zzzz]",
|
| 73 |
+
"eval.tests.test_parser_region.test_exact_region_as_final_token_sets_override_and_query[us-east-1]",
|
| 74 |
+
"eval.tests.test_parser_region.test_exact_region_as_final_token_sets_override_and_query[us-west-2]",
|
| 75 |
+
"eval.tests.test_parser_region.test_exact_region_followed_by_word_sets_override_only[eu-west-2]",
|
| 76 |
+
"eval.tests.test_parser_region.test_exact_region_followed_by_word_sets_override_only[us-east-1]",
|
| 77 |
+
"eval.tests.test_parser_region.test_multiple_regions_last_wins_override[us-east-1]",
|
| 78 |
+
"eval.tests.test_parser_region.test_multiple_regions_last_wins_override[us-east-2]",
|
| 79 |
+
"eval.tests.test_parser_region.test_partial_region_autocomplete[$asdf]",
|
| 80 |
+
"eval.tests.test_parser_region.test_partial_region_autocomplete[$us-east]",
|
| 81 |
+
"eval.tests.test_parser_region.test_partial_region_autocomplete[$us-west]",
|
| 82 |
+
"eval.tests.test_parser_region.test_partial_region_autocomplete[$us]",
|
| 83 |
+
"eval.tests.test_parser_region.test_partial_region_autocomplete[$zzz]",
|
| 84 |
+
"eval.tests.test_parser_region.test_region_before_service_resolves_service",
|
| 85 |
+
"eval.tests.test_parser_region.test_region_query_then_profile_validation_order",
|
| 86 |
+
"eval.tests.test_parser_region_profile_expanded.test_bare_profile_lists_all_discovered",
|
| 87 |
+
"eval.tests.test_parser_region_profile_expanded.test_profile_override_subtitle_region[@default-us-east-1]",
|
| 88 |
+
"eval.tests.test_parser_region_profile_expanded.test_profile_override_subtitle_region[@dev-us-west-2]",
|
| 89 |
+
"eval.tests.test_parser_region_profile_expanded.test_profile_override_subtitle_region[@prod-eu-west-1]",
|
| 90 |
+
"eval.tests.test_parser_region_profile_expanded.test_region_prefix_autocomplete_subset[$cn-north--expected2]",
|
| 91 |
+
"eval.tests.test_parser_region_profile_expanded.test_region_prefix_autocomplete_subset[$eu-west--expected0]",
|
| 92 |
+
"eval.tests.test_parser_region_profile_expanded.test_region_prefix_autocomplete_subset[$sa-east--expected3]",
|
| 93 |
+
"eval.tests.test_parser_region_profile_expanded.test_region_prefix_autocomplete_subset[$us-east--expected1]",
|
| 94 |
+
"eval.tests.test_parser_region_profile_expanded.test_resolved_profile_falls_through_to_services[@default ]",
|
| 95 |
+
"eval.tests.test_parser_region_profile_expanded.test_resolved_profile_falls_through_to_services[@dev ]",
|
| 96 |
+
"eval.tests.test_parser_region_profile_expanded.test_resolved_profile_falls_through_to_services[@prod ]",
|
| 97 |
+
"eval.tests.test_parser_region_profile_expanded.test_unknown_profile_with_trailing_space[@nosuchprofile ]",
|
| 98 |
+
"eval.tests.test_parser_region_profile_expanded.test_unknown_profile_with_trailing_space[@qwerty ]",
|
| 99 |
+
"eval.tests.test_parser_region_profile_expanded.test_unknown_profile_with_trailing_space[@xyz ]",
|
| 100 |
+
"eval.tests.test_parser_region_profile_expanded.test_unknown_region_prefix_no_false_regions[$9]",
|
| 101 |
+
"eval.tests.test_parser_region_profile_expanded.test_unknown_region_prefix_no_false_regions[$]",
|
| 102 |
+
"eval.tests.test_parser_region_profile_expanded.test_unknown_region_prefix_no_false_regions[$ap-north]",
|
| 103 |
+
"eval.tests.test_parser_region_profile_expanded.test_unknown_region_prefix_no_false_regions[$east]",
|
| 104 |
+
"eval.tests.test_parser_region_profile_expanded.test_unknown_region_prefix_no_false_regions[$zzzz]",
|
| 105 |
+
"eval.tests.test_parser_scanner.test_has_trailing_whitespace_flag[ elasticbeanstalk-False]",
|
| 106 |
+
"eval.tests.test_parser_scanner.test_has_trailing_whitespace_flag[elasticbeanstalk -True]",
|
| 107 |
+
"eval.tests.test_parser_scanner.test_has_trailing_whitespace_flag[elasticbeanstalk -True]",
|
| 108 |
+
"eval.tests.test_parser_scanner.test_has_trailing_whitespace_flag[elasticbeanstalk-False]",
|
| 109 |
+
"eval.tests.test_parser_scanner.test_has_trailing_whitespace_flag[elasticbeanstalk\\n-True]",
|
| 110 |
+
"eval.tests.test_parser_scanner.test_has_trailing_whitespace_flag[elasticbeanstalk\\t-True]",
|
| 111 |
+
"eval.tests.test_parser_scanner.test_internal_whitespace_tokenizes_words[ asdf x-asdf x]",
|
| 112 |
+
"eval.tests.test_parser_scanner.test_internal_whitespace_tokenizes_words[\\tasdf\\tx-asdf x]",
|
| 113 |
+
"eval.tests.test_parser_scanner.test_internal_whitespace_tokenizes_words[asdf x y-asdf x y]",
|
| 114 |
+
"eval.tests.test_parser_scanner.test_leading_spaces_stripped_by_main[ elasticbeanstalk-elasticbeanstalk]",
|
| 115 |
+
"eval.tests.test_parser_scanner.test_leading_spaces_stripped_by_main[ elasticbeanstalk-elasticbeanstalk]",
|
| 116 |
+
"eval.tests.test_parser_scanner.test_no_aliases_produces_no_override",
|
| 117 |
+
"eval.tests.test_parser_scanner.test_open_all_mixed_case_is_word_only",
|
| 118 |
+
"eval.tests.test_parser_scanner.test_open_all_token[OPEN_ALL ]",
|
| 119 |
+
"eval.tests.test_parser_scanner.test_open_all_token[OPEN_ALL\\n]",
|
| 120 |
+
"eval.tests.test_parser_scanner.test_open_all_token[OPEN_ALL]",
|
| 121 |
+
"eval.tests.test_parser_scanner.test_open_all_with_service",
|
| 122 |
+
"eval.tests.test_parser_scanner.test_override_alias_prefix_tokens[$]",
|
| 123 |
+
"eval.tests.test_parser_scanner.test_override_alias_prefix_tokens[$us-east-1]",
|
| 124 |
+
"eval.tests.test_parser_scanner.test_override_alias_prefix_tokens[$us]",
|
| 125 |
+
"eval.tests.test_parser_scanner.test_override_alias_prefix_tokens[@]",
|
| 126 |
+
"eval.tests.test_parser_scanner.test_override_alias_prefix_tokens[@dev]",
|
| 127 |
+
"eval.tests.test_parser_scanner.test_raw_query_preserved_verbatim",
|
| 128 |
+
"eval.tests.test_parser_scanner.test_search_alias_token[,-]",
|
| 129 |
+
"eval.tests.test_parser_scanner.test_search_alias_token[,term more-term more]",
|
| 130 |
+
"eval.tests.test_parser_scanner.test_search_alias_token[,term-term]",
|
| 131 |
+
"eval.tests.test_parser_scanner.test_single_word_word_service[cloudformation]",
|
| 132 |
+
"eval.tests.test_parser_scanner.test_single_word_word_service[elasticbeanstalk]",
|
| 133 |
+
"eval.tests.test_parser_scanner.test_single_word_word_service[iam]",
|
| 134 |
+
"eval.tests.test_parser_scanner.test_single_word_word_service[vpc]",
|
| 135 |
+
"eval.tests.test_parser_scanner.test_unknown_word_remains_in_remaining_query[asdf-asdf]",
|
| 136 |
+
"eval.tests.test_parser_scanner.test_unknown_word_remains_in_remaining_query[qqq123-qqq123]",
|
| 137 |
+
"eval.tests.test_parser_scanner.test_unknown_word_remains_in_remaining_query[zzz-zzz]",
|
| 138 |
+
"eval.tests.test_parser_scanner.test_word_not_of_type_open_all",
|
| 139 |
+
"eval.tests.test_parser_search_alias.test_default_search_alias_without_service_ids",
|
| 140 |
+
"eval.tests.test_parser_search_alias.test_search_alias_does_not_resolve_service",
|
| 141 |
+
"eval.tests.test_parser_search_alias.test_search_alias_no_region_profile_override",
|
| 142 |
+
"eval.tests.test_parser_search_alias.test_search_alias_sets_flag_and_remaining[,-]",
|
| 143 |
+
"eval.tests.test_parser_search_alias.test_search_alias_sets_flag_and_remaining[,ec2-ec2]",
|
| 144 |
+
"eval.tests.test_parser_search_alias.test_search_alias_sets_flag_and_remaining[,instances-instances]",
|
| 145 |
+
"eval.tests.test_parser_search_alias.test_search_all_filters_service_catalog",
|
| 146 |
+
"eval.tests.test_parser_services.test_known_services_resolve[cloudformation-cloudformation]",
|
| 147 |
+
"eval.tests.test_parser_services.test_known_services_resolve[cloudwatch-cloudwatch]",
|
| 148 |
+
"eval.tests.test_parser_services.test_known_services_resolve[ec2-ec2]",
|
| 149 |
+
"eval.tests.test_parser_services.test_known_services_resolve[elasticbeanstalk-elasticbeanstalk]",
|
| 150 |
+
"eval.tests.test_parser_services.test_known_services_resolve[iam-iam]",
|
| 151 |
+
"eval.tests.test_parser_services.test_known_services_resolve[lambda-lambda]",
|
| 152 |
+
"eval.tests.test_parser_services.test_known_services_resolve[rds-rds]",
|
| 153 |
+
"eval.tests.test_parser_services.test_known_services_resolve[s3-s3]",
|
| 154 |
+
"eval.tests.test_parser_services.test_multiword_service_resolution",
|
| 155 |
+
"eval.tests.test_parser_services.test_no_matching_service_message",
|
| 156 |
+
"eval.tests.test_parser_services.test_service_identity_varied_spacing[ elasticbeanstalk]",
|
| 157 |
+
"eval.tests.test_parser_services.test_service_identity_varied_spacing[elasticbeanstalk]",
|
| 158 |
+
"eval.tests.test_parser_services.test_service_no_trailing_space_shows_service_item",
|
| 159 |
+
"eval.tests.test_parser_services.test_service_subservices_listed[ec2 -ec2 dashboard]",
|
| 160 |
+
"eval.tests.test_parser_services.test_service_subservices_listed[elasticbeanstalk -elasticbeanstalk environments]",
|
| 161 |
+
"eval.tests.test_parser_services.test_service_subservices_listed[s3 -s3 buckets]",
|
| 162 |
+
"eval.tests.test_parser_services.test_service_then_subservice_resolved[cloudwatch loggroups-cloudwatch-loggroups]",
|
| 163 |
+
"eval.tests.test_parser_services.test_service_then_subservice_resolved[ec2 instances-ec2-instances]",
|
| 164 |
+
"eval.tests.test_parser_services.test_service_then_subservice_resolved[elasticbeanstalk environments-elasticbeanstalk-environments]",
|
| 165 |
+
"eval.tests.test_parser_services.test_service_then_subservice_resolved[s3 buckets-s3-buckets]",
|
| 166 |
+
"eval.tests.test_parser_services.test_service_with_trailing_space_lists_subservices",
|
| 167 |
+
"eval.tests.test_parser_services.test_shortname_service_search",
|
| 168 |
+
"eval.tests.test_parser_services.test_unmatched_service_words_remain[elasticbeanstalk environments nomatch-nomatch]",
|
| 169 |
+
"eval.tests.test_parser_services.test_unmatched_service_words_remain[elasticbeanstalk nomatch-nomatch]",
|
| 170 |
+
"eval.tests.test_parser_services.test_unmatched_service_words_remain[nomatch elasticbeanstalk-nomatch elasticbeanstalk]",
|
| 171 |
+
"eval.tests.test_parser_services_extended.test_global_region_services_listed[cloud9]",
|
| 172 |
+
"eval.tests.test_parser_services_extended.test_global_region_services_listed[deepracer]",
|
| 173 |
+
"eval.tests.test_parser_services_extended.test_global_region_services_listed[iam]",
|
| 174 |
+
"eval.tests.test_parser_services_extended.test_global_region_services_listed[route53]",
|
| 175 |
+
"eval.tests.test_parser_services_extended.test_more_services_resolve[apigateway-apigateway]",
|
| 176 |
+
"eval.tests.test_parser_services_extended.test_more_services_resolve[backup-backup]",
|
| 177 |
+
"eval.tests.test_parser_services_extended.test_more_services_resolve[cloudfront-cloudfront]",
|
| 178 |
+
"eval.tests.test_parser_services_extended.test_more_services_resolve[codebuild-codebuild]",
|
| 179 |
+
"eval.tests.test_parser_services_extended.test_more_services_resolve[cognito-cognito]",
|
| 180 |
+
"eval.tests.test_parser_services_extended.test_more_services_resolve[dynamodb-dynamodb]",
|
| 181 |
+
"eval.tests.test_parser_services_extended.test_more_services_resolve[eventbridge-eventbridge]",
|
| 182 |
+
"eval.tests.test_parser_services_extended.test_more_services_resolve[glue-glue]",
|
| 183 |
+
"eval.tests.test_parser_services_extended.test_more_services_resolve[kinesis-kinesis]",
|
| 184 |
+
"eval.tests.test_parser_services_extended.test_more_services_resolve[sns-sns]",
|
| 185 |
+
"eval.tests.test_parser_services_extended.test_more_services_resolve[sqs-sqs]",
|
| 186 |
+
"eval.tests.test_parser_services_extended.test_more_services_resolve[stepfunctions-stepfunctions]",
|
| 187 |
+
"eval.tests.test_parser_services_extended.test_more_subservices_resolve[apigateway apis-apigateway-apis]",
|
| 188 |
+
"eval.tests.test_parser_services_extended.test_more_subservices_resolve[backup jobs-backup-jobs]",
|
| 189 |
+
"eval.tests.test_parser_services_extended.test_more_subservices_resolve[ec2 instances-ec2-instances]",
|
| 190 |
+
"eval.tests.test_parser_services_extended.test_more_subservices_resolve[elasticache redis-elasticache-redis]",
|
| 191 |
+
"eval.tests.test_parser_services_extended.test_more_subservices_resolve[s3 buckets-s3-buckets]",
|
| 192 |
+
"eval.tests.test_parser_services_extended.test_more_subservices_resolve[sns topics-sns-topics]",
|
| 193 |
+
"eval.tests.test_parser_services_extended.test_more_subservices_resolve[sqs queues-sqs-queues]",
|
| 194 |
+
"eval.tests.test_parser_services_extended.test_remaining_query_accumulates_words[ec2 z-z]",
|
| 195 |
+
"eval.tests.test_parser_services_extended.test_remaining_query_accumulates_words[elasticbeanstalk a b c-a b c]",
|
| 196 |
+
"eval.tests.test_parser_services_extended.test_remaining_query_accumulates_words[s3 a b-a b]",
|
| 197 |
+
"eval.tests.test_parser_services_extended.test_service_trailing_subservice_lists[cloudformation -cloudformation stacks]",
|
| 198 |
+
"eval.tests.test_parser_services_extended.test_service_trailing_subservice_lists[cloudwatch -cloudwatch dashboards]",
|
| 199 |
+
"eval.tests.test_parser_services_extended.test_service_trailing_subservice_lists[lambda -lambda functions]",
|
| 200 |
+
"eval.tests.test_parser_services_extended.test_service_trailing_subservice_lists[rds -rds databases]",
|
| 201 |
+
"eval.tests.test_parser_yml_alias.test_both_aliases_env_override_together",
|
| 202 |
+
"eval.tests.test_parser_yml_alias.test_custom_small_yml_does_not_contain_real_service",
|
| 203 |
+
"eval.tests.test_parser_yml_alias.test_custom_small_yml_global_region_service",
|
| 204 |
+
"eval.tests.test_parser_yml_alias.test_custom_small_yml_restricts_services",
|
| 205 |
+
"eval.tests.test_parser_yml_alias.test_custom_small_yml_subservice",
|
| 206 |
+
"eval.tests.test_parser_yml_alias.test_missing_yml_is_fatal[/nonexistent/console-services.yml]",
|
| 207 |
+
"eval.tests.test_parser_yml_alias.test_missing_yml_is_fatal[does-not-exist.yml]",
|
| 208 |
+
"eval.tests.test_parser_yml_alias.test_profile_alias_env_override",
|
| 209 |
+
"eval.tests.test_parser_yml_alias.test_region_alias_env_override",
|
| 210 |
+
"eval.tests.test_parser_yml_alias.test_search_alias_env_override",
|
| 211 |
+
"eval.tests.test_parser_yml_alias.test_search_alias_env_override_without_env_is_word",
|
| 212 |
+
"eval.tests.test_parser_yml_alias.test_yaml_loads_known_services[cloudformation]",
|
| 213 |
+
"eval.tests.test_parser_yml_alias.test_yaml_loads_known_services[cloudwatch]",
|
| 214 |
+
"eval.tests.test_parser_yml_alias.test_yaml_loads_known_services[ec2]",
|
| 215 |
+
"eval.tests.test_parser_yml_alias.test_yaml_loads_known_services[elasticache]",
|
| 216 |
+
"eval.tests.test_parser_yml_alias.test_yaml_loads_known_services[elasticbeanstalk]",
|
| 217 |
+
"eval.tests.test_parser_yml_alias.test_yaml_loads_known_services[lambda]",
|
| 218 |
+
"eval.tests.test_parser_yml_alias.test_yaml_loads_known_services[rds]",
|
| 219 |
+
"eval.tests.test_parser_yml_alias.test_yaml_loads_known_services[s3]"
|
| 220 |
+
]
|
| 221 |
+
},
|
| 222 |
+
"generated_module_02": {
|
| 223 |
+
"ignore_reason": "",
|
| 224 |
+
"ignored": false,
|
| 225 |
+
"ignored_tests": [],
|
| 226 |
+
"tests": [
|
| 227 |
+
"eval.tests.test_cli_args.test_boolean_flags_do_not_consume_value",
|
| 228 |
+
"eval.tests.test_cli_args.test_default_yml_path_resolves_service_list",
|
| 229 |
+
"eval.tests.test_cli_args.test_directory_as_yml_path_errors",
|
| 230 |
+
"eval.tests.test_cli_args.test_double_dash_unknown_flag_reported_single_dash[--bad=1--bad]",
|
| 231 |
+
"eval.tests.test_cli_args.test_double_dash_unknown_flag_reported_single_dash[--open--open]",
|
| 232 |
+
"eval.tests.test_cli_args.test_empty_yml_yields_no_services_found_state[ \\n]",
|
| 233 |
+
"eval.tests.test_cli_args.test_empty_yml_yields_no_services_found_state[# only a comment\\n]",
|
| 234 |
+
"eval.tests.test_cli_args.test_empty_yml_yields_no_services_found_state[\\n]",
|
| 235 |
+
"eval.tests.test_cli_args.test_empty_yml_yields_no_services_found_state[]",
|
| 236 |
+
"eval.tests.test_cli_args.test_explicit_valid_yml_default_region_url",
|
| 237 |
+
"eval.tests.test_cli_args.test_explicit_valid_yml_path_lists_services",
|
| 238 |
+
"eval.tests.test_cli_args.test_feedback_json_has_items_and_variables_structure",
|
| 239 |
+
"eval.tests.test_cli_args.test_flag_missing_value_rejected[-query-flag needs an argument: -query]",
|
| 240 |
+
"eval.tests.test_cli_args.test_flag_missing_value_rejected[-yml_path-flag needs an argument: -yml_path]",
|
| 241 |
+
"eval.tests.test_cli_args.test_help_flag_does_not_require_alfred_env",
|
| 242 |
+
"eval.tests.test_cli_args.test_help_prints_flag_usage_and_exits_zero[--help]",
|
| 243 |
+
"eval.tests.test_cli_args.test_help_prints_flag_usage_and_exits_zero[-h]",
|
| 244 |
+
"eval.tests.test_cli_args.test_help_prints_flag_usage_and_exits_zero[-help]",
|
| 245 |
+
"eval.tests.test_cli_args.test_invalid_boolean_value_for_fetch_rejected",
|
| 246 |
+
"eval.tests.test_cli_args.test_malformed_yml_errors[:::\\n::]",
|
| 247 |
+
"eval.tests.test_cli_args.test_malformed_yml_errors[\\t\\t\\t]",
|
| 248 |
+
"eval.tests.test_cli_args.test_malformed_yml_errors[a: }), bad: :]",
|
| 249 |
+
"eval.tests.test_cli_args.test_malformed_yml_errors[a:\\n- -\\n -]",
|
| 250 |
+
"eval.tests.test_cli_args.test_malformed_yml_errors[not: [valid\\n broken: {\\n]",
|
| 251 |
+
"eval.tests.test_cli_args.test_missing_yml_file_errors",
|
| 252 |
+
"eval.tests.test_cli_args.test_query_flag_accepts_equals_form",
|
| 253 |
+
"eval.tests.test_cli_args.test_unknown_flag_rejected_with_code_2[-bogus--bogus]",
|
| 254 |
+
"eval.tests.test_cli_args.test_unknown_flag_rejected_with_code_2[-fetchx--fetchx]",
|
| 255 |
+
"eval.tests.test_cli_args.test_unknown_flag_rejected_with_code_2[-nope--nope]",
|
| 256 |
+
"eval.tests.test_dispatch_profile.test_profile_alias_reconfiguration_via_env",
|
| 257 |
+
"eval.tests.test_dispatch_profile.test_profile_override_exact_filter",
|
| 258 |
+
"eval.tests.test_dispatch_profile.test_profile_override_fuzzy_filter",
|
| 259 |
+
"eval.tests.test_dispatch_profile.test_profile_override_lists_all_profiles",
|
| 260 |
+
"eval.tests.test_dispatch_profile.test_profile_override_missing_region_warning",
|
| 261 |
+
"eval.tests.test_dispatch_profile.test_profile_override_no_match_empty_state[@nosuchprofile]",
|
| 262 |
+
"eval.tests.test_dispatch_profile.test_profile_override_no_match_empty_state[@prod9]",
|
| 263 |
+
"eval.tests.test_dispatch_profile.test_profile_override_no_match_empty_state[@profile]",
|
| 264 |
+
"eval.tests.test_dispatch_profile.test_profile_override_no_match_empty_state[@un]",
|
| 265 |
+
"eval.tests.test_dispatch_profile.test_profile_override_no_match_empty_state[@zzz]",
|
| 266 |
+
"eval.tests.test_dispatch_profile.test_profile_override_region_subtitle",
|
| 267 |
+
"eval.tests.test_dispatch_profile.test_profile_override_without_aws_files_no_match",
|
| 268 |
+
"eval.tests.test_dispatch_region.test_bare_region_override_without_space_lists_region",
|
| 269 |
+
"eval.tests.test_dispatch_region.test_region_alias_reconfiguration_via_env",
|
| 270 |
+
"eval.tests.test_dispatch_region.test_region_override_china_partition_url",
|
| 271 |
+
"eval.tests.test_dispatch_region.test_region_override_full_lists_all_services",
|
| 272 |
+
"eval.tests.test_dispatch_region.test_region_override_multiple_region_tokens_takes_service",
|
| 273 |
+
"eval.tests.test_dispatch_region.test_region_override_no_match_empty_state[$asdf]",
|
| 274 |
+
"eval.tests.test_dispatch_region.test_region_override_no_match_empty_state[$tokyo-x]",
|
| 275 |
+
"eval.tests.test_dispatch_region.test_region_override_no_match_empty_state[$us-zzz]",
|
| 276 |
+
"eval.tests.test_dispatch_region.test_region_override_no_match_empty_state[$zz]",
|
| 277 |
+
"eval.tests.test_dispatch_region.test_region_override_partial_lists_matching_regions",
|
| 278 |
+
"eval.tests.test_dispatch_region.test_region_override_sub_services_use_region_url",
|
| 279 |
+
"eval.tests.test_dispatch_region.test_region_override_unimplemented_sub_service",
|
| 280 |
+
"eval.tests.test_dispatch_service.test_multibyte_unrelated_query_empty",
|
| 281 |
+
"eval.tests.test_dispatch_service.test_service_filter_exact_title_set[bean]",
|
| 282 |
+
"eval.tests.test_dispatch_service.test_service_filter_exact_title_set[cloud]",
|
| 283 |
+
"eval.tests.test_dispatch_service.test_service_filter_exact_title_set[e2]",
|
| 284 |
+
"eval.tests.test_dispatch_service.test_service_filter_exact_title_set[ecs]",
|
| 285 |
+
"eval.tests.test_dispatch_service.test_service_filter_exact_title_set[sso]",
|
| 286 |
+
"eval.tests.test_dispatch_service.test_service_query_with_leading_whitespace_trimmed",
|
| 287 |
+
"eval.tests.test_dispatch_service.test_service_search_exact_match[apprunner]",
|
| 288 |
+
"eval.tests.test_dispatch_service.test_service_search_exact_match[cloudformation]",
|
| 289 |
+
"eval.tests.test_dispatch_service.test_service_search_exact_match[cloudfront]",
|
| 290 |
+
"eval.tests.test_dispatch_service.test_service_search_exact_match[cloudwatch]",
|
| 291 |
+
"eval.tests.test_dispatch_service.test_service_search_exact_match[codebuild]",
|
| 292 |
+
"eval.tests.test_dispatch_service.test_service_search_exact_match[codepipeline]",
|
| 293 |
+
"eval.tests.test_dispatch_service.test_service_search_exact_match[costmanagement]",
|
| 294 |
+
"eval.tests.test_dispatch_service.test_service_search_exact_match[ec2]",
|
| 295 |
+
"eval.tests.test_dispatch_service.test_service_search_exact_match[elasticache]",
|
| 296 |
+
"eval.tests.test_dispatch_service.test_service_search_exact_match[lambda]",
|
| 297 |
+
"eval.tests.test_dispatch_service.test_service_search_exact_match[organizations]",
|
| 298 |
+
"eval.tests.test_dispatch_service.test_service_search_exact_match[route53]",
|
| 299 |
+
"eval.tests.test_dispatch_service.test_service_search_exact_match[s3]",
|
| 300 |
+
"eval.tests.test_dispatch_service.test_service_search_exact_match[waf]",
|
| 301 |
+
"eval.tests.test_dispatch_service.test_service_search_item_fields_complete",
|
| 302 |
+
"eval.tests.test_dispatch_service.test_service_search_no_match_empty_state[!!!]",
|
| 303 |
+
"eval.tests.test_dispatch_service.test_service_search_no_match_empty_state[abcxyz]",
|
| 304 |
+
"eval.tests.test_dispatch_service.test_service_search_no_match_empty_state[ec2-notreal]",
|
| 305 |
+
"eval.tests.test_dispatch_service.test_service_search_no_match_empty_state[notaservice]",
|
| 306 |
+
"eval.tests.test_dispatch_service.test_service_search_no_match_empty_state[qwertyuiop]",
|
| 307 |
+
"eval.tests.test_dispatch_service.test_service_search_no_match_empty_state[zzz]",
|
| 308 |
+
"eval.tests.test_dispatch_subservice.test_default_search_alias_searcher_dispatch[cloudformation ,]",
|
| 309 |
+
"eval.tests.test_dispatch_subservice.test_default_search_alias_searcher_dispatch[cloudwatch ,]",
|
| 310 |
+
"eval.tests.test_dispatch_subservice.test_default_search_alias_searcher_dispatch[ec2 ,]",
|
| 311 |
+
"eval.tests.test_dispatch_subservice.test_default_search_alias_searcher_dispatch[lambda ,]",
|
| 312 |
+
"eval.tests.test_dispatch_subservice.test_default_search_alias_searcher_dispatch[s3 ,]",
|
| 313 |
+
"eval.tests.test_dispatch_subservice.test_searcher_dispatch_cache_miss_placeholder[cloudwatch loggroups]",
|
| 314 |
+
"eval.tests.test_dispatch_subservice.test_searcher_dispatch_cache_miss_placeholder[codepipeline pipelines]",
|
| 315 |
+
"eval.tests.test_dispatch_subservice.test_searcher_dispatch_cache_miss_placeholder[ecs clusters]",
|
| 316 |
+
"eval.tests.test_dispatch_subservice.test_searcher_dispatch_cache_miss_placeholder[elasticache memcached]",
|
| 317 |
+
"eval.tests.test_dispatch_subservice.test_searcher_dispatch_cache_miss_placeholder[elasticache redis]",
|
| 318 |
+
"eval.tests.test_dispatch_subservice.test_searcher_dispatch_cache_miss_placeholder[rds databases]",
|
| 319 |
+
"eval.tests.test_dispatch_subservice.test_searcher_dispatch_cache_miss_placeholder[route53 hostedzones]",
|
| 320 |
+
"eval.tests.test_dispatch_subservice.test_searcher_dispatch_cache_miss_placeholder[s3 buckets]",
|
| 321 |
+
"eval.tests.test_dispatch_subservice.test_searcher_dispatch_cache_miss_placeholder[sns topics]",
|
| 322 |
+
"eval.tests.test_dispatch_subservice.test_searcher_dispatch_cache_miss_placeholder[waf ipsets]",
|
| 323 |
+
"eval.tests.test_dispatch_subservice.test_sub_service_catalogue_listing[cloudfront]",
|
| 324 |
+
"eval.tests.test_dispatch_subservice.test_sub_service_catalogue_listing[ec2]",
|
| 325 |
+
"eval.tests.test_dispatch_subservice.test_sub_service_catalogue_listing[elasticache]",
|
| 326 |
+
"eval.tests.test_dispatch_subservice.test_sub_service_catalogue_listing[lambda]",
|
| 327 |
+
"eval.tests.test_dispatch_subservice.test_sub_service_catalogue_listing[route53]",
|
| 328 |
+
"eval.tests.test_dispatch_subservice.test_sub_service_catalogue_listing[s3]",
|
| 329 |
+
"eval.tests.test_dispatch_subservice.test_sub_service_default_searcher_marker",
|
| 330 |
+
"eval.tests.test_dispatch_subservice.test_sub_service_filter_reduces_list",
|
| 331 |
+
"eval.tests.test_dispatch_subservice.test_sub_service_named_exact_one_result",
|
| 332 |
+
"eval.tests.test_dispatch_subservice.test_sub_service_query_keeps_region_url",
|
| 333 |
+
"eval.tests.test_openall_cache.test_default_searcher_fetch_flag",
|
| 334 |
+
"eval.tests.test_openall_cache.test_feedback_emitted_even_on_fatal_error",
|
| 335 |
+
"eval.tests.test_openall_cache.test_force_fetch_flag_noop_on_non_searcher_query",
|
| 336 |
+
"eval.tests.test_openall_cache.test_force_fetch_flips_searcher_to_aws_error",
|
| 337 |
+
"eval.tests.test_openall_cache.test_open_all_flag_attempt_fails_on_missing_browser",
|
| 338 |
+
"eval.tests.test_openall_cache.test_open_all_flag_on_unknown_service_errors",
|
| 339 |
+
"eval.tests.test_openall_cache.test_open_all_token_renders_open_item[OPEN_ALL0]",
|
| 340 |
+
"eval.tests.test_openall_cache.test_open_all_token_renders_open_item[OPEN_ALL1]",
|
| 341 |
+
"eval.tests.test_openall_cache.test_open_all_token_renders_open_item[apprunner OPEN_ALL]",
|
| 342 |
+
"eval.tests.test_openall_cache.test_open_all_token_renders_open_item[cloudfront OPEN_ALL]",
|
| 343 |
+
"eval.tests.test_openall_cache.test_open_all_token_renders_open_item[ec2 OPEN_ALL]"
|
| 344 |
+
]
|
| 345 |
+
},
|
| 346 |
+
"generated_module_03": {
|
| 347 |
+
"ignore_reason": "",
|
| 348 |
+
"ignored": false,
|
| 349 |
+
"ignored_tests": [],
|
| 350 |
+
"tests": [
|
| 351 |
+
"eval.tests.test_awsconfig_profiles.test_all_profiles_loaded",
|
| 352 |
+
"eval.tests.test_awsconfig_profiles.test_config_only_non_sso_profile_not_loaded",
|
| 353 |
+
"eval.tests.test_awsconfig_profiles.test_no_matching_profile_fallback",
|
| 354 |
+
"eval.tests.test_awsconfig_profiles.test_profile_autocomplete_uses_override_prefix",
|
| 355 |
+
"eval.tests.test_awsconfig_profiles.test_profile_prefix_filter[def-expected_set3]",
|
| 356 |
+
"eval.tests.test_awsconfig_profiles.test_profile_prefix_filter[legacy-expected_set4]",
|
| 357 |
+
"eval.tests.test_awsconfig_profiles.test_profile_prefix_filter[pro-expected_set0]",
|
| 358 |
+
"eval.tests.test_awsconfig_profiles.test_profile_prefix_filter[sso-expected_set1]",
|
| 359 |
+
"eval.tests.test_awsconfig_profiles.test_profile_prefix_filter[us-expected_set2]",
|
| 360 |
+
"eval.tests.test_awsconfig_profiles.test_profile_uid_is_profile_name",
|
| 361 |
+
"eval.tests.test_awsconfig_profiles.test_region_less_profile_warning_subtitle",
|
| 362 |
+
"eval.tests.test_awsconfig_profiles.test_regioned_profile_subtitle[bogusprofile-bogus]",
|
| 363 |
+
"eval.tests.test_awsconfig_profiles.test_regioned_profile_subtitle[china-cn-north-1]",
|
| 364 |
+
"eval.tests.test_awsconfig_profiles.test_regioned_profile_subtitle[default-us-west-2]",
|
| 365 |
+
"eval.tests.test_awsconfig_profiles.test_regioned_profile_subtitle[legacy-sso-direct-config-profile-eu-central-1]",
|
| 366 |
+
"eval.tests.test_awsconfig_profiles.test_regioned_profile_subtitle[profile1-us-east-1]",
|
| 367 |
+
"eval.tests.test_awsconfig_profiles.test_regioned_profile_subtitle[profile3-sa-east-1]",
|
| 368 |
+
"eval.tests.test_awsconfig_profiles.test_regioned_profile_subtitle[sso-profile1-us-west-1]",
|
| 369 |
+
"eval.tests.test_awsconfig_profiles.test_regioned_profile_subtitle[sso-profile2-ap-northeast-1]",
|
| 370 |
+
"eval.tests.test_awsconfig_profiles.test_regioned_profile_subtitle[usgov-us-gov-east-1]",
|
| 371 |
+
"eval.tests.test_awsconfig_profiles.test_sso_profiles_synthesized_from_config",
|
| 372 |
+
"eval.tests.test_awsconfig_regions.test_all_regions_have_description",
|
| 373 |
+
"eval.tests.test_awsconfig_regions.test_all_regions_listed_when_override_empty",
|
| 374 |
+
"eval.tests.test_awsconfig_regions.test_no_matching_region_fallback",
|
| 375 |
+
"eval.tests.test_awsconfig_regions.test_region_autocomplete_uses_override_prefix",
|
| 376 |
+
"eval.tests.test_awsconfig_regions.test_region_description[ap-northeast-1-Asia Pacific (Tokyo)]",
|
| 377 |
+
"eval.tests.test_awsconfig_regions.test_region_description[ap-south-1-Asia Pacific (Mumbai)]",
|
| 378 |
+
"eval.tests.test_awsconfig_regions.test_region_description[cn-north-1-China (Beijing)]",
|
| 379 |
+
"eval.tests.test_awsconfig_regions.test_region_description[eu-central-1-Europe (Frankfurt)]",
|
| 380 |
+
"eval.tests.test_awsconfig_regions.test_region_description[eu-west-1-Europe (Ireland)]",
|
| 381 |
+
"eval.tests.test_awsconfig_regions.test_region_description[sa-east-1-South America (S\\xe3o Paulo)]",
|
| 382 |
+
"eval.tests.test_awsconfig_regions.test_region_description[us-east-1-US East (N. Virginia)]",
|
| 383 |
+
"eval.tests.test_awsconfig_regions.test_region_description[us-east-2-US East (Ohio)]",
|
| 384 |
+
"eval.tests.test_awsconfig_regions.test_region_description[us-west-2-US West (Oregon)]",
|
| 385 |
+
"eval.tests.test_awsconfig_regions.test_region_override_selected_regional_service_url",
|
| 386 |
+
"eval.tests.test_awsconfig_regions.test_region_prefix_filter[ap--expected_set3]",
|
| 387 |
+
"eval.tests.test_awsconfig_regions.test_region_prefix_filter[cn-expected_set5]",
|
| 388 |
+
"eval.tests.test_awsconfig_regions.test_region_prefix_filter[eu-expected_set2]",
|
| 389 |
+
"eval.tests.test_awsconfig_regions.test_region_prefix_filter[sa-east-expected_set4]",
|
| 390 |
+
"eval.tests.test_awsconfig_regions.test_region_prefix_filter[us-e-expected_set0]",
|
| 391 |
+
"eval.tests.test_awsconfig_regions.test_region_prefix_filter[us-w-expected_set1]",
|
| 392 |
+
"eval.tests.test_awsconfig_regions.test_region_uid_is_region_name",
|
| 393 |
+
"eval.tests.test_awsworkflow_sessions.test_china_profile_uses_china_domain",
|
| 394 |
+
"eval.tests.test_awsworkflow_sessions.test_custom_domain_applies_to_global_service",
|
| 395 |
+
"eval.tests.test_awsworkflow_sessions.test_custom_domain_env_var_overrides_everywhere",
|
| 396 |
+
"eval.tests.test_awsworkflow_sessions.test_default_profile_uses_default_domain",
|
| 397 |
+
"eval.tests.test_awsworkflow_sessions.test_global_region_service_drops_region_prefix",
|
| 398 |
+
"eval.tests.test_awsworkflow_sessions.test_legacy_renamed_env_var_panics",
|
| 399 |
+
"eval.tests.test_awsworkflow_sessions.test_region_less_profile_drops_region_prefix",
|
| 400 |
+
"eval.tests.test_awsworkflow_sessions.test_region_override_wins_over_profile_region",
|
| 401 |
+
"eval.tests.test_awsworkflow_sessions.test_regional_domain_variant[profile1-us-east-1-us-east-1.console.aws.amazon.com]",
|
| 402 |
+
"eval.tests.test_awsworkflow_sessions.test_regional_domain_variant[profile3-sa-east-1-sa-east-1.console.aws.amazon.com]",
|
| 403 |
+
"eval.tests.test_awsworkflow_sessions.test_service_search_terminates_without_network",
|
| 404 |
+
"eval.tests.test_awsworkflow_sessions.test_usgov_profile_uses_gov_domain"
|
| 405 |
+
]
|
| 406 |
+
},
|
| 407 |
+
"generated_module_04": {
|
| 408 |
+
"ignore_reason": "",
|
| 409 |
+
"ignored": false,
|
| 410 |
+
"ignored_tests": [],
|
| 411 |
+
"tests": [
|
| 412 |
+
"eval.tests.test_searchers.test_searcher_boundary_oracles[cloudformation_awseb_name_tag_title]",
|
| 413 |
+
"eval.tests.test_searchers.test_searcher_boundary_oracles[cloudformation_plain_stack_title_match]",
|
| 414 |
+
"eval.tests.test_searchers.test_searcher_boundary_oracles[cloudwatch_loggroup_subtitle_metrics]",
|
| 415 |
+
"eval.tests.test_searchers.test_searcher_boundary_oracles[cloudwatch_loginsights_subtitle_query]",
|
| 416 |
+
"eval.tests.test_searchers.test_searcher_boundary_oracles[codepipeline_subtitle_version_created]",
|
| 417 |
+
"eval.tests.test_searchers.test_searcher_boundary_oracles[ec2_id_prefix_match_via_i]",
|
| 418 |
+
"eval.tests.test_searchers.test_searcher_boundary_oracles[ec2_load_balancer_subtitle]",
|
| 419 |
+
"eval.tests.test_searchers.test_searcher_boundary_oracles[ec2_subtitle_state_emoji]",
|
| 420 |
+
"eval.tests.test_searchers.test_searcher_boundary_oracles[ecs_cluster_subtitle_arn]",
|
| 421 |
+
"eval.tests.test_searchers.test_searcher_boundary_oracles[elasticache_memcached_filters_non_memcached]",
|
| 422 |
+
"eval.tests.test_searchers.test_searcher_boundary_oracles[elasticache_redis_replication_group_detail]",
|
| 423 |
+
"eval.tests.test_searchers.test_searcher_boundary_oracles[elasticbeanstalk_application_subtitle]",
|
| 424 |
+
"eval.tests.test_searchers.test_searcher_boundary_oracles[elasticbeanstalk_terminated_uses_events_page]",
|
| 425 |
+
"eval.tests.test_searchers.test_searcher_boundary_oracles[lambda_subtitle_from_metadata]",
|
| 426 |
+
"eval.tests.test_searchers.test_searcher_boundary_oracles[rds_dbname_subtitle]",
|
| 427 |
+
"eval.tests.test_searchers.test_searcher_boundary_oracles[route53_private_multiple_records]",
|
| 428 |
+
"eval.tests.test_searchers.test_searcher_boundary_oracles[s3_bucket_creation_date_subtitle]",
|
| 429 |
+
"eval.tests.test_searchers.test_searcher_boundary_oracles[sns_confirmed_subscription_perma_url]",
|
| 430 |
+
"eval.tests.test_searchers.test_searcher_boundary_oracles[sns_pending_subscription_no_perm_url]",
|
| 431 |
+
"eval.tests.test_searchers.test_searcher_boundary_oracles[sns_topic_subtitle_arn]",
|
| 432 |
+
"eval.tests.test_searchers.test_searcher_boundary_oracles[waf_ipset_without_description]",
|
| 433 |
+
"eval.tests.test_searchers.test_searcher_boundary_oracles[waf_webacl_subtitle_path]",
|
| 434 |
+
"eval.tests.test_searchers.test_searcher_boundary_titles[ec2_filter_by_name_query]",
|
| 435 |
+
"eval.tests.test_searchers.test_searcher_produces_result_items[cloudformation_stacks]",
|
| 436 |
+
"eval.tests.test_searchers.test_searcher_produces_result_items[cloudwatch_loggroups]",
|
| 437 |
+
"eval.tests.test_searchers.test_searcher_produces_result_items[cloudwatch_loginsights]",
|
| 438 |
+
"eval.tests.test_searchers.test_searcher_produces_result_items[codepipeline_pipelines]",
|
| 439 |
+
"eval.tests.test_searchers.test_searcher_produces_result_items[ec2_instances]",
|
| 440 |
+
"eval.tests.test_searchers.test_searcher_produces_result_items[ec2_load_balancers]",
|
| 441 |
+
"eval.tests.test_searchers.test_searcher_produces_result_items[ec2_security_groups]",
|
| 442 |
+
"eval.tests.test_searchers.test_searcher_produces_result_items[ecs_clusters]",
|
| 443 |
+
"eval.tests.test_searchers.test_searcher_produces_result_items[elasticache_memcached]",
|
| 444 |
+
"eval.tests.test_searchers.test_searcher_produces_result_items[elasticache_redis]",
|
| 445 |
+
"eval.tests.test_searchers.test_searcher_produces_result_items[elasticbeanstalk_applications]",
|
| 446 |
+
"eval.tests.test_searchers.test_searcher_produces_result_items[elasticbeanstalk_environments]",
|
| 447 |
+
"eval.tests.test_searchers.test_searcher_produces_result_items[lambda_functions]",
|
| 448 |
+
"eval.tests.test_searchers.test_searcher_produces_result_items[rds_databases]",
|
| 449 |
+
"eval.tests.test_searchers.test_searcher_produces_result_items[route53_hostedzones]",
|
| 450 |
+
"eval.tests.test_searchers.test_searcher_produces_result_items[s3_buckets]",
|
| 451 |
+
"eval.tests.test_searchers.test_searcher_produces_result_items[sns_subscriptions]",
|
| 452 |
+
"eval.tests.test_searchers.test_searcher_produces_result_items[sns_topics]",
|
| 453 |
+
"eval.tests.test_searchers.test_searcher_produces_result_items[waf_ipsets]",
|
| 454 |
+
"eval.tests.test_searchers.test_searcher_produces_result_items[waf_webacls]",
|
| 455 |
+
"eval.tests.test_searchers_branch_variants.test_searcher_branch_variants[ec2_load_balancer_arn_title_network]",
|
| 456 |
+
"eval.tests.test_searchers_branch_variants.test_searcher_branch_variants[ec2_security_group_tagged_subtitle]",
|
| 457 |
+
"eval.tests.test_searchers_branch_variants.test_searcher_branch_variants[lambda_all_fields_empty_subtitle]",
|
| 458 |
+
"eval.tests.test_searchers_branch_variants.test_searcher_branch_variants[rds_dbname_equals_identifier_not_appended]",
|
| 459 |
+
"eval.tests.test_searchers_branch_variants.test_searcher_branch_variants[rds_engine_only_no_version]",
|
| 460 |
+
"eval.tests.test_searchers_branch_variants.test_searcher_branch_variants[rds_no_dbname_engine_version_class]",
|
| 461 |
+
"eval.tests.test_searchers_branch_variants.test_searcher_branch_variants[route53_nil_config_nil_count]",
|
| 462 |
+
"eval.tests.test_searchers_branch_variants.test_searcher_branch_variants[route53_singular_one_record]",
|
| 463 |
+
"eval.tests.test_searchers_branch_variants.test_searcher_branch_variants[searchutil_addmatch_title_autocomplete_ec2]",
|
| 464 |
+
"eval.tests.test_searchers_branch_variants.test_searcher_branch_variants[searchutil_autocomplete_no_trailing_space_append]",
|
| 465 |
+
"eval.tests.test_searchers_branch_variants.test_searcher_branch_variants[sns_confirmed_subscription_subid_subtitle]",
|
| 466 |
+
"eval.tests.test_searchers_branch_variants.test_searcher_branch_variants[sns_pending_confirmation_literal]",
|
| 467 |
+
"eval.tests.test_searchers_state_branches.test_searcher_state_branch_oracles[cloudformation_awseb_query_matches_title]",
|
| 468 |
+
"eval.tests.test_searchers_state_branches.test_searcher_state_branch_oracles[cloudwatch_loggroup_empty_subtitle]",
|
| 469 |
+
"eval.tests.test_searchers_state_branches.test_searcher_state_branch_oracles[cloudwatch_loggroup_retention_only]",
|
| 470 |
+
"eval.tests.test_searchers_state_branches.test_searcher_state_branch_oracles[cloudwatch_loggroup_stored_only]",
|
| 471 |
+
"eval.tests.test_searchers_state_branches.test_searcher_state_branch_oracles[codepipeline_created_only]",
|
| 472 |
+
"eval.tests.test_searchers_state_branches.test_searcher_state_branch_oracles[codepipeline_version_only]",
|
| 473 |
+
"eval.tests.test_searchers_state_branches.test_searcher_state_branch_oracles[ec2_state_pending_white_circle]",
|
| 474 |
+
"eval.tests.test_searchers_state_branches.test_searcher_state_branch_oracles[ec2_state_terminated_red_circle]",
|
| 475 |
+
"eval.tests.test_searchers_state_branches.test_searcher_state_branch_oracles[lambda_megabyte_codesize_subtitle]",
|
| 476 |
+
"eval.tests.test_searchers_state_branches.test_searcher_state_branch_oracles[lambda_runtime_only_subtitle]",
|
| 477 |
+
"eval.tests.test_searchers_state_branches.test_searcher_state_branch_oracles[rds_empty_engine_class_only]",
|
| 478 |
+
"eval.tests.test_searchers_state_branches.test_searcher_state_branch_oracles[route53_nil_record_count_omitted]",
|
| 479 |
+
"eval.tests.test_searchers_state_branches.test_searcher_state_branch_oracles[route53_public_zone_multi_records]",
|
| 480 |
+
"eval.tests.test_searchers_variant_combinations.test_searcher_variant_combinations[cloudformation_awseb_no_name_tag]",
|
| 481 |
+
"eval.tests.test_searchers_variant_combinations.test_searcher_variant_combinations[cloudformation_plain_stack_name_tag_ignored]",
|
| 482 |
+
"eval.tests.test_searchers_variant_combinations.test_searcher_variant_combinations[codepipeline_version_and_created_exact]",
|
| 483 |
+
"eval.tests.test_searchers_variant_combinations.test_searcher_variant_combinations[ec2_instance_noname_tag_uses_id_title]",
|
| 484 |
+
"eval.tests.test_searchers_variant_combinations.test_searcher_variant_combinations[ec2_sg_id_prefix_match]",
|
| 485 |
+
"eval.tests.test_searchers_variant_combinations.test_searcher_variant_combinations[ec2_state_shutting_down_yellow]",
|
| 486 |
+
"eval.tests.test_searchers_variant_combinations.test_searcher_variant_combinations[ec2_state_stopped_red]",
|
| 487 |
+
"eval.tests.test_searchers_variant_combinations.test_searcher_variant_combinations[ec2_state_unknown_question]",
|
| 488 |
+
"eval.tests.test_searchers_variant_combinations.test_searcher_variant_combinations[elasticache_redis_arn_prefix_match]",
|
| 489 |
+
"eval.tests.test_searchers_variant_combinations.test_searcher_variant_combinations[elasticache_redis_drops_memcached]",
|
| 490 |
+
"eval.tests.test_searchers_variant_combinations.test_searcher_variant_combinations[elasticache_subtitle_omits_nil_fields]",
|
| 491 |
+
"eval.tests.test_searchers_variant_combinations.test_searcher_variant_combinations[elasticbeanstalk_app_nil_description]",
|
| 492 |
+
"eval.tests.test_searchers_variant_combinations.test_searcher_variant_combinations[elasticbeanstalk_env_id_prefix_match]",
|
| 493 |
+
"eval.tests.test_searchers_variant_combinations.test_searcher_variant_combinations[elasticbeanstalk_env_ready_dashboard]",
|
| 494 |
+
"eval.tests.test_searchers_variant_combinations.test_searcher_variant_combinations[lambda_function_name_url_escaped]",
|
| 495 |
+
"eval.tests.test_searchers_variant_combinations.test_searcher_variant_combinations[route53_id_prefix_match]",
|
| 496 |
+
"eval.tests.test_searchers_variant_combinations.test_searcher_variant_combinations[route53_nil_config_with_record_count]",
|
| 497 |
+
"eval.tests.test_searchers_variant_combinations.test_searcher_variant_combinations[s3_bucket_exact_creation_subtitle]",
|
| 498 |
+
"eval.tests.test_searchers_variant_combinations.test_searcher_variant_combinations[sns_subscription_nil_protocol_endpoint]",
|
| 499 |
+
"eval.tests.test_searchers_variant_combinations.test_searcher_variant_combinations[waf_ipset_arn_prefix_match]",
|
| 500 |
+
"eval.tests.test_searchers_variant_combinations.test_searcher_variant_combinations[waf_webacl_arn_prefix_match]"
|
| 501 |
+
]
|
| 502 |
+
},
|
| 503 |
+
"generated_module_05": {
|
| 504 |
+
"ignore_reason": "",
|
| 505 |
+
"ignored": false,
|
| 506 |
+
"ignored_tests": [],
|
| 507 |
+
"tests": [
|
| 508 |
+
"eval.tests.test_caching.test_cache_hit_does_not_schedule_rerun",
|
| 509 |
+
"eval.tests.test_caching.test_cache_hit_does_not_spawn_fetch_job",
|
| 510 |
+
"eval.tests.test_caching.test_cache_hit_multiple_entities_all_returned",
|
| 511 |
+
"eval.tests.test_caching.test_cache_hit_preserves_entity_field_rendering",
|
| 512 |
+
"eval.tests.test_caching.test_cache_hit_returns_stored_entity",
|
| 513 |
+
"eval.tests.test_caching.test_cache_keyed_by_profile",
|
| 514 |
+
"eval.tests.test_caching.test_cache_keyed_by_region",
|
| 515 |
+
"eval.tests.test_caching.test_cache_miss_schedules_rerun_and_fetching_item",
|
| 516 |
+
"eval.tests.test_caching.test_corrupt_cache_json_panics",
|
| 517 |
+
"eval.tests.test_caching.test_custom_max_cache_age_extends_freshness",
|
| 518 |
+
"eval.tests.test_caching.test_empty_json_cache_is_a_valid_hit",
|
| 519 |
+
"eval.tests.test_caching.test_expired_cache_returns_stale_data_and_reruns",
|
| 520 |
+
"eval.tests.test_caching.test_fetch_error_generic_renders_invalid_item",
|
| 521 |
+
"eval.tests.test_caching.test_fetch_error_missing_region_renders_region_item",
|
| 522 |
+
"eval.tests.test_caching.test_fetch_error_no_credentials_default_profile_label",
|
| 523 |
+
"eval.tests.test_caching.test_fetch_error_no_credentials_named_profile_label",
|
| 524 |
+
"eval.tests.test_caching.test_fetch_error_no_credentials_renders_credential_item",
|
| 525 |
+
"eval.tests.test_caching.test_force_fetch_access_denied_classifies_error_file",
|
| 526 |
+
"eval.tests.test_caching.test_force_fetch_api_error_empty_message_renders_code_only",
|
| 527 |
+
"eval.tests.test_caching.test_force_fetch_credential_phrase_maps_to_nocredentialproviders",
|
| 528 |
+
"eval.tests.test_caching.test_force_fetch_does_not_return_entities_on_failure",
|
| 529 |
+
"eval.tests.test_caching.test_force_fetch_generic_api_error_appends_message",
|
| 530 |
+
"eval.tests.test_caching.test_force_fetch_ignores_populated_cache",
|
| 531 |
+
"eval.tests.test_caching.test_force_fetch_success_fed_cache_reused_by_subsequent_query",
|
| 532 |
+
"eval.tests.test_caching.test_force_fetch_success_is_synchronous_no_background_job",
|
| 533 |
+
"eval.tests.test_caching.test_force_fetch_success_removes_stale_error_file",
|
| 534 |
+
"eval.tests.test_caching.test_force_fetch_success_renders_entities_and_writes_cache",
|
| 535 |
+
"eval.tests.test_caching.test_force_fetch_without_credentials_writes_error_file",
|
| 536 |
+
"eval.tests.test_caching.test_fresh_cache_below_threshold_not_expired",
|
| 537 |
+
"eval.tests.test_caching.test_fresh_cache_ignores_stale_error_file",
|
| 538 |
+
"eval.tests.test_caching.test_invalid_max_cache_age_panics",
|
| 539 |
+
"eval.tests.test_caching.test_malformed_cached_object_type_panics",
|
| 540 |
+
"eval.tests.test_caching.test_repeated_query_reuses_cache_without_refetch",
|
| 541 |
+
"eval.tests.test_caching.test_zero_max_cache_age_keeps_default_threshold"
|
| 542 |
+
]
|
| 543 |
+
},
|
| 544 |
+
"generated_module_06": {
|
| 545 |
+
"ignore_reason": "",
|
| 546 |
+
"ignored": false,
|
| 547 |
+
"ignored_tests": [],
|
| 548 |
+
"tests": [
|
| 549 |
+
"eval.tests.test_util_aws_tools.test_cloudformation_tag_present_but_not_name",
|
| 550 |
+
"eval.tests.test_util_aws_tools.test_cloudformation_tag_value[cf-awseb-name-tag]",
|
| 551 |
+
"eval.tests.test_util_aws_tools.test_cloudformation_tag_value[cf-no-tags]",
|
| 552 |
+
"eval.tests.test_util_aws_tools.test_cloudformation_tag_value[cf-nonawseb-name-tag]",
|
| 553 |
+
"eval.tests.test_util_aws_tools.test_cloudwatch_log_insights_query_detail[loginsights-empty-loggroups]",
|
| 554 |
+
"eval.tests.test_util_aws_tools.test_cloudwatch_log_insights_query_detail[loginsights-multi-multiline]",
|
| 555 |
+
"eval.tests.test_util_aws_tools.test_ec2_instance_state_emoji[state-pending]",
|
| 556 |
+
"eval.tests.test_util_aws_tools.test_ec2_instance_state_emoji[state-running]",
|
| 557 |
+
"eval.tests.test_util_aws_tools.test_ec2_instance_state_emoji[state-shutting-down]",
|
| 558 |
+
"eval.tests.test_util_aws_tools.test_ec2_instance_state_emoji[state-stopped]",
|
| 559 |
+
"eval.tests.test_util_aws_tools.test_ec2_instance_state_emoji[state-stopping]",
|
| 560 |
+
"eval.tests.test_util_aws_tools.test_ec2_instance_state_emoji[state-terminated]",
|
| 561 |
+
"eval.tests.test_util_aws_tools.test_ec2_instance_state_emoji[state-unknown]",
|
| 562 |
+
"eval.tests.test_util_aws_tools.test_ec2_non_name_tag_uses_instance_id_title",
|
| 563 |
+
"eval.tests.test_util_aws_tools.test_elasticache_cluster_full_fields",
|
| 564 |
+
"eval.tests.test_util_aws_tools.test_elasticache_cluster_missing_engine_version_skipped",
|
| 565 |
+
"eval.tests.test_util_aws_tools.test_elasticache_non_redis_engine_produces_no_item",
|
| 566 |
+
"eval.tests.test_util_aws_tools.test_elasticbeanstalk_health_emoji[health-green]",
|
| 567 |
+
"eval.tests.test_util_aws_tools.test_elasticbeanstalk_health_emoji[health-grey]",
|
| 568 |
+
"eval.tests.test_util_aws_tools.test_elasticbeanstalk_health_emoji[health-red-terminated]",
|
| 569 |
+
"eval.tests.test_util_aws_tools.test_elasticbeanstalk_health_emoji[health-unknown]",
|
| 570 |
+
"eval.tests.test_util_aws_tools.test_elasticbeanstalk_health_emoji[health-yellow]",
|
| 571 |
+
"eval.tests.test_util_cli.test_deprecated_console_domain_env_var_fails_fast",
|
| 572 |
+
"eval.tests.test_util_cli.test_help_flag_prints_usage",
|
| 573 |
+
"eval.tests.test_util_cli.test_no_matching_service_fallback",
|
| 574 |
+
"eval.tests.test_util_cli.test_nonexistent_aws_profile_panics_to_feedback_item",
|
| 575 |
+
"eval.tests.test_util_cli.test_nonexistent_region_override_query",
|
| 576 |
+
"eval.tests.test_util_cli.test_open_all_without_flag_builds_action_item[open-all-services]",
|
| 577 |
+
"eval.tests.test_util_cli.test_query_flag_targets_service_url",
|
| 578 |
+
"eval.tests.test_util_cli.test_region_override_lists_region_choices",
|
| 579 |
+
"eval.tests.test_util_cli.test_unknown_flag_is_rejected",
|
| 580 |
+
"eval.tests.test_util_console_url.test_china_region_uses_amazonaws_cn_domain[cn-north-1]",
|
| 581 |
+
"eval.tests.test_util_console_url.test_china_region_uses_amazonaws_cn_domain[cn-northwest-1]",
|
| 582 |
+
"eval.tests.test_util_console_url.test_custom_console_domain_override_with_region",
|
| 583 |
+
"eval.tests.test_util_console_url.test_custom_console_domain_override_without_region",
|
| 584 |
+
"eval.tests.test_util_console_url.test_empty_region_omits_prefix_and_param",
|
| 585 |
+
"eval.tests.test_util_console_url.test_global_service_ignores_configured_region",
|
| 586 |
+
"eval.tests.test_util_console_url.test_gov_cloud_region_uses_gov_domain[us-gov-east-1]",
|
| 587 |
+
"eval.tests.test_util_console_url.test_gov_cloud_region_uses_gov_domain[us-gov-west-1]",
|
| 588 |
+
"eval.tests.test_util_console_url.test_http_prefixed_chime_url_is_returned_verbatim",
|
| 589 |
+
"eval.tests.test_util_console_url.test_http_prefixed_service_url_is_returned_verbatim",
|
| 590 |
+
"eval.tests.test_util_console_url.test_region_override_query_reaches_console_url_construction",
|
| 591 |
+
"eval.tests.test_util_console_url.test_regional_service_adds_region_prefix_and_param[standard-ap-southeast]",
|
| 592 |
+
"eval.tests.test_util_console_url.test_regional_service_adds_region_prefix_and_param[standard-canada]",
|
| 593 |
+
"eval.tests.test_util_console_url.test_regional_service_adds_region_prefix_and_param[standard-eu-central]",
|
| 594 |
+
"eval.tests.test_util_console_url.test_regional_service_adds_region_prefix_and_param[standard-southamerica]",
|
| 595 |
+
"eval.tests.test_util_console_url.test_regional_service_adds_region_prefix_and_param[standard-us-west]",
|
| 596 |
+
"eval.tests.test_util_console_url.test_sub_service_console_url_with_anchor_and_region",
|
| 597 |
+
"eval.tests.test_util_console_url_hashless.test_construct_console_url_hashless_no_region[hashless-ecr-no-region]",
|
| 598 |
+
"eval.tests.test_util_console_url_hashless.test_construct_console_url_hashless_no_region[hashless-ecs-no-region]",
|
| 599 |
+
"eval.tests.test_util_console_url_hashless.test_construct_console_url_hashless_regional[hashless-cloudformation-designer]",
|
| 600 |
+
"eval.tests.test_util_console_url_hashless.test_construct_console_url_hashless_regional[hashless-ecr-china-domain]",
|
| 601 |
+
"eval.tests.test_util_console_url_hashless.test_construct_console_url_hashless_regional[hashless-ecr-private-repos-apse2]",
|
| 602 |
+
"eval.tests.test_util_console_url_hashless.test_construct_console_url_hashless_regional[hashless-ecr-private-repos-cacentral1]",
|
| 603 |
+
"eval.tests.test_util_console_url_hashless.test_construct_console_url_hashless_regional[hashless-ecr-private-repos-eucentral1]",
|
| 604 |
+
"eval.tests.test_util_console_url_hashless.test_construct_console_url_hashless_regional[hashless-ecr-private-repos-saeast1]",
|
| 605 |
+
"eval.tests.test_util_console_url_hashless.test_construct_console_url_hashless_regional[hashless-ecr-private-repos-uswest2]",
|
| 606 |
+
"eval.tests.test_util_console_url_hashless.test_construct_console_url_hashless_regional[hashless-ecr-private-settings]",
|
| 607 |
+
"eval.tests.test_util_console_url_hashless.test_construct_console_url_hashless_regional[hashless-ecr-public-settings]",
|
| 608 |
+
"eval.tests.test_util_console_url_hashless.test_construct_console_url_hashless_regional[hashless-ecs-custom-domain]",
|
| 609 |
+
"eval.tests.test_util_console_url_hashless.test_construct_console_url_hashless_regional[hashless-ecs-gov-domain]",
|
| 610 |
+
"eval.tests.test_util_console_url_hashless.test_construct_console_url_hashless_regional[hashless-elasticbeanstalk-changehistory]",
|
| 611 |
+
"eval.tests.test_util_console_url_hashless.test_construct_console_url_hashless_regional[hashless-kinesis-videostreams]",
|
| 612 |
+
"eval.tests.test_util_edge_cases.test_cloudformation_match_branch_on_query_prefix[cf-match-tag-on-nonprefix]",
|
| 613 |
+
"eval.tests.test_util_edge_cases.test_cloudformation_match_branch_on_query_prefix[cf-match-title-on-awseb-prefix]",
|
| 614 |
+
"eval.tests.test_util_edge_cases.test_cloudwatch_log_group_byteformat_edge[byteformat-exact-kb-boundary]",
|
| 615 |
+
"eval.tests.test_util_edge_cases.test_cloudwatch_log_group_byteformat_edge[byteformat-exact-tb-boundary]",
|
| 616 |
+
"eval.tests.test_util_edge_cases.test_cloudwatch_log_group_byteformat_edge[byteformat-fraction-mb]",
|
| 617 |
+
"eval.tests.test_util_edge_cases.test_cloudwatch_log_group_byteformat_edge[byteformat-sub-kb-fraction]",
|
| 618 |
+
"eval.tests.test_util_edge_cases.test_cloudwatch_log_group_byteformat_edge[byteformat-zero-bytes]",
|
| 619 |
+
"eval.tests.test_util_edge_cases.test_elasticache_cluster_only_engine_renders_single_segment",
|
| 620 |
+
"eval.tests.test_util_edge_cases.test_sns_subscription_getendofarn_arn_shapes[getendofarn-empty-tail]",
|
| 621 |
+
"eval.tests.test_util_edge_cases.test_sns_subscription_getendofarn_arn_shapes[getendofarn-short-arn]",
|
| 622 |
+
"eval.tests.test_util_loginsights_escaping.test_cloudwatch_log_insights_special_char_escaping[escape-percent-newline-plus-slash]",
|
| 623 |
+
"eval.tests.test_util_loginsights_escaping.test_cloudwatch_log_insights_special_char_escaping[escape-star-paren-amp-hash-tilde-in-groups]",
|
| 624 |
+
"eval.tests.test_util_loginsights_escaping.test_cloudwatch_log_insights_special_char_escaping[escape-tilde-literal-and-percent]",
|
| 625 |
+
"eval.tests.test_util_newurlitem.test_newurlitem_cmd_modifier_copies_url[service-copy-subtitle]",
|
| 626 |
+
"eval.tests.test_util_newurlitem.test_newurlitem_cmd_modifier_copies_url[subservice-copy-subtitle]",
|
| 627 |
+
"eval.tests.test_util_newurlitem.test_newurlitem_item_is_valid_open_url[global-service]",
|
| 628 |
+
"eval.tests.test_util_newurlitem.test_newurlitem_item_is_valid_open_url[regional-service]",
|
| 629 |
+
"eval.tests.test_util_newurlitem.test_newurlitem_item_is_valid_open_url[sub-service]",
|
| 630 |
+
"eval.tests.test_util_newurlitem.test_newurlitem_url_arg_is_nonempty_for_each_service",
|
| 631 |
+
"eval.tests.test_util_tools_aws.test_cloudwatch_log_group_byteformat[byteformat-b-512]",
|
| 632 |
+
"eval.tests.test_util_tools_aws.test_cloudwatch_log_group_byteformat[byteformat-gb-2147483648]",
|
| 633 |
+
"eval.tests.test_util_tools_aws.test_cloudwatch_log_group_byteformat[byteformat-gb-exact-5]",
|
| 634 |
+
"eval.tests.test_util_tools_aws.test_cloudwatch_log_group_byteformat[byteformat-gb-fraction]",
|
| 635 |
+
"eval.tests.test_util_tools_aws.test_cloudwatch_log_group_byteformat[byteformat-gb-roundup-ceil]",
|
| 636 |
+
"eval.tests.test_util_tools_aws.test_cloudwatch_log_group_byteformat[byteformat-kb-2048]",
|
| 637 |
+
"eval.tests.test_util_tools_aws.test_cloudwatch_log_group_byteformat[byteformat-kb-exact-10]",
|
| 638 |
+
"eval.tests.test_util_tools_aws.test_cloudwatch_log_group_byteformat[byteformat-kb-retention-null]",
|
| 639 |
+
"eval.tests.test_util_tools_aws.test_cloudwatch_log_group_byteformat[byteformat-mb-2097152]",
|
| 640 |
+
"eval.tests.test_util_tools_aws.test_cloudwatch_log_group_byteformat[byteformat-pb-2251799813685248]",
|
| 641 |
+
"eval.tests.test_util_tools_aws.test_cloudwatch_log_group_byteformat[byteformat-tb-2199023255552]",
|
| 642 |
+
"eval.tests.test_util_tools_aws.test_cloudwatch_log_group_no_fields_renders_no_subtitle",
|
| 643 |
+
"eval.tests.test_util_tools_aws.test_cloudwatch_log_group_retention_only_no_byteformat",
|
| 644 |
+
"eval.tests.test_util_tools_aws.test_sns_subscription_appendstring[appendstring-append-all]",
|
| 645 |
+
"eval.tests.test_util_tools_aws.test_sns_subscription_appendstring[appendstring-empty-fields-skipped]",
|
| 646 |
+
"eval.tests.test_util_tools_aws.test_sns_subscription_appendstring[appendstring-pending-confirmation]",
|
| 647 |
+
"eval.tests.test_util_tools_aws.test_sns_subscription_missing_arn_uses_subscriptions_path",
|
| 648 |
+
"eval.tests.test_util_tools_aws.test_sns_subscription_nil_protocol_and_endpoint_skipped"
|
| 649 |
+
]
|
| 650 |
+
},
|
| 651 |
+
"generated_upstream": {
|
| 652 |
+
"ignore_reason": "",
|
| 653 |
+
"ignored": false,
|
| 654 |
+
"ignored_tests": [],
|
| 655 |
+
"tests": [
|
| 656 |
+
"eval.tests.test_no_subservices_note.test_service_without_subservices_emits_guide_note[alexa h]",
|
| 657 |
+
"eval.tests.test_no_subservices_note.test_service_without_subservices_emits_guide_note[alexa home]",
|
| 658 |
+
"eval.tests.test_no_subservices_note.test_service_without_subservices_emits_guide_note[amplify things]",
|
| 659 |
+
"eval.tests.test_open_all.test_open_all_lists_service_or_subservice_count[OPEN_ALL ec2]",
|
| 660 |
+
"eval.tests.test_open_all.test_open_all_lists_service_or_subservice_count[OPEN_ALL]",
|
| 661 |
+
"eval.tests.test_open_all.test_open_all_lists_service_or_subservice_count[cloudformation OPEN_ALL]",
|
| 662 |
+
"eval.tests.test_open_all.test_open_all_lists_service_or_subservice_count[ec OPEN_ALL ]",
|
| 663 |
+
"eval.tests.test_open_all.test_open_all_lists_service_or_subservice_count[ec OPEN_ALL]",
|
| 664 |
+
"eval.tests.test_open_all.test_open_all_lists_service_or_subservice_count[ec2 OPEN_ALL]",
|
| 665 |
+
"eval.tests.test_open_all.test_open_all_lists_service_or_subservice_count[elasticache OPEN_ALL]",
|
| 666 |
+
"eval.tests.test_open_all.test_open_all_lists_service_or_subservice_count[lambda OPEN_ALL]",
|
| 667 |
+
"eval.tests.test_override_ordering.test_bare_region_token_under_profile_mode_yields_no_match",
|
| 668 |
+
"eval.tests.test_override_ordering.test_explicit_region_override_matches_ssoprofile_region",
|
| 669 |
+
"eval.tests.test_override_ordering.test_extra_words_after_profile_fragment_preserved_in_autocomplete",
|
| 670 |
+
"eval.tests.test_override_ordering.test_last_region_override_wins_in_service_url[$cn-north-1 elasticbeanstalk]",
|
| 671 |
+
"eval.tests.test_override_ordering.test_last_region_override_wins_in_service_url[$us-east-1 $us-east-2 elasticbeanstalk]",
|
| 672 |
+
"eval.tests.test_override_ordering.test_last_region_override_wins_in_service_url[$us-east-1 @profile3 elasticbeanstalk]",
|
| 673 |
+
"eval.tests.test_override_ordering.test_last_region_override_wins_in_service_url[@china elasticbeanstalk]",
|
| 674 |
+
"eval.tests.test_override_ordering.test_last_region_override_wins_in_service_url[@profile1 $us-east-2 elasticbeanstalk]",
|
| 675 |
+
"eval.tests.test_override_ordering.test_last_region_override_wins_in_service_url[@usgov elasticbeanstalk]",
|
| 676 |
+
"eval.tests.test_override_ordering.test_partial_subservice_fragment_autocompletes_full_name",
|
| 677 |
+
"eval.tests.test_override_ordering.test_profile_fragment_lists_profiles_under_region_override",
|
| 678 |
+
"eval.tests.test_override_ordering.test_profile_own_region_drives_service_url",
|
| 679 |
+
"eval.tests.test_override_ordering.test_profile_region_flows_into_subservice_fragment_url",
|
| 680 |
+
"eval.tests.test_override_ordering.test_region_override_after_service_word_takes_precedence",
|
| 681 |
+
"eval.tests.test_override_ordering.test_region_override_before_subservice_word_still_lists_subservice[elasticbeanstalk $us-east-1 applications]",
|
| 682 |
+
"eval.tests.test_override_ordering.test_region_token_flows_into_subservice_fragment_url",
|
| 683 |
+
"eval.tests.test_override_ordering.test_subservice_without_searcher_emits_guide_note",
|
| 684 |
+
"eval.tests.test_override_ordering.test_trailing_profile_token_lists_profiles_despite_region_override",
|
| 685 |
+
"eval.tests.test_override_ordering.test_trailing_profile_token_switches_back_to_profile_mode",
|
| 686 |
+
"eval.tests.test_override_ordering.test_trailing_region_token_switches_back_to_region_mode",
|
| 687 |
+
"eval.tests.test_profile_queries.test_profile_alias_loads_profiles_from_both_files",
|
| 688 |
+
"eval.tests.test_profile_queries.test_profile_alias_respects_custom_alias_env",
|
| 689 |
+
"eval.tests.test_profile_queries.test_profile_exact_name_match[bogusprofile]",
|
| 690 |
+
"eval.tests.test_profile_queries.test_profile_exact_name_match[china]",
|
| 691 |
+
"eval.tests.test_profile_queries.test_profile_exact_name_match[default]",
|
| 692 |
+
"eval.tests.test_profile_queries.test_profile_exact_name_match[legacy-sso-direct-config-profile]",
|
| 693 |
+
"eval.tests.test_profile_queries.test_profile_exact_name_match[noregion]",
|
| 694 |
+
"eval.tests.test_profile_queries.test_profile_exact_name_match[profile1]",
|
| 695 |
+
"eval.tests.test_profile_queries.test_profile_exact_name_match[profile3]",
|
| 696 |
+
"eval.tests.test_profile_queries.test_profile_exact_name_match[sso-profile1]",
|
| 697 |
+
"eval.tests.test_profile_queries.test_profile_exact_name_match[sso-profile2]",
|
| 698 |
+
"eval.tests.test_profile_queries.test_profile_exact_name_match[usgov]",
|
| 699 |
+
"eval.tests.test_profile_queries.test_profile_override_unknown_profile_shows_no_match",
|
| 700 |
+
"eval.tests.test_profile_queries.test_profile_sso_only_profiles_come_from_config",
|
| 701 |
+
"eval.tests.test_profile_queries.test_profile_without_region_lists_warning",
|
| 702 |
+
"eval.tests.test_region_queries.test_custom_region_alias_env_changes_alias_token",
|
| 703 |
+
"eval.tests.test_region_queries.test_region_alias_lists_every_region",
|
| 704 |
+
"eval.tests.test_region_queries.test_region_exact_name_match[af-south-1]",
|
| 705 |
+
"eval.tests.test_region_queries.test_region_exact_name_match[ap-east-1]",
|
| 706 |
+
"eval.tests.test_region_queries.test_region_exact_name_match[ap-northeast-1]",
|
| 707 |
+
"eval.tests.test_region_queries.test_region_exact_name_match[ap-northeast-2]",
|
| 708 |
+
"eval.tests.test_region_queries.test_region_exact_name_match[ap-northeast-3]",
|
| 709 |
+
"eval.tests.test_region_queries.test_region_exact_name_match[ap-south-1]",
|
| 710 |
+
"eval.tests.test_region_queries.test_region_exact_name_match[ap-southeast-1]",
|
| 711 |
+
"eval.tests.test_region_queries.test_region_exact_name_match[ap-southeast-2]",
|
| 712 |
+
"eval.tests.test_region_queries.test_region_exact_name_match[ca-central-1]",
|
| 713 |
+
"eval.tests.test_region_queries.test_region_exact_name_match[cn-north-1]",
|
| 714 |
+
"eval.tests.test_region_queries.test_region_exact_name_match[cn-northwest-1]",
|
| 715 |
+
"eval.tests.test_region_queries.test_region_exact_name_match[eu-central-1]",
|
| 716 |
+
"eval.tests.test_region_queries.test_region_exact_name_match[eu-north-1]",
|
| 717 |
+
"eval.tests.test_region_queries.test_region_exact_name_match[eu-south-1]",
|
| 718 |
+
"eval.tests.test_region_queries.test_region_exact_name_match[eu-west-1]",
|
| 719 |
+
"eval.tests.test_region_queries.test_region_exact_name_match[eu-west-2]",
|
| 720 |
+
"eval.tests.test_region_queries.test_region_exact_name_match[eu-west-3]",
|
| 721 |
+
"eval.tests.test_region_queries.test_region_exact_name_match[me-south-1]",
|
| 722 |
+
"eval.tests.test_region_queries.test_region_exact_name_match[sa-east-1]",
|
| 723 |
+
"eval.tests.test_region_queries.test_region_exact_name_match[us-east-1]",
|
| 724 |
+
"eval.tests.test_region_queries.test_region_exact_name_match[us-east-2]",
|
| 725 |
+
"eval.tests.test_region_queries.test_region_exact_name_match[us-west-1]",
|
| 726 |
+
"eval.tests.test_region_queries.test_region_exact_name_match[us-west-2]",
|
| 727 |
+
"eval.tests.test_region_queries.test_region_override_dominates_trailing_tokens",
|
| 728 |
+
"eval.tests.test_region_queries.test_region_override_prefix_shares_name_fragment",
|
| 729 |
+
"eval.tests.test_region_queries.test_region_override_unknown_region_shows_no_match",
|
| 730 |
+
"eval.tests.test_region_queries.test_region_override_with_embedded_space_filters",
|
| 731 |
+
"eval.tests.test_region_queries.test_region_query_is_not_confused_by_service_prefix",
|
| 732 |
+
"eval.tests.test_service_listing_filter.test_service_listing_filters_to_ordered_matches[app]",
|
| 733 |
+
"eval.tests.test_service_listing_filter.test_service_listing_filters_to_ordered_matches[bean]",
|
| 734 |
+
"eval.tests.test_service_listing_filter.test_service_listing_filters_to_ordered_matches[cloudfront]",
|
| 735 |
+
"eval.tests.test_service_listing_filter.test_service_listing_filters_to_ordered_matches[ec2]",
|
| 736 |
+
"eval.tests.test_service_listing_filter.test_service_listing_filters_to_ordered_matches[ecs]",
|
| 737 |
+
"eval.tests.test_service_listing_filter.test_service_listing_filters_to_ordered_matches[eec2]",
|
| 738 |
+
"eval.tests.test_service_listing_filter.test_service_listing_filters_to_ordered_matches[elasticache]",
|
| 739 |
+
"eval.tests.test_service_listing_filter.test_service_listing_filters_to_ordered_matches[sns]",
|
| 740 |
+
"eval.tests.test_service_queries.test_service_multi_word_fragment_autocompletes_subservice",
|
| 741 |
+
"eval.tests.test_service_queries.test_service_region_domain_is_region_aware",
|
| 742 |
+
"eval.tests.test_service_queries.test_service_subservice_resolves_to_named_subservice",
|
| 743 |
+
"eval.tests.test_service_queries.test_service_word_resolves_to_single_service[cloudwatch]",
|
| 744 |
+
"eval.tests.test_service_queries.test_service_word_resolves_to_single_service[dynamodb]",
|
| 745 |
+
"eval.tests.test_service_queries.test_service_word_resolves_to_single_service[elasticbeanstalk]",
|
| 746 |
+
"eval.tests.test_service_queries.test_service_word_resolves_to_single_service[lambda]",
|
| 747 |
+
"eval.tests.test_service_queries.test_unknown_service_lists_all_and_no_match",
|
| 748 |
+
"eval.tests.test_service_resolution.test_global_region_service_arg_omits_region_param[cloudfront]",
|
| 749 |
+
"eval.tests.test_service_resolution.test_global_region_service_arg_omits_region_param[route53]",
|
| 750 |
+
"eval.tests.test_service_resolution.test_service_resolved_arg_is_a_wellformed_absolute_url",
|
| 751 |
+
"eval.tests.test_service_resolution.test_service_word_resolves_to_exact_single_item[alexa]",
|
| 752 |
+
"eval.tests.test_service_resolution.test_service_word_resolves_to_exact_single_item[apprunner]",
|
| 753 |
+
"eval.tests.test_service_resolution.test_service_word_resolves_to_exact_single_item[cloudformation]",
|
| 754 |
+
"eval.tests.test_service_resolution.test_service_word_resolves_to_exact_single_item[codepipeline]",
|
| 755 |
+
"eval.tests.test_service_resolution.test_service_word_resolves_to_exact_single_item[route53]",
|
| 756 |
+
"eval.tests.test_subservice_listing.test_subservice_listing_resolves_exact_items[cloudformation stacks]",
|
| 757 |
+
"eval.tests.test_subservice_listing.test_subservice_listing_resolves_exact_items[cloudformation stacksets]",
|
| 758 |
+
"eval.tests.test_subservice_listing.test_subservice_listing_resolves_exact_items[cloudfront distributions]",
|
| 759 |
+
"eval.tests.test_subservice_listing.test_subservice_listing_resolves_exact_items[cloudfront fle]",
|
| 760 |
+
"eval.tests.test_subservice_listing.test_subservice_listing_resolves_exact_items[cloudwatch loggroups]",
|
| 761 |
+
"eval.tests.test_subservice_listing.test_subservice_listing_resolves_exact_items[cloudwatch loginsights]",
|
| 762 |
+
"eval.tests.test_subservice_listing.test_subservice_listing_resolves_exact_items[codepipeline pipelines]",
|
| 763 |
+
"eval.tests.test_subservice_listing.test_subservice_listing_resolves_exact_items[ec2 inst]",
|
| 764 |
+
"eval.tests.test_subservice_listing.test_subservice_listing_resolves_exact_items[ec2 instances]",
|
| 765 |
+
"eval.tests.test_subservice_listing.test_subservice_listing_resolves_exact_items[ec2 loadbalancers]",
|
| 766 |
+
"eval.tests.test_subservice_listing.test_subservice_listing_resolves_exact_items[ec2 securitygroups]",
|
| 767 |
+
"eval.tests.test_subservice_listing.test_subservice_listing_resolves_exact_items[ec2 tags]",
|
| 768 |
+
"eval.tests.test_subservice_listing.test_subservice_listing_resolves_exact_items[ecr repo]",
|
| 769 |
+
"eval.tests.test_subservice_listing.test_subservice_listing_resolves_exact_items[ecs clusters]",
|
| 770 |
+
"eval.tests.test_subservice_listing.test_subservice_listing_resolves_exact_items[elasticache memcached]",
|
| 771 |
+
"eval.tests.test_subservice_listing.test_subservice_listing_resolves_exact_items[elasticache redis]",
|
| 772 |
+
"eval.tests.test_subservice_listing.test_subservice_listing_resolves_exact_items[lambda func]",
|
| 773 |
+
"eval.tests.test_subservice_listing.test_subservice_listing_resolves_exact_items[oss integrat]",
|
| 774 |
+
"eval.tests.test_subservice_listing.test_subservice_listing_resolves_exact_items[route53 healthchecks]",
|
| 775 |
+
"eval.tests.test_subservice_listing.test_subservice_listing_resolves_exact_items[route53 hostedzones]",
|
| 776 |
+
"eval.tests.test_subservice_listing.test_subservice_listing_resolves_exact_items[s3 buckets]",
|
| 777 |
+
"eval.tests.test_subservice_listing.test_subservice_listing_resolves_exact_items[sns topics]",
|
| 778 |
+
"eval.tests.test_subservice_listing.test_subservice_listing_resolves_exact_items[waf ipsets]",
|
| 779 |
+
"eval.tests.test_subservice_listing.test_subservice_listing_resolves_exact_items[waf webacls]"
|
| 780 |
+
]
|
| 781 |
+
}
|
| 782 |
+
},
|
| 783 |
+
"commit": "4f0e46db45e6ca0f69fa4e46cc841b2de1d29050",
|
| 784 |
+
"data_source": "synthetic_programgym",
|
| 785 |
+
"difficulty": "medium",
|
| 786 |
+
"difficulty_score": 3.2363256047207924,
|
| 787 |
+
"eval_clean_hashes": [
|
| 788 |
+
"b8a5d03e4c6dd41d585a523bcfe89df73eaec2fbb5a7f4c1de891881841b10aa"
|
| 789 |
+
],
|
| 790 |
+
"input_record": {
|
| 791 |
+
"commit": "4f0e46db45e6ca0f69fa4e46cc841b2de1d29050",
|
| 792 |
+
"commits": 498,
|
| 793 |
+
"contributors": 17,
|
| 794 |
+
"difficulty": "medium",
|
| 795 |
+
"difficulty_code_lines": 3746,
|
| 796 |
+
"difficulty_has_tests": true,
|
| 797 |
+
"difficulty_product_code_lines": 3746,
|
| 798 |
+
"difficulty_runtime_deps": 45,
|
| 799 |
+
"difficulty_score": 3.2363256047207924,
|
| 800 |
+
"difficulty_test_code_lines": 1771,
|
| 801 |
+
"full_name": "rkoval/alfred-aws-console-services-workflow",
|
| 802 |
+
"github_stars": 327,
|
| 803 |
+
"input_joern_zip": "go_joern/rkoval__alfred-aws-console-services-workflow.zip",
|
| 804 |
+
"joern_status": true,
|
| 805 |
+
"joern_time": 13.198457246879116,
|
| 806 |
+
"language": "go",
|
| 807 |
+
"pb_match": [
|
| 808 |
+
{
|
| 809 |
+
"pb_fullname": "segmentio/chamber",
|
| 810 |
+
"rank": 55,
|
| 811 |
+
"similarity": 0.6128606796264648
|
| 812 |
+
},
|
| 813 |
+
{
|
| 814 |
+
"pb_fullname": "sclevine/yj",
|
| 815 |
+
"rank": 772,
|
| 816 |
+
"similarity": 0.4799480438232422
|
| 817 |
+
},
|
| 818 |
+
{
|
| 819 |
+
"pb_fullname": "mikefarah/yq",
|
| 820 |
+
"rank": 962,
|
| 821 |
+
"similarity": 0.5055674314498901
|
| 822 |
+
},
|
| 823 |
+
{
|
| 824 |
+
"pb_fullname": "johnkerl/miller",
|
| 825 |
+
"rank": 402,
|
| 826 |
+
"similarity": 0.48865967988967896
|
| 827 |
+
},
|
| 828 |
+
{
|
| 829 |
+
"pb_fullname": "guumaster/hostctl",
|
| 830 |
+
"rank": 696,
|
| 831 |
+
"similarity": 0.45535892248153687
|
| 832 |
+
},
|
| 833 |
+
{
|
| 834 |
+
"pb_fullname": "FiloSottile/age",
|
| 835 |
+
"rank": 861,
|
| 836 |
+
"similarity": 0.4521544575691223
|
| 837 |
+
},
|
| 838 |
+
{
|
| 839 |
+
"pb_fullname": "multiprocessio/dsq",
|
| 840 |
+
"rank": 235,
|
| 841 |
+
"similarity": 0.5210024118423462
|
| 842 |
+
},
|
| 843 |
+
{
|
| 844 |
+
"pb_fullname": "astaxie/bat",
|
| 845 |
+
"rank": 668,
|
| 846 |
+
"similarity": 0.5284223556518555
|
| 847 |
+
},
|
| 848 |
+
{
|
| 849 |
+
"pb_fullname": "noborus/trdsql",
|
| 850 |
+
"rank": 531,
|
| 851 |
+
"similarity": 0.5019421577453613
|
| 852 |
+
},
|
| 853 |
+
{
|
| 854 |
+
"pb_fullname": "cheat/cheat",
|
| 855 |
+
"rank": 698,
|
| 856 |
+
"similarity": 0.49647051095962524
|
| 857 |
+
},
|
| 858 |
+
{
|
| 859 |
+
"pb_fullname": "ariga/atlas",
|
| 860 |
+
"rank": 985,
|
| 861 |
+
"similarity": 0.48995110392570496
|
| 862 |
+
},
|
| 863 |
+
{
|
| 864 |
+
"pb_fullname": "antonmedv/fx",
|
| 865 |
+
"rank": 606,
|
| 866 |
+
"similarity": 0.4857354164123535
|
| 867 |
+
},
|
| 868 |
+
{
|
| 869 |
+
"pb_fullname": "tomnomnom/gron",
|
| 870 |
+
"rank": 624,
|
| 871 |
+
"similarity": 0.4861001968383789
|
| 872 |
+
},
|
| 873 |
+
{
|
| 874 |
+
"pb_fullname": "junegunn/fzf",
|
| 875 |
+
"rank": 654,
|
| 876 |
+
"similarity": 0.46565860509872437
|
| 877 |
+
},
|
| 878 |
+
{
|
| 879 |
+
"pb_fullname": "zk-org/zk",
|
| 880 |
+
"rank": 782,
|
| 881 |
+
"similarity": 0.5260961055755615
|
| 882 |
+
}
|
| 883 |
+
],
|
| 884 |
+
"repo_age": 9.73,
|
| 885 |
+
"repo_path": "go/rkoval__alfred-aws-console-services-workflow",
|
| 886 |
+
"source": "commit:4f0e46db45e6ca0f69fa4e46cc841b2de1d29050",
|
| 887 |
+
"status": "done",
|
| 888 |
+
"url": "https://github.com/rkoval/alfred-aws-console-services-workflow"
|
| 889 |
+
},
|
| 890 |
+
"instance_id": "rkoval__alfred-aws-console-services-workflow.4f0e46d",
|
| 891 |
+
"language": "go",
|
| 892 |
+
"module_iterations": [
|
| 893 |
+
{
|
| 894 |
+
"actual_iterations": 2,
|
| 895 |
+
"branch_name": "generated_module_01",
|
| 896 |
+
"iteration_limit": 15,
|
| 897 |
+
"module_index": 1,
|
| 898 |
+
"module_kind": "source",
|
| 899 |
+
"termination_reason": "module_coverage_threshold_reached"
|
| 900 |
+
},
|
| 901 |
+
{
|
| 902 |
+
"actual_iterations": 2,
|
| 903 |
+
"branch_name": "generated_module_02",
|
| 904 |
+
"iteration_limit": 15,
|
| 905 |
+
"module_index": 2,
|
| 906 |
+
"module_kind": "source",
|
| 907 |
+
"termination_reason": "module_coverage_threshold_reached"
|
| 908 |
+
},
|
| 909 |
+
{
|
| 910 |
+
"actual_iterations": 2,
|
| 911 |
+
"branch_name": "generated_module_03",
|
| 912 |
+
"iteration_limit": 15,
|
| 913 |
+
"module_index": 3,
|
| 914 |
+
"module_kind": "source",
|
| 915 |
+
"termination_reason": "module_coverage_threshold_reached"
|
| 916 |
+
},
|
| 917 |
+
{
|
| 918 |
+
"actual_iterations": 5,
|
| 919 |
+
"branch_name": "generated_module_04",
|
| 920 |
+
"iteration_limit": 15,
|
| 921 |
+
"module_index": 4,
|
| 922 |
+
"module_kind": "source",
|
| 923 |
+
"termination_reason": "early_stopping"
|
| 924 |
+
},
|
| 925 |
+
{
|
| 926 |
+
"actual_iterations": 3,
|
| 927 |
+
"branch_name": "generated_module_05",
|
| 928 |
+
"iteration_limit": 15,
|
| 929 |
+
"module_index": 5,
|
| 930 |
+
"module_kind": "source",
|
| 931 |
+
"termination_reason": "module_coverage_threshold_reached"
|
| 932 |
+
},
|
| 933 |
+
{
|
| 934 |
+
"actual_iterations": 7,
|
| 935 |
+
"branch_name": "generated_module_06",
|
| 936 |
+
"iteration_limit": 15,
|
| 937 |
+
"module_index": 6,
|
| 938 |
+
"module_kind": "source",
|
| 939 |
+
"termination_reason": "early_stopping"
|
| 940 |
+
},
|
| 941 |
+
{
|
| 942 |
+
"actual_iterations": 9,
|
| 943 |
+
"branch_name": "generated_upstream",
|
| 944 |
+
"iteration_limit": 15,
|
| 945 |
+
"module_index": 7,
|
| 946 |
+
"module_kind": "tests",
|
| 947 |
+
"termination_reason": "early_stopping"
|
| 948 |
+
}
|
| 949 |
+
],
|
| 950 |
+
"repository": "rkoval/alfred-aws-console-services-workflow"
|
| 951 |
+
}
|
rkoval--alfred-aws-console-services-workflow.4f0e46d/tests/test.sh
ADDED
|
@@ -0,0 +1,82 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
#!/usr/bin/env bash
|
| 2 |
+
set -euo pipefail
|
| 3 |
+
|
| 4 |
+
# Verifier exec may not inherit image ENV (Modal/gVisor, login-shell resets).
|
| 5 |
+
export PATH="/usr/local/go/bin:/go/bin:/usr/local/cargo/bin:/root/.cargo/bin:${PATH}"
|
| 6 |
+
|
| 7 |
+
mkdir -p /logs/verifier /logs/artifacts
|
| 8 |
+
|
| 9 |
+
write_failure() {
|
| 10 |
+
local code="$1"
|
| 11 |
+
local details="$2"
|
| 12 |
+
python3 - "$code" "$details" <<'PY'
|
| 13 |
+
import json
|
| 14 |
+
import sys
|
| 15 |
+
from pathlib import Path
|
| 16 |
+
|
| 17 |
+
code, details = sys.argv[1:3]
|
| 18 |
+
try:
|
| 19 |
+
metadata = json.loads(Path("/tests/programgym_task.json").read_text())
|
| 20 |
+
n_tests = sum(
|
| 21 |
+
len([
|
| 22 |
+
name for name in info.get("tests", [])
|
| 23 |
+
if name not in {item.get("name") for item in info.get("ignored_tests", [])}
|
| 24 |
+
])
|
| 25 |
+
for branch, info in metadata.get("branches", {}).items()
|
| 26 |
+
if not info.get("ignored")
|
| 27 |
+
)
|
| 28 |
+
except Exception:
|
| 29 |
+
n_tests = 0
|
| 30 |
+
result = {
|
| 31 |
+
"test_results": [],
|
| 32 |
+
"error_code": code,
|
| 33 |
+
"error_details": details,
|
| 34 |
+
"log": [],
|
| 35 |
+
"solution_branch": "submission",
|
| 36 |
+
"test_branches": [],
|
| 37 |
+
"test_branch_errors": {
|
| 38 |
+
"__infra__": [{"error_code": code, "error_details": details}]
|
| 39 |
+
},
|
| 40 |
+
"executable_hash": None,
|
| 41 |
+
"warnings": [],
|
| 42 |
+
}
|
| 43 |
+
diagnostics = {
|
| 44 |
+
"pass_rate": 0.0,
|
| 45 |
+
"resolved": 0,
|
| 46 |
+
"n_passed": 0,
|
| 47 |
+
"n_tests": n_tests,
|
| 48 |
+
"n_branch_errors": 1,
|
| 49 |
+
"infra_error": 1,
|
| 50 |
+
"executable_hash_present": 0,
|
| 51 |
+
}
|
| 52 |
+
Path("/logs/verifier/programgym_eval.json").write_text(
|
| 53 |
+
json.dumps(result, indent=2, sort_keys=True)
|
| 54 |
+
)
|
| 55 |
+
Path("/logs/verifier/harbor_diagnostics.json").write_text(
|
| 56 |
+
json.dumps(diagnostics, indent=2, sort_keys=True)
|
| 57 |
+
)
|
| 58 |
+
Path("/logs/verifier/reward.json").write_text(
|
| 59 |
+
json.dumps(
|
| 60 |
+
{"reward": 0.0, "resolved": 0.0, "almost_resolved": 0.0},
|
| 61 |
+
indent=2,
|
| 62 |
+
sort_keys=True,
|
| 63 |
+
)
|
| 64 |
+
)
|
| 65 |
+
Path("/logs/verifier/reward.txt").write_text("0.0")
|
| 66 |
+
Path("/logs/verifier/programgym_eval.log").write_text(details)
|
| 67 |
+
PY
|
| 68 |
+
}
|
| 69 |
+
|
| 70 |
+
if ! command -v python3 >/dev/null 2>&1; then
|
| 71 |
+
write_failure "missing_python3" "python3 is required in the cleanroom image"
|
| 72 |
+
exit 0
|
| 73 |
+
fi
|
| 74 |
+
|
| 75 |
+
if ! python3 /tests/programgym_evaluator.py; then
|
| 76 |
+
if [ ! -s /logs/verifier/reward.txt ]; then
|
| 77 |
+
write_failure "evaluator_crashed" \
|
| 78 |
+
"programgym_evaluator.py exited non-zero with no reward written"
|
| 79 |
+
fi
|
| 80 |
+
fi
|
| 81 |
+
|
| 82 |
+
exit 0
|
rkoval--alfred-aws-console-services-workflow.4f0e46d/tests/workspace.tar.gz
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:108bb1caeefc40adbee3cc335b9a8bdf103b0d7cf4f8f0428f8f8337c85c361c
|
| 3 |
+
size 24653
|