diff --git a/recipes/incoming-go/temporal-cli.toml b/recipes/incoming-go/temporal-cli.toml new file mode 100644 index 00000000..9ed3e830 --- /dev/null +++ b/recipes/incoming-go/temporal-cli.toml @@ -0,0 +1,19 @@ +# temporal-cli — CLI de Temporal (github.com/temporalio/cli). El repo tiene 3 mains bajo cmd/ +# (gen-commands, gen-docs, temporal); detect_go_main elegía gen-commands ⇒ binario equivocado. Fix: +# flags=["./cmd/temporal"] apunta al main real. El binario resultante se llama `temporal` (no +# `temporal-cli`); el gate de cosecha lo acepta vía alias temporal-cli→temporal en harvest-go.sh. +name = "temporal-cli" +version = "1.7.2" + +[source] +repo = "https://github.com/temporalio/cli" +commit = "b89f8f8df0ffb5fb1820d801c15f7aec3768e513" + +[build] +compiler = "zig-cc" +target = "x86_64-linux-musl" +link = "static" +flags = ["./cmd/temporal"] + +[deps] +build = ["go"] diff --git a/scripts/farm/harvest-go.sh b/scripts/farm/harvest-go.sh index 041eca0a..33a19189 100755 --- a/scripts/farm/harvest-go.sh +++ b/scripts/farm/harvest-go.sh @@ -98,6 +98,7 @@ for f in "$QUEUE"/*.toml; do prometheus-node-exporter|node_exporter) want=node_exporter ;; prometheus-blackbox-exporter|blackbox_exporter) want=blackbox_exporter ;; argo-rollouts) want=kubectl-argo-rollouts ;; step-cli) want=step ;; soft-serve) want=soft ;; go-mockery) want=mockery ;; + temporal-cli) want=temporal ;; *) want="$n" ;; esac diff --git a/tandas/needs-review-weekend/temporal-cli.toml b/tandas/needs-review-weekend/temporal-cli.toml deleted file mode 100644 index 86dfdf2d..00000000 --- a/tandas/needs-review-weekend/temporal-cli.toml +++ /dev/null @@ -1,21 +0,0 @@ -# REVIEW 2026-06-30T02:52:37Z: binario instalado='gen-commands' ≠ esperado='temporal-cli' (detect_go_main eligió otro main); fijar flags=["./cmd/temporal-cli"] -# Importada de nixpkgs por `hammer import-nix` (Etapa G). PUNTO DE PARTIDA, no final: -# - el build usa el lab de hammer (zig-cc / musl estático), NO el stdenv de nix ⇒ revisá -# compiler/link/phases y adaptá hasta que compile. -# - las deps van con su nombre NIX; remapealas a las recetas del corpus si difieren. -name = "temporal-cli" -version = "1.7.2" - -[source] -repo = "https://github.com/temporalio/cli" -commit = "b89f8f8df0ffb5fb1820d801c15f7aec3768e513" - -[build] -compiler = "zig-cc" -target = "x86_64-linux-musl" -link = "static" -flags = [] - -# buildInputs de nix (no usados con CGO off): go -[deps] -build = ["go"]