mirror of
https://github.com/windmill-labs/windmill.git
synced 2026-12-04 00:06:39 +00:00
Merge branch 'access-view-grant' into access-check
This commit is contained in:
@@ -79,6 +79,7 @@ Required in `handler_ee.rs`:
|
||||
- `const TABLE_NAME`, `ADDITIONAL_SELECT_FIELDS`
|
||||
- `get_deployed_object`, `validate_config`, `create_trigger`, `update_trigger`, `delete_trigger`, `test_connection`
|
||||
- `additional_routes` (optional — mount extra endpoints for things like ARM resource listing, topic discovery)
|
||||
- `config_runnables` — required if the config names a script or flow the listener runs (as the WebSocket URL resolver does): it returns them so a save's Hub check sees them. The default returns none, which leaves such a path unchecked.
|
||||
|
||||
Register the crate in `backend/Cargo.toml` as a workspace member and as a dep of `windmill-api` behind the feature flag.
|
||||
|
||||
|
||||
Executable
+21
@@ -0,0 +1,21 @@
|
||||
#!/bin/bash
|
||||
# Lint a frontend file with oxlint after Claude edits it, and hand any findings back
|
||||
# as context. Never blocks: the edit stands, Claude sees what to fix.
|
||||
|
||||
INPUT=$(cat)
|
||||
FILE_PATH=$(echo "$INPUT" | jq -r '.tool_input.file_path // empty')
|
||||
[ -z "$FILE_PATH" ] && exit 0
|
||||
[[ "$FILE_PATH" =~ \.(ts|js|svelte)$ ]] || exit 0
|
||||
|
||||
# Same anchoring as format-frontend.sh: a "frontend" directory at a repo root.
|
||||
REPO_ROOT="${FILE_PATH%%/frontend/*}"
|
||||
[[ "$FILE_PATH" == *"/frontend/"* ]] && [[ -e "$REPO_ROOT/.git" ]] || exit 0
|
||||
OXLINT="$REPO_ROOT/frontend/node_modules/.bin/oxlint"
|
||||
[ -x "$OXLINT" ] || exit 0
|
||||
|
||||
cd "$REPO_ROOT/frontend" || exit 0
|
||||
OUT=$("$OXLINT" --format=unix "$FILE_PATH" 2>&1) && exit 0
|
||||
|
||||
jq -n --arg out "$OUT" '{hookSpecificOutput: {hookEventName: "PostToolUse",
|
||||
additionalContext: ("oxlint found problems in the file you just edited; fix them:\n" + $out)}}'
|
||||
exit 0
|
||||
@@ -123,6 +123,11 @@
|
||||
"command": "\"$CLAUDE_PROJECT_DIR\"/.claude/hooks/format-frontend.sh",
|
||||
"timeout": 30
|
||||
},
|
||||
{
|
||||
"type": "command",
|
||||
"command": "\"$CLAUDE_PROJECT_DIR\"/.claude/hooks/lint-frontend.sh",
|
||||
"timeout": 30
|
||||
},
|
||||
{
|
||||
"type": "command",
|
||||
"command": "\"$CLAUDE_PROJECT_DIR\"/.claude/hooks/format-backend.sh",
|
||||
|
||||
@@ -28,7 +28,7 @@ ENV PATH="${PATH}:/usr/local/go/bin"
|
||||
ENV GO_PATH=/usr/local/go/bin/go
|
||||
|
||||
# UV
|
||||
RUN curl --proto '=https' --tlsv1.2 -LsSf https://github.com/astral-sh/uv/releases/download/0.13.6/uv-installer.sh | sh && mv /usr/local/cargo/bin/uv /usr/local/bin/uv
|
||||
RUN curl --proto '=https' --tlsv1.2 -LsSf https://github.com/astral-sh/uv/releases/download/0.13.8/uv-installer.sh | sh && mv /usr/local/cargo/bin/uv /usr/local/bin/uv
|
||||
|
||||
ENV TZ=Etc/UTC
|
||||
|
||||
@@ -42,7 +42,7 @@ RUN wget https://www.python.org/ftp/python/${PYTHON_VERSION}/Python-${PYTHON_VER
|
||||
RUN /usr/local/bin/python3 -m pip install pip-tools
|
||||
|
||||
# Bun
|
||||
COPY --from=oven/bun:1.4.4 /usr/local/bin/bun /usr/bin/bun
|
||||
COPY --from=oven/bun:1.4.5 /usr/local/bin/bun /usr/bin/bun
|
||||
|
||||
# Install windmill CLI
|
||||
RUN bun install -g windmill-cli \
|
||||
|
||||
@@ -57,7 +57,7 @@ runs:
|
||||
exit 1
|
||||
|
||||
- name: SLSA provenance (GitHub artifact attestation)
|
||||
uses: actions/attest-build-provenance@v4
|
||||
uses: actions/attest-build-provenance@v4.2.2
|
||||
with:
|
||||
subject-name: ${{ inputs.image }}
|
||||
subject-digest: ${{ inputs.digest }}
|
||||
|
||||
@@ -11,11 +11,14 @@
|
||||
|
||||
version: 2
|
||||
updates:
|
||||
# Maintain dependencies for GitHub Actions
|
||||
# Maintain dependencies for GitHub Actions (also updates .github/workflows/actions.lock).
|
||||
# The cooldown lets a compromised release be yanked before we pick it up.
|
||||
- package-ecosystem: "github-actions"
|
||||
directory: "/"
|
||||
directories: ["/", "/.github/actions/*"]
|
||||
schedule:
|
||||
interval: "weekly"
|
||||
cooldown:
|
||||
default-days: 7
|
||||
|
||||
# Maintain dependencies for npm
|
||||
- package-ecosystem: "npm"
|
||||
|
||||
@@ -0,0 +1,36 @@
|
||||
# EE image and its debug file from one build: both targets share the builder
|
||||
# stage, so the binary is compiled once and the .gnu_debuglink CRC in the shipped
|
||||
# binary matches the uploaded debug file. Building them separately recompiles.
|
||||
|
||||
variable "WM_BUILD_VERSION" {}
|
||||
|
||||
variable "SBOM" {
|
||||
default = "false"
|
||||
}
|
||||
|
||||
# Tags and labels, filled in by docker/metadata-action's bake files.
|
||||
target "docker-metadata-action" {}
|
||||
|
||||
target "_ee" {
|
||||
context = "."
|
||||
dockerfile = "Dockerfile"
|
||||
platforms = ["linux/amd64", "linux/arm64"]
|
||||
args = {
|
||||
features = "ee"
|
||||
WM_BUILD_VERSION = WM_BUILD_VERSION
|
||||
}
|
||||
}
|
||||
|
||||
target "image" {
|
||||
inherits = ["_ee", "docker-metadata-action"]
|
||||
output = ["type=registry"]
|
||||
attest = SBOM == "true" ? ["type=sbom"] : []
|
||||
}
|
||||
|
||||
# Writes ./debuginfo/linux_<arch>/windmill.debug. The file names every EE
|
||||
# function with its source file and line: never push or publish it.
|
||||
target "debuginfo" {
|
||||
inherits = ["_ee"]
|
||||
target = "debuginfo"
|
||||
output = ["type=local,dest=./debuginfo"]
|
||||
}
|
||||
@@ -0,0 +1,28 @@
|
||||
{
|
||||
"$schema": "https://static.modelcontextprotocol.io/schemas/2025-12-11/server.schema.json",
|
||||
"name": "io.github.windmill-labs/windmill",
|
||||
"title": "Windmill",
|
||||
"description": "Run Windmill scripts and flows and manage jobs, schedules, resources and variables.",
|
||||
"repository": {
|
||||
"url": "https://github.com/windmill-labs/windmill",
|
||||
"source": "github"
|
||||
},
|
||||
"websiteUrl": "https://www.windmill.dev/docs/core_concepts/mcp",
|
||||
"version": "1.868.0",
|
||||
"remotes": [
|
||||
{
|
||||
"type": "streamable-http",
|
||||
"url": "https://app.windmill.dev/api/mcp/gateway"
|
||||
},
|
||||
{
|
||||
"type": "streamable-http",
|
||||
"url": "https://{windmill_host}/api/mcp/gateway",
|
||||
"variables": {
|
||||
"windmill_host": {
|
||||
"description": "Host name of your self-hosted Windmill instance, for example windmill.example.com. The server authenticates with OAuth and asks you to pick a workspace.",
|
||||
"isRequired": true
|
||||
}
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
Executable
+50
@@ -0,0 +1,50 @@
|
||||
#!/usr/bin/env bash
|
||||
# Writes the OpenVEX document for a release image from its unfiltered Trivy JSON reports.
|
||||
#
|
||||
# linux-libc-dev: every CVE found against it is not_affected. It holds only the kernel's userspace
|
||||
# API headers, which build-essential needs to compile C; a container runs on its host's kernel, so
|
||||
# a kernel CVE reported against this package never applies to the image. The product carries no
|
||||
# version or qualifiers so one statement covers every architecture and package version.
|
||||
#
|
||||
# setuptools@70.3.0: the copy of pkg_resources pip vendors (pip/_vendor/vendor.txt) in the
|
||||
# preinstalled Pythons. Only the listed CVEs are covered, each in a setuptools module pip does not
|
||||
# vendor; a new CVE against that version must be checked before it joins the list. The version is
|
||||
# pinned so the statements stop applying once pip vendors a different setuptools.
|
||||
#
|
||||
# usage: image-vex.sh <document id> <trivy.json>... > vex.openvex.json
|
||||
set -euo pipefail
|
||||
|
||||
id="$1"
|
||||
shift
|
||||
|
||||
jq -s --arg id "$id" --arg ts "$(date -u +%Y-%m-%dT%H:%M:%SZ)" '
|
||||
([.[].Results[]? | (.Vulnerabilities // [])[] | select(.PkgName == "linux-libc-dev") | .VulnerabilityID]
|
||||
| unique
|
||||
| map({
|
||||
vulnerability: { name: . },
|
||||
products: [{ "@id": "pkg:deb/debian/linux-libc-dev" }],
|
||||
status: "not_affected",
|
||||
justification: "vulnerable_code_not_present",
|
||||
impact_statement: "linux-libc-dev contains only the Linux userspace API headers used to compile C code. The image ships no kernel: containers run on the host kernel, which this package does not affect."
|
||||
})) as $kernel
|
||||
| ([
|
||||
["CVE-2025-47273", "setuptools.package_index"],
|
||||
["CVE-2026-59890", "setuptools.command.sdist and FileList"],
|
||||
["GHSA-xmj3-9gf7-h52w", "setuptools.wheel"]
|
||||
]
|
||||
| map({
|
||||
vulnerability: { name: .[0] },
|
||||
products: [{ "@id": "pkg:pypi/setuptools@70.3.0" }],
|
||||
status: "not_affected",
|
||||
justification: "vulnerable_code_not_present",
|
||||
impact_statement: ("setuptools 70.3.0 is present only as the pkg_resources module pip vendors. The vulnerable code is in " + .[1] + ", which pip does not vendor.")
|
||||
})) as $pip_setuptools
|
||||
| {
|
||||
"@context": "https://openvex.dev/ns/v0.2.0",
|
||||
"@id": $id,
|
||||
author: "Windmill Labs",
|
||||
timestamp: $ts,
|
||||
version: 1,
|
||||
statements: ($kernel + $pip_setuptools)
|
||||
}
|
||||
' "$@"
|
||||
@@ -1,31 +0,0 @@
|
||||
#!/usr/bin/env bash
|
||||
# Writes an OpenVEX document marking every linux-libc-dev CVE found in the given Trivy JSON
|
||||
# reports as not_affected. linux-libc-dev holds only the kernel's userspace API headers, which
|
||||
# build-essential needs to compile C; a container runs on its host's kernel, so a kernel CVE
|
||||
# reported against this package never applies to the image. The product carries no version or
|
||||
# qualifiers so one statement covers every architecture and package version.
|
||||
#
|
||||
# usage: kernel-headers-vex.sh <document id> <trivy.json>... > vex.openvex.json
|
||||
set -euo pipefail
|
||||
|
||||
id="$1"
|
||||
shift
|
||||
|
||||
jq -s --arg id "$id" --arg ts "$(date -u +%Y-%m-%dT%H:%M:%SZ)" '
|
||||
[.[].Results[]? | (.Vulnerabilities // [])[] | select(.PkgName == "linux-libc-dev") | .VulnerabilityID]
|
||||
| unique
|
||||
| {
|
||||
"@context": "https://openvex.dev/ns/v0.2.0",
|
||||
"@id": $id,
|
||||
author: "Windmill Labs",
|
||||
timestamp: $ts,
|
||||
version: 1,
|
||||
statements: map({
|
||||
vulnerability: { name: . },
|
||||
products: [{ "@id": "pkg:deb/debian/linux-libc-dev" }],
|
||||
status: "not_affected",
|
||||
justification: "vulnerable_code_not_present",
|
||||
impact_statement: "linux-libc-dev contains only the Linux userspace API headers used to compile C code. The image ships no kernel: containers run on the host kernel, which this package does not affect."
|
||||
})
|
||||
}
|
||||
' "$@"
|
||||
@@ -0,0 +1,28 @@
|
||||
name: Verify actions lockfile
|
||||
|
||||
on:
|
||||
push:
|
||||
branches: [main]
|
||||
paths:
|
||||
- ".github/**"
|
||||
pull_request:
|
||||
paths:
|
||||
- ".github/**"
|
||||
|
||||
permissions: {}
|
||||
|
||||
jobs:
|
||||
verify:
|
||||
runs-on: ubuntu-latest
|
||||
permissions:
|
||||
contents: read
|
||||
env:
|
||||
GH_TOKEN: ${{ github.token }}
|
||||
steps:
|
||||
- uses: actions/checkout@v4.4.0
|
||||
with:
|
||||
persist-credentials: false
|
||||
# Bump the extension pin by hand: Dependabot does not track it.
|
||||
- run: gh extension install github/gh-actions-lock --pin v0.4.1
|
||||
# Run `gh actions-lock` locally and commit .github/workflows/actions.lock to fix a failure.
|
||||
- run: gh actions-lock --verify
|
||||
@@ -0,0 +1,506 @@
|
||||
# This file is machine-generated by `gh actions-lock`.
|
||||
# Do not edit by hand; run `gh actions-lock` to update.
|
||||
# Docs: https://gh.io/actions-lockfile
|
||||
version: 'v0.0.3'
|
||||
workflows:
|
||||
'.github/workflows/actions-lock.yml':
|
||||
- 'actions/checkout@v4.4.0'
|
||||
'.github/workflows/ai-agent-tests.yml':
|
||||
- 'actions-rust-lang/setup-rust-toolchain@v1.17.0'
|
||||
- 'actions/checkout@v4.4.0'
|
||||
- 'actions/setup-node@v7.1.0'
|
||||
- 'actions/setup-python@v7.1.0'
|
||||
- 'actions/upload-artifact@v4.6.2'
|
||||
- 'oven-sh/setup-bun@v2.2.0'
|
||||
'.github/workflows/ai-evals-scheduled.yml':
|
||||
- 'actions-rust-lang/setup-rust-toolchain@v1.17.0'
|
||||
- 'actions/checkout@v4.4.0'
|
||||
- 'actions/setup-node@v7.1.0'
|
||||
- 'actions/upload-artifact@v4.6.2'
|
||||
- 'oven-sh/setup-bun@v2.2.0'
|
||||
'.github/workflows/ai-evals-test.yml':
|
||||
- 'actions-rust-lang/setup-rust-toolchain@v1.17.0'
|
||||
- 'actions/checkout@v4.4.0'
|
||||
- 'actions/setup-node@v7.1.0'
|
||||
- 'actions/upload-artifact@v4.6.2'
|
||||
- 'oven-sh/setup-bun@v2.2.0'
|
||||
'.github/workflows/backend-check.yml':
|
||||
- 'actions-rust-lang/setup-rust-toolchain@v1.17.0'
|
||||
- 'actions/checkout@v4.4.0'
|
||||
'.github/workflows/backend-test-windows.yml':
|
||||
- 'actions-rust-lang/setup-rust-toolchain@v1.17.0'
|
||||
- 'actions/checkout@v4.4.0'
|
||||
- 'actions/setup-dotnet@v4.3.1'
|
||||
- 'actions/setup-go@v7.0.0'
|
||||
- 'actions/setup-node@v7.1.0'
|
||||
- 'astral-sh/setup-uv@v10.3.3'
|
||||
- 'denoland/setup-deno@v2.0.5'
|
||||
- 'ikalnytskyi/action-setup-postgres@v6'
|
||||
- 'oven-sh/setup-bun@v2.2.0'
|
||||
- 'shivammathur/setup-php@2.40.0'
|
||||
'.github/workflows/backend-test.yml':
|
||||
- 'actions-rust-lang/setup-rust-toolchain@v1.17.0'
|
||||
- 'actions/cache@v3.5.0'
|
||||
- 'actions/checkout@v4.4.0'
|
||||
- 'actions/setup-dotnet@v4.3.1'
|
||||
- 'actions/setup-go@v7.0.0'
|
||||
- 'actions/setup-node@v7.1.0'
|
||||
- 'astral-sh/setup-uv@v10.3.3'
|
||||
- 'denoland/setup-deno@v2.0.5'
|
||||
- 'oven-sh/setup-bun@v2.2.0'
|
||||
- 'ruby/setup-ruby@v1.338.0'
|
||||
- 'shivammathur/setup-php@2.40.0'
|
||||
'.github/workflows/benchmark.yml':
|
||||
- 'actions/checkout@v4.4.0'
|
||||
- 'actions/download-artifact@v4.3.0'
|
||||
- 'actions/upload-artifact@v4.6.2'
|
||||
- 'denoland/setup-deno@v2.0.5'
|
||||
'.github/workflows/build-caddy-l4-image.yml':
|
||||
- 'actions/checkout@v4.4.0'
|
||||
- 'depot/build-push-action@v1.19.0'
|
||||
- 'depot/setup-action@v1.7.2'
|
||||
- 'docker/login-action@v3.7.0'
|
||||
- 'docker/metadata-action@v5.10.0'
|
||||
'.github/workflows/build-extra-image.yml':
|
||||
- 'actions/checkout@v4.4.0'
|
||||
- 'depot/build-push-action@v1.19.0'
|
||||
- 'depot/setup-action@v1.7.2'
|
||||
- 'docker/login-action@v3.7.0'
|
||||
- 'docker/metadata-action@v5.10.0'
|
||||
'.github/workflows/build-publish-rh-image.yml':
|
||||
- 'actions/checkout@v4.4.0'
|
||||
- 'actions/upload-artifact@v4.6.2'
|
||||
- 'depot/build-push-action@v1.19.0'
|
||||
- 'depot/setup-action@v1.7.2'
|
||||
- 'docker/login-action@v3.7.0'
|
||||
- 'docker/metadata-action@v5.10.0'
|
||||
- 'imjasonh/setup-crane@v0.4'
|
||||
'.github/workflows/build-publish-rh8-image.yml':
|
||||
- 'actions/checkout@v4.4.0'
|
||||
- 'actions/upload-artifact@v4.6.2'
|
||||
- 'depot/build-push-action@v1.19.0'
|
||||
- 'depot/setup-action@v1.7.2'
|
||||
- 'docker/login-action@v3.7.0'
|
||||
- 'docker/metadata-action@v5.10.0'
|
||||
- 'shrink/actions-docker-extract@v3.1.0'
|
||||
'.github/workflows/build_cli_image.yml':
|
||||
- 'actions/attest-build-provenance@v4.2.2'
|
||||
- 'actions/checkout@v4.4.0'
|
||||
- 'depot/build-push-action@v1.19.0'
|
||||
- 'depot/setup-action@v1.7.2'
|
||||
- 'docker/login-action@v3.7.0'
|
||||
- 'docker/metadata-action@v5.10.0'
|
||||
- 'sigstore/cosign-installer@v4.1.2'
|
||||
'.github/workflows/build_windows_worker_.yml':
|
||||
- 'actions-rust-lang/setup-rust-toolchain@v1.17.0'
|
||||
- 'actions/checkout@v4.4.0'
|
||||
- 'actions/upload-artifact@v4.6.2'
|
||||
'.github/workflows/change-versions.yml':
|
||||
- 'actions-rs/toolchain@v1.0.7'
|
||||
- 'actions/checkout@v4.4.0'
|
||||
- 'actions/create-github-app-token@v2.2.2'
|
||||
- 'stefanzweifel/git-auto-commit-action@v5.2.0'
|
||||
'.github/workflows/check-docs-links.yml':
|
||||
- 'actions/checkout@v4.4.0'
|
||||
- 'actions/setup-node@v7.1.0'
|
||||
'.github/workflows/check-empty-fixture.yml':
|
||||
- 'actions/checkout@v4.4.0'
|
||||
'.github/workflows/check-system-prompts.yml':
|
||||
- 'actions/checkout@v4.4.0'
|
||||
- 'actions/setup-python@v7.1.0'
|
||||
'.github/workflows/check-write-access.yml':
|
||||
- 'actions/create-github-app-token@v2.2.2'
|
||||
'.github/workflows/claude-plan.yml':
|
||||
- 'actions/checkout@v4.4.0'
|
||||
- 'anthropics/claude-code-action@v1.0.271'
|
||||
'.github/workflows/claude.yml':
|
||||
- 'actions/checkout@v4.4.0'
|
||||
- 'anthropics/claude-code-action@v1.0.271'
|
||||
'.github/workflows/cli-tests.yml':
|
||||
- 'actions-rust-lang/setup-rust-toolchain@v1.17.0'
|
||||
- 'actions/checkout@v4.4.0'
|
||||
- 'actions/setup-node@v7.1.0'
|
||||
- 'ikalnytskyi/action-setup-postgres@v6'
|
||||
- 'oven-sh/setup-bun@v2.2.0'
|
||||
'.github/workflows/codex-pr-review.yml':
|
||||
- 'actions/checkout@v5.1.0'
|
||||
- 'actions/github-script@v7.1.0'
|
||||
- 'actions/setup-node@v7.1.0'
|
||||
'.github/workflows/discord-notification.yml': []
|
||||
'.github/workflows/docker-image-rpi4.yml':
|
||||
- 'actions/checkout@v4.4.0'
|
||||
- 'depot/build-push-action@v1.19.0'
|
||||
- 'depot/setup-action@v1.7.2'
|
||||
- 'docker/login-action@v3.7.0'
|
||||
- 'docker/metadata-action@v5.10.0'
|
||||
'.github/workflows/docker-image.yml':
|
||||
- 'actions/attest-build-provenance@v4.2.2'
|
||||
- 'actions/checkout@v4.4.0'
|
||||
- 'actions/upload-artifact@v4.6.2'
|
||||
- 'depot/bake-action@v1.13.0'
|
||||
- 'depot/build-push-action@v1.19.0'
|
||||
- 'depot/setup-action@v1.7.2'
|
||||
- 'docker/login-action@v3.7.0'
|
||||
- 'docker/metadata-action@v5.10.0'
|
||||
- 'docker/scout-action@v1.28.0'
|
||||
- 'docker/setup-buildx-action@v2.10.0'
|
||||
- 'github/codeql-action@v4.39.3'
|
||||
- 'reggionick/s3-deploy@v4.0.0'
|
||||
- 'shrink/actions-docker-extract@v3.1.0'
|
||||
- 'sigstore/cosign-installer@v4.1.2'
|
||||
- 'softprops/action-gh-release@v2.6.2'
|
||||
'.github/workflows/frontend-check.yml':
|
||||
- 'actions/checkout@v4.4.0'
|
||||
- 'actions/setup-node@v7.1.0'
|
||||
'.github/workflows/gallery_on_release.yml':
|
||||
- 'actions/checkout@v4.4.0'
|
||||
'.github/workflows/git-commands.yaml':
|
||||
- 'actions-rust-lang/setup-rust-toolchain@v1.17.0'
|
||||
- 'actions/checkout@v3.7.0'
|
||||
- 'actions/checkout@v4.4.0'
|
||||
- 'actions/create-github-app-token@v2.2.2'
|
||||
- 'actions/github-script@v6.4.1'
|
||||
- 'anthropics/claude-code-action@beta'
|
||||
'.github/workflows/git-sync-test.yml':
|
||||
- 'actions-rust-lang/setup-rust-toolchain@v1.17.0'
|
||||
- 'actions/checkout@v4.4.0'
|
||||
- 'actions/setup-node@v7.1.0'
|
||||
- 'actions/upload-artifact@v4.6.2'
|
||||
- 'denoland/setup-deno@v2.0.5'
|
||||
- 'oven-sh/setup-bun@v2.2.0'
|
||||
'.github/workflows/go_on_release.yml':
|
||||
- 'actions/checkout@v4.4.0'
|
||||
- 'actions/setup-go@v7.0.0'
|
||||
- 'cpina/github-action-push-to-another-repository@v1.7.3'
|
||||
'.github/workflows/helmchart_on_release.yml':
|
||||
- 'actions/checkout@v3.7.0'
|
||||
- 'actions/create-github-app-token@v2.2.2'
|
||||
'.github/workflows/jsr_on_release.yml':
|
||||
- 'actions/checkout@v4.4.0'
|
||||
'.github/workflows/linear-claude.yaml':
|
||||
- 'actions/checkout@v4.4.0'
|
||||
- 'anthropics/claude-code-action@beta'
|
||||
'.github/workflows/npm_on_release.yml':
|
||||
- 'actions/checkout@v4.4.0'
|
||||
- 'actions/setup-node@v7.1.0'
|
||||
- 'oven-sh/setup-bun@v2.2.0'
|
||||
'.github/workflows/pi-pr-review.yml':
|
||||
- 'actions/checkout@v5.1.0'
|
||||
- 'actions/github-script@v7.1.0'
|
||||
- 'actions/setup-node@v7.1.0'
|
||||
'.github/workflows/pr-ready-review.yml':
|
||||
- 'actions/checkout@v5.1.0'
|
||||
- 'anthropics/claude-code-action@v1.0.271'
|
||||
'.github/workflows/pr-review-commands.yml': []
|
||||
'.github/workflows/publish-cli-docs.yml':
|
||||
- 'actions/checkout@v4.4.0'
|
||||
- 'actions/setup-python@v7.1.0'
|
||||
'.github/workflows/publish-mcp-registry.yml':
|
||||
- 'actions/checkout@v4.4.0'
|
||||
- 'sigstore/cosign-installer@v4.1.2'
|
||||
'.github/workflows/publish_extra.yml':
|
||||
- 'actions/attest-build-provenance@v4.2.2'
|
||||
- 'actions/checkout@v4.4.0'
|
||||
- 'actions/setup-node@v4.4.0'
|
||||
- 'depot/build-push-action@v1.19.0'
|
||||
- 'depot/setup-action@v1.7.2'
|
||||
- 'docker/build-push-action@v7.4.0'
|
||||
- 'docker/login-action@v3.7.0'
|
||||
- 'docker/metadata-action@v5.10.0'
|
||||
- 'docker/setup-buildx-action@v3.12.0'
|
||||
- 'oven-sh/setup-bun@v2.2.0'
|
||||
- 'sigstore/cosign-installer@v4.1.2'
|
||||
'.github/workflows/publish_windows_worker.yml':
|
||||
- 'actions-rust-lang/setup-rust-toolchain@v1.17.0'
|
||||
- 'actions/checkout@v4.4.0'
|
||||
- 'softprops/action-gh-release@v2.6.2'
|
||||
'.github/workflows/pypi_on_release.yml':
|
||||
- 'actions/checkout@v4.4.0'
|
||||
'.github/workflows/refresh-docs-snapshot.yml':
|
||||
- 'actions/checkout@v4.4.0'
|
||||
- 'actions/create-github-app-token@v2.2.2'
|
||||
- 'peter-evans/create-pull-request@v6.1.0'
|
||||
'.github/workflows/release-please.yml':
|
||||
- 'googleapis/release-please-action@v5.0.0'
|
||||
'.github/workflows/rust-client-check.yml':
|
||||
- 'actions/checkout@v4.4.0'
|
||||
- 'cachix/install-nix-action@v31.11.5'
|
||||
'.github/workflows/rust_on_release.yml':
|
||||
- 'actions/checkout@v4.4.0'
|
||||
- 'cachix/install-nix-action@v31.11.5'
|
||||
'.github/workflows/sdk-tests.yml':
|
||||
- 'actions/checkout@v4.4.0'
|
||||
- 'actions/setup-node@v7.1.0'
|
||||
- 'astral-sh/setup-uv@v10.3.3'
|
||||
- 'oven-sh/setup-bun@v2.2.0'
|
||||
'.github/workflows/shareable-discord-notification.yml': []
|
||||
'.github/workflows/sign-cla.yml':
|
||||
- 'contributor-assistant/github-action@v2.6.1'
|
||||
'.github/workflows/validate-openapi.yml':
|
||||
- 'actions/checkout@v4.4.0'
|
||||
- 'actions/setup-node@v7.1.0'
|
||||
'.github/workflows/weekly-pr-summary.yml':
|
||||
- 'actions/checkout@v4.4.0'
|
||||
- 'anthropics/claude-code-action@v1.0.271'
|
||||
'.github/workflows/yaml-validator-tests.yml':
|
||||
- 'actions/checkout@v4.4.0'
|
||||
- 'actions/setup-node@v7.1.0'
|
||||
dependencies:
|
||||
'actions-rs/toolchain@v1.0.7':
|
||||
ref: 'v1.0.7'
|
||||
commit: 'sha1-16499b5e05bf2e26879000db0c1d13f7e13fa3af'
|
||||
owner_id: 55226457
|
||||
repo_id: 208060770
|
||||
'actions-rust-lang/setup-rust-toolchain@v1.17.0':
|
||||
ref: 'v1.17.0'
|
||||
commit: 'sha1-166cdcfd11aee3cb47222f9ddb555ce30ddb9659'
|
||||
owner_id: 103899579
|
||||
repo_id: 482610590
|
||||
uses:
|
||||
- 'swatinem/rust-cache@c19371144df3bb44fab255c43d04cbc2ab54d1c4'
|
||||
'actions/attest-build-provenance@v4.2.2':
|
||||
ref: 'v4.2.2'
|
||||
commit: 'sha1-4d101475d8b20a2381f78447822ac1eab6504dd8'
|
||||
owner_id: 44036562
|
||||
repo_id: 760702757
|
||||
uses:
|
||||
- 'actions/attest@508db95dd578ae2727ebd6217d5ba78e4fbda05d'
|
||||
'actions/attest@508db95dd578ae2727ebd6217d5ba78e4fbda05d':
|
||||
ref: 'v4.2.1'
|
||||
commit: 'sha1-508db95dd578ae2727ebd6217d5ba78e4fbda05d'
|
||||
owner_id: 44036562
|
||||
repo_id: 760701061
|
||||
'actions/cache@v3.5.0':
|
||||
ref: 'v3.5.0'
|
||||
commit: 'sha1-6f8efc29b200d32929f49075959781ed54ec270c'
|
||||
owner_id: 44036562
|
||||
repo_id: 215566462
|
||||
'actions/checkout@v3.7.0':
|
||||
ref: 'v3.7.0'
|
||||
commit: 'sha1-a37ce9120846195fa4ece8f58b268e6043cb2f26'
|
||||
owner_id: 44036562
|
||||
repo_id: 197814629
|
||||
'actions/checkout@v4.4.0':
|
||||
ref: 'v4.4.0'
|
||||
commit: 'sha1-11d5960a326750d5838078e36cf38b85af677262'
|
||||
owner_id: 44036562
|
||||
repo_id: 197814629
|
||||
'actions/checkout@v5.1.0':
|
||||
ref: 'v5.1.0'
|
||||
commit: 'sha1-fbc6f3992d24b796d5a048ff273f7fcc4a7b6c09'
|
||||
owner_id: 44036562
|
||||
repo_id: 197814629
|
||||
'actions/create-github-app-token@v2.2.2':
|
||||
ref: 'v2.2.2'
|
||||
commit: 'sha1-fee1f7d63c2ff003460e3d139729b119787bc349'
|
||||
owner_id: 44036562
|
||||
repo_id: 642580244
|
||||
'actions/download-artifact@v4.3.0':
|
||||
ref: 'v4.3.0'
|
||||
commit: 'sha1-d3f86a106a0bac45b974a628896c90dbdf5c8093'
|
||||
owner_id: 44036562
|
||||
repo_id: 192626254
|
||||
'actions/github-script@v6.4.1':
|
||||
ref: 'v6.4.1'
|
||||
commit: 'sha1-d7906e4ad0b1822421a7e6a35d5ca353c962f410'
|
||||
owner_id: 44036562
|
||||
repo_id: 205262760
|
||||
'actions/github-script@v7.1.0':
|
||||
ref: 'v7.1.0'
|
||||
commit: 'sha1-f28e40c7f34bde8b3046d885e986cb6290c5673b'
|
||||
owner_id: 44036562
|
||||
repo_id: 205262760
|
||||
'actions/setup-dotnet@v4.3.1':
|
||||
ref: 'v4.3.1'
|
||||
commit: 'sha1-67a3573c9a986a3f9c594539f4ab511d57bb3ce9'
|
||||
owner_id: 44036562
|
||||
repo_id: 192625306
|
||||
'actions/setup-go@v7.0.0':
|
||||
ref: 'v7.0.0'
|
||||
commit: 'sha1-b7ad1dad31e06c5925ef5d2fc7ad053ef454303e'
|
||||
owner_id: 44036562
|
||||
repo_id: 192624594
|
||||
'actions/setup-node@v4.4.0':
|
||||
ref: 'v4.4.0'
|
||||
commit: 'sha1-49933ea5288caeca8642d1e84afbd3f7d6820020'
|
||||
owner_id: 44036562
|
||||
repo_id: 189476904
|
||||
'actions/setup-node@v7.1.0':
|
||||
ref: 'v7.1.0'
|
||||
commit: 'sha1-949feb2413d6458794dcd2491c4babbbce0c15c1'
|
||||
owner_id: 44036562
|
||||
repo_id: 189476904
|
||||
'actions/setup-python@v7.1.0':
|
||||
ref: 'v7.1.0'
|
||||
commit: 'sha1-6d4fd22b20465ccc0f7354476588e8df7c9ca0e0'
|
||||
owner_id: 44036562
|
||||
repo_id: 192625525
|
||||
'actions/upload-artifact@v4.6.2':
|
||||
ref: 'v4.6.2'
|
||||
commit: 'sha1-ea165f8d65b6e75b540449e92b4886f43607fa02'
|
||||
owner_id: 44036562
|
||||
repo_id: 192625955
|
||||
'anthropics/claude-code-action@beta':
|
||||
ref: 'beta'
|
||||
commit: 'sha1-28f83620103c48a57093dcc2837eec89e036bb9f'
|
||||
owner_id: 76263028
|
||||
repo_id: 986421638
|
||||
uses:
|
||||
- 'oven-sh/setup-bun@735343b667d3e6f658f44d0eca948eb6282f2b76'
|
||||
'anthropics/claude-code-action@v1.0.271':
|
||||
ref: 'v1.0.271'
|
||||
commit: 'sha1-4fa93a88de49bbef68b10eb15aabedf28ca0e1ed'
|
||||
owner_id: 76263028
|
||||
repo_id: 986421638
|
||||
uses:
|
||||
- 'oven-sh/setup-bun@0c5077e51419868618aeaa5fe8019c62421857d6'
|
||||
'astral-sh/setup-uv@v10.3.3':
|
||||
ref: 'v10.3.3'
|
||||
commit: 'sha1-68559e99cc807c1eb7e9238fd43a15bba460eec2'
|
||||
owner_id: 115962839
|
||||
repo_id: 846733598
|
||||
'cachix/install-nix-action@v31.11.5':
|
||||
ref: 'v31.11.5'
|
||||
commit: 'sha1-3dc140bfc76c49fbd4dd958429132e3746bcb086'
|
||||
owner_id: 36824654
|
||||
repo_id: 212301524
|
||||
'contributor-assistant/github-action@v2.6.1':
|
||||
ref: 'v2.6.1'
|
||||
commit: 'sha1-ca4a40a7d1004f18d9960b404b97e5f30a505a08'
|
||||
owner_id: 83762583
|
||||
repo_id: 233005322
|
||||
'cpina/github-action-push-to-another-repository@v1.7.3':
|
||||
ref: 'v1.7.3'
|
||||
commit: 'sha1-55306faa4ed53b815ae49e564af8cfb359d32ae2'
|
||||
owner_id: 489071
|
||||
repo_id: 251053788
|
||||
'denoland/setup-deno@v2.0.5':
|
||||
ref: 'v2.0.5'
|
||||
commit: 'sha1-22d081ff2d3a40755e97629de92e3bcbfa7cf2ed'
|
||||
owner_id: 42048915
|
||||
repo_id: 356423100
|
||||
'depot/bake-action@v1.13.0':
|
||||
ref: 'v1.13.0'
|
||||
commit: 'sha1-1d58c2668346981089b088b7ef36755b206b20e9'
|
||||
owner_id: 68166601
|
||||
repo_id: 592294255
|
||||
'depot/build-push-action@v1.19.0':
|
||||
ref: 'v1.19.0'
|
||||
commit: 'sha1-0f27be7c41d76663a98518dfe68f1c46582242c4'
|
||||
owner_id: 68166601
|
||||
repo_id: 496245433
|
||||
'depot/setup-action@v1.7.2':
|
||||
ref: 'v1.7.2'
|
||||
commit: 'sha1-91bc8495a33ebfc504ffc89e5674379ccf23c29c'
|
||||
owner_id: 68166601
|
||||
repo_id: 471762060
|
||||
'docker/build-push-action@v7.4.0':
|
||||
ref: 'v7.4.0'
|
||||
commit: 'sha1-c3c9e263c25d99ce0380d002d59b67737d91b0dc'
|
||||
owner_id: 5429470
|
||||
repo_id: 241092383
|
||||
'docker/login-action@v3.7.0':
|
||||
ref: 'v3.7.0'
|
||||
commit: 'sha1-c94ce9fb468520275223c153574b00df6fe4bcc9'
|
||||
owner_id: 5429470
|
||||
repo_id: 287743349
|
||||
'docker/metadata-action@v5.10.0':
|
||||
ref: 'v5.10.0'
|
||||
commit: 'sha1-c299e40c65443455700f0fdfc63efafe5b349051'
|
||||
owner_id: 5429470
|
||||
repo_id: 306769011
|
||||
'docker/scout-action@v1.28.0':
|
||||
ref: 'v1.28.0'
|
||||
commit: 'sha1-4bbf17a9da65a7b5497361bb407e88cc9548f69c'
|
||||
owner_id: 5429470
|
||||
repo_id: 607129616
|
||||
'docker/setup-buildx-action@v2.10.0':
|
||||
ref: 'v2.10.0'
|
||||
commit: 'sha1-885d1462b80bc1c1c7f0b00334ad271f09369c55'
|
||||
owner_id: 5429470
|
||||
repo_id: 288485773
|
||||
'docker/setup-buildx-action@v3.12.0':
|
||||
ref: 'v3.12.0'
|
||||
commit: 'sha1-8d2750c68a42422c14e847fe6c8ac0403b4cbd6f'
|
||||
owner_id: 5429470
|
||||
repo_id: 288485773
|
||||
'github/codeql-action@v4.39.3':
|
||||
ref: 'v4.39.3'
|
||||
commit: 'sha1-33d7b85da1a04171e211befe2c739303b9a4c066'
|
||||
owner_id: 9919
|
||||
repo_id: 259445878
|
||||
'googleapis/release-please-action@v5.0.0':
|
||||
ref: 'v5.0.0'
|
||||
commit: 'sha1-45996ed1f6d02564a971a2fa1b5860e934307cf7'
|
||||
owner_id: 16785467
|
||||
repo_id: 262236530
|
||||
'ikalnytskyi/action-setup-postgres@v6':
|
||||
ref: 'v6'
|
||||
commit: 'sha1-687404e7b78b0b3471751635e69f70d54a09d6e7'
|
||||
owner_id: 166626
|
||||
repo_id: 430889572
|
||||
'imjasonh/setup-crane@v0.4':
|
||||
ref: 'v0.4'
|
||||
commit: 'sha1-31b88efe9de28ae0ffa220711af4b60be9435f6e'
|
||||
owner_id: 210737
|
||||
repo_id: 388840211
|
||||
'oven-sh/setup-bun@0c5077e51419868618aeaa5fe8019c62421857d6':
|
||||
ref: 'v2.2.0'
|
||||
commit: 'sha1-0c5077e51419868618aeaa5fe8019c62421857d6'
|
||||
owner_id: 108928776
|
||||
repo_id: 512644635
|
||||
'oven-sh/setup-bun@735343b667d3e6f658f44d0eca948eb6282f2b76':
|
||||
ref: 'v2.0.2'
|
||||
commit: 'sha1-735343b667d3e6f658f44d0eca948eb6282f2b76'
|
||||
owner_id: 108928776
|
||||
repo_id: 512644635
|
||||
'oven-sh/setup-bun@v2.2.0':
|
||||
ref: 'v2.2.0'
|
||||
commit: 'sha1-0c5077e51419868618aeaa5fe8019c62421857d6'
|
||||
owner_id: 108928776
|
||||
repo_id: 512644635
|
||||
'peter-evans/create-pull-request@v6.1.0':
|
||||
ref: 'v6.1.0'
|
||||
commit: 'sha1-c5a7806660adbe173f04e3e038b0ccdcd758773c'
|
||||
owner_id: 18365890
|
||||
repo_id: 197176365
|
||||
'reggionick/s3-deploy@v4.0.0':
|
||||
ref: 'v4.0.0'
|
||||
commit: 'sha1-04c48f45adfd7a34c66348cf9cd1b6cd117cc467'
|
||||
owner_id: 4193249
|
||||
repo_id: 254439900
|
||||
'ruby/setup-ruby@v1.338.0':
|
||||
ref: 'v1.338.0'
|
||||
commit: 'sha1-b3aaceaef7e0ee231b499e7b5f49c03fc1d32199'
|
||||
owner_id: 210414
|
||||
repo_id: 231208785
|
||||
'shivammathur/setup-php@2.40.0':
|
||||
ref: '2.40.0'
|
||||
commit: 'sha1-eb7c497e18156a6bbabfef1d3a82760b9eda3962'
|
||||
owner_id: 1571086
|
||||
repo_id: 206578964
|
||||
'shrink/actions-docker-extract@v3.1.0':
|
||||
ref: 'v3.1.0'
|
||||
commit: 'sha1-04c17c51a5b9fd93b7aed2e05e86c8fe2d90ee52'
|
||||
owner_id: 349689
|
||||
repo_id: 291294922
|
||||
'sigstore/cosign-installer@v4.1.2':
|
||||
ref: 'v4.1.2'
|
||||
commit: 'sha1-6f9f17788090df1f26f669e9d70d6ae9567deba6'
|
||||
owner_id: 71096353
|
||||
repo_id: 351211695
|
||||
'softprops/action-gh-release@v2.6.2':
|
||||
ref: 'v2.6.2'
|
||||
commit: 'sha1-3bb12739c298aeb8a4eeaf626c5b8d85266b0e65'
|
||||
owner_id: 2242
|
||||
repo_id: 204253808
|
||||
'stefanzweifel/git-auto-commit-action@v5.2.0':
|
||||
ref: 'v5.2.0'
|
||||
commit: 'sha1-b863ae1933cb653a53c021fe36dbb774e1fb9403'
|
||||
owner_id: 1080923
|
||||
repo_id: 191163758
|
||||
'swatinem/rust-cache@c19371144df3bb44fab255c43d04cbc2ab54d1c4':
|
||||
ref: 'v2.9.1'
|
||||
commit: 'sha1-c19371144df3bb44fab255c43d04cbc2ab54d1c4'
|
||||
owner_id: 580492
|
||||
repo_id: 298565987
|
||||
@@ -52,22 +52,22 @@ jobs:
|
||||
--health-cmd pg_isready --health-interval 10s --health-timeout 5s
|
||||
--health-retries 5
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- uses: actions/checkout@v4.4.0
|
||||
|
||||
- uses: actions-rust-lang/setup-rust-toolchain@v1
|
||||
- uses: actions-rust-lang/setup-rust-toolchain@v1.17.0
|
||||
with:
|
||||
cache-workspaces: backend
|
||||
toolchain: 1.97.0
|
||||
|
||||
- uses: oven-sh/setup-bun@v2
|
||||
- uses: oven-sh/setup-bun@v2.2.0
|
||||
with:
|
||||
bun-version: 1.4.4
|
||||
bun-version: 1.4.5
|
||||
|
||||
- uses: actions/setup-node@v7
|
||||
- uses: actions/setup-node@v7.1.0
|
||||
with:
|
||||
node-version: "20"
|
||||
|
||||
- uses: actions/setup-python@v7
|
||||
- uses: actions/setup-python@v7.1.0
|
||||
with:
|
||||
python-version: "3.11"
|
||||
|
||||
@@ -125,7 +125,7 @@ jobs:
|
||||
--ignore=test_image_output.py
|
||||
|
||||
- name: Archive Windmill logs
|
||||
uses: actions/upload-artifact@v4
|
||||
uses: actions/upload-artifact@v4.6.2
|
||||
if: always()
|
||||
with:
|
||||
name: ai-agent-tests-windmill-logs
|
||||
|
||||
@@ -40,13 +40,13 @@ jobs:
|
||||
outputs:
|
||||
matrix: ${{ steps.matrix.outputs.matrix }}
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- uses: actions/checkout@v4.4.0
|
||||
with:
|
||||
sparse-checkout: ai_evals/core
|
||||
|
||||
- uses: oven-sh/setup-bun@v2
|
||||
- uses: oven-sh/setup-bun@v2.2.0
|
||||
with:
|
||||
bun-version: 1.4.4
|
||||
bun-version: 1.4.5
|
||||
|
||||
- id: matrix
|
||||
env:
|
||||
@@ -84,18 +84,18 @@ jobs:
|
||||
--health-cmd pg_isready --health-interval 10s --health-timeout 5s
|
||||
--health-retries 5
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- uses: actions/checkout@v4.4.0
|
||||
|
||||
- uses: actions-rust-lang/setup-rust-toolchain@v1
|
||||
- uses: actions-rust-lang/setup-rust-toolchain@v1.17.0
|
||||
with:
|
||||
cache-workspaces: backend
|
||||
toolchain: 1.97.0
|
||||
|
||||
- uses: oven-sh/setup-bun@v2
|
||||
- uses: oven-sh/setup-bun@v2.2.0
|
||||
with:
|
||||
bun-version: 1.4.4
|
||||
bun-version: 1.4.5
|
||||
|
||||
- uses: actions/setup-node@v7
|
||||
- uses: actions/setup-node@v7.1.0
|
||||
with:
|
||||
node-version: "24"
|
||||
|
||||
@@ -188,7 +188,7 @@ jobs:
|
||||
done
|
||||
|
||||
- name: Archive logs and results
|
||||
uses: actions/upload-artifact@v4
|
||||
uses: actions/upload-artifact@v4.6.2
|
||||
if: always()
|
||||
with:
|
||||
name: ai-evals-${{ matrix.mode }}-${{ matrix.model }}
|
||||
|
||||
@@ -69,18 +69,18 @@ jobs:
|
||||
--health-cmd pg_isready --health-interval 10s --health-timeout 5s
|
||||
--health-retries 5
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- uses: actions/checkout@v4.4.0
|
||||
|
||||
- uses: actions-rust-lang/setup-rust-toolchain@v1
|
||||
- uses: actions-rust-lang/setup-rust-toolchain@v1.17.0
|
||||
with:
|
||||
cache-workspaces: backend
|
||||
toolchain: 1.97.0
|
||||
|
||||
- uses: oven-sh/setup-bun@v2
|
||||
- uses: oven-sh/setup-bun@v2.2.0
|
||||
with:
|
||||
bun-version: 1.4.4
|
||||
bun-version: 1.4.5
|
||||
|
||||
- uses: actions/setup-node@v7
|
||||
- uses: actions/setup-node@v7.1.0
|
||||
with:
|
||||
# Node 24 ships npm 11, which frontend/package-lock.json is authored
|
||||
# with; npm 10 rejects it ("Missing: picomatch@4.0.5 from lock file").
|
||||
@@ -181,7 +181,7 @@ jobs:
|
||||
[ "$fail" = 0 ] || { echo "ai_evals global smoke failed"; exit 1; }
|
||||
|
||||
- name: Archive logs and results
|
||||
uses: actions/upload-artifact@v4
|
||||
uses: actions/upload-artifact@v4.6.2
|
||||
if: always()
|
||||
with:
|
||||
name: ai-evals-global-logs
|
||||
|
||||
@@ -13,14 +13,14 @@ jobs:
|
||||
check_oss:
|
||||
runs-on: ubicloud-standard-8
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- uses: actions/checkout@v4.4.0
|
||||
with:
|
||||
fetch-depth: 0
|
||||
|
||||
- name: Install mold and clang
|
||||
run: sudo apt-get update && sudo apt-get install -y mold clang
|
||||
|
||||
- uses: actions-rust-lang/setup-rust-toolchain@v1
|
||||
- uses: actions-rust-lang/setup-rust-toolchain@v1.17.0
|
||||
with:
|
||||
cache: false
|
||||
toolchain: 1.97.0
|
||||
@@ -32,7 +32,7 @@ jobs:
|
||||
check_oss_full:
|
||||
runs-on: ubicloud-standard-8
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- uses: actions/checkout@v4.4.0
|
||||
with:
|
||||
fetch-depth: 0
|
||||
|
||||
@@ -41,7 +41,7 @@ jobs:
|
||||
sudo apt-get update
|
||||
sudo apt-get install -y libxml2-dev libxmlsec1-dev libkrb5-dev libsasl2-dev libcurl4-openssl-dev mold clang
|
||||
|
||||
- uses: actions-rust-lang/setup-rust-toolchain@v1
|
||||
- uses: actions-rust-lang/setup-rust-toolchain@v1.17.0
|
||||
with:
|
||||
cache: false
|
||||
toolchain: 1.97.0
|
||||
@@ -55,7 +55,7 @@ jobs:
|
||||
check_ee:
|
||||
runs-on: ubicloud-standard-8
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- uses: actions/checkout@v4.4.0
|
||||
with:
|
||||
fetch-depth: 0
|
||||
|
||||
@@ -63,7 +63,7 @@ jobs:
|
||||
run: |
|
||||
echo "ee_repo_ref=$(cat ./backend/ee-repo-ref.txt)" >> "$GITHUB_ENV"
|
||||
|
||||
- uses: actions/checkout@v4
|
||||
- uses: actions/checkout@v4.4.0
|
||||
with:
|
||||
repository: windmill-labs/windmill-ee-private
|
||||
path: ./windmill-ee-private
|
||||
@@ -78,7 +78,7 @@ jobs:
|
||||
- name: Install mold and clang
|
||||
run: sudo apt-get update && sudo apt-get install -y mold clang
|
||||
|
||||
- uses: actions-rust-lang/setup-rust-toolchain@v1
|
||||
- uses: actions-rust-lang/setup-rust-toolchain@v1.17.0
|
||||
with:
|
||||
cache: false
|
||||
toolchain: 1.97.0
|
||||
@@ -90,7 +90,7 @@ jobs:
|
||||
check_ee_full:
|
||||
runs-on: ubicloud-standard-8
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- uses: actions/checkout@v4.4.0
|
||||
with:
|
||||
fetch-depth: 0
|
||||
|
||||
@@ -98,7 +98,7 @@ jobs:
|
||||
run: |
|
||||
echo "ee_repo_ref=$(cat ./backend/ee-repo-ref.txt)" >> "$GITHUB_ENV"
|
||||
|
||||
- uses: actions/checkout@v4
|
||||
- uses: actions/checkout@v4.4.0
|
||||
with:
|
||||
repository: windmill-labs/windmill-ee-private
|
||||
path: ./windmill-ee-private
|
||||
@@ -115,7 +115,7 @@ jobs:
|
||||
run: |
|
||||
./backend/substitute_ee_code.sh --copy --dir ./windmill-ee-private
|
||||
|
||||
- uses: actions-rust-lang/setup-rust-toolchain@v1
|
||||
- uses: actions-rust-lang/setup-rust-toolchain@v1.17.0
|
||||
with:
|
||||
cache-workspaces: backend
|
||||
toolchain: 1.97.0
|
||||
|
||||
@@ -17,7 +17,7 @@ jobs:
|
||||
cargo_test_windows:
|
||||
runs-on: blacksmith-16vcpu-windows-2025
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- uses: actions/checkout@v4.4.0
|
||||
|
||||
- name: Read EE repo commit hash
|
||||
shell: pwsh
|
||||
@@ -26,7 +26,7 @@ jobs:
|
||||
echo "ee_repo_ref=$ee_repo_ref" | Out-File -FilePath $env:GITHUB_ENV -Append
|
||||
|
||||
- name: Checkout windmill-ee-private repository
|
||||
uses: actions/checkout@v4
|
||||
uses: actions/checkout@v4.4.0
|
||||
with:
|
||||
repository: windmill-labs/windmill-ee-private
|
||||
path: ./windmill-ee-private
|
||||
@@ -47,7 +47,7 @@ jobs:
|
||||
database: windmill
|
||||
port: 5432
|
||||
|
||||
- uses: actions-rust-lang/setup-rust-toolchain@v1
|
||||
- uses: actions-rust-lang/setup-rust-toolchain@v1.17.0
|
||||
with:
|
||||
cache-workspaces: backend
|
||||
toolchain: 1.97.0
|
||||
@@ -57,33 +57,33 @@ jobs:
|
||||
# and the build_windows_worker_ release build, not this test job.
|
||||
rustflags: ""
|
||||
|
||||
- uses: actions/setup-dotnet@v4
|
||||
- uses: actions/setup-dotnet@v4.3.1
|
||||
with:
|
||||
dotnet-version: "9.0.x"
|
||||
|
||||
- uses: denoland/setup-deno@v2
|
||||
- uses: denoland/setup-deno@v2.0.5
|
||||
with:
|
||||
# Pin to the Deno version shipped in the full runtime image (docker/DockerfileFull) so CI
|
||||
# tests what production runs, instead of floating on the latest v2.x.
|
||||
deno-version: 2.2.1
|
||||
|
||||
- uses: actions/setup-go@v7
|
||||
- uses: actions/setup-go@v7.0.0
|
||||
with:
|
||||
go-version: 1.21.5
|
||||
|
||||
- uses: oven-sh/setup-bun@v2
|
||||
- uses: oven-sh/setup-bun@v2.2.0
|
||||
with:
|
||||
bun-version: 1.4.4
|
||||
bun-version: 1.4.5
|
||||
|
||||
- uses: actions/setup-node@v7
|
||||
- uses: actions/setup-node@v7.1.0
|
||||
with:
|
||||
node-version: "20"
|
||||
|
||||
- uses: astral-sh/setup-uv@v7
|
||||
- uses: astral-sh/setup-uv@v10.3.3
|
||||
with:
|
||||
version: "0.13.6"
|
||||
version: "0.13.8"
|
||||
|
||||
- uses: shivammathur/setup-php@v2
|
||||
- uses: shivammathur/setup-php@2.40.0
|
||||
with:
|
||||
php-version: "8.3"
|
||||
tools: composer
|
||||
|
||||
@@ -44,32 +44,32 @@ jobs:
|
||||
--health-cmd "mysqladmin ping -h localhost" --health-interval 10s
|
||||
--health-timeout 5s --health-retries 5
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- uses: actions/setup-dotnet@v4
|
||||
- uses: actions/checkout@v4.4.0
|
||||
- uses: actions/setup-dotnet@v4.3.1
|
||||
with:
|
||||
dotnet-version: "9.0.x"
|
||||
- uses: denoland/setup-deno@v2
|
||||
- uses: denoland/setup-deno@v2.0.5
|
||||
with:
|
||||
# Pin to the Deno version shipped in the full runtime image (docker/DockerfileFull) so CI
|
||||
# tests what production runs, instead of floating on the latest v2.x.
|
||||
deno-version: 2.2.1
|
||||
- uses: actions/setup-go@v7
|
||||
- uses: actions/setup-go@v7.0.0
|
||||
with:
|
||||
go-version: 1.21.5
|
||||
- uses: oven-sh/setup-bun@v2
|
||||
- uses: oven-sh/setup-bun@v2.2.0
|
||||
with:
|
||||
bun-version: 1.4.4
|
||||
- uses: actions/setup-node@v7
|
||||
bun-version: 1.4.5
|
||||
- uses: actions/setup-node@v7.1.0
|
||||
with:
|
||||
node-version: "24"
|
||||
- uses: astral-sh/setup-uv@v7
|
||||
- uses: astral-sh/setup-uv@v10.3.3
|
||||
with:
|
||||
version: "0.13.6"
|
||||
- uses: shivammathur/setup-php@v2
|
||||
version: "0.13.8"
|
||||
- uses: shivammathur/setup-php@2.40.0
|
||||
with:
|
||||
php-version: "8.3"
|
||||
tools: composer
|
||||
- uses: ruby/setup-ruby@v1
|
||||
- uses: ruby/setup-ruby@v1.338.0
|
||||
with:
|
||||
ruby-version: "3.3"
|
||||
bundler-cache: false
|
||||
@@ -94,10 +94,16 @@ jobs:
|
||||
echo "$PG_BIN" >> "$GITHUB_PATH"
|
||||
"$PG_BIN/pg_dump" --version
|
||||
working-directory: /
|
||||
- uses: actions-rust-lang/setup-rust-toolchain@v1
|
||||
- uses: actions-rust-lang/setup-rust-toolchain@v1.17.0
|
||||
with:
|
||||
cache-workspaces: backend
|
||||
toolchain: 1.97.0
|
||||
# ubicloud's cache is not scoped per branch, so a PR's save is restored by main and every
|
||||
# other PR. Each save keeps the artifacts it restored, so PR saves grew the cache from
|
||||
# ~2GB to ~8GB compressed and the restored target dir filled the runner's disk at link
|
||||
# time. Save from main only; bump cache-key to drop a bloated cache.
|
||||
cache-key: v2
|
||||
cache-save-if: ${{ github.ref == 'refs/heads/main' }}
|
||||
- name: Fix stale v8 build cache
|
||||
working-directory: ./backend
|
||||
run: |
|
||||
@@ -114,7 +120,7 @@ jobs:
|
||||
run: |
|
||||
echo "ee_repo_ref=$(cat ./ee-repo-ref.txt)" >> "$GITHUB_ENV"
|
||||
|
||||
- uses: actions/checkout@v4
|
||||
- uses: actions/checkout@v4.4.0
|
||||
with:
|
||||
repository: windmill-labs/windmill-ee-private
|
||||
path: ./windmill-ee-private
|
||||
@@ -237,15 +243,17 @@ jobs:
|
||||
fi
|
||||
echo "Verified: Package requires authentication for @windmill-test/private-pkg"
|
||||
- name: Cache DuckDB FFI module build
|
||||
uses: actions/cache@v3
|
||||
uses: actions/cache@v3.5.0
|
||||
with:
|
||||
path: ./backend/windmill-duckdb-ffi-internal/target
|
||||
key: ${{ runner.os }}-duckdb-ffi-${{ hashFiles('./backend/windmill-duckdb-ffi-internal/src/**/*.rs', './backend/windmill-duckdb-ffi-internal/Cargo.toml', './backend/windmill-duckdb-ffi-internal/Cargo.lock') }}
|
||||
restore-keys: |
|
||||
${{ runner.os }}-duckdb-ffi-
|
||||
- name: cargo test
|
||||
- name: cargo test (build)
|
||||
timeout-minutes: 30
|
||||
env:
|
||||
# Shared with the run step below: any difference in RUSTFLAGS or the
|
||||
# CARGO_* settings changes cargo's fingerprints and rebuilds everything there.
|
||||
env: &cargo_test_env
|
||||
# setup-rust-toolchain exports RUSTFLAGS=-D warnings, and the RUSTFLAGS env
|
||||
# var fully REPLACES (never merges with) target.*.rustflags in
|
||||
# backend/.cargo/config.toml. That silently drops the config's
|
||||
@@ -296,10 +304,16 @@ jobs:
|
||||
WMDEBUG_FORCE_RUNNABLE_SETTINGS_V0: 1
|
||||
WMDEBUG_FORCE_NO_LEGACY_DEBOUNCING_COMPAT: 1
|
||||
TEST_NPM_REGISTRY: "http://localhost:4873/:_authToken=${{ env.NPM_TOKEN }}"
|
||||
WM_TEST_FEATURES: enterprise,deno_core,duckdb,license,python,rust,scoped_cache,parquet,private,private_registry_test,csharp,php,ruby,mysql,quickjs,mcp,run_inline,smtp,http_trigger,openidconnect
|
||||
run: |
|
||||
deno --version && bun -v && node --version && go version && python3 --version && php --version && ruby --version && pwsh --version && dotnet --version
|
||||
# The FFI crate is excluded from the workspace, so the `cargo test` below
|
||||
# never reaches it. Pin the target dir (matching the cache step above) so
|
||||
# its own tests run off this compile rather than a second bundled build.
|
||||
(cd windmill-duckdb-ffi-internal && export CARGO_TARGET_DIR="$PWD/target" && ./build_dev.sh && cargo test --release -p windmill_duckdb_ffi_internal)
|
||||
DENO_PATH=$(which deno) BUN_PATH=$(which bun) NODE_BIN_PATH=$(which node) GO_PATH=$(which go) UV_PATH=$(which uv) PHP_PATH=$(which php) COMPOSER_PATH=$(which composer) RUBY_PATH=$(which ruby) RUBY_BUNDLE_PATH=$(which bundle) RUBY_GEM_PATH=$(which gem) POWERSHELL_PATH=$(which pwsh) DOTNET_PATH=$(which dotnet) cargo test --features enterprise,deno_core,duckdb,license,python,rust,scoped_cache,parquet,private,private_registry_test,csharp,php,ruby,mysql,quickjs,mcp,run_inline,smtp,http_trigger,openidconnect --all -- --nocapture --test-threads=10
|
||||
cargo test --features "$WM_TEST_FEATURES" --all --no-run
|
||||
- name: cargo test (run)
|
||||
timeout-minutes: 20
|
||||
env: *cargo_test_env
|
||||
run: |
|
||||
DENO_PATH=$(which deno) BUN_PATH=$(which bun) NODE_BIN_PATH=$(which node) GO_PATH=$(which go) UV_PATH=$(which uv) PHP_PATH=$(which php) COMPOSER_PATH=$(which composer) RUBY_PATH=$(which ruby) RUBY_BUNDLE_PATH=$(which bundle) RUBY_GEM_PATH=$(which gem) POWERSHELL_PATH=$(which pwsh) DOTNET_PATH=$(which dotnet) cargo test --features "$WM_TEST_FEATURES" --all -- --nocapture --test-threads=10
|
||||
|
||||
@@ -35,7 +35,7 @@ jobs:
|
||||
ports:
|
||||
- 8000:8000
|
||||
steps:
|
||||
- uses: denoland/setup-deno@v2
|
||||
- uses: denoland/setup-deno@v2.0.5
|
||||
with:
|
||||
deno-version: v2.x
|
||||
- name: benchmark
|
||||
@@ -45,7 +45,7 @@ jobs:
|
||||
-c
|
||||
https://raw.githubusercontent.com/windmill-labs/windmill/${GITHUB_REF##ref/head/}/benchmarks/suite_config.json
|
||||
- name: Save benchmark results
|
||||
uses: actions/upload-artifact@v4
|
||||
uses: actions/upload-artifact@v4.6.2
|
||||
with:
|
||||
name: benchmark_single
|
||||
path: |
|
||||
@@ -77,7 +77,7 @@ jobs:
|
||||
ports:
|
||||
- 8000:8000
|
||||
steps:
|
||||
- uses: denoland/setup-deno@v2
|
||||
- uses: denoland/setup-deno@v2.0.5
|
||||
with:
|
||||
deno-version: v2.x
|
||||
- name: benchmark
|
||||
@@ -87,7 +87,7 @@ jobs:
|
||||
--no-warm-up -c
|
||||
https://raw.githubusercontent.com/windmill-labs/windmill/${GITHUB_REF##ref/head/}/benchmarks/suite_dedicated.json
|
||||
- name: Save benchmark results
|
||||
uses: actions/upload-artifact@v4
|
||||
uses: actions/upload-artifact@v4.6.2
|
||||
with:
|
||||
name: benchmark_dedicated
|
||||
path: |
|
||||
@@ -152,7 +152,7 @@ jobs:
|
||||
--pull always
|
||||
|
||||
steps:
|
||||
- uses: denoland/setup-deno@v2
|
||||
- uses: denoland/setup-deno@v2.0.5
|
||||
with:
|
||||
deno-version: v2.x
|
||||
- name: benchmark
|
||||
@@ -164,7 +164,7 @@ jobs:
|
||||
--workers 4
|
||||
--factor 3
|
||||
- name: Save benchmark results
|
||||
uses: actions/upload-artifact@v4
|
||||
uses: actions/upload-artifact@v4.6.2
|
||||
with:
|
||||
name: benchmark_4workers
|
||||
path: |
|
||||
@@ -272,7 +272,7 @@ jobs:
|
||||
options: >-
|
||||
--pull always
|
||||
steps:
|
||||
- uses: denoland/setup-deno@v2
|
||||
- uses: denoland/setup-deno@v2.0.5
|
||||
with:
|
||||
deno-version: v2.x
|
||||
- name: benchmark
|
||||
@@ -284,7 +284,7 @@ jobs:
|
||||
--workers 8
|
||||
--factor 3
|
||||
- name: Save benchmark results
|
||||
uses: actions/upload-artifact@v4
|
||||
uses: actions/upload-artifact@v4.6.2
|
||||
with:
|
||||
name: benchmark_8workers
|
||||
path: |
|
||||
@@ -317,7 +317,7 @@ jobs:
|
||||
ports:
|
||||
- 8000:8000
|
||||
steps:
|
||||
- uses: denoland/setup-deno@v2
|
||||
- uses: denoland/setup-deno@v2.0.5
|
||||
with:
|
||||
deno-version: v2.x
|
||||
- name: benchmark
|
||||
@@ -327,7 +327,7 @@ jobs:
|
||||
-c
|
||||
https://raw.githubusercontent.com/windmill-labs/windmill/${GITHUB_REF##ref/head/}/benchmarks/suite_wac.json
|
||||
- name: Save benchmark results
|
||||
uses: actions/upload-artifact@v4
|
||||
uses: actions/upload-artifact@v4.6.2
|
||||
with:
|
||||
name: benchmark_wac
|
||||
path: |
|
||||
@@ -342,14 +342,14 @@ jobs:
|
||||
- benchmark_8workers
|
||||
- benchmark_wac
|
||||
steps:
|
||||
- uses: denoland/setup-deno@v2
|
||||
- uses: denoland/setup-deno@v2.0.5
|
||||
with:
|
||||
deno-version: v2.x
|
||||
- uses: actions/checkout@v4
|
||||
- uses: actions/checkout@v4.4.0
|
||||
with:
|
||||
ref: benchmarks
|
||||
- name: Download benchmark results
|
||||
uses: actions/download-artifact@v4
|
||||
uses: actions/download-artifact@v4.3.0
|
||||
with:
|
||||
merge-multiple: true
|
||||
- name: graphs
|
||||
|
||||
@@ -26,8 +26,8 @@ jobs:
|
||||
build_ee:
|
||||
runs-on: ubicloud
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- uses: depot/setup-action@v1
|
||||
- uses: actions/checkout@v4.4.0
|
||||
- uses: depot/setup-action@v1.7.2
|
||||
|
||||
# docker-compose.yml pins an exact tag, and the Caddyfile it must agree
|
||||
# with lives in the same checkout. Fail the build rather than publish a
|
||||
@@ -59,7 +59,7 @@ jobs:
|
||||
|
||||
- name: Docker meta
|
||||
id: meta-ee-public
|
||||
uses: docker/metadata-action@v5
|
||||
uses: docker/metadata-action@v5.10.0
|
||||
with:
|
||||
images: |
|
||||
${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}
|
||||
@@ -83,14 +83,14 @@ jobs:
|
||||
docker/test-caddy-compat.sh caddy-l4:ci
|
||||
|
||||
- name: Login to registry
|
||||
uses: docker/login-action@v3
|
||||
uses: docker/login-action@v3.7.0
|
||||
with:
|
||||
registry: ${{ env.REGISTRY }}
|
||||
username: ${{ github.actor }}
|
||||
password: ${{ secrets.GITHUB_TOKEN }}
|
||||
|
||||
- name: Build and push publicly
|
||||
uses: depot/build-push-action@v1
|
||||
uses: depot/build-push-action@v1.19.0
|
||||
with:
|
||||
context: ./docker
|
||||
file: ./docker/DockerfileCaddyL4
|
||||
|
||||
@@ -26,16 +26,16 @@ jobs:
|
||||
build_extra:
|
||||
runs-on: ubicloud
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- uses: actions/checkout@v4.4.0
|
||||
with:
|
||||
ref: ${{ github.ref }}
|
||||
fetch-depth: 0
|
||||
|
||||
- uses: depot/setup-action@v1
|
||||
- uses: depot/setup-action@v1.7.2
|
||||
|
||||
- name: Docker meta
|
||||
id: meta
|
||||
uses: docker/metadata-action@v5
|
||||
uses: docker/metadata-action@v5.10.0
|
||||
with:
|
||||
images: |
|
||||
${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}-extra
|
||||
@@ -46,14 +46,14 @@ jobs:
|
||||
type=sha,enable=true,priority=100,prefix=,suffix=,format=short
|
||||
|
||||
- name: Login to registry
|
||||
uses: docker/login-action@v3
|
||||
uses: docker/login-action@v3.7.0
|
||||
with:
|
||||
registry: ${{ env.REGISTRY }}
|
||||
username: ${{ github.actor }}
|
||||
password: ${{ secrets.GITHUB_TOKEN }}
|
||||
|
||||
- name: Build and push
|
||||
uses: depot/build-push-action@v1
|
||||
uses: depot/build-push-action@v1.19.0
|
||||
with:
|
||||
context: .
|
||||
platforms: linux/amd64,linux/arm64
|
||||
|
||||
@@ -11,7 +11,7 @@ jobs:
|
||||
build_ee:
|
||||
runs-on: ubicloud-standard-4
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- uses: actions/checkout@v4.4.0
|
||||
with:
|
||||
fetch-depth: 0
|
||||
|
||||
@@ -19,7 +19,7 @@ jobs:
|
||||
run: |
|
||||
echo "ee_repo_ref=$(cat ./backend/ee-repo-ref.txt)" >> "$GITHUB_ENV"
|
||||
|
||||
- uses: actions/checkout@v4
|
||||
- uses: actions/checkout@v4.4.0
|
||||
with:
|
||||
repository: windmill-labs/windmill-ee-private
|
||||
path: ./windmill-ee-private
|
||||
@@ -27,11 +27,11 @@ jobs:
|
||||
token: ${{ secrets.WINDMILL_EE_PRIVATE_ACCESS }}
|
||||
fetch-depth: 0
|
||||
|
||||
- uses: depot/setup-action@v1
|
||||
- uses: depot/setup-action@v1.7.2
|
||||
|
||||
- name: Docker meta
|
||||
id: meta-ee-public
|
||||
uses: docker/metadata-action@v5
|
||||
uses: docker/metadata-action@v5.10.0
|
||||
with:
|
||||
images: |
|
||||
${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}-ee-rhel9
|
||||
@@ -41,7 +41,7 @@ jobs:
|
||||
type=sha
|
||||
|
||||
- name: Login to registry
|
||||
uses: docker/login-action@v3
|
||||
uses: docker/login-action@v3.7.0
|
||||
with:
|
||||
registry: ${{ env.REGISTRY }}
|
||||
username: ${{ github.actor }}
|
||||
@@ -56,7 +56,7 @@ jobs:
|
||||
cp ./docker/RHEL9/Dockerfile ./Dockerfile
|
||||
|
||||
- name: Build and push EE (multi-arch)
|
||||
uses: depot/build-push-action@v1
|
||||
uses: depot/build-push-action@v1.19.0
|
||||
with:
|
||||
context: .
|
||||
platforms: linux/amd64,linux/arm64
|
||||
@@ -96,22 +96,22 @@ jobs:
|
||||
cp /tmp/amd64/usr/src/app/windmill_duckdb_runner extracted/windmill_duckdb_runner-amd64
|
||||
rm -rf /tmp/amd64
|
||||
|
||||
- uses: actions/upload-artifact@v4
|
||||
- uses: actions/upload-artifact@v4.6.2
|
||||
with:
|
||||
name: RHEL9-arm64 build
|
||||
path: extracted/windmill-ee-arm64-rhel9
|
||||
|
||||
- uses: actions/upload-artifact@v4
|
||||
- uses: actions/upload-artifact@v4.6.2
|
||||
with:
|
||||
name: RHEL9-amd64 build
|
||||
path: extracted/windmill-ee-amd64-rhel9
|
||||
|
||||
- uses: actions/upload-artifact@v4
|
||||
- uses: actions/upload-artifact@v4.6.2
|
||||
with:
|
||||
name: RHEL9-arm64 dynamic libraries build
|
||||
path: extracted/windmill_duckdb_runner-arm64
|
||||
|
||||
- uses: actions/upload-artifact@v4
|
||||
- uses: actions/upload-artifact@v4.6.2
|
||||
with:
|
||||
name: RHEL9-amd64 dynamic libraries build
|
||||
path: extracted/windmill_duckdb_runner-amd64
|
||||
|
||||
@@ -11,7 +11,7 @@ jobs:
|
||||
build_ee:
|
||||
runs-on: ubicloud-standard-4
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- uses: actions/checkout@v4.4.0
|
||||
with:
|
||||
fetch-depth: 0
|
||||
|
||||
@@ -19,7 +19,7 @@ jobs:
|
||||
run: |
|
||||
echo "ee_repo_ref=$(cat ./backend/ee-repo-ref.txt)" >> "$GITHUB_ENV"
|
||||
|
||||
- uses: actions/checkout@v4
|
||||
- uses: actions/checkout@v4.4.0
|
||||
with:
|
||||
repository: windmill-labs/windmill-ee-private
|
||||
path: ./windmill-ee-private
|
||||
@@ -29,11 +29,11 @@ jobs:
|
||||
|
||||
# - name: Set up Docker Buildx
|
||||
# uses: docker/setup-buildx-action@v2
|
||||
- uses: depot/setup-action@v1
|
||||
- uses: depot/setup-action@v1.7.2
|
||||
|
||||
- name: Docker meta
|
||||
id: meta-ee-public
|
||||
uses: docker/metadata-action@v5
|
||||
uses: docker/metadata-action@v5.10.0
|
||||
with:
|
||||
images: |
|
||||
${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}-ee-rhel8
|
||||
@@ -43,7 +43,7 @@ jobs:
|
||||
type=sha
|
||||
|
||||
- name: Login to registry
|
||||
uses: docker/login-action@v3
|
||||
uses: docker/login-action@v3.7.0
|
||||
with:
|
||||
registry: ${{ env.REGISTRY }}
|
||||
username: ${{ github.actor }}
|
||||
@@ -58,7 +58,7 @@ jobs:
|
||||
cp ./docker/RHEL8/Dockerfile ./Dockerfile
|
||||
|
||||
- name: Build and push publicly ee amd64
|
||||
uses: depot/build-push-action@v1
|
||||
uses: depot/build-push-action@v1.19.0
|
||||
with:
|
||||
context: .
|
||||
platforms: linux/amd64
|
||||
@@ -76,7 +76,7 @@ jobs:
|
||||
org.opencontainers.image.licenses=Windmill-Enterprise-License
|
||||
|
||||
- name: Build and push publicly ee arm64
|
||||
uses: depot/build-push-action@v1
|
||||
uses: depot/build-push-action@v1.19.0
|
||||
with:
|
||||
context: .
|
||||
platforms: linux/arm64
|
||||
@@ -93,13 +93,13 @@ jobs:
|
||||
${{ steps.meta-ee-public.outputs.labels }}-arm64
|
||||
org.opencontainers.image.licenses=Windmill-Enterprise-License
|
||||
|
||||
- uses: shrink/actions-docker-extract@v3
|
||||
- uses: shrink/actions-docker-extract@v3.1.0
|
||||
id: extract-ee-amd64
|
||||
with:
|
||||
image: ${{ steps.meta-ee-public.outputs.tags}}-amd64
|
||||
path: "/windmill/target/release/windmill"
|
||||
|
||||
- uses: shrink/actions-docker-extract@v3
|
||||
- uses: shrink/actions-docker-extract@v3.1.0
|
||||
id: extract-duckdb-ffi-internal
|
||||
with:
|
||||
image: ${{ steps.meta-ee-public.outputs.tags}}-amd64
|
||||
@@ -116,12 +116,12 @@ jobs:
|
||||
mv "${{ steps.extract-ee-amd64.outputs.destination }}/windmill" "${{ steps.extract-ee-amd64.outputs.destination }}/windmill-ee-amd64-rhel8"
|
||||
# mv "${{ steps.extract-ee-arm64.outputs.destination }}/windmill" "${{ steps.extract-ee-arm64.outputs.destination }}/windmill-ee-arm64-rhel8"
|
||||
|
||||
- uses: actions/upload-artifact@v4
|
||||
- uses: actions/upload-artifact@v4.6.2
|
||||
with:
|
||||
name: RHEL8-amd64 build
|
||||
path: ${{ steps.extract-ee-amd64.outputs.destination }}/windmill-ee-amd64-rhel8
|
||||
|
||||
- uses: actions/upload-artifact@v4
|
||||
- uses: actions/upload-artifact@v4.6.2
|
||||
with:
|
||||
name: RHEL8-amd64 dynamic libraries build
|
||||
path: ${{ steps.extract-duckdb-ffi-internal.outputs.destination }}/windmill_duckdb_runner
|
||||
|
||||
@@ -22,13 +22,13 @@ jobs:
|
||||
if: github.event_name == 'push' || !startsWith(github.ref, 'refs/tags/')
|
||||
runs-on: ubicloud
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- uses: actions/checkout@v4.4.0
|
||||
with:
|
||||
fetch-depth: 0
|
||||
- uses: depot/setup-action@v1
|
||||
- uses: depot/setup-action@v1.7.2
|
||||
- name: Docker meta
|
||||
id: meta
|
||||
uses: docker/metadata-action@v5
|
||||
uses: docker/metadata-action@v5.10.0
|
||||
with:
|
||||
images: |
|
||||
${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}
|
||||
@@ -39,7 +39,7 @@ jobs:
|
||||
type=semver,pattern={{major}}.{{minor}}
|
||||
|
||||
- name: Login to registry
|
||||
uses: docker/login-action@v3
|
||||
uses: docker/login-action@v3.7.0
|
||||
with:
|
||||
registry: ${{ env.REGISTRY }}
|
||||
username: ${{ github.actor }}
|
||||
@@ -47,7 +47,7 @@ jobs:
|
||||
|
||||
- name: Build and push publicly
|
||||
id: docker_build
|
||||
uses: depot/build-push-action@v1
|
||||
uses: depot/build-push-action@v1.19.0
|
||||
with:
|
||||
file: "./docker/DockerfileCli"
|
||||
platforms: linux/amd64,linux/arm64
|
||||
@@ -62,7 +62,7 @@ jobs:
|
||||
|
||||
- name: Sign and attest release image
|
||||
if: startsWith(github.ref, 'refs/tags/v') && github.event_name == 'push'
|
||||
uses: ./.github/actions/sign-attest-image
|
||||
uses: $/.github/actions/sign-attest-image
|
||||
with:
|
||||
image: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}
|
||||
digest: ${{ steps.docker_build.outputs.digest }}
|
||||
|
||||
@@ -13,7 +13,7 @@ jobs:
|
||||
cargo_build_windows:
|
||||
runs-on: blacksmith-16vcpu-windows-2025
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- uses: actions/checkout@v4.4.0
|
||||
|
||||
- name: Read EE repo commit hash
|
||||
shell: pwsh
|
||||
@@ -22,7 +22,7 @@ jobs:
|
||||
echo "ee_repo_ref=$ee_repo_ref" | Out-File -FilePath $env:GITHUB_ENV -Append
|
||||
|
||||
- name: Checkout windmill-ee-private repository
|
||||
uses: actions/checkout@v4
|
||||
uses: actions/checkout@v4.4.0
|
||||
with:
|
||||
repository: windmill-labs/windmill-ee-private
|
||||
path: ./windmill-ee-private
|
||||
@@ -30,7 +30,7 @@ jobs:
|
||||
token: ${{ secrets.WINDMILL_EE_PRIVATE_ACCESS }}
|
||||
fetch-depth: 0
|
||||
|
||||
- uses: actions-rust-lang/setup-rust-toolchain@v1
|
||||
- uses: actions-rust-lang/setup-rust-toolchain@v1.17.0
|
||||
with:
|
||||
cache-workspaces: backend
|
||||
toolchain: 1.97.0
|
||||
@@ -73,13 +73,13 @@ jobs:
|
||||
Rename-Item -Path ".\backend\target\release\windmill.exe" -NewName "windmill-ee.exe"
|
||||
|
||||
- name: Upload binary artifact
|
||||
uses: actions/upload-artifact@v4
|
||||
uses: actions/upload-artifact@v4.6.2
|
||||
with:
|
||||
name: windmill-ee-binary
|
||||
path: ./backend/target/release/windmill-ee.exe
|
||||
|
||||
- name: Upload dynamic libraries artifact
|
||||
uses: actions/upload-artifact@v4
|
||||
uses: actions/upload-artifact@v4.6.2
|
||||
with:
|
||||
name: windmill_duckdb_runner.exe
|
||||
path: ./backend/windmill-duckdb-ffi-internal/target/release/windmill_duckdb_runner.exe
|
||||
|
||||
@@ -9,25 +9,25 @@ jobs:
|
||||
runs-on: ubicloud
|
||||
container: node:18
|
||||
steps:
|
||||
- uses: actions/create-github-app-token@v2
|
||||
- uses: actions/create-github-app-token@v2.2.2
|
||||
id: app
|
||||
with:
|
||||
app-id: ${{ vars.INTERNAL_APP_ID }}
|
||||
private-key: ${{ secrets.INTERNAL_APP_KEY }}
|
||||
- uses: actions/checkout@v4
|
||||
- uses: actions/checkout@v4.4.0
|
||||
with:
|
||||
token: ${{ steps.app.outputs.token }}
|
||||
- run: git config --system --add safe.directory /__w/windmill/windmill
|
||||
- name: Change versions
|
||||
run: ./.github/change-versions.sh "$(cat version.txt)"
|
||||
- uses: actions-rs/toolchain@v1
|
||||
- uses: actions-rs/toolchain@v1.0.7
|
||||
with:
|
||||
toolchain: stable
|
||||
- name: update lockfile
|
||||
run: |
|
||||
cd backend
|
||||
cargo generate-lockfile
|
||||
- uses: stefanzweifel/git-auto-commit-action@v5
|
||||
- uses: stefanzweifel/git-auto-commit-action@v5.2.0
|
||||
with:
|
||||
commit_user_name: windmill-internal-app[bot]
|
||||
commit_user_email: windmill-internal-app[bot]@users.noreply.github.com
|
||||
|
||||
@@ -11,12 +11,12 @@ jobs:
|
||||
runs-on: ubuntu-latest
|
||||
timeout-minutes: 10
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- uses: actions/checkout@v4.4.0
|
||||
with:
|
||||
sparse-checkout: |
|
||||
frontend/src
|
||||
.github/scripts
|
||||
- uses: actions/setup-node@v7
|
||||
- uses: actions/setup-node@v7.1.0
|
||||
with:
|
||||
node-version: "22.x"
|
||||
- name: Verify docs links are not 404
|
||||
|
||||
@@ -13,7 +13,7 @@ jobs:
|
||||
check-empty-fixture:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- uses: actions/checkout@v4.4.0
|
||||
|
||||
- name: Ensure fixtures/cli-sync/ has no committed snapshot
|
||||
run: bash fixtures/check-empty.sh
|
||||
|
||||
@@ -26,9 +26,9 @@ jobs:
|
||||
check-freshness:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- uses: actions/checkout@v4.4.0
|
||||
|
||||
- uses: actions/setup-python@v7
|
||||
- uses: actions/setup-python@v7.1.0
|
||||
with:
|
||||
python-version: "3.12"
|
||||
|
||||
|
||||
@@ -38,7 +38,7 @@ jobs:
|
||||
id: app
|
||||
if: vars.INTERNAL_APP_ID != ''
|
||||
continue-on-error: true
|
||||
uses: actions/create-github-app-token@v2
|
||||
uses: actions/create-github-app-token@v2.2.2
|
||||
with:
|
||||
app-id: ${{ vars.INTERNAL_APP_ID }}
|
||||
private-key: ${{ secrets.INTERNAL_APP_KEY }}
|
||||
|
||||
@@ -38,12 +38,12 @@ jobs:
|
||||
id-token: write
|
||||
steps:
|
||||
- name: Checkout repository
|
||||
uses: actions/checkout@v4
|
||||
uses: actions/checkout@v4.4.0
|
||||
with:
|
||||
fetch-depth: 1
|
||||
|
||||
- name: Run Claude Plan Action
|
||||
uses: anthropics/claude-code-action@v1
|
||||
uses: anthropics/claude-code-action@v1.0.271
|
||||
with:
|
||||
claude_code_oauth_token: ${{ secrets.CLAUDE_CODE_OAUTH_TOKEN }}
|
||||
allowed_bots: 'windmill-internal-app[bot]'
|
||||
|
||||
@@ -37,7 +37,7 @@ jobs:
|
||||
id-token: write
|
||||
steps:
|
||||
- name: Checkout repository
|
||||
uses: actions/checkout@v4
|
||||
uses: actions/checkout@v4.4.0
|
||||
with:
|
||||
fetch-depth: 1
|
||||
|
||||
@@ -67,7 +67,7 @@ jobs:
|
||||
|
||||
- name: Checkout EE repository
|
||||
if: steps.ee.outputs.available == 'true'
|
||||
uses: actions/checkout@v4
|
||||
uses: actions/checkout@v4.4.0
|
||||
with:
|
||||
repository: windmill-labs/windmill-ee-private
|
||||
path: ./windmill-ee-private
|
||||
@@ -80,7 +80,7 @@ jobs:
|
||||
run: ./backend/substitute_ee_code.sh --copy --dir ./windmill-ee-private
|
||||
|
||||
- name: Run Claude PR Action
|
||||
uses: anthropics/claude-code-action@v1
|
||||
uses: anthropics/claude-code-action@v1.0.271
|
||||
with:
|
||||
claude_code_oauth_token: ${{ secrets.CLAUDE_CODE_OAUTH_TOKEN }}
|
||||
allowed_bots: "windmill-internal-app[bot]"
|
||||
|
||||
@@ -40,10 +40,10 @@ jobs:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout code
|
||||
uses: actions/checkout@v4
|
||||
uses: actions/checkout@v4.4.0
|
||||
|
||||
- name: Setup Node.js
|
||||
uses: actions/setup-node@v7
|
||||
uses: actions/setup-node@v7.1.0
|
||||
with:
|
||||
node-version: "20"
|
||||
|
||||
@@ -52,7 +52,7 @@ jobs:
|
||||
- name: Setup Bun
|
||||
id: setup-bun
|
||||
continue-on-error: true
|
||||
uses: oven-sh/setup-bun@v2
|
||||
uses: oven-sh/setup-bun@v2.2.0
|
||||
with:
|
||||
bun-version: latest
|
||||
|
||||
@@ -63,7 +63,7 @@ jobs:
|
||||
|
||||
- name: Setup Bun (retry)
|
||||
if: steps.setup-bun.outcome == 'failure'
|
||||
uses: oven-sh/setup-bun@v2
|
||||
uses: oven-sh/setup-bun@v2.2.0
|
||||
with:
|
||||
bun-version: latest
|
||||
|
||||
@@ -95,23 +95,23 @@ jobs:
|
||||
|
||||
steps:
|
||||
- name: Checkout code
|
||||
uses: actions/checkout@v4
|
||||
uses: actions/checkout@v4.4.0
|
||||
|
||||
- name: Setup Rust toolchain
|
||||
uses: actions-rust-lang/setup-rust-toolchain@v1
|
||||
uses: actions-rust-lang/setup-rust-toolchain@v1.17.0
|
||||
with:
|
||||
cache: true
|
||||
cache-workspaces: backend
|
||||
|
||||
- name: Setup Node.js
|
||||
uses: actions/setup-node@v7
|
||||
uses: actions/setup-node@v7.1.0
|
||||
with:
|
||||
node-version: "20"
|
||||
|
||||
- name: Setup Bun
|
||||
id: setup-bun
|
||||
continue-on-error: true
|
||||
uses: oven-sh/setup-bun@v2
|
||||
uses: oven-sh/setup-bun@v2.2.0
|
||||
with:
|
||||
bun-version: latest
|
||||
|
||||
@@ -122,7 +122,7 @@ jobs:
|
||||
|
||||
- name: Setup Bun (retry)
|
||||
if: steps.setup-bun.outcome == 'failure'
|
||||
uses: oven-sh/setup-bun@v2
|
||||
uses: oven-sh/setup-bun@v2.2.0
|
||||
with:
|
||||
bun-version: latest
|
||||
|
||||
@@ -154,7 +154,7 @@ jobs:
|
||||
|
||||
steps:
|
||||
- name: Checkout code
|
||||
uses: actions/checkout@v4
|
||||
uses: actions/checkout@v4.4.0
|
||||
|
||||
- name: Setup PostgreSQL
|
||||
uses: ikalnytskyi/action-setup-postgres@v6
|
||||
@@ -165,20 +165,20 @@ jobs:
|
||||
port: 5432
|
||||
|
||||
- name: Setup Rust toolchain
|
||||
uses: actions-rust-lang/setup-rust-toolchain@v1
|
||||
uses: actions-rust-lang/setup-rust-toolchain@v1.17.0
|
||||
with:
|
||||
cache: true
|
||||
cache-workspaces: backend
|
||||
|
||||
- name: Setup Node.js
|
||||
uses: actions/setup-node@v7
|
||||
uses: actions/setup-node@v7.1.0
|
||||
with:
|
||||
node-version: "20"
|
||||
|
||||
- name: Setup Bun
|
||||
id: setup-bun
|
||||
continue-on-error: true
|
||||
uses: oven-sh/setup-bun@v2
|
||||
uses: oven-sh/setup-bun@v2.2.0
|
||||
with:
|
||||
bun-version: latest
|
||||
|
||||
@@ -189,7 +189,7 @@ jobs:
|
||||
|
||||
- name: Setup Bun (retry)
|
||||
if: steps.setup-bun.outcome == 'failure'
|
||||
uses: oven-sh/setup-bun@v2
|
||||
uses: oven-sh/setup-bun@v2.2.0
|
||||
with:
|
||||
bun-version: latest
|
||||
|
||||
|
||||
@@ -176,7 +176,7 @@ jobs:
|
||||
|
||||
- name: Checkout repository
|
||||
if: steps.codex_config.outputs.enabled == 'true' && steps.pr.outputs.skip != 'true'
|
||||
uses: actions/checkout@v5
|
||||
uses: actions/checkout@v5.1.0
|
||||
with:
|
||||
ref: refs/pull/${{ steps.pr.outputs.pr_number }}/merge
|
||||
fetch-depth: 1
|
||||
@@ -204,7 +204,7 @@ jobs:
|
||||
|
||||
- name: Checkout EE repository
|
||||
if: steps.ee.outputs.available == 'true'
|
||||
uses: actions/checkout@v5
|
||||
uses: actions/checkout@v5.1.0
|
||||
with:
|
||||
repository: windmill-labs/windmill-ee-private
|
||||
path: ./windmill-ee-private
|
||||
@@ -218,7 +218,7 @@ jobs:
|
||||
|
||||
- name: Set up Node.js
|
||||
if: steps.codex_config.outputs.enabled == 'true' && steps.pr.outputs.skip != 'true'
|
||||
uses: actions/setup-node@v7
|
||||
uses: actions/setup-node@v7.1.0
|
||||
with:
|
||||
node-version: 22
|
||||
|
||||
@@ -369,7 +369,7 @@ jobs:
|
||||
|
||||
- name: Post Codex review comment
|
||||
if: steps.codex_config.outputs.enabled == 'true' && steps.pr.outputs.skip != 'true'
|
||||
uses: actions/github-script@v7
|
||||
uses: actions/github-script@v7.1.0
|
||||
env:
|
||||
PR_NUMBER: ${{ steps.pr.outputs.pr_number }}
|
||||
OPENAI_API_KEY: ${{ secrets.OPENAI_API_KEY }}
|
||||
|
||||
@@ -16,7 +16,7 @@ jobs:
|
||||
build:
|
||||
runs-on: ubicloud
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- uses: actions/checkout@v4.4.0
|
||||
with:
|
||||
fetch-depth: 0
|
||||
|
||||
@@ -24,7 +24,7 @@ jobs:
|
||||
run: |
|
||||
echo "ee_repo_ref=$(cat ./backend/ee-repo-ref.txt)" >> "$GITHUB_ENV"
|
||||
|
||||
- uses: actions/checkout@v4
|
||||
- uses: actions/checkout@v4.4.0
|
||||
with:
|
||||
repository: windmill-labs/windmill-ee-private
|
||||
path: ./windmill-ee-private
|
||||
@@ -34,10 +34,10 @@ jobs:
|
||||
|
||||
# - name: Set up Docker Buildx
|
||||
# uses: docker/setup-buildx-action@v2
|
||||
- uses: depot/setup-action@v1
|
||||
- uses: depot/setup-action@v1.7.2
|
||||
|
||||
- name: Login to registry
|
||||
uses: docker/login-action@v3
|
||||
uses: docker/login-action@v3.7.0
|
||||
with:
|
||||
registry: ${{ env.REGISTRY }}
|
||||
username: ${{ github.actor }}
|
||||
@@ -49,7 +49,7 @@ jobs:
|
||||
|
||||
- name: Docker meta
|
||||
id: meta-public
|
||||
uses: docker/metadata-action@v5
|
||||
uses: docker/metadata-action@v5.10.0
|
||||
with:
|
||||
images: |
|
||||
${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}
|
||||
@@ -61,7 +61,7 @@ jobs:
|
||||
type=semver,pattern={{major}}.{{minor}}
|
||||
|
||||
- name: Build and push publicly
|
||||
uses: depot/build-push-action@v1
|
||||
uses: depot/build-push-action@v1.19.0
|
||||
with:
|
||||
context: .
|
||||
platforms: linux/amd64,linux/arm64
|
||||
|
||||
+115
-162
@@ -46,29 +46,31 @@ jobs:
|
||||
outputs:
|
||||
digest: ${{ steps.docker_build.outputs.digest }}
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- uses: actions/checkout@v4.4.0
|
||||
with:
|
||||
ref: ${{ github.ref }}
|
||||
# GIT_VERSION is `git describe --tags`, which needs the history and
|
||||
# tags but no file contents beyond the checked-out tree
|
||||
fetch-depth: 0
|
||||
filter: blob:none
|
||||
|
||||
- name: Read EE repo commit hash
|
||||
run: |
|
||||
echo "ee_repo_ref=$(cat ./backend/ee-repo-ref.txt)" >> "$GITHUB_ENV"
|
||||
|
||||
- uses: actions/checkout@v4
|
||||
- uses: actions/checkout@v4.4.0
|
||||
with:
|
||||
repository: windmill-labs/windmill-ee-private
|
||||
path: ./windmill-ee-private
|
||||
ref: ${{ env.ee_repo_ref }}
|
||||
token: ${{ secrets.WINDMILL_EE_PRIVATE_ACCESS }}
|
||||
fetch-depth: 0
|
||||
|
||||
# - name: Set up Docker Buildx
|
||||
# uses: docker/setup-buildx-action@v2
|
||||
- uses: depot/setup-action@v1
|
||||
- uses: depot/setup-action@v1.7.2
|
||||
|
||||
- name: Login to registry
|
||||
uses: docker/login-action@v3
|
||||
uses: docker/login-action@v3.7.0
|
||||
with:
|
||||
registry: ${{ env.REGISTRY }}
|
||||
username: ${{ github.actor }}
|
||||
@@ -80,7 +82,7 @@ jobs:
|
||||
|
||||
- name: Docker meta
|
||||
id: meta-public
|
||||
uses: docker/metadata-action@v5
|
||||
uses: docker/metadata-action@v5.10.0
|
||||
with:
|
||||
images: |
|
||||
${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}
|
||||
@@ -92,7 +94,7 @@ jobs:
|
||||
|
||||
- name: Build and push publicly
|
||||
id: docker_build
|
||||
uses: depot/build-push-action@v1
|
||||
uses: depot/build-push-action@v1.19.0
|
||||
with:
|
||||
context: .
|
||||
platforms: linux/amd64,linux/arm64
|
||||
@@ -109,7 +111,7 @@ jobs:
|
||||
|
||||
- name: Sign and attest release image
|
||||
if: startsWith(github.ref, 'refs/tags/v') && github.event_name == 'push'
|
||||
uses: ./.github/actions/sign-attest-image
|
||||
uses: $/.github/actions/sign-attest-image
|
||||
with:
|
||||
image: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}
|
||||
digest: ${{ steps.docker_build.outputs.digest }}
|
||||
@@ -118,43 +120,48 @@ jobs:
|
||||
runs-on: ubicloud
|
||||
if: (github.event_name != 'workflow_dispatch') || github.event.inputs.ee
|
||||
outputs:
|
||||
digest: ${{ steps.docker_build.outputs.digest }}
|
||||
digest: ${{ steps.digest.outputs.digest }}
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- uses: actions/checkout@v4.4.0
|
||||
with:
|
||||
ref: ${{ github.ref }}
|
||||
# GIT_VERSION is `git describe --tags`, which needs the history and
|
||||
# tags but no file contents beyond the checked-out tree
|
||||
fetch-depth: 0
|
||||
filter: blob:none
|
||||
|
||||
- name: Read EE repo commit hash
|
||||
run: |
|
||||
echo "ee_repo_ref=$(cat ./backend/ee-repo-ref.txt)" >> "$GITHUB_ENV"
|
||||
|
||||
- uses: actions/checkout@v4
|
||||
- uses: actions/checkout@v4.4.0
|
||||
with:
|
||||
repository: windmill-labs/windmill-ee-private
|
||||
path: ./windmill-ee-private
|
||||
ref: ${{ env.ee_repo_ref }}
|
||||
token: ${{ secrets.WINDMILL_EE_PRIVATE_ACCESS }}
|
||||
fetch-depth: 0
|
||||
|
||||
# - name: Set up Docker Buildx
|
||||
# uses: docker/setup-buildx-action@v2
|
||||
- uses: depot/setup-action@v1
|
||||
- uses: depot/setup-action@v1.7.2
|
||||
|
||||
- name: Docker meta
|
||||
id: meta-ee-public
|
||||
uses: docker/metadata-action@v5
|
||||
uses: docker/metadata-action@v5.10.0
|
||||
with:
|
||||
images: |
|
||||
${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}-ee
|
||||
flavor: |
|
||||
latest=false
|
||||
tags: |
|
||||
type=raw,value=${{ env.DEV_SHA }}
|
||||
type=semver,pattern={{version}}
|
||||
type=semver,pattern={{major}}.{{minor}}
|
||||
labels: |
|
||||
org.opencontainers.image.licenses=Windmill-Enterprise-License
|
||||
|
||||
- name: Login to registry
|
||||
uses: docker/login-action@v3
|
||||
uses: docker/login-action@v3.7.0
|
||||
with:
|
||||
registry: ${{ env.REGISTRY }}
|
||||
username: ${{ github.actor }}
|
||||
@@ -166,28 +173,54 @@ jobs:
|
||||
|
||||
- name: Build and push publicly ee
|
||||
id: docker_build
|
||||
uses: depot/build-push-action@v1
|
||||
uses: depot/bake-action@v1.13.0
|
||||
env:
|
||||
WM_BUILD_VERSION: ${{ github.sha }}
|
||||
SBOM: ${{ startsWith(github.ref, 'refs/tags/v') && github.event_name == 'push' }}
|
||||
with:
|
||||
context: .
|
||||
platforms: linux/amd64,linux/arm64
|
||||
push: true
|
||||
sbom: ${{ startsWith(github.ref, 'refs/tags/v') && github.event_name == 'push' }}
|
||||
build-args: |
|
||||
features=ee
|
||||
WM_BUILD_VERSION=${{ github.sha }}
|
||||
tags: |
|
||||
${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}-ee:${{ env.DEV_SHA }}
|
||||
${{ steps.meta-ee-public.outputs.tags }}
|
||||
labels: |
|
||||
${{ steps.meta-ee-public.outputs.labels }}
|
||||
org.opencontainers.image.licenses=Windmill-Enterprise-License
|
||||
files: |
|
||||
./.github/docker-bake-ee.hcl
|
||||
${{ steps.meta-ee-public.outputs.bake-file-tags }}
|
||||
${{ steps.meta-ee-public.outputs.bake-file-labels }}
|
||||
targets: ${{ (startsWith(github.ref, 'refs/tags/v') || github.event_name == 'workflow_dispatch') && 'image,debuginfo' || 'image' }}
|
||||
|
||||
- name: Read image digest
|
||||
id: digest
|
||||
env:
|
||||
METADATA: ${{ steps.docker_build.outputs.metadata }}
|
||||
run: |
|
||||
digest=$(jq -er '.image["containerimage.digest"]' <<<"$METADATA")
|
||||
echo "digest=$digest" | tee -a "$GITHUB_OUTPUT"
|
||||
|
||||
- name: Sign and attest release image
|
||||
if: startsWith(github.ref, 'refs/tags/v') && github.event_name == 'push'
|
||||
uses: ./.github/actions/sign-attest-image
|
||||
uses: $/.github/actions/sign-attest-image
|
||||
with:
|
||||
image: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}-ee
|
||||
digest: ${{ steps.docker_build.outputs.digest }}
|
||||
digest: ${{ steps.digest.outputs.digest }}
|
||||
|
||||
# The debug file names every EE function with its source file and line, so it
|
||||
# goes to a private bucket, never to the public release. A failed upload must
|
||||
# not fail build_ee: every EE image and the release binary wait on it.
|
||||
- name: Upload debug files to private bucket
|
||||
if: startsWith(github.ref, 'refs/tags/v') || github.event_name == 'workflow_dispatch'
|
||||
continue-on-error: true
|
||||
env:
|
||||
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
|
||||
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
|
||||
AWS_DEFAULT_REGION: us-east-1
|
||||
TAG: ${{ github.ref_name }}
|
||||
run: |
|
||||
set -euo pipefail
|
||||
trap 'echo "::error::EE debug files were not uploaded for $TAG"' ERR
|
||||
ls -l ./debuginfo/linux_amd64/windmill.debug ./debuginfo/linux_arm64/windmill.debug
|
||||
[[ "$GITHUB_REF" == refs/tags/v* ]] || exit 0
|
||||
aws configure set default.s3.multipart_chunksize 64MB
|
||||
for arch in amd64 arm64; do
|
||||
aws s3 cp "./debuginfo/linux_$arch/windmill.debug" \
|
||||
"s3://windmill-ee-debuginfo/$TAG/windmill-ee-$arch.debug" \
|
||||
--storage-class GLACIER_IR --only-show-errors
|
||||
done
|
||||
|
||||
attach_amd64_binary_to_release:
|
||||
needs: [build, build_ee]
|
||||
@@ -196,7 +229,7 @@ jobs:
|
||||
env:
|
||||
ARCH: amd64
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- uses: actions/checkout@v4.4.0
|
||||
|
||||
# The runner disk cannot hold the CE and EE images at once, so each image
|
||||
# is pulled, extracted from and removed before the next one is pulled.
|
||||
@@ -229,71 +262,10 @@ jobs:
|
||||
ls -la release
|
||||
|
||||
- name: Attach binary to release
|
||||
uses: softprops/action-gh-release@v2
|
||||
uses: softprops/action-gh-release@v2.6.2
|
||||
with:
|
||||
files: release/*
|
||||
|
||||
upload_ee_debug_to_s3:
|
||||
needs: [build_ee]
|
||||
runs-on: ubicloud
|
||||
if: ${{ startsWith(github.ref, 'refs/tags/v') }}
|
||||
strategy:
|
||||
matrix:
|
||||
platform: [linux/amd64, linux/arm64]
|
||||
include:
|
||||
- platform: linux/amd64
|
||||
arch: amd64
|
||||
- platform: linux/arm64
|
||||
arch: arm64
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
with:
|
||||
ref: ${{ github.ref }}
|
||||
|
||||
- name: Read EE repo commit hash
|
||||
run: |
|
||||
echo "ee_repo_ref=$(cat ./backend/ee-repo-ref.txt)" >> "$GITHUB_ENV"
|
||||
|
||||
- uses: actions/checkout@v4
|
||||
with:
|
||||
repository: windmill-labs/windmill-ee-private
|
||||
path: ./windmill-ee-private
|
||||
ref: ${{ env.ee_repo_ref }}
|
||||
token: ${{ secrets.WINDMILL_EE_PRIVATE_ACCESS }}
|
||||
|
||||
- name: Substitute EE code
|
||||
run: |
|
||||
./backend/substitute_ee_code.sh --copy --dir ./windmill-ee-private
|
||||
|
||||
- uses: depot/setup-action@v1
|
||||
|
||||
- name: Extract EE debug info from builder stage (depot cache hit)
|
||||
uses: depot/build-push-action@v1
|
||||
with:
|
||||
context: .
|
||||
platforms: ${{ matrix.platform }}
|
||||
target: debuginfo
|
||||
build-args: |
|
||||
features=ee
|
||||
WM_BUILD_VERSION=${{ github.sha }}
|
||||
outputs: type=local,dest=./debuginfo
|
||||
|
||||
# The debug file names every EE function with its source file and line, so it
|
||||
# goes to a private bucket, never to the public release.
|
||||
- name: Upload debug file to private bucket
|
||||
env:
|
||||
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
|
||||
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
|
||||
AWS_DEFAULT_REGION: us-east-1
|
||||
TAG: ${{ github.ref_name }}
|
||||
ARCH: ${{ matrix.arch }}
|
||||
run: |
|
||||
aws --version
|
||||
aws configure set default.s3.multipart_chunksize 64MB
|
||||
aws s3 cp ./debuginfo/windmill.debug \
|
||||
"s3://windmill-ee-debuginfo/$TAG/windmill-ee-$ARCH.debug" \
|
||||
--storage-class GLACIER_IR --only-show-errors
|
||||
|
||||
# attach_arm64_binary_to_release:
|
||||
# needs: [build, build_ee]
|
||||
# runs-on: ubicoud
|
||||
@@ -342,7 +314,7 @@ jobs:
|
||||
runs-on: ubicloud
|
||||
needs: [build_ee]
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- uses: actions/checkout@v4.4.0
|
||||
with:
|
||||
ref: ${{ github.ref }}
|
||||
fetch-depth: 0
|
||||
@@ -356,7 +328,7 @@ jobs:
|
||||
LICENSE_KEY: ${{ secrets.WM_LICENSE_KEY_CI }}
|
||||
run: cd integration_tests && ./run.sh
|
||||
- name: Archive logs
|
||||
uses: actions/upload-artifact@v4
|
||||
uses: actions/upload-artifact@v4.6.2
|
||||
if: always()
|
||||
with:
|
||||
name: Windmill Integration Tests Logs
|
||||
@@ -370,11 +342,9 @@ jobs:
|
||||
github.event_name != 'pull_request' && (github.ref == 'refs/heads/main' ||
|
||||
startsWith(github.ref, 'refs/tags/v')) && (github.event_name != 'workflow_dispatch')
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
with:
|
||||
fetch-depth: 0
|
||||
- uses: actions/checkout@v4.4.0
|
||||
- name: Login to registry
|
||||
uses: docker/login-action@v3
|
||||
uses: docker/login-action@v3.7.0
|
||||
with:
|
||||
registry: ${{ env.REGISTRY }}
|
||||
username: ${{ github.actor }}
|
||||
@@ -406,11 +376,9 @@ jobs:
|
||||
github.event_name != 'pull_request' && (github.event_name != 'workflow_dispatch') && (github.ref == 'refs/heads/main' ||
|
||||
startsWith(github.ref, 'refs/tags/v'))
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
with:
|
||||
fetch-depth: 0
|
||||
- uses: actions/checkout@v4.4.0
|
||||
- name: Login to registry
|
||||
uses: docker/login-action@v3
|
||||
uses: docker/login-action@v3.7.0
|
||||
with:
|
||||
registry: ${{ env.REGISTRY }}
|
||||
username: ${{ github.actor }}
|
||||
@@ -461,10 +429,10 @@ jobs:
|
||||
# 0.69.3, pinned by digest so a republished tag cannot change what runs with release credentials.
|
||||
TRIVY_IMAGE: aquasec/trivy@sha256:bcc376de8d77cfe086a917230e818dc9f8528e3c852f7b1aff648949b6258d1c
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- uses: actions/checkout@v4.4.0
|
||||
|
||||
- name: Login to registry
|
||||
uses: docker/login-action@v3
|
||||
uses: docker/login-action@v3.7.0
|
||||
with:
|
||||
registry: ${{ env.REGISTRY }}
|
||||
username: ${{ github.actor }}
|
||||
@@ -481,7 +449,7 @@ jobs:
|
||||
trivy() { docker run --rm -v "$RUNNER_TEMP/trivy-cache:/root/.cache/trivy" -v "$PWD/scan:/out" "$TRIVY_IMAGE" "$@"; }
|
||||
trivy image -q --platform linux/amd64 \
|
||||
--scanners vuln --format json -o /out/full.json "$IMAGE_REF"
|
||||
.github/scripts/kernel-headers-vex.sh \
|
||||
.github/scripts/image-vex.sh \
|
||||
"https://github.com/windmill-labs/windmill/releases/tag/${GITHUB_REF_NAME}#${{ matrix.image }}" \
|
||||
scan/full.json > "scan/${{ matrix.image }}.openvex.json"
|
||||
trivy image -q --platform linux/amd64 \
|
||||
@@ -491,7 +459,7 @@ jobs:
|
||||
--severity CRITICAL,HIGH -o "/out/${{ matrix.image }}.cves.txt" "/out/${{ matrix.image }}.trivy.json"
|
||||
|
||||
- name: Attach scan results to the release
|
||||
uses: softprops/action-gh-release@v2
|
||||
uses: softprops/action-gh-release@v2.6.2
|
||||
with:
|
||||
files: |
|
||||
scan/${{ matrix.image }}.openvex.json
|
||||
@@ -521,7 +489,7 @@ jobs:
|
||||
done
|
||||
|
||||
- name: Docker Scout report
|
||||
uses: docker/scout-action@v1
|
||||
uses: docker/scout-action@v1.28.0
|
||||
with:
|
||||
command: cves
|
||||
only-severities: critical,high
|
||||
@@ -534,7 +502,7 @@ jobs:
|
||||
# Filed under main: the Security tab only reads the default branch, so tag-only uploads
|
||||
# never close their alerts. `sha` is the release commit, which is on main.
|
||||
- name: Upload SARIF result
|
||||
uses: github/codeql-action/upload-sarif@v4
|
||||
uses: github/codeql-action/upload-sarif@v4.39.3
|
||||
with:
|
||||
sarif_file: scout.sarif.json
|
||||
category: docker-scout-${{ matrix.image }}
|
||||
@@ -570,39 +538,33 @@ jobs:
|
||||
# only-fixed: true
|
||||
|
||||
publish_ecr_s3:
|
||||
needs: [build_ee_full]
|
||||
needs: [build_ee]
|
||||
runs-on: ubicloud-standard-2-arm
|
||||
if: ${{ startsWith(github.ref, 'refs/tags/v') }}
|
||||
env:
|
||||
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
|
||||
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
with:
|
||||
fetch-depth: 0
|
||||
- uses: actions/checkout@v4.4.0
|
||||
|
||||
- name: Set up Docker Buildx
|
||||
uses: docker/setup-buildx-action@v2
|
||||
uses: docker/setup-buildx-action@v2.10.0
|
||||
|
||||
- name: Login to registry
|
||||
uses: docker/login-action@v3
|
||||
uses: docker/login-action@v3.7.0
|
||||
with:
|
||||
registry: ${{ env.REGISTRY }}
|
||||
username: ${{ github.actor }}
|
||||
password: ${{ secrets.GITHUB_TOKEN }}
|
||||
|
||||
- name: Get version from tag
|
||||
id: version
|
||||
run: echo "VERSION=${GITHUB_REF_NAME#v}" >> "$GITHUB_OUTPUT"
|
||||
|
||||
- uses: shrink/actions-docker-extract@v3
|
||||
- uses: shrink/actions-docker-extract@v3.1.0
|
||||
id: extract
|
||||
with:
|
||||
image: |-
|
||||
${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}-ee-full:${{ steps.version.outputs.VERSION }}
|
||||
${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}-ee@${{ needs.build_ee.outputs.digest }}
|
||||
path: "/static_frontend/."
|
||||
|
||||
- uses: reggionick/s3-deploy@v4
|
||||
- uses: reggionick/s3-deploy@v4.0.0
|
||||
with:
|
||||
folder: ${{ steps.extract.outputs.destination }}
|
||||
bucket: windmill-frontend
|
||||
@@ -613,19 +575,18 @@ jobs:
|
||||
needs: [build_ee]
|
||||
runs-on: ubicloud
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- uses: actions/checkout@v4.4.0
|
||||
with:
|
||||
fetch-depth: 0
|
||||
ref: ${{ github.ref }}
|
||||
|
||||
# - name: Set up Docker Buildx
|
||||
# uses: docker/setup-buildx-action@v2
|
||||
|
||||
- uses: depot/setup-action@v1
|
||||
- uses: depot/setup-action@v1.7.2
|
||||
|
||||
- name: Docker meta
|
||||
id: meta-ee-public
|
||||
uses: docker/metadata-action@v5
|
||||
uses: docker/metadata-action@v5.10.0
|
||||
with:
|
||||
images: |
|
||||
${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}-ee-cuda
|
||||
@@ -634,7 +595,7 @@ jobs:
|
||||
type=semver,pattern={{major}}.{{minor}}
|
||||
|
||||
- name: Login to registry
|
||||
uses: docker/login-action@v3
|
||||
uses: docker/login-action@v3.7.0
|
||||
with:
|
||||
registry: ${{ env.REGISTRY }}
|
||||
username: ${{ github.actor }}
|
||||
@@ -642,7 +603,7 @@ jobs:
|
||||
|
||||
- name: Build and push publicly ee
|
||||
id: docker_build
|
||||
uses: depot/build-push-action@v1
|
||||
uses: depot/build-push-action@v1.19.0
|
||||
with:
|
||||
context: .
|
||||
platforms: linux/amd64
|
||||
@@ -659,7 +620,7 @@ jobs:
|
||||
|
||||
- name: Sign and attest release image
|
||||
if: startsWith(github.ref, 'refs/tags/v') && github.event_name == 'push'
|
||||
uses: ./.github/actions/sign-attest-image
|
||||
uses: $/.github/actions/sign-attest-image
|
||||
with:
|
||||
image: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}-ee-cuda
|
||||
digest: ${{ steps.docker_build.outputs.digest }}
|
||||
@@ -671,18 +632,16 @@ jobs:
|
||||
outputs:
|
||||
digest: ${{ steps.docker_build.outputs.digest }}
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
with:
|
||||
fetch-depth: 0
|
||||
- uses: actions/checkout@v4.4.0
|
||||
|
||||
# - name: Set up Docker Buildx
|
||||
# uses: docker/setup-buildx-action@v2
|
||||
|
||||
- uses: depot/setup-action@v1
|
||||
- uses: depot/setup-action@v1.7.2
|
||||
|
||||
- name: Docker meta
|
||||
id: meta-ee-public
|
||||
uses: docker/metadata-action@v5
|
||||
uses: docker/metadata-action@v5.10.0
|
||||
with:
|
||||
images: |
|
||||
${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}-slim
|
||||
@@ -691,7 +650,7 @@ jobs:
|
||||
type=semver,pattern={{major}}.{{minor}}
|
||||
|
||||
- name: Login to registry
|
||||
uses: docker/login-action@v3
|
||||
uses: docker/login-action@v3.7.0
|
||||
with:
|
||||
registry: ${{ env.REGISTRY }}
|
||||
username: ${{ github.actor }}
|
||||
@@ -699,7 +658,7 @@ jobs:
|
||||
|
||||
- name: Build and push publicly ee
|
||||
id: docker_build
|
||||
uses: depot/build-push-action@v1
|
||||
uses: depot/build-push-action@v1.19.0
|
||||
with:
|
||||
context: .
|
||||
platforms: linux/amd64
|
||||
@@ -715,7 +674,7 @@ jobs:
|
||||
|
||||
- name: Sign and attest release image
|
||||
if: startsWith(github.ref, 'refs/tags/v') && github.event_name == 'push'
|
||||
uses: ./.github/actions/sign-attest-image
|
||||
uses: $/.github/actions/sign-attest-image
|
||||
with:
|
||||
image: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}-slim
|
||||
digest: ${{ steps.docker_build.outputs.digest }}
|
||||
@@ -728,18 +687,16 @@ jobs:
|
||||
digest: ${{ steps.docker_build.outputs.digest }}
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
with:
|
||||
fetch-depth: 0
|
||||
- uses: actions/checkout@v4.4.0
|
||||
|
||||
# - name: Set up Docker Buildx
|
||||
# uses: docker/setup-buildx-action@v2
|
||||
|
||||
- uses: depot/setup-action@v1
|
||||
- uses: depot/setup-action@v1.7.2
|
||||
|
||||
- name: Docker meta
|
||||
id: meta-ee-public
|
||||
uses: docker/metadata-action@v5
|
||||
uses: docker/metadata-action@v5.10.0
|
||||
with:
|
||||
images: |
|
||||
${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}-ee-slim
|
||||
@@ -749,7 +706,7 @@ jobs:
|
||||
type=semver,pattern={{major}}.{{minor}}
|
||||
|
||||
- name: Login to registry
|
||||
uses: docker/login-action@v3
|
||||
uses: docker/login-action@v3.7.0
|
||||
with:
|
||||
registry: ${{ env.REGISTRY }}
|
||||
username: ${{ github.actor }}
|
||||
@@ -757,7 +714,7 @@ jobs:
|
||||
|
||||
- name: Build and push publicly ee
|
||||
id: docker_build
|
||||
uses: depot/build-push-action@v1
|
||||
uses: depot/build-push-action@v1.19.0
|
||||
with:
|
||||
context: .
|
||||
platforms: linux/amd64,linux/arm64
|
||||
@@ -774,7 +731,7 @@ jobs:
|
||||
|
||||
- name: Sign and attest release image
|
||||
if: startsWith(github.ref, 'refs/tags/v') && github.event_name == 'push'
|
||||
uses: ./.github/actions/sign-attest-image
|
||||
uses: $/.github/actions/sign-attest-image
|
||||
with:
|
||||
image: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}-ee-slim
|
||||
digest: ${{ steps.docker_build.outputs.digest }}
|
||||
@@ -784,18 +741,16 @@ jobs:
|
||||
needs: [build]
|
||||
runs-on: ubicloud
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
with:
|
||||
fetch-depth: 0
|
||||
- uses: actions/checkout@v4.4.0
|
||||
|
||||
# - name: Set up Docker Buildx
|
||||
# uses: docker/setup-buildx-action@v2
|
||||
|
||||
- uses: depot/setup-action@v1
|
||||
- uses: depot/setup-action@v1.7.2
|
||||
|
||||
- name: Docker meta
|
||||
id: meta-public
|
||||
uses: docker/metadata-action@v5
|
||||
uses: docker/metadata-action@v5.10.0
|
||||
with:
|
||||
images: |
|
||||
${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}-full
|
||||
@@ -804,7 +759,7 @@ jobs:
|
||||
type=semver,pattern={{major}}.{{minor}}
|
||||
|
||||
- name: Login to registry
|
||||
uses: docker/login-action@v3
|
||||
uses: docker/login-action@v3.7.0
|
||||
with:
|
||||
registry: ${{ env.REGISTRY }}
|
||||
username: ${{ github.actor }}
|
||||
@@ -812,7 +767,7 @@ jobs:
|
||||
|
||||
- name: Build and push publicly
|
||||
id: docker_build
|
||||
uses: depot/build-push-action@v1
|
||||
uses: depot/build-push-action@v1.19.0
|
||||
with:
|
||||
context: .
|
||||
platforms: linux/amd64,linux/arm64
|
||||
@@ -828,7 +783,7 @@ jobs:
|
||||
|
||||
- name: Sign and attest release image
|
||||
if: startsWith(github.ref, 'refs/tags/v') && github.event_name == 'push'
|
||||
uses: ./.github/actions/sign-attest-image
|
||||
uses: $/.github/actions/sign-attest-image
|
||||
with:
|
||||
image: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}-full
|
||||
digest: ${{ steps.docker_build.outputs.digest }}
|
||||
@@ -838,18 +793,16 @@ jobs:
|
||||
needs: [build_ee]
|
||||
runs-on: ubicloud
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
with:
|
||||
fetch-depth: 0
|
||||
- uses: actions/checkout@v4.4.0
|
||||
|
||||
# - name: Set up Docker Buildx
|
||||
# uses: docker/setup-buildx-action@v2
|
||||
|
||||
- uses: depot/setup-action@v1
|
||||
- uses: depot/setup-action@v1.7.2
|
||||
|
||||
- name: Docker meta
|
||||
id: meta-ee-public
|
||||
uses: docker/metadata-action@v5
|
||||
uses: docker/metadata-action@v5.10.0
|
||||
with:
|
||||
images: |
|
||||
${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}-ee-full
|
||||
@@ -858,7 +811,7 @@ jobs:
|
||||
type=semver,pattern={{major}}.{{minor}}
|
||||
|
||||
- name: Login to registry
|
||||
uses: docker/login-action@v3
|
||||
uses: docker/login-action@v3.7.0
|
||||
with:
|
||||
registry: ${{ env.REGISTRY }}
|
||||
username: ${{ github.actor }}
|
||||
@@ -866,7 +819,7 @@ jobs:
|
||||
|
||||
- name: Build and push publicly ee
|
||||
id: docker_build
|
||||
uses: depot/build-push-action@v1
|
||||
uses: depot/build-push-action@v1.19.0
|
||||
with:
|
||||
context: .
|
||||
platforms: linux/amd64,linux/arm64
|
||||
@@ -883,7 +836,7 @@ jobs:
|
||||
|
||||
- name: Sign and attest release image
|
||||
if: startsWith(github.ref, 'refs/tags/v') && github.event_name == 'push'
|
||||
uses: ./.github/actions/sign-attest-image
|
||||
uses: $/.github/actions/sign-attest-image
|
||||
with:
|
||||
image: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}-ee-full
|
||||
digest: ${{ steps.docker_build.outputs.digest }}
|
||||
|
||||
@@ -17,8 +17,8 @@ jobs:
|
||||
npm_check:
|
||||
runs-on: ubicloud-standard-8
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- uses: actions/setup-node@v7
|
||||
- uses: actions/checkout@v4.4.0
|
||||
- uses: actions/setup-node@v7.1.0
|
||||
with:
|
||||
node-version: 24
|
||||
cache: "npm"
|
||||
@@ -28,5 +28,5 @@ jobs:
|
||||
env:
|
||||
# svelte-check peaks past node's ~4GB default ceiling on this runner and aborts.
|
||||
NODE_OPTIONS: --max-old-space-size=8192
|
||||
run: cd frontend && npm ci && npm run generate-backend-client && npm run
|
||||
check
|
||||
run: cd frontend && npm ci && npm run lint && npm run generate-backend-client &&
|
||||
npm run check
|
||||
|
||||
@@ -9,7 +9,7 @@ jobs:
|
||||
publish_gallery:
|
||||
runs-on: ubicloud-standard-8
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- uses: actions/checkout@v4.4.0
|
||||
- run: . ./powershell-client/publish.ps1
|
||||
shell: pwsh
|
||||
env:
|
||||
|
||||
@@ -43,14 +43,14 @@ jobs:
|
||||
--health-retries 5
|
||||
|
||||
steps:
|
||||
- uses: actions/create-github-app-token@v2
|
||||
- uses: actions/create-github-app-token@v2.2.2
|
||||
id: app
|
||||
with:
|
||||
app-id: ${{ vars.INTERNAL_APP_ID }}
|
||||
private-key: ${{ secrets.INTERNAL_APP_KEY }}
|
||||
|
||||
- name: Comment on PR - Starting
|
||||
uses: actions/github-script@v6
|
||||
uses: actions/github-script@v6.4.1
|
||||
with:
|
||||
github-token: ${{ steps.app.outputs.token }}
|
||||
script: |
|
||||
@@ -63,21 +63,21 @@ jobs:
|
||||
})
|
||||
|
||||
- name: Checkout repository
|
||||
uses: actions/checkout@v3
|
||||
uses: actions/checkout@v3.7.0
|
||||
with:
|
||||
token: ${{ steps.app.outputs.token }}
|
||||
ref: ${{ github.event.issue.pull_request.head.ref }}
|
||||
fetch-depth: 0
|
||||
|
||||
- name: Checkout windmill-ee-private
|
||||
uses: actions/checkout@v3
|
||||
uses: actions/checkout@v3.7.0
|
||||
with:
|
||||
repository: windmill-labs/windmill-ee-private
|
||||
path: windmill-ee-private
|
||||
token: ${{ secrets.WINDMILL_EE_PRIVATE_ACCESS }}
|
||||
|
||||
# Setup Rust toolchain
|
||||
- uses: actions-rust-lang/setup-rust-toolchain@v1
|
||||
- uses: actions-rust-lang/setup-rust-toolchain@v1.17.0
|
||||
with:
|
||||
cache-workspaces: backend
|
||||
toolchain: 1.97.0
|
||||
@@ -136,7 +136,7 @@ jobs:
|
||||
git push origin ${{ env.BRANCH_NAME }}
|
||||
|
||||
- name: Comment on PR - Completed
|
||||
uses: actions/github-script@v6
|
||||
uses: actions/github-script@v6.4.1
|
||||
with:
|
||||
github-token: ${{ steps.app.outputs.token }}
|
||||
script: |
|
||||
@@ -161,7 +161,7 @@ jobs:
|
||||
id-token: write
|
||||
steps:
|
||||
- name: Checkout repository
|
||||
uses: actions/checkout@v4
|
||||
uses: actions/checkout@v4.4.0
|
||||
with:
|
||||
fetch-depth: 0
|
||||
|
||||
@@ -242,14 +242,14 @@ jobs:
|
||||
pull-requests: write
|
||||
issues: write
|
||||
steps:
|
||||
- uses: actions/create-github-app-token@v2
|
||||
- uses: actions/create-github-app-token@v2.2.2
|
||||
id: app
|
||||
with:
|
||||
app-id: ${{ vars.INTERNAL_APP_ID }}
|
||||
private-key: ${{ secrets.INTERNAL_APP_KEY }}
|
||||
|
||||
- name: Comment on PR - Starting
|
||||
uses: actions/github-script@v6
|
||||
uses: actions/github-script@v6.4.1
|
||||
with:
|
||||
github-token: ${{ steps.app.outputs.token }}
|
||||
script: |
|
||||
@@ -262,14 +262,14 @@ jobs:
|
||||
})
|
||||
|
||||
- name: Checkout repository
|
||||
uses: actions/checkout@v3
|
||||
uses: actions/checkout@v3.7.0
|
||||
with:
|
||||
token: ${{ steps.app.outputs.token }}
|
||||
ref: ${{ github.event.issue.pull_request.head.ref }}
|
||||
fetch-depth: 0
|
||||
|
||||
- name: Checkout windmill-ee-private
|
||||
uses: actions/checkout@v3
|
||||
uses: actions/checkout@v3.7.0
|
||||
with:
|
||||
repository: windmill-labs/windmill-ee-private
|
||||
path: windmill-ee-private
|
||||
@@ -308,7 +308,7 @@ jobs:
|
||||
git push origin $BRANCH_NAME
|
||||
|
||||
- name: Comment on PR - Completed
|
||||
uses: actions/github-script@v6
|
||||
uses: actions/github-script@v6.4.1
|
||||
with:
|
||||
github-token: ${{ steps.app.outputs.token }}
|
||||
script: |
|
||||
@@ -331,7 +331,7 @@ jobs:
|
||||
pull-requests: read
|
||||
issues: read
|
||||
steps:
|
||||
- uses: actions/create-github-app-token@v2
|
||||
- uses: actions/create-github-app-token@v2.2.2
|
||||
id: app
|
||||
with:
|
||||
app-id: ${{ vars.INTERNAL_APP_ID }}
|
||||
|
||||
@@ -41,7 +41,7 @@ jobs:
|
||||
outputs:
|
||||
should_run: ${{ steps.check.outputs.should_run }}
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- uses: actions/checkout@v4.4.0
|
||||
with:
|
||||
fetch-depth: 0
|
||||
|
||||
@@ -107,7 +107,7 @@ jobs:
|
||||
--health-retries 5
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- uses: actions/checkout@v4.4.0
|
||||
with:
|
||||
ref: ${{ github.ref }}
|
||||
fetch-depth: 0
|
||||
@@ -116,7 +116,7 @@ jobs:
|
||||
run: |
|
||||
echo "ee_repo_ref=$(cat ./backend/ee-repo-ref.txt)" >> "$GITHUB_ENV"
|
||||
|
||||
- uses: actions/checkout@v4
|
||||
- uses: actions/checkout@v4.4.0
|
||||
with:
|
||||
repository: windmill-labs/windmill-ee-private
|
||||
path: ./windmill-ee-private
|
||||
@@ -128,20 +128,20 @@ jobs:
|
||||
run: |
|
||||
cd backend && ./substitute_ee_code.sh --copy --dir ./windmill-ee-private
|
||||
|
||||
- uses: actions-rust-lang/setup-rust-toolchain@v1
|
||||
- uses: actions-rust-lang/setup-rust-toolchain@v1.17.0
|
||||
with:
|
||||
cache-workspaces: backend
|
||||
toolchain: 1.97.0
|
||||
|
||||
- uses: oven-sh/setup-bun@v2
|
||||
- uses: oven-sh/setup-bun@v2.2.0
|
||||
with:
|
||||
bun-version: 1.4.4
|
||||
bun-version: 1.4.5
|
||||
|
||||
- uses: denoland/setup-deno@v2
|
||||
- uses: denoland/setup-deno@v2.0.5
|
||||
with:
|
||||
deno-version: v2.x
|
||||
|
||||
- uses: actions/setup-node@v7
|
||||
- uses: actions/setup-node@v7.1.0
|
||||
with:
|
||||
node-version: "20"
|
||||
|
||||
@@ -216,7 +216,7 @@ jobs:
|
||||
cd integration_tests && ../.venv/bin/python -m unittest -v test.git_sync_test
|
||||
|
||||
- name: Archive logs
|
||||
uses: actions/upload-artifact@v4
|
||||
uses: actions/upload-artifact@v4.6.2
|
||||
if: always()
|
||||
with:
|
||||
name: Git Sync Integration Tests Logs
|
||||
|
||||
@@ -12,8 +12,8 @@ jobs:
|
||||
build_go_and_push_to_repo:
|
||||
runs-on: ubicloud-standard-8
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- uses: actions/setup-go@v7
|
||||
- uses: actions/checkout@v4.4.0
|
||||
- uses: actions/setup-go@v7.0.0
|
||||
- name: install_jq
|
||||
run: |
|
||||
sudo apt-get update
|
||||
@@ -27,7 +27,7 @@ jobs:
|
||||
go build
|
||||
- name: Pushes to another repository
|
||||
id: push_directory
|
||||
uses: cpina/github-action-push-to-another-repository@55306faa4ed53b815ae49e564af8cfb359d32ae2 # v1.7.3
|
||||
uses: cpina/github-action-push-to-another-repository@v1.7.3
|
||||
env:
|
||||
API_TOKEN_GITHUB: ${{ secrets.DENO_PAT }}
|
||||
with:
|
||||
@@ -42,7 +42,7 @@ jobs:
|
||||
needs: [build_go_and_push_to_repo]
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- uses: actions/checkout@v4.4.0
|
||||
with:
|
||||
repository: ${{ github.repository_owner }}/${{ env.repo }}
|
||||
token: ${{ secrets.DENO_PAT }}
|
||||
|
||||
@@ -11,14 +11,14 @@ jobs:
|
||||
steps:
|
||||
- name: Generate an installation token
|
||||
id: app
|
||||
uses: actions/create-github-app-token@v2
|
||||
uses: actions/create-github-app-token@v2.2.2
|
||||
with:
|
||||
app-id: ${{ vars.INTERNAL_APP_ID }}
|
||||
private-key: ${{ secrets.INTERNAL_APP_KEY }}
|
||||
owner: windmill-labs
|
||||
|
||||
- name: Checkout on helm repository
|
||||
uses: actions/checkout@v3
|
||||
uses: actions/checkout@v3.7.0
|
||||
with:
|
||||
repository: windmill-labs/windmill-helm-charts
|
||||
token: ${{ steps.app.outputs.token }}
|
||||
|
||||
@@ -12,5 +12,5 @@ jobs:
|
||||
contents: read
|
||||
id-token: write
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- uses: actions/checkout@v4.4.0
|
||||
- run: cd typescript-client && ./publish.jsr.sh
|
||||
|
||||
@@ -14,7 +14,7 @@ jobs:
|
||||
id-token: write
|
||||
steps:
|
||||
- name: Checkout repository
|
||||
uses: actions/checkout@v4
|
||||
uses: actions/checkout@v4.4.0
|
||||
with:
|
||||
fetch-depth: 1
|
||||
|
||||
|
||||
@@ -9,8 +9,8 @@ jobs:
|
||||
publish_typescript_client:
|
||||
runs-on: ubicloud-standard-8
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- uses: actions/setup-node@v7
|
||||
- uses: actions/checkout@v4.4.0
|
||||
- uses: actions/setup-node@v7.1.0
|
||||
with:
|
||||
node-version: "20.x"
|
||||
registry-url: "https://registry.npmjs.org"
|
||||
@@ -25,8 +25,8 @@ jobs:
|
||||
contents: read
|
||||
id-token: write
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- uses: actions/setup-node@v7
|
||||
- uses: actions/checkout@v4.4.0
|
||||
- uses: actions/setup-node@v7.1.0
|
||||
with:
|
||||
node-version: "24.x"
|
||||
registry-url: "https://registry.npmjs.org"
|
||||
@@ -34,12 +34,12 @@ jobs:
|
||||
publish_cli:
|
||||
runs-on: ubicloud-standard-8
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- uses: actions/setup-node@v7
|
||||
- uses: actions/checkout@v4.4.0
|
||||
- uses: actions/setup-node@v7.1.0
|
||||
with:
|
||||
node-version: "20.x"
|
||||
registry-url: "https://registry.npmjs.org"
|
||||
- uses: oven-sh/setup-bun@v2
|
||||
- uses: oven-sh/setup-bun@v2.2.0
|
||||
with:
|
||||
bun-version: latest
|
||||
- run: cd cli && ./build.sh && cd npm && npm publish --access public
|
||||
|
||||
@@ -169,7 +169,7 @@ jobs:
|
||||
|
||||
- name: Checkout repository
|
||||
if: steps.pi_config.outputs.enabled == 'true' && steps.pr.outputs.skip != 'true'
|
||||
uses: actions/checkout@v5
|
||||
uses: actions/checkout@v5.1.0
|
||||
with:
|
||||
ref: refs/pull/${{ steps.pr.outputs.pr_number }}/merge
|
||||
fetch-depth: 1
|
||||
@@ -197,7 +197,7 @@ jobs:
|
||||
|
||||
- name: Checkout EE repository
|
||||
if: steps.ee.outputs.available == 'true'
|
||||
uses: actions/checkout@v5
|
||||
uses: actions/checkout@v5.1.0
|
||||
with:
|
||||
repository: windmill-labs/windmill-ee-private
|
||||
path: ./windmill-ee-private
|
||||
@@ -211,7 +211,7 @@ jobs:
|
||||
|
||||
- name: Set up Node.js
|
||||
if: steps.pi_config.outputs.enabled == 'true' && steps.pr.outputs.skip != 'true'
|
||||
uses: actions/setup-node@v7
|
||||
uses: actions/setup-node@v7.1.0
|
||||
with:
|
||||
node-version: 22
|
||||
|
||||
@@ -421,7 +421,7 @@ jobs:
|
||||
|
||||
- name: Post Pi review comment
|
||||
if: steps.pi_config.outputs.enabled == 'true' && steps.pr.outputs.skip != 'true'
|
||||
uses: actions/github-script@v7
|
||||
uses: actions/github-script@v7.1.0
|
||||
env:
|
||||
PR_NUMBER: ${{ steps.pr.outputs.pr_number }}
|
||||
DEEPSEEK_API_KEY: ${{ secrets.DEEPSEEK_API_KEY }}
|
||||
|
||||
@@ -96,7 +96,7 @@ jobs:
|
||||
|
||||
- name: Checkout repository
|
||||
if: steps.marker.outputs.skip != 'true'
|
||||
uses: actions/checkout@v5
|
||||
uses: actions/checkout@v5.1.0
|
||||
with:
|
||||
fetch-depth: 1
|
||||
|
||||
@@ -115,7 +115,7 @@ jobs:
|
||||
|
||||
- name: Checkout EE repository
|
||||
if: steps.ee.outputs.available == 'true'
|
||||
uses: actions/checkout@v5
|
||||
uses: actions/checkout@v5.1.0
|
||||
with:
|
||||
repository: windmill-labs/windmill-ee-private
|
||||
path: ./windmill-ee-private
|
||||
@@ -198,7 +198,7 @@ jobs:
|
||||
|
||||
- name: Automatic PR Review
|
||||
if: steps.marker.outputs.skip != 'true'
|
||||
uses: anthropics/claude-code-action@v1
|
||||
uses: anthropics/claude-code-action@v1.0.271
|
||||
with:
|
||||
claude_code_oauth_token: ${{ secrets.CLAUDE_CODE_OAUTH_TOKEN }}
|
||||
track_progress: true
|
||||
|
||||
@@ -26,19 +26,19 @@ jobs:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout windmill (source of truth)
|
||||
uses: actions/checkout@v4
|
||||
uses: actions/checkout@v4.4.0
|
||||
with:
|
||||
path: windmill
|
||||
|
||||
- name: Checkout windmill-cli-docs (publish target)
|
||||
uses: actions/checkout@v4
|
||||
uses: actions/checkout@v4.4.0
|
||||
with:
|
||||
repository: windmill-labs/windmill-cli-docs
|
||||
path: windmill-cli-docs
|
||||
ssh-key: ${{ secrets.CLI_DOCS_DEPLOY_KEY }}
|
||||
fetch-depth: 0
|
||||
|
||||
- uses: actions/setup-python@v7
|
||||
- uses: actions/setup-python@v7.1.0
|
||||
with:
|
||||
python-version: "3.12"
|
||||
|
||||
|
||||
@@ -0,0 +1,133 @@
|
||||
name: Publish to MCP Registry
|
||||
|
||||
# Publishes .github/mcp-registry/server.json (name io.github.windmill-labs/windmill)
|
||||
# to the official MCP Registry (registry.modelcontextprotocol.io). GitHub OIDC from
|
||||
# a repository owned by windmill-labs grants the io.github.windmill-labs/* namespace,
|
||||
# so no PAT or secret is needed.
|
||||
#
|
||||
# Manual only. With publish=false (the default) it only stamps the version and
|
||||
# validates. With publish=true it also logs in and publishes, and only from main.
|
||||
# Each version can be published once; use the current Windmill release version.
|
||||
|
||||
on:
|
||||
workflow_dispatch:
|
||||
inputs:
|
||||
version:
|
||||
description: "Version to publish, e.g. 1.868.0 (current Windmill release). Each version can be published once."
|
||||
required: true
|
||||
type: string
|
||||
publish:
|
||||
description: "Publish to the registry (false = validate only)"
|
||||
type: boolean
|
||||
default: false
|
||||
|
||||
permissions:
|
||||
contents: read
|
||||
|
||||
concurrency:
|
||||
group: publish-mcp-registry
|
||||
cancel-in-progress: false
|
||||
|
||||
env:
|
||||
# Bump deliberately; the binary is verified against the release workflow's Sigstore identity.
|
||||
MCP_PUBLISHER_VERSION: v1.8.9
|
||||
SERVER_JSON: .github/mcp-registry/server.json
|
||||
|
||||
jobs:
|
||||
validate:
|
||||
runs-on: ubuntu-latest
|
||||
timeout-minutes: 10
|
||||
permissions:
|
||||
contents: read
|
||||
steps:
|
||||
- uses: actions/checkout@v4.4.0
|
||||
with:
|
||||
persist-credentials: false
|
||||
|
||||
- name: Set version
|
||||
env:
|
||||
VERSION: ${{ inputs.version }}
|
||||
run: |
|
||||
set -euo pipefail
|
||||
version="${VERSION#v}"
|
||||
if ! [[ "$version" =~ ^[0-9]+\.[0-9]+\.[0-9]+$ ]]; then
|
||||
echo "::error::version must look like 1.868.0"
|
||||
exit 1
|
||||
fi
|
||||
jq --arg v "$version" '.version = $v' "$SERVER_JSON" > "$RUNNER_TEMP/server.json"
|
||||
mv "$RUNNER_TEMP/server.json" "$SERVER_JSON"
|
||||
jq -r '.name + " " + .version' "$SERVER_JSON"
|
||||
|
||||
- name: Install cosign
|
||||
uses: sigstore/cosign-installer@v4.1.2
|
||||
|
||||
- name: Download and verify mcp-publisher
|
||||
run: |
|
||||
set -euo pipefail
|
||||
archive="mcp-publisher_linux_amd64.tar.gz"
|
||||
base_url="https://github.com/modelcontextprotocol/registry/releases/download/${MCP_PUBLISHER_VERSION}"
|
||||
curl --fail --location --silent --show-error --output "$archive" "$base_url/$archive"
|
||||
curl --fail --location --silent --show-error --output "$archive.sigstore.json" "$base_url/$archive.sigstore.json"
|
||||
cosign verify-blob \
|
||||
--bundle "$archive.sigstore.json" \
|
||||
--certificate-identity "https://github.com/modelcontextprotocol/registry/.github/workflows/release.yml@refs/tags/${MCP_PUBLISHER_VERSION}" \
|
||||
--certificate-oidc-issuer "https://token.actions.githubusercontent.com" \
|
||||
"$archive"
|
||||
tar xzf "$archive" mcp-publisher
|
||||
rm -f "$archive" "$archive.sigstore.json"
|
||||
|
||||
- name: Validate server.json
|
||||
run: ./mcp-publisher validate "$SERVER_JSON"
|
||||
|
||||
- name: Refuse to publish from a branch other than main
|
||||
if: ${{ inputs.publish && github.ref != 'refs/heads/main' }}
|
||||
run: |
|
||||
echo "::error::publish=true is only allowed when dispatched on main"
|
||||
exit 1
|
||||
|
||||
publish:
|
||||
needs: validate
|
||||
if: ${{ inputs.publish && github.ref == 'refs/heads/main' }}
|
||||
runs-on: ubuntu-latest
|
||||
timeout-minutes: 10
|
||||
permissions:
|
||||
contents: read
|
||||
id-token: write # GitHub OIDC login to the MCP Registry
|
||||
steps:
|
||||
- uses: actions/checkout@v4.4.0
|
||||
with:
|
||||
persist-credentials: false
|
||||
|
||||
- name: Set version
|
||||
env:
|
||||
VERSION: ${{ inputs.version }}
|
||||
run: |
|
||||
set -euo pipefail
|
||||
version="${VERSION#v}"
|
||||
jq --arg v "$version" '.version = $v' "$SERVER_JSON" > "$RUNNER_TEMP/server.json"
|
||||
mv "$RUNNER_TEMP/server.json" "$SERVER_JSON"
|
||||
jq -r '.name + " " + .version' "$SERVER_JSON"
|
||||
|
||||
- name: Install cosign
|
||||
uses: sigstore/cosign-installer@v4.1.2
|
||||
|
||||
- name: Download and verify mcp-publisher
|
||||
run: |
|
||||
set -euo pipefail
|
||||
archive="mcp-publisher_linux_amd64.tar.gz"
|
||||
base_url="https://github.com/modelcontextprotocol/registry/releases/download/${MCP_PUBLISHER_VERSION}"
|
||||
curl --fail --location --silent --show-error --output "$archive" "$base_url/$archive"
|
||||
curl --fail --location --silent --show-error --output "$archive.sigstore.json" "$base_url/$archive.sigstore.json"
|
||||
cosign verify-blob \
|
||||
--bundle "$archive.sigstore.json" \
|
||||
--certificate-identity "https://github.com/modelcontextprotocol/registry/.github/workflows/release.yml@refs/tags/${MCP_PUBLISHER_VERSION}" \
|
||||
--certificate-oidc-issuer "https://token.actions.githubusercontent.com" \
|
||||
"$archive"
|
||||
tar xzf "$archive" mcp-publisher
|
||||
rm -f "$archive" "$archive.sigstore.json"
|
||||
|
||||
- name: Log in with GitHub OIDC
|
||||
run: ./mcp-publisher login github-oidc
|
||||
|
||||
- name: Publish
|
||||
run: ./mcp-publisher publish "$SERVER_JSON"
|
||||
@@ -13,32 +13,66 @@ on:
|
||||
permissions: write-all
|
||||
|
||||
jobs:
|
||||
sleep:
|
||||
# A release builds on its own ee-slim, pinned by digest (:latest is still the
|
||||
# previous release while this one builds), and waits for its python client to
|
||||
# be on PyPI, since lsp/Pipfile requires it.
|
||||
base_image:
|
||||
runs-on: ubicloud
|
||||
outputs:
|
||||
image: ${{ steps.base.outputs.image }}
|
||||
steps:
|
||||
- name: Sleep for 900 seconds waiting for pypi to update index
|
||||
if: startsWith(github.ref, 'refs/tags/v')
|
||||
run: sleep 900
|
||||
- name: Wait for this release's ee-slim image and PyPI client
|
||||
id: base
|
||||
shell: bash
|
||||
env:
|
||||
IMAGE: ${{ env.REGISTRY }}/${{ github.repository }}-ee-slim
|
||||
run: |
|
||||
set -euo pipefail
|
||||
if [[ "$GITHUB_REF" != refs/tags/v* ]]; then
|
||||
echo "image=$IMAGE:latest" >> "$GITHUB_OUTPUT"
|
||||
exit 0
|
||||
fi
|
||||
version="${GITHUB_REF_NAME#v}"
|
||||
deadline=$((SECONDS + 75 * 60))
|
||||
on_pypi() {
|
||||
local page
|
||||
page=$(curl -fsS -H 'Cache-Control: max-age=0' https://pypi.org/simple/wmill/) || return 1
|
||||
grep -qF -e "wmill-${version}-py" -e "wmill-${version}.tar.gz" <<<"$page"
|
||||
}
|
||||
until on_pypi; do
|
||||
(( SECONDS < deadline )) || { echo "wmill $version is not on PyPI"; exit 1; }
|
||||
sleep 20
|
||||
done
|
||||
echo "wmill $version is on PyPI"
|
||||
# A re-pushed tag finds the previous attempt's image under the same tag,
|
||||
# so wait for the one built from this commit.
|
||||
revision() {
|
||||
docker buildx imagetools inspect "$IMAGE:$version" --format \
|
||||
'{{ index (index .Image "linux/amd64").Config.Labels "org.opencontainers.image.revision" }}' 2>/dev/null
|
||||
}
|
||||
until [[ "$(revision)" == "$GITHUB_SHA" ]]; do
|
||||
(( SECONDS < deadline )) || { echo "$IMAGE:$version for $GITHUB_SHA was never pushed"; exit 1; }
|
||||
sleep 30
|
||||
done
|
||||
digest=$(docker buildx imagetools inspect "$IMAGE:$version" --format '{{.Manifest.Digest}}')
|
||||
echo "image=$IMAGE@$digest" | tee -a "$GITHUB_OUTPUT"
|
||||
|
||||
# Build and test the image before publishing
|
||||
test_extra:
|
||||
needs: [sleep]
|
||||
needs: [base_image]
|
||||
runs-on: ubicloud-standard-8
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
with:
|
||||
fetch-depth: 0
|
||||
- uses: actions/checkout@v4.4.0
|
||||
|
||||
- name: Setup Bun
|
||||
uses: oven-sh/setup-bun@v2
|
||||
uses: oven-sh/setup-bun@v2.2.0
|
||||
with:
|
||||
bun-version: latest
|
||||
|
||||
# Matches the Node major DockerfileExtra installs. The pin is load-bearing:
|
||||
# glob arguments to `node --test` need Node >= 21.
|
||||
- name: Setup Node
|
||||
uses: actions/setup-node@v4
|
||||
uses: actions/setup-node@v4.4.0
|
||||
with:
|
||||
node-version: 22
|
||||
|
||||
@@ -54,14 +88,16 @@ jobs:
|
||||
run: bash docker/test_entrypoint_extra.sh
|
||||
|
||||
- name: Set up Docker Buildx
|
||||
uses: docker/setup-buildx-action@v3
|
||||
uses: docker/setup-buildx-action@v3.12.0
|
||||
|
||||
- name: Build test image
|
||||
uses: docker/build-push-action@v7
|
||||
uses: docker/build-push-action@v7.4.0
|
||||
with:
|
||||
context: .
|
||||
file: ./docker/DockerfileExtra
|
||||
load: true
|
||||
build-args: |
|
||||
BASE_IMAGE=${{ needs.base_image.outputs.image }}
|
||||
tags: windmill-extra:test
|
||||
cache-from: type=gha
|
||||
cache-to: type=gha,mode=max
|
||||
@@ -102,21 +138,19 @@ jobs:
|
||||
docker rm windmill-extra-test || true
|
||||
|
||||
publish_extra:
|
||||
needs: [sleep, test_extra]
|
||||
needs: [base_image, test_extra]
|
||||
# a tag-targeted dispatch would republish the release tags unsigned,
|
||||
# un-verifying the release; to republish a release, re-push its tag
|
||||
if: github.event_name == 'push' || !startsWith(github.ref, 'refs/tags/')
|
||||
runs-on: ubicloud-standard-8
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
with:
|
||||
fetch-depth: 0
|
||||
- uses: actions/checkout@v4.4.0
|
||||
|
||||
- uses: depot/setup-action@v1
|
||||
- uses: depot/setup-action@v1.7.2
|
||||
|
||||
- name: Docker meta
|
||||
id: meta
|
||||
uses: docker/metadata-action@v5
|
||||
uses: docker/metadata-action@v5.10.0
|
||||
with:
|
||||
images: |
|
||||
${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}
|
||||
@@ -127,7 +161,7 @@ jobs:
|
||||
type=semver,pattern={{major}}.{{minor}}
|
||||
|
||||
- name: Login to registry
|
||||
uses: docker/login-action@v3
|
||||
uses: docker/login-action@v3.7.0
|
||||
with:
|
||||
registry: ${{ env.REGISTRY }}
|
||||
username: ${{ github.actor }}
|
||||
@@ -135,12 +169,14 @@ jobs:
|
||||
|
||||
- name: Build and push publicly
|
||||
id: docker_build
|
||||
uses: depot/build-push-action@v1
|
||||
uses: depot/build-push-action@v1.19.0
|
||||
with:
|
||||
context: .
|
||||
file: ./docker/DockerfileExtra
|
||||
platforms: linux/amd64,linux/arm64
|
||||
push: true
|
||||
build-args: |
|
||||
BASE_IMAGE=${{ needs.base_image.outputs.image }}
|
||||
sbom: ${{ startsWith(github.ref, 'refs/tags/v') && github.event_name == 'push' }}
|
||||
tags: |
|
||||
${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:latest
|
||||
@@ -151,7 +187,7 @@ jobs:
|
||||
|
||||
- name: Sign and attest release image
|
||||
if: startsWith(github.ref, 'refs/tags/v') && github.event_name == 'push'
|
||||
uses: ./.github/actions/sign-attest-image
|
||||
uses: $/.github/actions/sign-attest-image
|
||||
with:
|
||||
image: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}
|
||||
digest: ${{ steps.docker_build.outputs.digest }}
|
||||
|
||||
@@ -15,7 +15,7 @@ jobs:
|
||||
cargo_build_windows:
|
||||
runs-on: blacksmith-16vcpu-windows-2025
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- uses: actions/checkout@v4.4.0
|
||||
|
||||
- name: Read EE repo commit hash
|
||||
shell: pwsh
|
||||
@@ -24,7 +24,7 @@ jobs:
|
||||
echo "ee_repo_ref=$ee_repo_ref" | Out-File -FilePath $env:GITHUB_ENV -Append
|
||||
|
||||
- name: Checkout windmill-ee-private repository
|
||||
uses: actions/checkout@v4
|
||||
uses: actions/checkout@v4.4.0
|
||||
with:
|
||||
repository: windmill-labs/windmill-ee-private
|
||||
path: ./windmill-ee-private
|
||||
@@ -32,7 +32,7 @@ jobs:
|
||||
token: ${{ secrets.WINDMILL_EE_PRIVATE_ACCESS }}
|
||||
fetch-depth: 0
|
||||
|
||||
- uses: actions-rust-lang/setup-rust-toolchain@v1
|
||||
- uses: actions-rust-lang/setup-rust-toolchain@v1.17.0
|
||||
with:
|
||||
cache-workspaces: backend
|
||||
toolchain: 1.97.0
|
||||
@@ -67,13 +67,13 @@ jobs:
|
||||
Rename-Item -Path ".\backend\target\release\windmill.exe" -NewName "windmill-ee.exe"
|
||||
|
||||
- name: Attach binary to release
|
||||
uses: softprops/action-gh-release@v2
|
||||
uses: softprops/action-gh-release@v2.6.2
|
||||
with:
|
||||
files: |
|
||||
./backend/target/release/windmill-ee.exe
|
||||
|
||||
- name: Attach the DuckDB runner to release
|
||||
uses: softprops/action-gh-release@v2
|
||||
uses: softprops/action-gh-release@v2.6.2
|
||||
with:
|
||||
files: |
|
||||
./backend/windmill-duckdb-ffi-internal/target/release/windmill_duckdb_runner.exe
|
||||
|
||||
@@ -7,12 +7,13 @@ on:
|
||||
|
||||
jobs:
|
||||
publish_pypi:
|
||||
runs-on: ubicloud-standard-8
|
||||
# openapi-python-client peaks near 32 GB on the dereferenced spec
|
||||
runs-on: ubicloud-standard-16
|
||||
if: startsWith(github.ref, 'refs/tags/v')
|
||||
container:
|
||||
image: ghcr.io/windmill-labs/python-client-builder
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- uses: actions/checkout@v4.4.0
|
||||
- name: Upload python client
|
||||
env:
|
||||
PYPI_PASSWORD: ${{ secrets.PYPI_PASSWORD }}
|
||||
|
||||
@@ -17,12 +17,12 @@ jobs:
|
||||
contents: write
|
||||
pull-requests: write
|
||||
steps:
|
||||
- uses: actions/create-github-app-token@v2
|
||||
- uses: actions/create-github-app-token@v2.2.2
|
||||
id: app
|
||||
with:
|
||||
app-id: ${{ vars.INTERNAL_APP_ID }}
|
||||
private-key: ${{ secrets.INTERNAL_APP_KEY }}
|
||||
- uses: actions/checkout@v4
|
||||
- uses: actions/checkout@v4.4.0
|
||||
with:
|
||||
token: ${{ steps.app.outputs.token }}
|
||||
- name: Fetch + re-gzip docs snapshot
|
||||
@@ -37,7 +37,7 @@ jobs:
|
||||
pages=$(gzip -dc llms-full.txt.gz | grep -c '^Source:' || true)
|
||||
echo "pages in snapshot: $pages"
|
||||
test "${pages:-0}" -ge 200
|
||||
- uses: peter-evans/create-pull-request@v6
|
||||
- uses: peter-evans/create-pull-request@v6.1.0
|
||||
with:
|
||||
token: ${{ steps.app.outputs.token }}
|
||||
branch: chore/refresh-docs-snapshot
|
||||
|
||||
@@ -12,6 +12,6 @@ jobs:
|
||||
# a `release-type` input instead re-derives the last released version by
|
||||
# paginating every GitHub release, which on a repo this size is slow enough
|
||||
# to fail intermittently.
|
||||
- uses: googleapis/release-please-action@v5
|
||||
- uses: googleapis/release-please-action@v5.0.0
|
||||
with:
|
||||
token: ${{ secrets.PAT_TOKEN }}
|
||||
|
||||
@@ -17,8 +17,8 @@ jobs:
|
||||
check_rust_client:
|
||||
runs-on: ubicloud-standard-8
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- uses: cachix/install-nix-action@v31
|
||||
- uses: actions/checkout@v4.4.0
|
||||
- uses: cachix/install-nix-action@v31.11.5
|
||||
- name: Check rust client builds
|
||||
run: cd rust-client && nix develop ../ --command ./dev.nu --check
|
||||
timeout-minutes: 16
|
||||
@@ -9,8 +9,8 @@ jobs:
|
||||
build_rust_and_publish_to_crates_io:
|
||||
runs-on: ubicloud-standard-8
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- uses: cachix/install-nix-action@v31
|
||||
- uses: actions/checkout@v4.4.0
|
||||
- uses: cachix/install-nix-action@v31.11.5
|
||||
- run: cd rust-client && nix develop ../ --command ./dev.nu --check --publish
|
||||
env:
|
||||
CRATES_IO_TOKEN: ${{ secrets.CRATES_IO_TOKEN }}
|
||||
|
||||
@@ -19,10 +19,10 @@ jobs:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout code
|
||||
uses: actions/checkout@v4
|
||||
uses: actions/checkout@v4.4.0
|
||||
|
||||
- name: Setup Bun
|
||||
uses: oven-sh/setup-bun@v2
|
||||
uses: oven-sh/setup-bun@v2.2.0
|
||||
with:
|
||||
bun-version: latest
|
||||
|
||||
@@ -36,14 +36,14 @@ jobs:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout code
|
||||
uses: actions/checkout@v4
|
||||
uses: actions/checkout@v4.4.0
|
||||
|
||||
- name: Setup Bun
|
||||
uses: oven-sh/setup-bun@v2
|
||||
uses: oven-sh/setup-bun@v2.2.0
|
||||
with:
|
||||
bun-version: latest
|
||||
|
||||
- uses: actions/setup-node@v7
|
||||
- uses: actions/setup-node@v7.1.0
|
||||
with:
|
||||
node-version: "20.x"
|
||||
|
||||
@@ -55,10 +55,10 @@ jobs:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout code
|
||||
uses: actions/checkout@v4
|
||||
uses: actions/checkout@v4.4.0
|
||||
|
||||
- name: Setup uv
|
||||
uses: astral-sh/setup-uv@v7
|
||||
uses: astral-sh/setup-uv@v10.3.3
|
||||
|
||||
# The interpreter is named explicitly: on a clean checkout uv picks the
|
||||
# runner's system python and stops with "not compatible with the locked
|
||||
|
||||
@@ -15,7 +15,7 @@ jobs:
|
||||
== 'I have read the CLA Document and I hereby sign the CLA') ||
|
||||
github.event_name == 'pull_request_target'
|
||||
# Beta Release
|
||||
uses: cla-assistant/github-action@v2.6.1
|
||||
uses: contributor-assistant/github-action@v2.6.1
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
PERSONAL_ACCESS_TOKEN: ${{ secrets.CLA_PAT }}
|
||||
|
||||
@@ -12,10 +12,10 @@ jobs:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout code
|
||||
uses: actions/checkout@v4
|
||||
uses: actions/checkout@v4.4.0
|
||||
|
||||
- name: Set up Node.js
|
||||
uses: actions/setup-node@v7
|
||||
uses: actions/setup-node@v7.1.0
|
||||
with:
|
||||
node-version: '20'
|
||||
|
||||
|
||||
@@ -18,12 +18,12 @@ jobs:
|
||||
id-token: write
|
||||
steps:
|
||||
- name: Checkout repository
|
||||
uses: actions/checkout@v4
|
||||
uses: actions/checkout@v4.4.0
|
||||
with:
|
||||
fetch-depth: 1
|
||||
|
||||
- name: Generate Weekly PR Summary
|
||||
uses: anthropics/claude-code-action@v1
|
||||
uses: anthropics/claude-code-action@v1.0.271
|
||||
with:
|
||||
claude_code_oauth_token: ${{ secrets.CLAUDE_CODE_OAUTH_TOKEN }}
|
||||
prompt: |
|
||||
|
||||
@@ -22,9 +22,9 @@ jobs:
|
||||
test:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- uses: actions/checkout@v4.4.0
|
||||
|
||||
- uses: actions/setup-node@v7
|
||||
- uses: actions/setup-node@v7.1.0
|
||||
with:
|
||||
node-version: "20"
|
||||
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
{
|
||||
".": "1.866.0"
|
||||
".": "1.880.1"
|
||||
}
|
||||
|
||||
@@ -56,6 +56,9 @@ Open-source platform for internal tools, workflows, API integrations, background
|
||||
- **Operator builder rights**: `docs/operator-builder-rights.md` — the workspace settings that let
|
||||
operators compose flows, AI agents and full-code apps, what the composition check must cover, which
|
||||
raw-app endpoint stays closed on purpose, and why either right costs a full seat
|
||||
- **AI agents**: `docs/reusable-ai-agents.md` — saved agents, linked from flow steps and also run
|
||||
on their own (page, API, Slack, apps) as a one-step flow, so flow and chat-flow behaviour
|
||||
reaches them too; memory, approvals and questions
|
||||
- **Auth surface**: `docs/auth-surface.md` — credential precedence, session/cache invalidation
|
||||
scope, which token labels email their owner at expiry, how OAuth login matches `login_type`, and
|
||||
that every superadmin route refuses `$WM_TOKEN`. Read before designing anything that creates
|
||||
@@ -72,7 +75,7 @@ Open-source platform for internal tools, workflows, API integrations, background
|
||||
- **Domain vocabulary**: `CONTEXT.md` — the words this codebase uses for its own concepts (step, step setting, trigger step, …). Name things the way it does.
|
||||
- **CLI commands**: when adding/modifying/removing a command, subcommand, option, or description in `cli/src/commands/`, run `python system_prompts/generate.py` to refresh `system_prompts/auto-generated/` and `cli/src/guidance/skills.gen.ts`. The CLI docs the agents use to operate `wmill` are derived from the source — stale generated files give agents the wrong flags.
|
||||
- **AI guidance** (chat prompts and CLI skills): what the AI knows about Windmill itself — how flows, scripts, apps, pipelines and resources work — is written once, in `system_prompts/base/` and `system_prompts/languages/`, and `system_prompts/generate.py` builds both the chat's `$system_prompts` exports and the CLI's skills from it. Add or change such guidance there, never inline in one consumer: a sentence only one side should see goes in a `<!-- cli-only -->` / `<!-- chat-only -->` block, and a new file reaches both through the `TOPICS` table. The chat prompt builders under `frontend/src/lib/components/copilot/chat/` add only tool plumbing and runtime values, and shared markdown names no chat tool, since it reaches every chat mode. Rerun `generate.py` after editing; `system_prompts/README.md` has the details.
|
||||
- **Windmill MCP server**: `/api/mcp` gives a token with `mcp:all` the AI session's GLOBAL toolset (`backend/windmill-api/src/ai_session_tools/`), and a token scoped to a selection of scripts and flows the tools server's per-runnable tools, without endpoint tools. The tools server's own URLs, `/api/mcp/w/{workspace}/mcp` and `/api/mcp/gateway`, keep serving existing tokens, endpoint scopes included, except that they give the session toolset to an `mcp:all` token carrying `mcp:session` (added by the OAuth approve and by the token forms' Build and run access, kept across scope edits) or `mcp:read_only`/`mcp:read_run`. Every tool takes a `workspace_id`; the token bounds which (its bound workspace, the `mcp:workspaces:` list, or all of its owner's). With the `mcp_external_idp` instance setting, every MCP URL also accepts an access token of an external OIDC issuer (`mcp/external_idp.rs`), told apart from Windmill's own by its `iss`: the token's client is mapped to a workspace and to the same access a Windmill token takes (an access level, served the session toolset as `mcp:session`, or a selection of scripts and flows), and the request acts as the existing Windmill user with the token's email, under that access, as a workspace-bound token does. The protected-resource metadata then names that issuer. What a model reads there (tool names, descriptions, input schemas, instructions, `get_instructions` texts) is generated from the session's TypeScript into `ai_session_tools/gen/`: after changing a GLOBAL tool definition, the global system prompt or `system_prompts/`, run `npm run gen:mcp-session` from `frontend/` (`mcpSessionGen.test.ts` fails otherwise). The instructions are one template (`EXTERNAL_PROMPT` in `chat/global/core.ts`, with `{{#flag}}` blocks rendered by `promptTemplate.ts`), and the generator exports the flags and variables of each access profile: the token's scope and, for a full token, the caller's role and whether the deploy rules let them deploy. The server only renders it, with the profile the key `prompt_profile` (`ai_session_tools/instructions.rs`) builds, which must match the generator's; its renderer must match `promptTemplate.ts`, which a hash per profile pins. In a workspace with `DisableDirectDeployment` every full token, an admin's included, is held to read-and-run there (`workspace_access` in `mcp/core.rs`), as the chat's session is (`protects` in `chat/global/sessionAccess.ts`); the two copies of that rule change together. What a tool *does* is written once, in a Rust handler the chat also calls (`POST /w/{workspace}/ai_session_tools/{name}`, through `chat/global/backendSessionTools.ts`); the browser applies the effects it returns, saving drafts through its own draft store. A new session tool is either implemented in Rust or added to `EDITOR_ONLY` (a `cargo test` in `ai_session_tools/mod.rs` fails otherwise). Still written twice, so a behaviour change must be mirrored: `deploy_workspace_item` and `diff` (the chat uses the UI's shared deploy and diff code), and the run tools' form side (argument coercion, secrets, plan mode, the outcome text), where the chat resolves and starts the run on the server but owns the form in between; both sides test their argument handling against `ai_session_tools/run_args_cases.json`, so a change there comes with a case. For MCP Apps clients the server adds tools of its own, defined in Rust (`ai_session_tools/views.rs`) rather than generated, and not offered to the chat, which draws its own cards: `show_run`, `show_runs`, `show_deploy_review` and `show_item` draw a card in the `ui://windmill/card-v<N>` view (`mcp/card.html`; bump `CARD_URI` in `mcp/session.rs` when the `_meta` it reads changes shape, since hosts cache a view by URI) from their result's `_meta` (`windmill/run`, `windmill/runs`, `windmill/review`, `windmill/item`), which the model never reads. A host draws a card for every call of a tool that declares one, so only these show tools do: the tools the model reads and runs with draw nothing, and `get_run` builds no card data. The card acts only by calling the session's tools (`show_run` to refresh, `cancel_job`, `show_deploy_review` to re-read a draft, `deploy_workspace_item` from the review card's Deploy button, which the user presses), so it sees nothing the model could not. Every `DESTRUCTIVE` tool but those in `CARD_ACTIONS` is hidden from it. Every session tool carries a `title` and explicit read-only, destructive and open-world hints, which the Claude and ChatGPT directories require (`DESTRUCTIVE`, `OPEN_WORLD`). A client that declares capabilities without the MCP Apps extension is not offered the show tools.
|
||||
- **Windmill MCP server**: `/api/mcp` gives a token with `mcp:all` the AI session's GLOBAL toolset (`backend/windmill-api/src/ai_session_tools/`), and a token scoped to a selection of scripts and flows the tools server's per-runnable tools, without endpoint tools. The tools server's own URLs, `/api/mcp/w/{workspace}/mcp` and `/api/mcp/gateway`, keep serving existing tokens, endpoint scopes included, except that they give the session toolset to an `mcp:all` token carrying `mcp:session` (added by the OAuth approve and by the token forms' Build and run access, kept across scope edits) or `mcp:read_only`/`mcp:read_run`. Every tool takes a `workspace_id`; the token bounds which (its bound workspace, the `mcp:workspaces:` list, or all of its owner's). With the `mcp_external_idp` instance setting, every MCP URL also accepts an access token of an external OIDC issuer (`mcp/external_idp.rs`), told apart from Windmill's own by its `iss`: the token's client is mapped to a workspace and to the same access a Windmill token takes (an access level, served the session toolset as `mcp:session`, or a selection of scripts and flows), and the request acts as the existing Windmill user with the token's email, under that access, as a workspace-bound token does. The protected-resource metadata then names that issuer. What a model reads there (tool names, descriptions, input schemas, instructions, `get_instructions` texts) is generated from the session's TypeScript into `ai_session_tools/gen/`: after changing a GLOBAL tool definition, the global system prompt or `system_prompts/`, run `npm run gen:mcp-session` from `frontend/` (`mcpSessionGen.test.ts` fails otherwise). The instructions are one template (`EXTERNAL_PROMPT` in `chat/global/core.ts`, with `{{#flag}}` blocks rendered by `promptTemplate.ts`), and the generator exports the flags and variables of each access profile: the token's scope and, for a full token, the caller's role and whether the deploy rules let them deploy. The server only renders it, with the profile the key `prompt_profile` (`ai_session_tools/instructions.rs`) builds, which must match the generator's; its renderer must match `promptTemplate.ts`, which a hash per profile pins. In a workspace with `DisableDirectDeployment` every full token, an admin's included, is held to read-and-run there (`workspace_access` in `mcp/core.rs`), as the chat's session is (`protects` in `chat/global/sessionAccess.ts`), and a member whose role cannot run is held to read-only, with no run tools (`session_ctx_with`, and `capabilitiesForRole` in the chat); the two copies of each rule change together. What a tool *does* is written once, in a Rust handler the chat also calls (`POST /w/{workspace}/ai_session_tools/{name}`, through `chat/global/backendSessionTools.ts`); the browser applies the effects it returns, saving drafts through its own draft store. A new session tool is either implemented in Rust or added to `EDITOR_ONLY` (a `cargo test` in `ai_session_tools/mod.rs` fails otherwise). Still written twice, so a behaviour change must be mirrored: `deploy_workspace_item` and `diff` (the chat uses the UI's shared deploy and diff code), and the run tools' form side (argument coercion, secrets, plan mode, the outcome text), where the chat resolves and starts the run on the server but owns the form in between; both sides test their argument handling against `ai_session_tools/run_args_cases.json`, so a change there comes with a case. For MCP Apps clients the server adds tools of its own, defined in Rust (`ai_session_tools/views.rs`) rather than generated, and not offered to the chat, which draws its own cards: `show_run`, `show_runs`, `show_deploy_review` and `show_item` draw a card in the `ui://windmill/card-v<N>` view (`mcp/card.html`; bump `CARD_URI` in `mcp/session.rs` when the `_meta` it reads changes shape, since hosts cache a view by URI) from their result's `_meta` (`windmill/run`, `windmill/runs`, `windmill/review`, `windmill/item`), which the model never reads. A host draws a card for every call of a tool that declares one, so only these show tools do: the tools the model reads and runs with draw nothing, and `get_run` builds no card data. The card acts only by calling the session's tools (`show_run` to refresh, `cancel_job`, `show_deploy_review` to re-read a draft, `deploy_workspace_item` from the review card's Deploy button, which the user presses), so it sees nothing the model could not. Every `DESTRUCTIVE` tool but those in `CARD_ACTIONS` is hidden from it. Every session tool carries a `title` and explicit read-only, destructive and open-world hints, which the Claude and ChatGPT directories require (`DESTRUCTIVE`, `OPEN_WORLD`). A client that declares capabilities without the MCP Apps extension is not offered the show tools.
|
||||
- **Session recorder**: `frontend/src/lib/components/recording/` is also the recorder `wmill app dev --recording` serves, vendored into the CLI as `cli/src/commands/app/devRecorderBundle.gen.ts`. After changing `rawAppSnapshot.ts` or `rawAppRecording.svelte.ts`, run `bun run gen:dev-recorder` from `cli/` (`cli/test/dev_recorder_bundle_unit.test.ts` fails otherwise).
|
||||
- **Raw-app policy**: `frontend/src/lib/components/raw_apps/rawAppPolicy.ts` also derives the policy the server's raw-app deploy stores, vendored into the bundle job as `backend/windmill-api/src/apps_raw_policy.gen.js`. After changing it or anything it imports, run `bun run gen:app-policy` from `cli/` (`cli/test/app_policy_bundle_unit.test.ts` fails otherwise). It rides in the job rather than being read from the CLI the job runs because the images install `windmill-cli` unpinned, so an image can carry one older than its server.
|
||||
|
||||
|
||||
+329
@@ -1,5 +1,334 @@
|
||||
# Changelog
|
||||
|
||||
## [1.880.1](https://github.com/windmill-labs/windmill/compare/v1.880.0...v1.880.1) (2026-11-19)
|
||||
|
||||
|
||||
### Bug Fixes
|
||||
|
||||
* make the mssql database manager work under case-sensitive collations ([#12550](https://github.com/windmill-labs/windmill/issues/12550)) ([cb824de](https://github.com/windmill-labs/windmill/commit/cb824de928b35aee34bf1dda3a385d04eff277b3))
|
||||
|
||||
## [1.880.0](https://github.com/windmill-labs/windmill/compare/v1.879.0...v1.880.0) (2026-11-19)
|
||||
|
||||
|
||||
### Features
|
||||
|
||||
* record and download a worker group's autoscaling decisions ([#12542](https://github.com/windmill-labs/windmill/issues/12542)) ([5583c68](https://github.com/windmill-labs/windmill/commit/5583c680d4db7aa333227f09c2667733156cbe7a))
|
||||
|
||||
|
||||
### Bug Fixes
|
||||
|
||||
* **api:** noindex public app pages on cloud ([#12547](https://github.com/windmill-labs/windmill/issues/12547)) ([cbf44b3](https://github.com/windmill-labs/windmill/commit/cbf44b36f339ae8fa624e70a34840cb82c5e32ca))
|
||||
* hold the configured AI key to its output token limits ([#12543](https://github.com/windmill-labs/windmill/issues/12543)) ([6c2c5cf](https://github.com/windmill-labs/windmill/commit/6c2c5cf46c8b5edb052e359d5dff76ef42b75ce2))
|
||||
* keep the AI sessions view mounted across navigation ([#12479](https://github.com/windmill-labs/windmill/issues/12479)) ([7fa093f](https://github.com/windmill-labs/windmill/commit/7fa093f7d493982add660e1ebeef96fb24c16411))
|
||||
* name a step inside a subflow sub:inner in flow tests ([#12549](https://github.com/windmill-labs/windmill/issues/12549)) ([50daf70](https://github.com/windmill-labs/windmill/commit/50daf70337dcec0749ea715942c1c0ec4f6e3b7e))
|
||||
|
||||
## [1.879.0](https://github.com/windmill-labs/windmill/compare/v1.878.0...v1.879.0) (2026-11-19)
|
||||
|
||||
|
||||
### Features
|
||||
|
||||
* **home:** link each primitive's explainer video in the New picker ([#12536](https://github.com/windmill-labs/windmill/issues/12536)) ([3591598](https://github.com/windmill-labs/windmill/commit/3591598d03f528b54aeb68349845c9958c0a73a9))
|
||||
* test flows from the SDKs with mocked or replaced steps, subflows included ([#12538](https://github.com/windmill-labs/windmill/issues/12538)) ([98439f8](https://github.com/windmill-labs/windmill/commit/98439f8521999222347f48b50bd032412e604439))
|
||||
|
||||
|
||||
### Bug Fixes
|
||||
|
||||
* explain a fractional retry multiplier, check schedule retries on save ([#12539](https://github.com/windmill-labs/windmill/issues/12539)) ([558f83f](https://github.com/windmill-labs/windmill/commit/558f83fc9c74480369bab2ac88a8951136230651))
|
||||
* keep dedicated workers counted, busy and out of zombie restarts ([#12540](https://github.com/windmill-labs/windmill/issues/12540)) ([7b23884](https://github.com/windmill-labs/windmill/commit/7b2388476f0b72b5e403f5b3086cae5cb0a0e2e6))
|
||||
* keep the first undo after a redo in the flow editor ([#12537](https://github.com/windmill-labs/windmill/issues/12537)) ([a89886c](https://github.com/windmill-labs/windmill/commit/a89886c46a3c1866715771ba75389f8a42d20a1b))
|
||||
* stop hidden session preview tabs from acting on keys ([#12531](https://github.com/windmill-labs/windmill/issues/12531)) ([5bf5ff2](https://github.com/windmill-labs/windmill/commit/5bf5ff28bc4f9d47c4473cd5e71e0ee274dece31))
|
||||
|
||||
## [1.878.0](https://github.com/windmill-labs/windmill/compare/v1.877.0...v1.878.0) (2026-11-19)
|
||||
|
||||
|
||||
### Features
|
||||
|
||||
* **python-client:** retry a GET on 429 and 502-504 with exponential backoff ([#12513](https://github.com/windmill-labs/windmill/issues/12513)) ([1c78f8d](https://github.com/windmill-labs/windmill/commit/1c78f8d7a38e49106adcd236f53c026855924682))
|
||||
* show how many resources use each resource type ([#12512](https://github.com/windmill-labs/windmill/issues/12512)) ([1fa8fd0](https://github.com/windmill-labs/windmill/commit/1fa8fd0c94cd59eb2330a18e6afc1b56d8e1ed6c))
|
||||
|
||||
|
||||
### Bug Fixes
|
||||
|
||||
* **api:** encode non-ASCII filenames in S3 Content-Disposition ([#9634](https://github.com/windmill-labs/windmill/issues/9634)) ([52b7625](https://github.com/windmill-labs/windmill/commit/52b7625bdff32147fb187289c37db821ee4e0b7c))
|
||||
* **api:** type /scripts/list response as ListableScript ([#9577](https://github.com/windmill-labs/windmill/issues/9577)) ([f3b31b1](https://github.com/windmill-labs/windmill/commit/f3b31b18f5f22dbc5de65be562b167e7f2db0b35))
|
||||
* **csharp-parser:** mark parameters with a default value as optional ([#10185](https://github.com/windmill-labs/windmill/issues/10185)) ([0659b8a](https://github.com/windmill-labs/windmill/commit/0659b8a12502955ebd78c261f12a6a8bbed03abc))
|
||||
* enable DynSelect fields in the schedule editor ([#9718](https://github.com/windmill-labs/windmill/issues/9718)) ([2ceeff3](https://github.com/windmill-labs/windmill/commit/2ceeff3e9cf0bae1b5b87ffe02d158baf85bf119))
|
||||
* **frontend:** download a large file result as its file, not as JSON ([#12507](https://github.com/windmill-labs/windmill/issues/12507)) ([905a92a](https://github.com/windmill-labs/windmill/commit/905a92ab32a45b694b99dd60bb0f0244a20ed2e7))
|
||||
* preserve object-store config when switching storage tabs ([#9696](https://github.com/windmill-labs/windmill/issues/9696)) ([c11123d](https://github.com/windmill-labs/windmill/commit/c11123db37ee21238311845992777a010b3b408d))
|
||||
* put a saved input's name back when its rename is cancelled ([#12483](https://github.com/windmill-labs/windmill/issues/12483)) ([2b8a079](https://github.com/windmill-labs/windmill/commit/2b8a0790a0a973240ca32c5fba0a23339fc21fda))
|
||||
* surface backend preview logs in AI eval failures ([#9383](https://github.com/windmill-labs/windmill/issues/9383)) ([7f8765c](https://github.com/windmill-labs/windmill/commit/7f8765c171f941ae9d18af8f8f99949ea9dccdce))
|
||||
|
||||
## [1.877.0](https://github.com/windmill-labs/windmill/compare/v1.876.1...v1.877.0) (2026-11-18)
|
||||
|
||||
|
||||
### Features
|
||||
|
||||
* adapt workspace settings to narrow layouts ([#12492](https://github.com/windmill-labs/windmill/issues/12492)) ([0c18bdc](https://github.com/windmill-labs/windmill/commit/0c18bdc8256c2508341683c69874bbfbbec9daa8))
|
||||
* get an approval step's detail by flow run id and step id ([#12521](https://github.com/windmill-labs/windmill/issues/12521)) ([39cb251](https://github.com/windmill-labs/windmill/commit/39cb251ab8639eccf77fd988ff110133309082be))
|
||||
* label for-loop iterations with a per-iteration expression ([#12526](https://github.com/windmill-labs/windmill/issues/12526)) ([91de725](https://github.com/windmill-labs/windmill/commit/91de7252b8b82f397c8f7afca023ed54010e219d))
|
||||
* offer the hub to compose roles that have code ([#12518](https://github.com/windmill-labs/windmill/issues/12518)) ([306f38d](https://github.com/windmill-labs/windmill/commit/306f38dd0446abb16523e49a021135c8aca7a4d7))
|
||||
* open shared AI sessions in the app ([#12486](https://github.com/windmill-labs/windmill/issues/12486)) ([b9dc5f2](https://github.com/windmill-labs/windmill/commit/b9dc5f26dbce9078bbec858c0827a5458ee562be))
|
||||
* show a flow's continue-on-error failures on its run and status ([#12525](https://github.com/windmill-labs/windmill/issues/12525)) ([71e7d9e](https://github.com/windmill-labs/windmill/commit/71e7d9e440bd17d81f776f03d835a45a76072ea0))
|
||||
|
||||
|
||||
### Bug Fixes
|
||||
|
||||
* disable SAML instead of crashing when its metadata cannot be loaded ([#12528](https://github.com/windmill-labs/windmill/issues/12528)) ([ae178a0](https://github.com/windmill-labs/windmill/commit/ae178a028746dcbcbf2bf65e9dd3ac5d982465ce))
|
||||
* explain why a non-admin cannot edit an email trigger's address ([#12503](https://github.com/windmill-labs/windmill/issues/12503)) ([a2c04c2](https://github.com/windmill-labs/windmill/commit/a2c04c2aa83dbc4d0c3343f56776fd8c10264e30))
|
||||
* **flows:** show Python examples in approval-step help drawer ([#9498](https://github.com/windmill-labs/windmill/issues/9498)) ([815db30](https://github.com/windmill-labs/windmill/commit/815db30c39ab499905974415464fa12cfea9ddc4)), closes [#6181](https://github.com/windmill-labs/windmill/issues/6181)
|
||||
* **frontend:** make run-page flow graph scrollable ([#3830](https://github.com/windmill-labs/windmill/issues/3830)) ([#9607](https://github.com/windmill-labs/windmill/issues/9607)) ([b56bb25](https://github.com/windmill-labs/windmill/commit/b56bb252a9347b1ae4541faec1187213b3838bb9))
|
||||
* **frontend:** sync eval drawer open state ([#10333](https://github.com/windmill-labs/windmill/issues/10333)) ([64e6142](https://github.com/windmill-labs/windmill/commit/64e6142277aca4a5a5a53c41e383b56ef53b839c))
|
||||
* hit the volume cache on Azure and keep a volume's lease through its pull ([#12520](https://github.com/windmill-labs/windmill/issues/12520)) ([97b80ae](https://github.com/windmill-labs/windmill/commit/97b80aef5e82ec94470fb974ee3676ca403065db))
|
||||
* keep every owner chip on the trigger lists while one is selected ([#12485](https://github.com/windmill-labs/windmill/issues/12485)) ([49075dc](https://github.com/windmill-labs/windmill/commit/49075dc246f3331bc8d28d803aea941d690a3050))
|
||||
* keep the owner filter on variables and resources to that folder or user ([#12495](https://github.com/windmill-labs/windmill/issues/12495)) ([538ee69](https://github.com/windmill-labs/windmill/commit/538ee694459e8ce1552222541f78b3661438d5b6))
|
||||
* let a workspace deps push survive a client or proxy timeout ([#12523](https://github.com/windmill-labs/windmill/issues/12523)) ([67165ca](https://github.com/windmill-labs/windmill/commit/67165cabfcd7160ce318ac0401d0ac4bb4cb2478))
|
||||
* let non-admins read an admin-approved GitHub App repository ([#12524](https://github.com/windmill-labs/windmill/issues/12524)) ([a718720](https://github.com/windmill-labs/windmill/commit/a718720fd6c97dcbcfdc4fa53d8b42d60a5f145e))
|
||||
* move a Map component when its longitude, latitude or zoom is set to 0 ([#12504](https://github.com/windmill-labs/windmill/issues/12504)) ([75905a8](https://github.com/windmill-labs/windmill/commit/75905a821e0586b579d0a0261fcf9fb70e5f9263))
|
||||
* open a script's runs from All runs on an older version's page ([#12488](https://github.com/windmill-labs/windmill/issues/12488)) ([3e3d7d1](https://github.com/windmill-labs/windmill/commit/3e3d7d1192a79455d4b1ad7ae534141ebc843cb0))
|
||||
* open an older script version without flashing the Archived alert ([#12497](https://github.com/windmill-labs/windmill/issues/12497)) ([3cc2f16](https://github.com/windmill-labs/windmill/commit/3cc2f16dd181ad1f0bc2efee7389fc9dc6e02bc0))
|
||||
* read a job's memory peak past its unshare, tini or nsjail wrapper ([#12510](https://github.com/windmill-labs/windmill/issues/12510)) ([258b556](https://github.com/windmill-labs/windmill/commit/258b5564c0d6afe792eca8ade9e4b82ba03c9763))
|
||||
* resolve the caller's role capabilities at authentication ([#12501](https://github.com/windmill-labs/windmill/issues/12501)) ([e24a430](https://github.com/windmill-labs/windmill/commit/e24a4309d0020e3acaf823768d368b099bbef6ec))
|
||||
* run the pinned version from a flow version's page ([#12505](https://github.com/windmill-labs/windmill/issues/12505)) ([8984bcc](https://github.com/windmill-labs/windmill/commit/8984bccf83e32ab29459d4736a02b0ef89402c25))
|
||||
* serve only enabled models on the workspace's configured AI key ([#12527](https://github.com/windmill-labs/windmill/issues/12527)) ([2c7d3fa](https://github.com/windmill-labs/windmill/commit/2c7d3fa98fa650b939f5d761abb0b483b6139d11))
|
||||
* show a renamed workspace's new name in the header without a reload ([#12487](https://github.com/windmill-labs/windmill/issues/12487)) ([806f2bf](https://github.com/windmill-labs/windmill/commit/806f2bf735aa25c8c067d2809125d8c96742346f))
|
||||
* switch a Select Tab component's tab when its default value changes ([#12494](https://github.com/windmill-labs/windmill/issues/12494)) ([e1ac1fd](https://github.com/windmill-labs/windmill/commit/e1ac1fddf6f6b9bf440c9e157a6309f77f65c7fa))
|
||||
* **worker:** send SIGINT/SIGTERM to job process group on cancel/timeout ([#12522](https://github.com/windmill-labs/windmill/issues/12522)) ([3bf2088](https://github.com/windmill-labs/windmill/commit/3bf208829050309f0efd27b6c335b1dd529e80a7))
|
||||
|
||||
## [1.876.1](https://github.com/windmill-labs/windmill/compare/v1.876.0...v1.876.1) (2026-11-17)
|
||||
|
||||
|
||||
### Bug Fixes
|
||||
|
||||
* build enterprise features with systemstat 0.2.8 ([#12484](https://github.com/windmill-labs/windmill/issues/12484)) ([7573399](https://github.com/windmill-labs/windmill/commit/7573399bbc8da8d3e85de1f26f17b6e4f9c60636))
|
||||
* let the trigger list search find a trigger by its route, URL or address ([#12489](https://github.com/windmill-labs/windmill/issues/12489)) ([18d0a78](https://github.com/windmill-labs/windmill/commit/18d0a78bb766dde058525ea3b8afb3fa5727b9b5))
|
||||
* move a Range component's upper handle when its default high changes ([#12491](https://github.com/windmill-labs/windmill/issues/12491)) ([9ddb88f](https://github.com/windmill-labs/windmill/commit/9ddb88f043810a574d0adde001c1a6f97a3d4c96))
|
||||
* route a null dynamic tag input to the default tag instead of a queue named null ([#12499](https://github.com/windmill-labs/windmill/issues/12499)) ([52658af](https://github.com/windmill-labs/windmill/commit/52658af01d9f59c325ed2a659388552be0a6f7c5))
|
||||
|
||||
## [1.876.0](https://github.com/windmill-labs/windmill/compare/v1.875.0...v1.876.0) (2026-11-17)
|
||||
|
||||
|
||||
### Features
|
||||
|
||||
* let AI harnesses solve tasks with code, then save and reuse it ([#12472](https://github.com/windmill-labs/windmill/issues/12472)) ([caddc3f](https://github.com/windmill-labs/windmill/commit/caddc3f4ad3aa47b8ee7b2598a1ede8ae7a3400c))
|
||||
* pin the current turn's user message at the top of session chat ([#12468](https://github.com/windmill-labs/windmill/issues/12468)) ([c204232](https://github.com/windmill-labs/windmill/commit/c204232609ab0ebdbfe55f4b4711e04652de3fd9))
|
||||
|
||||
|
||||
### Bug Fixes
|
||||
|
||||
* check new hub paths when a trigger or schedule is saved ([#12465](https://github.com/windmill-labs/windmill/issues/12465)) ([88ef4e9](https://github.com/windmill-labs/windmill/commit/88ef4e9f3c1549f031084767d747ac45bedf1c99))
|
||||
* default the path picker to a folder the user can write to ([#12448](https://github.com/windmill-labs/windmill/issues/12448)) ([aef5332](https://github.com/windmill-labs/windmill/commit/aef5332f9563cc1540d93fbd04d8ccaa85a8f10f))
|
||||
* do not treat a folder or user with a longer name as writable ([#12450](https://github.com/windmill-labs/windmill/issues/12450)) ([8c4d83c](https://github.com/windmill-labs/windmill/commit/8c4d83c5e7b4cd8ce83f90185afaceec2dc5f545))
|
||||
* drop runs-page rows of queued jobs that completed as skipped ([#12470](https://github.com/windmill-labs/windmill/issues/12470)) ([364e729](https://github.com/windmill-labs/windmill/commit/364e729a08ac6540b688d15c0171910100dbd481))
|
||||
* encode the webhook GET payload as UTF-8 so non-ASCII arguments work ([#12453](https://github.com/windmill-labs/windmill/issues/12453)) ([2cb29f8](https://github.com/windmill-labs/windmill/commit/2cb29f87a027fdd4bb6c3fd2e1fd900af65cacb1))
|
||||
* escape single quotes in the webhook curl example body ([#12454](https://github.com/windmill-labs/windmill/issues/12454)) ([b76af45](https://github.com/windmill-labs/windmill/commit/b76af459bbb3b9e726b433e06aa6a4a600de49ab))
|
||||
* judge session editor rights in the session's workspace ([#12462](https://github.com/windmill-labs/windmill/issues/12462)) ([dd1c8fe](https://github.com/windmill-labs/windmill/commit/dd1c8fe66d3b7d1b340856ba4d55af8de07a787e))
|
||||
* keep underscores and hyphens inside words in description previews ([#12449](https://github.com/windmill-labs/windmill/issues/12449)) ([57268b6](https://github.com/windmill-labs/windmill/commit/57268b661643132ca2b7c917ac28bc2d765a7238))
|
||||
* let a folder's creator manage it from the folders page without a reload ([#12445](https://github.com/windmill-labs/windmill/issues/12445)) ([465446e](https://github.com/windmill-labs/windmill/commit/465446e1ba83504e0d675e3fd2e2a15424742962))
|
||||
* let a folder's creator own it right after creating it in the path picker ([#12447](https://github.com/windmill-labs/windmill/issues/12447)) ([96c97b0](https://github.com/windmill-labs/windmill/commit/96c97b0cdb921777856186178e303dd701234310))
|
||||
* **py-parser:** read docstring Args descriptions for async def main ([#12473](https://github.com/windmill-labs/windmill/issues/12473)) ([2351bc8](https://github.com/windmill-labs/windmill/commit/2351bc8a30e00190dd928ed8b37a6b16372272bb))
|
||||
* **python-client:** omit approver from get_resume_urls when not given ([#12446](https://github.com/windmill-labs/windmill/issues/12446)) ([bbb48f5](https://github.com/windmill-labs/windmill/commit/bbb48f5a61c9d23ba541fdcfa3d198a72937d71f))
|
||||
* **python:** back S3BufferedReader with a real BufferedReader ([#12456](https://github.com/windmill-labs/windmill/issues/12456)) ([9a074b1](https://github.com/windmill-labs/windmill/commit/9a074b1c73c83ffc10e1d00b94337f55ae9ff2f1))
|
||||
* read agent tool inputs from the flow running the agent step ([#12457](https://github.com/windmill-labs/windmill/issues/12457)) ([dd9f633](https://github.com/windmill-labs/windmill/commit/dd9f633764bcef0451eb3fb3580389a91dfa99ad))
|
||||
* refresh a group's members on the Groups page after saving it ([#12460](https://github.com/windmill-labs/windmill/issues/12460)) ([428a07f](https://github.com/windmill-labs/windmill/commit/428a07f5fc4d894d316a6c6aefcd859c91d0e2ee))
|
||||
* refresh the schedule's upcoming events when the timezone changes ([#12459](https://github.com/windmill-labs/windmill/issues/12459)) ([938c03c](https://github.com/windmill-labs/windmill/commit/938c03c501ff9fc47152c06b8f6dddc9912d59b5))
|
||||
* save a cleared variable value instead of keeping the old one ([#12466](https://github.com/windmill-labs/windmill/issues/12466)) ([bd266bc](https://github.com/windmill-labs/windmill/commit/bd266bc3baab90393de40531fb140e7bcbea0ebc))
|
||||
|
||||
|
||||
### Performance Improvements
|
||||
|
||||
* mount only the tail of a chat transcript, older messages on scroll ([#12469](https://github.com/windmill-labs/windmill/issues/12469)) ([17a56db](https://github.com/windmill-labs/windmill/commit/17a56db9ea51a5befe61d5c216ceedd481d835b6))
|
||||
|
||||
## [1.875.0](https://github.com/windmill-labs/windmill/compare/v1.874.0...v1.875.0) (2026-11-14)
|
||||
|
||||
|
||||
### Features
|
||||
|
||||
* exact start and end of a fairness cap in its alerts ([#12438](https://github.com/windmill-labs/windmill/issues/12438)) ([df0e5cf](https://github.com/windmill-labs/windmill/commit/df0e5cf4c2e90e071594f962cb1c5ed9e9023754))
|
||||
* fairness reserve as a worker group setting, shown on the workers page ([#12435](https://github.com/windmill-labs/windmill/issues/12435)) ([5f8e002](https://github.com/windmill-labs/windmill/commit/5f8e0022b699f58836d1a24304debcc7d7611e1a))
|
||||
* show long step durations in hours and minutes on run timelines ([#12437](https://github.com/windmill-labs/windmill/issues/12437)) ([c6955ed](https://github.com/windmill-labs/windmill/commit/c6955ed4457c2bdb59fd3ffef4379ce05548c999))
|
||||
|
||||
|
||||
### Bug Fixes
|
||||
|
||||
* keep shortcuts from opening home filters over global search ([#12439](https://github.com/windmill-labs/windmill/issues/12439)) ([d09336d](https://github.com/windmill-labs/windmill/commit/d09336d8df1814434d219e732421d2358e485890))
|
||||
|
||||
## [1.874.0](https://github.com/windmill-labs/windmill/compare/v1.873.1...v1.874.0) (2026-11-14)
|
||||
|
||||
|
||||
### Features
|
||||
|
||||
* fairness reserve workers that only serve non-overloaded workspaces ([#12431](https://github.com/windmill-labs/windmill/issues/12431)) ([df56c11](https://github.com/windmill-labs/windmill/commit/df56c111bb597bc9d3f99462c5d40e1b57e60def))
|
||||
* fairness-aware queue alerts and a capped-workspace alert ([#12432](https://github.com/windmill-labs/windmill/issues/12432)) ([9724f3b](https://github.com/windmill-labs/windmill/commit/9724f3bdf085c68e1b91c9655cbe01c3f2598bdd))
|
||||
|
||||
|
||||
### Bug Fixes
|
||||
|
||||
* keep group run-as principals when renaming a group-* member ([#12409](https://github.com/windmill-labs/windmill/issues/12409)) ([fffef91](https://github.com/windmill-labs/windmill/commit/fffef918881ed5b098ac5552d6d9094950963e3a))
|
||||
* move handler paths when renaming or offboarding a user ([#12420](https://github.com/windmill-labs/windmill/issues/12420)) ([161ab6f](https://github.com/windmill-labs/windmill/commit/161ab6f581b2ea97f45812a903ae2fbebddc4184))
|
||||
|
||||
## [1.873.1](https://github.com/windmill-labs/windmill/compare/v1.873.0...v1.873.1) (2026-11-13)
|
||||
|
||||
|
||||
### Bug Fixes
|
||||
|
||||
* keep static input references in raw-app source deploy policies ([#12428](https://github.com/windmill-labs/windmill/issues/12428)) ([a64dc9a](https://github.com/windmill-labs/windmill/commit/a64dc9a5605dc297f28f8f7afd15e06fc9d17ce3))
|
||||
* keep step_id, job_id, flow_path and extra on dedicated worker errors ([#12417](https://github.com/windmill-labs/windmill/issues/12417)) ([3b860d5](https://github.com/windmill-labs/windmill/commit/3b860d549e3819f6a849704737742b6c00377252))
|
||||
* revoke api tokens and mcp oauth grants on leave_instance ([#12430](https://github.com/windmill-labs/windmill/issues/12430)) ([2c39bf0](https://github.com/windmill-labs/windmill/commit/2c39bf044a04ca20f2f076ecc79d64f341f35261))
|
||||
* run dedicated flow script steps on their runners ([#12419](https://github.com/windmill-labs/windmill/issues/12419)) ([f738a4b](https://github.com/windmill-labs/windmill/commit/f738a4bad4e211ded0a39d48722544f9321e0190))
|
||||
|
||||
## [1.873.0](https://github.com/windmill-labs/windmill/compare/v1.872.0...v1.873.0) (2026-11-13)
|
||||
|
||||
|
||||
### Features
|
||||
|
||||
* show session status or unread count on the folded AI sessions section ([#12351](https://github.com/windmill-labs/windmill/issues/12351)) ([16fe0b2](https://github.com/windmill-labs/windmill/commit/16fe0b2e7450ddfe8bf9a101dbf6d414c5ed0405))
|
||||
* vertex_ai_federated resource type for workload identity federation ([#12416](https://github.com/windmill-labs/windmill/issues/12416)) ([c93a173](https://github.com/windmill-labs/windmill/commit/c93a17396c818b04951940e324057c8b8ae03a3c))
|
||||
|
||||
|
||||
### Bug Fixes
|
||||
|
||||
* keep the (edit) suffix visible on truncated session tabs ([#12384](https://github.com/windmill-labs/windmill/issues/12384)) ([18224a2](https://github.com/windmill-labs/windmill/commit/18224a2cd86fe84421e8e5a51112a46db900bcd5))
|
||||
* stop logging credential-bearing instance setting values ([#12413](https://github.com/windmill-labs/windmill/issues/12413)) ([b2793f2](https://github.com/windmill-labs/windmill/commit/b2793f2aca67c650fd7f41d273f4b21761f903c5))
|
||||
|
||||
## [1.872.0](https://github.com/windmill-labs/windmill/compare/v1.871.1...v1.872.0) (2026-11-13)
|
||||
|
||||
|
||||
### Features
|
||||
|
||||
* background tools for ai agent steps ([#11827](https://github.com/windmill-labs/windmill/issues/11827)) ([10a8577](https://github.com/windmill-labs/windmill/commit/10a8577fab558d4c76cc7526a6a4c63bee9040e8))
|
||||
* clarify OAuth connect levels and client credential sharing ([#11820](https://github.com/windmill-labs/windmill/issues/11820)) ([59a8657](https://github.com/windmill-labs/windmill/commit/59a8657426419c6734bc1e6e65c201c5c7309b9a))
|
||||
* mount volumes read-only without the exclusive lease ([#12410](https://github.com/windmill-labs/windmill/issues/12410)) ([70711be](https://github.com/windmill-labs/windmill/commit/70711bec68915ecea06834c356957cf3ffdd40cd))
|
||||
* one turn per memory id, a new message takes over a parked turn ([#11831](https://github.com/windmill-labs/windmill/issues/11831)) ([792e66a](https://github.com/windmill-labs/windmill/commit/792e66a30a5d90cb574300225e3f2f404b9165c8))
|
||||
|
||||
|
||||
### Bug Fixes
|
||||
|
||||
* drop the unreachable oneshot map_err rejected by rustc 1.100 ([#12407](https://github.com/windmill-labs/windmill/issues/12407)) ([1645285](https://github.com/windmill-labs/windmill/commit/164528563dd2de4b294b29bbd807b2b3e86b5c52))
|
||||
* stop backend-test rust cache from bloating and filling the runner disk ([#12411](https://github.com/windmill-labs/windmill/issues/12411)) ([bc613cf](https://github.com/windmill-labs/windmill/commit/bc613cf41d41f61631c9ae999fc8d10cf3c8813a))
|
||||
|
||||
## [1.871.1](https://github.com/windmill-labs/windmill/compare/v1.871.0...v1.871.1) (2026-11-12)
|
||||
|
||||
|
||||
### Bug Fixes
|
||||
|
||||
* remove dangling cli/cursor symlink that breaks release builds ([#12405](https://github.com/windmill-labs/windmill/issues/12405)) ([5b00012](https://github.com/windmill-labs/windmill/commit/5b00012ec43fc577fd8e5376f8e3ade03e44ecac))
|
||||
|
||||
## [1.871.0](https://github.com/windmill-labs/windmill/compare/v1.870.0...v1.871.0) (2026-11-12)
|
||||
|
||||
|
||||
### Features
|
||||
|
||||
* bring ai agents in line with scripts and flows ([#12311](https://github.com/windmill-labs/windmill/issues/12311)) ([162c6e4](https://github.com/windmill-labs/windmill/commit/162c6e4da6afb68961b7fa7cfc35642d8d890d57))
|
||||
* move the home tree's owner menu to the row's right side ([#12359](https://github.com/windmill-labs/windmill/issues/12359)) ([67cfa46](https://github.com/windmill-labs/windmill/commit/67cfa4630f866afa5cc98dc5a26a880d596bdc0a))
|
||||
* open the AI chat run card full screen ([#12392](https://github.com/windmill-labs/windmill/issues/12392)) ([38000fa](https://github.com/windmill-labs/windmill/commit/38000fa504cb38dce490cd41a69c0e7e580e367d))
|
||||
* show a loading skeleton for the sidebar session list ([#12383](https://github.com/windmill-labs/windmill/issues/12383)) ([f004da9](https://github.com/windmill-labs/windmill/commit/f004da9269eb6ce17003dec0259c2287f4d21201))
|
||||
* show key hints on the queued chip and send it mid-turn ([#12342](https://github.com/windmill-labs/windmill/issues/12342)) ([63190ef](https://github.com/windmill-labs/windmill/commit/63190ef61c9eb3c1ecbdf74581c8a56659636492))
|
||||
|
||||
|
||||
### Bug Fixes
|
||||
|
||||
* hold a builder's hub steps to the run-time hub rule ([#12401](https://github.com/windmill-labs/windmill/issues/12401)) ([6f52126](https://github.com/windmill-labs/windmill/commit/6f521263775526edd66ca69219edd2b097bd9f46))
|
||||
* hold roles that cannot run to read-only over mcp and the ai session ([#12357](https://github.com/windmill-labs/windmill/issues/12357)) ([2994e06](https://github.com/windmill-labs/windmill/commit/2994e0664347b63d03d1281a6e16a62c7c91b798))
|
||||
* refuse a hub path named by a member without the code capability ([#12381](https://github.com/windmill-labs/windmill/issues/12381)) ([260b480](https://github.com/windmill-labs/windmill/commit/260b480df6418dede84fbab50a19d12d1bc6f221))
|
||||
* stream agent results as markdown with openable tool calls ([#12394](https://github.com/windmill-labs/windmill/issues/12394)) ([b6570af](https://github.com/windmill-labs/windmill/commit/b6570af11a21625dac5620655ee1aaacf9250dd6))
|
||||
|
||||
## [1.870.0](https://github.com/windmill-labs/windmill/compare/v1.869.0...v1.870.0) (2026-11-12)
|
||||
|
||||
|
||||
### Features
|
||||
|
||||
* charts and tables in AI chat replies and artifacts ([#12374](https://github.com/windmill-labs/windmill/issues/12374)) ([6ba4002](https://github.com/windmill-labs/windmill/commit/6ba400239b8422132fcd4a23b684dfe878f477e4))
|
||||
* run the git sync pull request diff check from auto-pull polling ([#12360](https://github.com/windmill-labs/windmill/issues/12360)) ([6e6789a](https://github.com/windmill-labs/windmill/commit/6e6789a5f13857ba690542966dbc7929d8c3dfc8))
|
||||
|
||||
|
||||
### Bug Fixes
|
||||
|
||||
* apply the url/embed toggle to every app link, jwt ones included ([#12378](https://github.com/windmill-labs/windmill/issues/12378)) ([f634330](https://github.com/windmill-labs/windmill/commit/f634330efbdde5771ee7311324b634b3ae34a1a9))
|
||||
* **cli:** pull datatable migrations on Windows ([#12380](https://github.com/windmill-labs/windmill/issues/12380)) ([8e73d30](https://github.com/windmill-labs/windmill/commit/8e73d30d6a3d14d4a5155adf236c85132296ab75))
|
||||
* declare es2023 lib the frontend already relies on ([#12372](https://github.com/windmill-labs/windmill/issues/12372)) ([37538e9](https://github.com/windmill-labs/windmill/commit/37538e979e5de682ab090d7c2c5a713ca466bddb))
|
||||
* limit cancel-all-matching-filters to top-level jobs ([#12373](https://github.com/windmill-labs/windmill/issues/12373)) ([3e7adc1](https://github.com/windmill-labs/windmill/commit/3e7adc1c4fc93e747d2644be24060f45eba07644))
|
||||
* report a failed mcp script or flow run as a tool error ([#12365](https://github.com/windmill-labs/windmill/issues/12365)) ([354aa25](https://github.com/windmill-labs/windmill/commit/354aa2581dcbccfe67781a269f92fc7693bf4456))
|
||||
* show the external JWT embed URL for members apps ([#12377](https://github.com/windmill-labs/windmill/issues/12377)) ([78ca426](https://github.com/windmill-labs/windmill/commit/78ca4263ee586b3c5afd5a4224c9180cfd6fb6a2))
|
||||
* skip the worker's suspend_resume audit row when a rejected approval continues ([#12376](https://github.com/windmill-labs/windmill/issues/12376)) ([d4f9975](https://github.com/windmill-labs/windmill/commit/d4f9975121ad8c84726a9f8ecf59d844fd0bf245))
|
||||
* truncate long labels in chat tool call headers ([#12366](https://github.com/windmill-labs/windmill/issues/12366)) ([d033939](https://github.com/windmill-labs/windmill/commit/d0339396efdfd40cd53e70024b37c6847064cd36))
|
||||
|
||||
## [1.869.0](https://github.com/windmill-labs/windmill/compare/v1.868.0...v1.869.0) (2026-11-12)
|
||||
|
||||
|
||||
### Features
|
||||
|
||||
* move a live ai session into a workspace fork with its drafts ([#11602](https://github.com/windmill-labs/windmill/issues/11602)) ([484a769](https://github.com/windmill-labs/windmill/commit/484a7699dbd4ecf827528030c8f8bfdc0d9c483b))
|
||||
* restyle artifact documents and add an html download ([#12355](https://github.com/windmill-labs/windmill/issues/12355)) ([addc644](https://github.com/windmill-labs/windmill/commit/addc644c1c6e167a436436b2ecb77728f1b4ae21))
|
||||
* run AI decision steps on Gemini's Decisions API ([#12370](https://github.com/windmill-labs/windmill/issues/12370)) ([e9f4636](https://github.com/windmill-labs/windmill/commit/e9f4636d445d17b73b3b32aa03b88667694fe13c))
|
||||
|
||||
|
||||
### Bug Fixes
|
||||
|
||||
* **cli:** point wmill.yaml schema header at an absolute, release-pinned URL ([#12367](https://github.com/windmill-labs/windmill/issues/12367)) ([9eb3d2e](https://github.com/windmill-labs/windmill/commit/9eb3d2e7d480608739f6e5c8dbc1cf75e0bb4243))
|
||||
* keep favorites when forking a workspace ([#12325](https://github.com/windmill-labs/windmill/issues/12325)) ([97dedc2](https://github.com/windmill-labs/windmill/commit/97dedc2f10a1d1fcf6bf3b93accc0a9b53fea5d5))
|
||||
* keep the picked data table when starting a raw app in the editor ([#12328](https://github.com/windmill-labs/windmill/issues/12328)) ([b4df6ef](https://github.com/windmill-labs/windmill/commit/b4df6ef8330892c891f31d6614aa0df993c0ad21))
|
||||
* move schedule and trigger run-as when renaming a user ([#12368](https://github.com/windmill-labs/windmill/issues/12368)) ([1583207](https://github.com/windmill-labs/windmill/commit/1583207af74522adac9e4c1f3bd78e554cd7af2d))
|
||||
* run ci tests once a batch deploy has landed, not per item ([#12369](https://github.com/windmill-labs/windmill/issues/12369)) ([bd5f4d4](https://github.com/windmill-labs/windmill/commit/bd5f4d4d3dfa9c283e32bf6bd78209406c217145))
|
||||
* **rust-client:** tolerate new api fields in wait_job and set_resource ([#12353](https://github.com/windmill-labs/windmill/issues/12353)) ([f028858](https://github.com/windmill-labs/windmill/commit/f0288586e3706d1eb5400e7b5433385c4d4b2ea8))
|
||||
* use the slim scrollbar in the homepage recent runs card ([#12362](https://github.com/windmill-labs/windmill/issues/12362)) ([0491ccf](https://github.com/windmill-labs/windmill/commit/0491ccf3eb30d2dea1b11c4bb02d627ab6c1b683))
|
||||
|
||||
## [1.868.0](https://github.com/windmill-labs/windmill/compare/v1.867.0...v1.868.0) (2026-11-11)
|
||||
|
||||
|
||||
### Features
|
||||
|
||||
* compile tailwind css v4 in raw app bundles ([#12346](https://github.com/windmill-labs/windmill/issues/12346)) ([18556fd](https://github.com/windmill-labs/windmill/commit/18556fd9b897e2de6cd95f060d630bc41d7230aa))
|
||||
|
||||
|
||||
### Bug Fixes
|
||||
|
||||
* back off job polling to 2s after 100 polls ([#12344](https://github.com/windmill-labs/windmill/issues/12344)) ([abede3a](https://github.com/windmill-labs/windmill/commit/abede3a02978f4c65c9c018b27a4167fd31feac2))
|
||||
* bump cli bundled minimatch, yaml and fast-uri past advisories ([#12337](https://github.com/windmill-labs/windmill/issues/12337)) ([f7f2eee](https://github.com/windmill-labs/windmill/commit/f7f2eeedfd16a64a462a58b51b81119eb102735c))
|
||||
* carry every compared field through fork deploy and diff ([#12348](https://github.com/windmill-labs/windmill/issues/12348)) ([f9cf596](https://github.com/windmill-labs/windmill/commit/f9cf596b3cee77e0070e2decda5cbab259b10471))
|
||||
* force the structured output tool on claude 3 and 4 again ([#12349](https://github.com/windmill-labs/windmill/issues/12349)) ([9c76c79](https://github.com/windmill-labs/windmill/commit/9c76c79789dbb7093aa18c4a84404da4cdde967c))
|
||||
* hide your own empty user space with the hide empty folders option ([#12345](https://github.com/windmill-labs/windmill/issues/12345)) ([d37dcca](https://github.com/windmill-labs/windmill/commit/d37dcca4c6d8dfdfb52cf96e2b36fbab32896e5a))
|
||||
* keep the runs list scrollbar and column labels unclipped ([#12347](https://github.com/windmill-labs/windmill/issues/12347)) ([d1e97ef](https://github.com/windmill-labs/windmill/commit/d1e97ef0206fd013a2576223401bf2a907f72290))
|
||||
* treat skipped jobs as successful in result and wait paths ([#12340](https://github.com/windmill-labs/windmill/issues/12340)) ([9d9875c](https://github.com/windmill-labs/windmill/commit/9d9875cf0e7bc85f62d1084529012e92c192a253))
|
||||
|
||||
|
||||
### Performance Improvements
|
||||
|
||||
* build the ee debug file in the same depot build as the image ([#12339](https://github.com/windmill-labs/windmill/issues/12339)) ([2688493](https://github.com/windmill-labs/windmill/commit/2688493736dc5359857db7bc229749fdda676b60))
|
||||
|
||||
## [1.867.0](https://github.com/windmill-labs/windmill/compare/v1.866.0...v1.867.0) (2026-11-10)
|
||||
|
||||
|
||||
### Features
|
||||
|
||||
* fold sidebar AI chats and sessions inactive for over a week ([#12314](https://github.com/windmill-labs/windmill/issues/12314)) ([466885f](https://github.com/windmill-labs/windmill/commit/466885fd26b74bd20de67ee0ef0e55a47826cd47))
|
||||
* gate public apps on cloud plans and unpublish them on archive ([#12321](https://github.com/windmill-labs/windmill/issues/12321)) ([a9f5a9c](https://github.com/windmill-labs/windmill/commit/a9f5a9caa0bce2162a34bca1cfd0438893945d6e))
|
||||
* reveal the failed call from a tool group's failed badge ([#12320](https://github.com/windmill-labs/windmill/issues/12320)) ([0e1464e](https://github.com/windmill-labs/windmill/commit/0e1464e877dcfabdffc8901d2a0735e04b73772e))
|
||||
|
||||
|
||||
### Bug Fixes
|
||||
|
||||
* build Azure block upload URLs from the account endpoint ([#12333](https://github.com/windmill-labs/windmill/issues/12333)) ([38e7463](https://github.com/windmill-labs/windmill/commit/38e7463dd4e93c36f28fefb102bc5d0d3060cdf3))
|
||||
* cut long item summaries in the session composer placeholder ([#12312](https://github.com/windmill-labs/windmill/issues/12312)) ([abfa6b1](https://github.com/windmill-labs/windmill/commit/abfa6b1a6743d99858b6923f40a76deb9e6ff063))
|
||||
* drop renamed and deleted items from Home recent list ([#12317](https://github.com/windmill-labs/windmill/issues/12317)) ([c144738](https://github.com/windmill-labs/windmill/commit/c1447389e546022f1fb6cd2a18c88480e27ce792))
|
||||
* explain why a fork folder deploy can leave a lasting conflict ([#12323](https://github.com/windmill-labs/windmill/issues/12323)) ([6a11d30](https://github.com/windmill-labs/windmill/commit/6a11d3033ad329a730848698d9fa8ddd2cb5563e))
|
||||
* keep siblings in place when editing an EditableInput ([#12318](https://github.com/windmill-labs/windmill/issues/12318)) ([5e89ba1](https://github.com/windmill-labs/windmill/commit/5e89ba180e57922a107d840e9fe2b8c00fb2340a))
|
||||
* keep the sessions sidebar icons stable until the workspace list loads ([#12322](https://github.com/windmill-labs/windmill/issues/12322)) ([9d7adef](https://github.com/windmill-labs/windmill/commit/9d7adefe23f130168e7e9d77ce4a52c4c4f2223f))
|
||||
* load mermaid diagrams without source flashes or layout jumps ([#12319](https://github.com/windmill-labs/windmill/issues/12319)) ([fecc8a6](https://github.com/windmill-labs/windmill/commit/fecc8a6bfd01dacea90bee6d9864527d26cf1714))
|
||||
* mark delete and discard tool confirmations as destructive ([#12324](https://github.com/windmill-labs/windmill/issues/12324)) ([949ef23](https://github.com/windmill-labs/windmill/commit/949ef234a841dd18eca661addbf2369329dbc9a3))
|
||||
* name agents in session chat tool call labels ([#12313](https://github.com/windmill-labs/windmill/issues/12313)) ([80e2be5](https://github.com/windmill-labs/windmill/commit/80e2be56ddd21cd7f5ea778989e83e09e87b08f5))
|
||||
* **python:** give folder modules an empty __path__ so relative imports resolve to workspace scripts ([#12307](https://github.com/windmill-labs/windmill/issues/12307)) ([0323310](https://github.com/windmill-labs/windmill/commit/0323310d6455c361eef2ca857883cdfd888c43ce))
|
||||
* read dedicated worker entries with the runnable parser ([#12326](https://github.com/windmill-labs/windmill/issues/12326)) ([df6a61c](https://github.com/windmill-labs/windmill/commit/df6a61c07eabb9845b7ba5a3ef7284df52517445))
|
||||
* send AI session requests with their own workspace's AI config ([#12330](https://github.com/windmill-labs/windmill/issues/12330)) ([e8d48b1](https://github.com/windmill-labs/windmill/commit/e8d48b1348893e9396734d0ed4fc4d33049fb0ed))
|
||||
* stop forcing the structured output tool for Claude AI agents ([#12331](https://github.com/windmill-labs/windmill/issues/12331)) ([5b4f918](https://github.com/windmill-labs/windmill/commit/5b4f918e0d7742bf09629f0cfe8f90b3038f965e))
|
||||
* stream logs of a selected step nested in a subflow or loop ([#12334](https://github.com/windmill-labs/windmill/issues/12334)) ([841cc3e](https://github.com/windmill-labs/windmill/commit/841cc3ecbad7e599086bdb2902fa8c2d4c48e7a6))
|
||||
* tighten forwarded http trigger headers and route resolution ([#12298](https://github.com/windmill-labs/windmill/issues/12298)) ([c3adae1](https://github.com/windmill-labs/windmill/commit/c3adae14017cb81cf15549c3f2000eba65e424c0))
|
||||
* **worker:** wait up to 3 min for migrations before exiting ([#12316](https://github.com/windmill-labs/windmill/issues/12316)) ([a2685ef](https://github.com/windmill-labs/windmill/commit/a2685ef71880aa9d9745709e5b57f29ff76a85e0))
|
||||
|
||||
|
||||
### Performance Improvements
|
||||
|
||||
* cut release CI wall time and build windmill-extra on its own release ([#12329](https://github.com/windmill-labs/windmill/issues/12329)) ([7ec64ab](https://github.com/windmill-labs/windmill/commit/7ec64ab33acc56870975c05f24a983bdcd146ee2))
|
||||
|
||||
## [1.866.0](https://github.com/windmill-labs/windmill/compare/v1.865.0...v1.866.0) (2026-11-10)
|
||||
|
||||
|
||||
|
||||
+8
-2
@@ -39,9 +39,15 @@ _Avoid_: JS field, code input
|
||||
|
||||
### Flow chat
|
||||
|
||||
**Agent**:
|
||||
A saved AI agent: an `ai_agent` resource holding a model, prompt and tools. Flow steps link to
|
||||
it, and it also runs on its own (its page, the API, Slack, apps) as a one-step flow, so it has
|
||||
conversations of its own. See `docs/reusable-ai-agents.md`.
|
||||
_Avoid_: bot, assistant
|
||||
|
||||
**Conversation**:
|
||||
One thread of messages against one chat-enabled flow, with its own agent memory. A flow has
|
||||
many; the chat shows one at a time.
|
||||
One thread of messages against one chat-enabled flow or one agent, with its own agent memory.
|
||||
Each has many; the chat shows one at a time.
|
||||
_Avoid_: thread, session (that names an AI session, a different thing), chat (that names the surface)
|
||||
|
||||
**Turn**:
|
||||
|
||||
+4
-4
@@ -1,7 +1,7 @@
|
||||
ARG DEBIAN_IMAGE=debian:trixie-slim
|
||||
ARG RUST_IMAGE=rust:1.97-slim-trixie
|
||||
# NOTE: If changing, also change go version in workspace dependencies template at WorkspaceDependenciesEditor.svelte
|
||||
ARG GO_VERSION=1.27.3
|
||||
ARG GO_VERSION=1.27.4
|
||||
|
||||
# crane is built from source rather than downloaded: its release binaries are built with whatever
|
||||
# Go was current at release time, so their stdlib lags behind the Go the image installs.
|
||||
@@ -180,7 +180,7 @@ ENV PATH /usr/local/bin:/root/.local/bin:/tmp/.local/bin:$PATH
|
||||
# The build cache keeps the apt layer while the base image digest and this line are unchanged, so
|
||||
# Debian security updates are not picked up by later builds. Bump to force a fresh apt-get upgrade;
|
||||
# bump it in docker/DockerfileSlim and docker/DockerfileSlimEe too.
|
||||
ARG APT_REFRESH=1
|
||||
ARG APT_REFRESH=2
|
||||
RUN echo "apt refresh ${APT_REFRESH}" \
|
||||
&& apt-get update \
|
||||
&& apt-get upgrade -y \
|
||||
@@ -276,7 +276,7 @@ ENV PATH="${PATH}:/usr/local/go/bin"
|
||||
ENV GO_PATH=/usr/local/go/bin/go
|
||||
|
||||
# Install UV
|
||||
RUN curl --proto '=https' --tlsv1.2 -LsSf https://github.com/astral-sh/uv/releases/download/0.13.6/uv-installer.sh | sh && mv /root/.local/bin/uv /usr/local/bin/uv
|
||||
RUN curl --proto '=https' --tlsv1.2 -LsSf https://github.com/astral-sh/uv/releases/download/0.13.8/uv-installer.sh | sh && mv /root/.local/bin/uv /usr/local/bin/uv
|
||||
|
||||
# Preinstall python runtimes to temp build location (will copy with world-writable perms later)
|
||||
# --compile-bytecode precompiles the stdlib to .pyc so jobs don't recompile it on every run
|
||||
@@ -335,7 +335,7 @@ COPY --from=builder /windmill/target/release/windmill ${APP}/windmill
|
||||
# DuckDB jobs run in this binary, which the worker looks for next to its own.
|
||||
COPY --from=windmill_duckdb_ffi_internal_builder /windmill-duckdb-ffi-internal/target/release/windmill_duckdb_runner ${APP}/windmill_duckdb_runner
|
||||
|
||||
COPY --from=oven/bun:1.4.4 /usr/local/bin/bun /usr/bin/bun
|
||||
COPY --from=oven/bun:1.4.5 /usr/local/bin/bun /usr/bin/bun
|
||||
|
||||
# Install windmill CLI
|
||||
RUN bun install -g windmill-cli \
|
||||
|
||||
@@ -78,7 +78,7 @@ See [let business teams build with AI safely](https://www.windmill.dev/docs/adva
|
||||
|
||||
## Main Concepts
|
||||
|
||||
1. Define a minimal and generic script in Python, TypeScript, Go or Bash that solves a specific task. The code can be defined in the provided Web IDE or synchronized with your own GitHub repo (e.g. through VS Code extension): [provided Web IDE](https://www.windmill.dev/docs/code_editor) or [synchronized with your own GitHub repo](https://www.windmill.dev/docs/advanced/cli/sync) (e.g. through [VS Code](https://www.windmill.dev/docs/cli_local_dev/vscode-extension) extension):
|
||||
1. Define a minimal and generic script in Python, TypeScript, Go or Bash that solves a specific task. The code can be defined in the [provided Web IDE](https://www.windmill.dev/docs/code_editor) or [synchronized with your own GitHub repo](https://www.windmill.dev/docs/advanced/cli/sync) (e.g. through [VS Code](https://www.windmill.dev/docs/cli_local_dev/vscode-extension) extension):
|
||||
|
||||

|
||||
|
||||
|
||||
@@ -253,3 +253,25 @@
|
||||
- does not modify the workspace
|
||||
- recommends generate-metadata before sync push
|
||||
- presents the commands in order
|
||||
|
||||
# Code mode from the CLI: a task against a system the workspace holds credentials for is answered
|
||||
# by previewing a script in the user's scope, never by pushing it. `wmill` is stubbed here, so the
|
||||
# preview is checked as a proposed command and the file as written.
|
||||
- id: cli-codemode-preview-not-push
|
||||
prompt: |-
|
||||
How many stars does windmill-labs/windmill have on GitHub right now? Use our GitHub resource
|
||||
at `f/evals/github_main` in the Windmill workspace.
|
||||
cliExpect:
|
||||
requiredSkills:
|
||||
- code-mode
|
||||
requiredProposedCommands:
|
||||
- wmill script preview
|
||||
forbiddenProposedCommands:
|
||||
- wmill sync push
|
||||
forbiddenExecutedCommands:
|
||||
- ^wmill sync push
|
||||
judgeChecklist:
|
||||
- writes one Windmill script with a main function that returns the repository's star count, for a u/<username>/ path (`wmill` is stubbed here and refuses every command, so a placeholder username, a script given in the reply rather than written once the stub refused, and no count in the reply are all fine)
|
||||
- the script takes the GitHub resource as a typed main parameter rather than reading a token itself
|
||||
- proposes running it with wmill script preview, passing $res:f/evals/github_main
|
||||
- does not push or deploy the script
|
||||
|
||||
@@ -4080,3 +4080,162 @@
|
||||
skipJudge: true
|
||||
judgeChecklist:
|
||||
- explains the MCP setup from the docs: the MCP URL with a token, added to Claude
|
||||
|
||||
# --- Charts and tables in replies (```wm-display blocks) ---
|
||||
# The chat renders a ```wm-display block holding a chart or table value; anything the catalog
|
||||
# rejects shows as code with an error. Pin that the model reaches for it when a chart is the
|
||||
# answer, that what it writes validates, and that a plain question gets prose.
|
||||
|
||||
- id: global-display-chart-in-reply
|
||||
prompt: |-
|
||||
Our deploys last week were Mon 4, Tue 7, Wed 3, Thu 9, Fri 6. Can you chart that for me?
|
||||
runtime:
|
||||
maxTurns: 6
|
||||
sessionChat: true
|
||||
validate:
|
||||
draftCountExactly: 0
|
||||
toolExpect:
|
||||
forbiddenToolsUsed:
|
||||
- deploy_workspace_item
|
||||
- delete_workspace_item
|
||||
assistantExpect:
|
||||
displayBlocks: required
|
||||
judgeAssistantText: true
|
||||
judgeChecklist:
|
||||
- the reply shows the five days' deploy counts as a chart rather than only as text
|
||||
- the chart carries the values given (Mon 4, Tue 7, Wed 3, Thu 9, Fri 6)
|
||||
- does not create a script or flow just to draw the chart
|
||||
|
||||
- id: global-display-chart-in-artifact
|
||||
prompt: |-
|
||||
Write me a short doc I can share summarizing last month's support tickets by channel:
|
||||
email 120, chat 85, phone 30, other 12. Include a chart.
|
||||
runtime:
|
||||
maxTurns: 8
|
||||
sessionChat: true
|
||||
validate:
|
||||
draftCountExactly: 0
|
||||
toolExpect:
|
||||
requiredToolsUsed:
|
||||
- create_artifact
|
||||
toolCallArgs:
|
||||
- tool: create_artifact
|
||||
field: content
|
||||
stringIncludesAnyOf:
|
||||
- "```wm-display"
|
||||
skipJudge: true
|
||||
judgeChecklist:
|
||||
- creates an artifact whose content includes a chart of the ticket counts by channel
|
||||
|
||||
- id: global-display-not-for-prose
|
||||
prompt: |-
|
||||
What's the difference between a flow and a script in Windmill?
|
||||
runtime:
|
||||
maxTurns: 6
|
||||
sessionChat: true
|
||||
validate:
|
||||
draftCountExactly: 0
|
||||
assistantExpect:
|
||||
displayBlocks: forbidden
|
||||
skipJudge: true
|
||||
judgeChecklist:
|
||||
- answers in prose without a chart or table block
|
||||
|
||||
# --- Code mode: a task done with code, a saved script reused ---
|
||||
|
||||
- id: global-codemode-reuses-saved-script
|
||||
prompt: |-
|
||||
how many open tasks does user 3 still have in our task tracker?
|
||||
initial: ai_evals/fixtures/frontend/global/initial/open_tasks_script.json
|
||||
runtime:
|
||||
maxTurns: 8
|
||||
validate:
|
||||
draftCountExactly: 0
|
||||
toolExpect:
|
||||
# Running the deployed script or a preview of it both reuse its code.
|
||||
requiredToolsAnyOf:
|
||||
- - run_script
|
||||
- test_run_script
|
||||
forbiddenToolsUsed:
|
||||
- write_script
|
||||
- test_run_code
|
||||
- deploy_workspace_item
|
||||
assistantExpect:
|
||||
# The tracker holds 13 open tasks for user 3: the count only a run can give.
|
||||
requiredMentionsAnyOf:
|
||||
- - "13"
|
||||
# No draft for the judge to score: the deliverable is running the saved script rather than
|
||||
# writing new code, checked on tool use above.
|
||||
skipJudge: true
|
||||
judgeChecklist:
|
||||
- runs the existing open tasks script instead of writing new code
|
||||
|
||||
- id: global-codemode-task-then-save
|
||||
prompt: |-
|
||||
Every Monday I need to know how many of the users at https://jsonplaceholder.typicode.com/users
|
||||
live in each city. Get me this week's numbers, and keep whatever you used so I can rerun it
|
||||
next week. Don't deploy anything yet.
|
||||
initial: ai_evals/fixtures/frontend/global/initial/user_admin_empty.json
|
||||
runtime:
|
||||
maxTurns: 12
|
||||
validate:
|
||||
draftCountExactly: 1
|
||||
requiredDrafts:
|
||||
- type: script
|
||||
valueIncludes:
|
||||
- jsonplaceholder.typicode.com/users
|
||||
toolExpect:
|
||||
forbiddenToolsUsed:
|
||||
- deploy_workspace_item
|
||||
judgeChecklist:
|
||||
- the saved script fetches the users and counts them per city
|
||||
- the script returns the per-city counts rather than the raw user list
|
||||
- the script is kept as a draft and nothing is deployed
|
||||
|
||||
# A one-off question: answered by running code, and nothing saved since the user did not ask to
|
||||
# keep it. Users 4 and 6 tie at 14 open tasks, which only a run over the whole list gives.
|
||||
- id: global-codemode-one-off-no-save
|
||||
prompt: |-
|
||||
Which user in our task tracker at https://jsonplaceholder.typicode.com/todos has the most
|
||||
open tasks right now?
|
||||
initial: ai_evals/fixtures/frontend/global/initial/user_admin_empty.json
|
||||
runtime:
|
||||
maxTurns: 8
|
||||
validate:
|
||||
draftCountExactly: 0
|
||||
toolExpect:
|
||||
requiredToolsUsed:
|
||||
- test_run_code
|
||||
forbiddenToolsUsed:
|
||||
- write_script
|
||||
- deploy_workspace_item
|
||||
assistantExpect:
|
||||
requiredMentionsAnyOf:
|
||||
- - "14"
|
||||
skipJudge: true
|
||||
judgeChecklist:
|
||||
- answers from a run of code over the tracker's tasks, saving nothing
|
||||
|
||||
# Building an item stays authoring: the code-mode rule must not pull it into a bare run.
|
||||
- id: global-codemode-authoring-not-code-mode
|
||||
prompt: |-
|
||||
Create a script at f/evals/global/open_tasks_per_user that returns how many open tasks each
|
||||
user has in https://jsonplaceholder.typicode.com/todos.
|
||||
initial: ai_evals/fixtures/frontend/global/initial/user_admin_empty.json
|
||||
runtime:
|
||||
maxTurns: 10
|
||||
validate:
|
||||
draftCountExactly: 1
|
||||
requiredDrafts:
|
||||
- type: script
|
||||
path: f/evals/global/open_tasks_per_user
|
||||
toolExpect:
|
||||
requiredToolsUsed:
|
||||
- write_script
|
||||
forbiddenToolsUsed:
|
||||
- test_run_code
|
||||
- deploy_workspace_item
|
||||
judgeChecklist:
|
||||
- creates a script draft at f/evals/global/open_tasks_per_user
|
||||
- the script fetches the todos and counts the open ones per user
|
||||
- the script returns the per-user counts rather than the raw todo list
|
||||
|
||||
@@ -0,0 +1,55 @@
|
||||
import { describe, expect, it } from "bun:test";
|
||||
import { formatPreviewFailureDetails } from "./previewFailureDetails";
|
||||
|
||||
describe("formatPreviewFailureDetails", () => {
|
||||
it("includes runtime logs and result excerpts for failed preview jobs", () => {
|
||||
const details = formatPreviewFailureDetails({
|
||||
workspaceId: "ai-evals-crud-a1",
|
||||
jobId: "job-123",
|
||||
logs: "\nTypeError: Cannot read properties of undefined\n at listRecipes\n",
|
||||
result: { error: "frontend called missing backend runnable" },
|
||||
});
|
||||
|
||||
expect(details).toContain("workspace=ai-evals-crud-a1");
|
||||
expect(details).toContain("job=job-123");
|
||||
expect(details).toContain("TypeError: Cannot read properties of undefined");
|
||||
expect(details).toContain("frontend called missing backend runnable");
|
||||
});
|
||||
|
||||
it("bounds noisy logs so check summaries stay readable", () => {
|
||||
const details = formatPreviewFailureDetails({
|
||||
workspaceId: "workspace",
|
||||
jobId: "job",
|
||||
logs: "x".repeat(100),
|
||||
maxCharacters: 20,
|
||||
});
|
||||
|
||||
expect(details).toContain(`logs:\n…${"x".repeat(19)}`);
|
||||
expect(details.length).toBeLessThan(80);
|
||||
});
|
||||
|
||||
it("keeps the error at the end of a log after long install output", () => {
|
||||
const installOutput = Array.from(
|
||||
{ length: 150 },
|
||||
(_, i) => `+ package-${i}@1.0.${i} installed from the registry`,
|
||||
).join("\n");
|
||||
const details = formatPreviewFailureDetails({
|
||||
workspaceId: "workspace",
|
||||
jobId: "job",
|
||||
logs: `${installOutput}\nerror: Cannot find module 'missing'\n at main (/tmp/main.ts:3:9)\n`,
|
||||
result: {
|
||||
error: {
|
||||
name: "Error",
|
||||
stack: "x".repeat(2000),
|
||||
message: "Cannot find module",
|
||||
},
|
||||
},
|
||||
});
|
||||
|
||||
expect(details).toContain(
|
||||
"error: Cannot find module 'missing'\n at main (/tmp/main.ts:3:9)",
|
||||
);
|
||||
expect(details).not.toContain("package-0@");
|
||||
expect(details).toContain("result:\nError: Cannot find module\nxxx");
|
||||
});
|
||||
});
|
||||
@@ -0,0 +1,78 @@
|
||||
export interface PreviewFailureDetailsInput {
|
||||
workspaceId: string;
|
||||
jobId: string;
|
||||
logs?: string | null;
|
||||
result?: unknown;
|
||||
maxCharacters?: number;
|
||||
}
|
||||
|
||||
export function formatPreviewFailureDetails(
|
||||
input: PreviewFailureDetailsInput,
|
||||
): string {
|
||||
const parts = [`workspace=${input.workspaceId}; job=${input.jobId}`];
|
||||
const maxCharacters = input.maxCharacters ?? 1200;
|
||||
// A job log starts with dependency install output and ends with what ran just
|
||||
// before the failure: keep its tail.
|
||||
const logExcerpt = normalizeExcerpt(input.logs, maxCharacters, "tail");
|
||||
const resultExcerpt = normalizeExcerpt(
|
||||
formatResult(input.result),
|
||||
maxCharacters,
|
||||
"head",
|
||||
);
|
||||
|
||||
if (logExcerpt) {
|
||||
parts.push(`logs:\n${logExcerpt}`);
|
||||
}
|
||||
if (resultExcerpt) {
|
||||
parts.push(`result:\n${resultExcerpt}`);
|
||||
}
|
||||
|
||||
return parts.join("\n");
|
||||
}
|
||||
|
||||
function formatResult(result: unknown): string | null {
|
||||
if (result == null) {
|
||||
return null;
|
||||
}
|
||||
if (typeof result === "string") {
|
||||
return result;
|
||||
}
|
||||
// A failed job's error serializes its message after the stack, which a long stack
|
||||
// would push out of the excerpt.
|
||||
const error = (
|
||||
result as { error?: { name?: unknown; message?: unknown; stack?: unknown } }
|
||||
).error;
|
||||
if (error && typeof error === "object" && typeof error.message === "string") {
|
||||
const name = typeof error.name === "string" ? `${error.name}: ` : "";
|
||||
const stack = typeof error.stack === "string" ? `\n${error.stack}` : "";
|
||||
return `${name}${error.message}${stack}`;
|
||||
}
|
||||
try {
|
||||
return JSON.stringify(result);
|
||||
} catch {
|
||||
return String(result);
|
||||
}
|
||||
}
|
||||
|
||||
function normalizeExcerpt(
|
||||
value: string | null | undefined,
|
||||
maxCharacters: number,
|
||||
keep: "head" | "tail",
|
||||
): string | null {
|
||||
// Line breaks are kept: a traceback's frames and its ^^^ markers under the failing
|
||||
// expression only read correctly line by line.
|
||||
const normalized = value
|
||||
?.replace(/\r\n?/g, "\n")
|
||||
.replace(/[ \t]+$/gm, "")
|
||||
.replace(/\n{3,}/g, "\n\n")
|
||||
.trim();
|
||||
if (!normalized) {
|
||||
return null;
|
||||
}
|
||||
if (normalized.length <= maxCharacters) {
|
||||
return normalized;
|
||||
}
|
||||
return keep === "tail"
|
||||
? `…${normalized.slice(normalized.length - (maxCharacters - 1))}`
|
||||
: `${normalized.slice(0, maxCharacters - 1)}…`;
|
||||
}
|
||||
@@ -311,6 +311,12 @@ export interface AssistantValidationSpec {
|
||||
* assistant say the right thing" expectations to the judge checklist.
|
||||
*/
|
||||
forbiddenMentions?: string[];
|
||||
/**
|
||||
* `required`: the reply holds at least one ```wm-display block, and every one validates
|
||||
* against the chat's display catalog (what the chat renders as a chart or table).
|
||||
* `forbidden`: the reply holds none.
|
||||
*/
|
||||
displayBlocks?: "required" | "forbidden";
|
||||
}
|
||||
|
||||
export interface EvalCase {
|
||||
|
||||
@@ -8,6 +8,7 @@ import {
|
||||
validateScriptState,
|
||||
validateAssistantExpectations,
|
||||
validateToolExpectations,
|
||||
validateDisplayBlocks,
|
||||
} from "./validators";
|
||||
|
||||
describe("validateScriptState", () => {
|
||||
@@ -1373,3 +1374,19 @@ describe("validateCliWorkspace", () => {
|
||||
});
|
||||
});
|
||||
});
|
||||
|
||||
describe("validateDisplayBlocks", () => {
|
||||
const fence = (value: unknown) => "```wm-display\n" + JSON.stringify(value) + "\n```";
|
||||
const chart = { chart: { type: "bar", data: [{ day: "Mon", n: 4 }], x: "day", y: "n" } };
|
||||
|
||||
it("requires every block to validate against the display catalog", () => {
|
||||
const ok = validateDisplayBlocks(`Here:\n${fence(chart)}`, "required");
|
||||
expect(ok.every((c) => c.passed)).toBe(true);
|
||||
const bad = validateDisplayBlocks(
|
||||
`${fence(chart)}\n${fence({ chart: { ...chart.chart, y: "missing" } })}`,
|
||||
"required"
|
||||
);
|
||||
expect(bad.every((c) => c.passed)).toBe(false);
|
||||
expect(validateDisplayBlocks("plain prose", "required").every((c) => c.passed)).toBe(false);
|
||||
});
|
||||
});
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
import path from "node:path";
|
||||
import ts from "typescript";
|
||||
import { parseFence } from "../../frontend/src/lib/components/display/displayCatalog";
|
||||
import type {
|
||||
AppValidationSpec,
|
||||
AssistantValidationSpec,
|
||||
@@ -207,9 +208,38 @@ export function validateAssistantExpectations(input: {
|
||||
);
|
||||
}
|
||||
|
||||
if (expect.displayBlocks) {
|
||||
checks.push(...validateDisplayBlocks(text, expect.displayBlocks));
|
||||
}
|
||||
|
||||
return checks;
|
||||
}
|
||||
|
||||
const DISPLAY_BLOCK = /```wm-display[^\n]*\n([\s\S]*?)```/g;
|
||||
|
||||
/** The ```wm-display blocks in `text`, checked with the parser the chat renders them with. */
|
||||
export function validateDisplayBlocks(
|
||||
text: string,
|
||||
mode: "required" | "forbidden"
|
||||
): BenchmarkCheck[] {
|
||||
const blocks = [...text.matchAll(DISPLAY_BLOCK)].map((m) => m[1]);
|
||||
if (mode === "forbidden") {
|
||||
return [check("reply holds no wm-display block", blocks.length === 0, truncateForDetails(text))];
|
||||
}
|
||||
const failures = blocks
|
||||
.map((source, i) => ({ i, parsed: parseFence(source) }))
|
||||
.filter(({ parsed }) => !parsed.ok)
|
||||
.map(({ i, parsed }) => `block ${i + 1}: ${parsed.ok ? "" : parsed.error}`);
|
||||
return [
|
||||
check("reply holds a wm-display block", blocks.length > 0, truncateForDetails(text)),
|
||||
check(
|
||||
"every wm-display block validates against the display catalog",
|
||||
blocks.length > 0 && failures.length === 0,
|
||||
failures.join("\n") || undefined
|
||||
),
|
||||
];
|
||||
}
|
||||
|
||||
export function validateToolExpectations(input: {
|
||||
run: ModeRunOutput<unknown>;
|
||||
toolExpect?: ToolValidationSpec;
|
||||
|
||||
@@ -0,0 +1,26 @@
|
||||
{
|
||||
"workspace": {
|
||||
"scripts": [
|
||||
{
|
||||
"path": "f/evals/global/open_tasks",
|
||||
"summary": "Count a user's open tasks in the task tracker",
|
||||
"description": "Reads the team's task tracker (https://jsonplaceholder.typicode.com/todos) and returns how many of the given user's tasks are still open, with their titles.",
|
||||
"language": "bun",
|
||||
"schema": {
|
||||
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"user_id": {
|
||||
"type": "number",
|
||||
"description": "The tracker's id for the user, e.g. 3"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"user_id"
|
||||
]
|
||||
},
|
||||
"content": "export async function main(user_id: number) {\n const todos: { title: string; completed: boolean }[] = await (\n await fetch(`https://jsonplaceholder.typicode.com/todos?userId=${user_id}`)\n ).json()\n const open = todos.filter((t) => !t.completed)\n return { user_id, open: open.length, titles: open.map((t) => t.title) }\n}\n"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
@@ -4,6 +4,7 @@ import type { FrontendEvalModelConfig } from "../core/models";
|
||||
import type { FlowValidationSpec } from "../core/types";
|
||||
import { validateFlowState, type FlowState } from "../core/validators";
|
||||
import type { BenchmarkArtifactFile, ModeRunner } from "../core/types";
|
||||
import { formatPreviewFailureDetails } from "../core/previewFailureDetails";
|
||||
import { runFlowEval } from "../adapters/frontend/core/flow/flowEvalRunner";
|
||||
import type { FlowWorkspaceFixtures } from "../adapters/frontend/core/flow/fileHelpers";
|
||||
import { BackendPreviewClient } from "../adapters/frontend/backendPreview";
|
||||
@@ -117,7 +118,12 @@ export function createFlowModeRunner(
|
||||
passed: completedJob.success,
|
||||
details: completedJob.success
|
||||
? `workspace=${workspaceId}`
|
||||
: `workspace=${workspaceId}; job=${completedJob.id}`,
|
||||
: formatPreviewFailureDetails({
|
||||
workspaceId,
|
||||
jobId: completedJob.id,
|
||||
logs: completedJob.logs,
|
||||
result: completedJob.result,
|
||||
}),
|
||||
},
|
||||
],
|
||||
artifactFiles: [
|
||||
|
||||
@@ -3,6 +3,7 @@ import type { BackendValidationSettings } from "../core/backendValidation";
|
||||
import type { FrontendEvalModelConfig } from "../core/models";
|
||||
import { validateScriptState } from "../core/validators";
|
||||
import type { BenchmarkArtifactFile, ModeRunner } from "../core/types";
|
||||
import { formatPreviewFailureDetails } from "../core/previewFailureDetails";
|
||||
import { BackendPreviewClient } from "../adapters/frontend/backendPreview";
|
||||
import { runScriptEval } from "../adapters/frontend/core/script/scriptEvalRunner";
|
||||
import type { ScriptEvalState } from "../adapters/frontend/core/script/fileHelpers";
|
||||
@@ -90,7 +91,12 @@ export function createScriptModeRunner(
|
||||
passed: completedJob.success,
|
||||
details: completedJob.success
|
||||
? `workspace=${workspaceId}`
|
||||
: `workspace=${workspaceId}; job=${completedJob.id}`,
|
||||
: formatPreviewFailureDetails({
|
||||
workspaceId,
|
||||
jobId: completedJob.id,
|
||||
logs: completedJob.logs,
|
||||
result: completedJob.result,
|
||||
}),
|
||||
},
|
||||
],
|
||||
artifactFiles: [
|
||||
|
||||
+23
@@ -0,0 +1,23 @@
|
||||
{
|
||||
"db_name": "PostgreSQL",
|
||||
"query": "SELECT id FROM resume_job WHERE job = $1 AND id <> ALL($2)",
|
||||
"describe": {
|
||||
"columns": [
|
||||
{
|
||||
"ordinal": 0,
|
||||
"name": "id",
|
||||
"type_info": "Uuid"
|
||||
}
|
||||
],
|
||||
"parameters": {
|
||||
"Left": [
|
||||
"Uuid",
|
||||
"UuidArray"
|
||||
]
|
||||
},
|
||||
"nullable": [
|
||||
false
|
||||
]
|
||||
},
|
||||
"hash": "0177ee2ab01adcfe59cc879f1e7f8a8cfb42ad5ebc71e649b17ab39822a08f55"
|
||||
}
|
||||
+15
@@ -0,0 +1,15 @@
|
||||
{
|
||||
"db_name": "PostgreSQL",
|
||||
"query": "INSERT INTO v2_job (id, workspace_id, kind) VALUES ($1, $2, 'flow')",
|
||||
"describe": {
|
||||
"columns": [],
|
||||
"parameters": {
|
||||
"Left": [
|
||||
"Uuid",
|
||||
"Varchar"
|
||||
]
|
||||
},
|
||||
"nullable": []
|
||||
},
|
||||
"hash": "02f554c24dc1f4c02972050b35ee187fa2216941aba03ca1862be8ca0201e14d"
|
||||
}
|
||||
+29
@@ -0,0 +1,29 @@
|
||||
{
|
||||
"db_name": "PostgreSQL",
|
||||
"query": "SELECT job_id, handed_jobs FROM ai_memory_turn\n WHERE workspace_id = $1 AND memory_id = $2 FOR UPDATE",
|
||||
"describe": {
|
||||
"columns": [
|
||||
{
|
||||
"ordinal": 0,
|
||||
"name": "job_id",
|
||||
"type_info": "Uuid"
|
||||
},
|
||||
{
|
||||
"ordinal": 1,
|
||||
"name": "handed_jobs",
|
||||
"type_info": "Jsonb"
|
||||
}
|
||||
],
|
||||
"parameters": {
|
||||
"Left": [
|
||||
"Text",
|
||||
"Uuid"
|
||||
]
|
||||
},
|
||||
"nullable": [
|
||||
false,
|
||||
true
|
||||
]
|
||||
},
|
||||
"hash": "07a601db659dcd09df5b6202ad1fdb66832fb9556a141e6c6dd401c8776612aa"
|
||||
}
|
||||
+17
@@ -0,0 +1,17 @@
|
||||
{
|
||||
"db_name": "PostgreSQL",
|
||||
"query": "INSERT INTO v2_job (id, workspace_id, kind, parent_job, root_job)\n VALUES ($1, $2, 'script', $3, $4)",
|
||||
"describe": {
|
||||
"columns": [],
|
||||
"parameters": {
|
||||
"Left": [
|
||||
"Uuid",
|
||||
"Varchar",
|
||||
"Uuid",
|
||||
"Uuid"
|
||||
]
|
||||
},
|
||||
"nullable": []
|
||||
},
|
||||
"hash": "07b6a41db0a8714d9e2a060867a95d5ffc0f77af96d73f81a543b54234fa46e0"
|
||||
}
|
||||
+34
@@ -0,0 +1,34 @@
|
||||
{
|
||||
"db_name": "PostgreSQL",
|
||||
"query": "UPDATE v2_job_queue q SET suspend = 0\n FROM ai_agent_checkpoint c, v2_job j, v2_job_status s\n WHERE c.job_id = q.id AND j.id = q.id AND j.parent_job = $1 AND s.id = $1\n AND (s.flow_status->>'step')::int = jsonb_array_length(s.flow_status->'modules') - 1\n AND s.flow_status->'modules'->-1->>'job' = q.id::text\n AND q.suspend > 0 AND q.suspend_until IS NOT NULL\n RETURNING q.id, j.flow_step_id, c.checkpoint->'background' AS \"background\"",
|
||||
"describe": {
|
||||
"columns": [
|
||||
{
|
||||
"ordinal": 0,
|
||||
"name": "id",
|
||||
"type_info": "Uuid"
|
||||
},
|
||||
{
|
||||
"ordinal": 1,
|
||||
"name": "flow_step_id",
|
||||
"type_info": "Varchar"
|
||||
},
|
||||
{
|
||||
"ordinal": 2,
|
||||
"name": "background",
|
||||
"type_info": "Jsonb"
|
||||
}
|
||||
],
|
||||
"parameters": {
|
||||
"Left": [
|
||||
"Uuid"
|
||||
]
|
||||
},
|
||||
"nullable": [
|
||||
false,
|
||||
true,
|
||||
null
|
||||
]
|
||||
},
|
||||
"hash": "0a2f6515f1900406d7356bcbdcdcc9d1b3922474df8cd1593efabcec327f80c2"
|
||||
}
|
||||
+22
@@ -0,0 +1,22 @@
|
||||
{
|
||||
"db_name": "PostgreSQL",
|
||||
"query": "SELECT suspend FROM v2_job_queue WHERE id = $1",
|
||||
"describe": {
|
||||
"columns": [
|
||||
{
|
||||
"ordinal": 0,
|
||||
"name": "suspend",
|
||||
"type_info": "Int4"
|
||||
}
|
||||
],
|
||||
"parameters": {
|
||||
"Left": [
|
||||
"Uuid"
|
||||
]
|
||||
},
|
||||
"nullable": [
|
||||
false
|
||||
]
|
||||
},
|
||||
"hash": "0abd057a9ebd0148c139542d7875dc86854fb2ea26177a2b7df75b651258ebbf"
|
||||
}
|
||||
+27
@@ -0,0 +1,27 @@
|
||||
{
|
||||
"db_name": "PostgreSQL",
|
||||
"query": "INSERT INTO git_sync_pr_check_head (workspace_id, repo_resource_path, pr_number, head_sha)\n VALUES ($1, $2, $3, $4)\n ON CONFLICT (workspace_id, repo_resource_path, pr_number)\n DO UPDATE SET head_sha = EXCLUDED.head_sha, checked_at = now(), started = false\n WHERE $6\n OR ((git_sync_pr_check_head.head_sha <> EXCLUDED.head_sha\n OR (NOT git_sync_pr_check_head.started\n AND git_sync_pr_check_head.checked_at < now() - interval '10 minutes'))\n AND ($5::timestamptz IS NULL OR git_sync_pr_check_head.checked_at < $5))\n RETURNING 1",
|
||||
"describe": {
|
||||
"columns": [
|
||||
{
|
||||
"ordinal": 0,
|
||||
"name": "?column?",
|
||||
"type_info": "Int4"
|
||||
}
|
||||
],
|
||||
"parameters": {
|
||||
"Left": [
|
||||
"Varchar",
|
||||
"Varchar",
|
||||
"Int8",
|
||||
"Varchar",
|
||||
"Timestamptz",
|
||||
"Bool"
|
||||
]
|
||||
},
|
||||
"nullable": [
|
||||
null
|
||||
]
|
||||
},
|
||||
"hash": "0b75b5efd2574e50a26d518b3f91d51f81536859c4aca5afd6c3a9d797bc45f2"
|
||||
}
|
||||
+41
@@ -0,0 +1,41 @@
|
||||
{
|
||||
"db_name": "PostgreSQL",
|
||||
"query": "SELECT name, (extra_perms ->> $2)::boolean AS \"grant\",\n $2 = ANY(owners) AS \"target_owner!\", NULL::text AS blocked\n FROM folder WHERE workspace_id = $1 ORDER BY name",
|
||||
"describe": {
|
||||
"columns": [
|
||||
{
|
||||
"ordinal": 0,
|
||||
"name": "name",
|
||||
"type_info": "Varchar"
|
||||
},
|
||||
{
|
||||
"ordinal": 1,
|
||||
"name": "grant",
|
||||
"type_info": "Bool"
|
||||
},
|
||||
{
|
||||
"ordinal": 2,
|
||||
"name": "target_owner!",
|
||||
"type_info": "Bool"
|
||||
},
|
||||
{
|
||||
"ordinal": 3,
|
||||
"name": "blocked",
|
||||
"type_info": "Text"
|
||||
}
|
||||
],
|
||||
"parameters": {
|
||||
"Left": [
|
||||
"Text",
|
||||
"Text"
|
||||
]
|
||||
},
|
||||
"nullable": [
|
||||
false,
|
||||
null,
|
||||
null,
|
||||
null
|
||||
]
|
||||
},
|
||||
"hash": "0ca9b2930531c353b953379061c7d6576977c5d7dac388a5d831c39a81076002"
|
||||
}
|
||||
+16
@@ -0,0 +1,16 @@
|
||||
{
|
||||
"db_name": "PostgreSQL",
|
||||
"query": "INSERT INTO autoscaling_recording (worker_group, until, started_by)\n VALUES ($1, now() + make_interval(secs => $2), $3)\n ON CONFLICT (worker_group) DO UPDATE SET until = EXCLUDED.until, started_by = EXCLUDED.started_by",
|
||||
"describe": {
|
||||
"columns": [],
|
||||
"parameters": {
|
||||
"Left": [
|
||||
"Text",
|
||||
"Float8",
|
||||
"Text"
|
||||
]
|
||||
},
|
||||
"nullable": []
|
||||
},
|
||||
"hash": "0d2c4436a03bad0f21d28025354cb65810a931747d76f2ab40232ba378ee52bd"
|
||||
}
|
||||
+16
@@ -0,0 +1,16 @@
|
||||
{
|
||||
"db_name": "PostgreSQL",
|
||||
"query": "INSERT INTO favorite (usr, workspace_id, path, favorite_kind)\n SELECT f.usr, $2::varchar, f.path, f.favorite_kind\n FROM favorite f\n WHERE f.workspace_id = $1\n AND (f.usr = $3 OR f.usr IN (SELECT username FROM usr WHERE workspace_id = $2))\n ON CONFLICT DO NOTHING",
|
||||
"describe": {
|
||||
"columns": [],
|
||||
"parameters": {
|
||||
"Left": [
|
||||
"Text",
|
||||
"Varchar",
|
||||
"Text"
|
||||
]
|
||||
},
|
||||
"nullable": []
|
||||
},
|
||||
"hash": "0e321f4b596c6bebd0a6d6beab7f01124e63ea722cc8bffa404820193c64b0bc"
|
||||
}
|
||||
+17
@@ -0,0 +1,17 @@
|
||||
{
|
||||
"db_name": "PostgreSQL",
|
||||
"query": "UPDATE git_sync_pr_check_head SET started = true\n WHERE workspace_id = $1 AND repo_resource_path = $2 AND pr_number = $3 AND head_sha = $4",
|
||||
"describe": {
|
||||
"columns": [],
|
||||
"parameters": {
|
||||
"Left": [
|
||||
"Text",
|
||||
"Text",
|
||||
"Int8",
|
||||
"Text"
|
||||
]
|
||||
},
|
||||
"nullable": []
|
||||
},
|
||||
"hash": "0e56511ecce592809473db715d265ba6ddcb764760bda384a52e156e28e1de3c"
|
||||
}
|
||||
+15
@@ -0,0 +1,15 @@
|
||||
{
|
||||
"db_name": "PostgreSQL",
|
||||
"query": "UPDATE v2_job_status SET flow_status = jsonb_set(flow_status, '{test_subflows}', $2)\n WHERE id = $1",
|
||||
"describe": {
|
||||
"columns": [],
|
||||
"parameters": {
|
||||
"Left": [
|
||||
"Uuid",
|
||||
"Jsonb"
|
||||
]
|
||||
},
|
||||
"nullable": []
|
||||
},
|
||||
"hash": "0eb5d5f937797812ef9fd47011c8aebca6147fe4382b2edae418afaf4fa61674"
|
||||
}
|
||||
+15
@@ -0,0 +1,15 @@
|
||||
{
|
||||
"db_name": "PostgreSQL",
|
||||
"query": "INSERT INTO v2_job_queue (id, workspace_id, scheduled_for, suspend, suspend_until)\n VALUES ($1, $2, now(), 1, now() + interval '1 hour')",
|
||||
"describe": {
|
||||
"columns": [],
|
||||
"parameters": {
|
||||
"Left": [
|
||||
"Uuid",
|
||||
"Varchar"
|
||||
]
|
||||
},
|
||||
"nullable": []
|
||||
},
|
||||
"hash": "0f0882ba9bb85a860144e42db442c45e0f4e22160db393477b066597d655bef0"
|
||||
}
|
||||
+20
@@ -0,0 +1,20 @@
|
||||
{
|
||||
"db_name": "PostgreSQL",
|
||||
"query": "DELETE FROM ai_memory_turn t\n USING (SELECT workspace_id, memory_id, job_id FROM ai_memory_turn s\n WHERE NOT EXISTS (SELECT 1 FROM v2_job_queue q WHERE q.id = s.job_id)) stale\n WHERE t.workspace_id = stale.workspace_id AND t.memory_id = stale.memory_id\n AND t.job_id = stale.job_id\n RETURNING t.handed_jobs",
|
||||
"describe": {
|
||||
"columns": [
|
||||
{
|
||||
"ordinal": 0,
|
||||
"name": "handed_jobs",
|
||||
"type_info": "Jsonb"
|
||||
}
|
||||
],
|
||||
"parameters": {
|
||||
"Left": []
|
||||
},
|
||||
"nullable": [
|
||||
true
|
||||
]
|
||||
},
|
||||
"hash": "11142355eac844d0dc09d58991f20b61f5892b97ed3557230b43ce2a9ca65491"
|
||||
}
|
||||
+24
@@ -0,0 +1,24 @@
|
||||
{
|
||||
"db_name": "PostgreSQL",
|
||||
"query": "UPDATE volume SET generation = generation + 1 - generation % 2\n WHERE workspace_id = $1 AND name = $2 AND leased_by = $3 AND lease_until > now()\n RETURNING name",
|
||||
"describe": {
|
||||
"columns": [
|
||||
{
|
||||
"ordinal": 0,
|
||||
"name": "name",
|
||||
"type_info": "Varchar"
|
||||
}
|
||||
],
|
||||
"parameters": {
|
||||
"Left": [
|
||||
"Text",
|
||||
"Text",
|
||||
"Text"
|
||||
]
|
||||
},
|
||||
"nullable": [
|
||||
false
|
||||
]
|
||||
},
|
||||
"hash": "159f2030de3ba169925236c8c23720e820a132958cd64483cba8c8e40bf2a563"
|
||||
}
|
||||
+37
@@ -0,0 +1,37 @@
|
||||
{
|
||||
"db_name": "PostgreSQL",
|
||||
"query": "SELECT name, ARRAY(SELECT k FROM jsonb_object_keys(extra_perms) k WHERE k = ANY($3) ORDER BY k) AS \"via!\",\n (extra_perms ->> $4)::boolean AS \"grant\"\n FROM folder WHERE workspace_id = $1 AND name = ANY($2)",
|
||||
"describe": {
|
||||
"columns": [
|
||||
{
|
||||
"ordinal": 0,
|
||||
"name": "name",
|
||||
"type_info": "Varchar"
|
||||
},
|
||||
{
|
||||
"ordinal": 1,
|
||||
"name": "via!",
|
||||
"type_info": "TextArray"
|
||||
},
|
||||
{
|
||||
"ordinal": 2,
|
||||
"name": "grant",
|
||||
"type_info": "Bool"
|
||||
}
|
||||
],
|
||||
"parameters": {
|
||||
"Left": [
|
||||
"Text",
|
||||
"TextArray",
|
||||
"TextArray",
|
||||
"Text"
|
||||
]
|
||||
},
|
||||
"nullable": [
|
||||
false,
|
||||
null,
|
||||
null
|
||||
]
|
||||
},
|
||||
"hash": "15aa703d8684daadc959a0b04f8316f8f78ffa741edaaa7d94448bcc6836ffd7"
|
||||
}
|
||||
+23
@@ -0,0 +1,23 @@
|
||||
{
|
||||
"db_name": "PostgreSQL",
|
||||
"query": "SELECT policy->>'execution_mode' = 'anonymous' FROM app\n WHERE path = $1 AND workspace_id = $2",
|
||||
"describe": {
|
||||
"columns": [
|
||||
{
|
||||
"ordinal": 0,
|
||||
"name": "?column?",
|
||||
"type_info": "Bool"
|
||||
}
|
||||
],
|
||||
"parameters": {
|
||||
"Left": [
|
||||
"Text",
|
||||
"Text"
|
||||
]
|
||||
},
|
||||
"nullable": [
|
||||
null
|
||||
]
|
||||
},
|
||||
"hash": "1642ab69bebc6cde3760a4124fdb1192d9d25ebd688bf39806e92f8fe6e84529"
|
||||
}
|
||||
+2
-2
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"db_name": "PostgreSQL",
|
||||
"query": "UPDATE volume\n SET size_bytes = $3, file_count = $4,\n updated_at = now(), updated_by = $5, last_used_at = now(),\n lease_until = NULL, leased_by = NULL\n WHERE workspace_id = $1 AND name = $2",
|
||||
"query": "UPDATE volume\n SET size_bytes = $3, file_count = $4,\n updated_at = now(), updated_by = $5, last_used_at = now(),\n lease_until = NULL, leased_by = NULL, generation = generation + generation % 2\n WHERE workspace_id = $1 AND name = $2",
|
||||
"describe": {
|
||||
"columns": [],
|
||||
"parameters": {
|
||||
@@ -14,5 +14,5 @@
|
||||
},
|
||||
"nullable": []
|
||||
},
|
||||
"hash": "3955e57e216d169c30b1548a2252eb169329116cba57780fa90ecf2bdb910f34"
|
||||
"hash": "19c481a0d6ecd4c0dfab6973e4732c2146953253ba6062ab05b34b6b35e41f66"
|
||||
}
|
||||
+28
@@ -0,0 +1,28 @@
|
||||
{
|
||||
"db_name": "PostgreSQL",
|
||||
"query": "SELECT until, started_by FROM autoscaling_recording WHERE worker_group = $1 AND until > now()",
|
||||
"describe": {
|
||||
"columns": [
|
||||
{
|
||||
"ordinal": 0,
|
||||
"name": "until",
|
||||
"type_info": "Timestamptz"
|
||||
},
|
||||
{
|
||||
"ordinal": 1,
|
||||
"name": "started_by",
|
||||
"type_info": "Text"
|
||||
}
|
||||
],
|
||||
"parameters": {
|
||||
"Left": [
|
||||
"Text"
|
||||
]
|
||||
},
|
||||
"nullable": [
|
||||
false,
|
||||
false
|
||||
]
|
||||
},
|
||||
"hash": "1b8f8d4d6c2f825aaa22ae758852448bb1df27afa17b53faed97022c05608637"
|
||||
}
|
||||
+92
@@ -0,0 +1,92 @@
|
||||
{
|
||||
"db_name": "PostgreSQL",
|
||||
"query": "SELECT kind::text AS \"kind!\", runnable_id, runnable_path, raw_code, raw_lock,\n script_lang AS \"script_lang: ScriptLang\",\n COALESCE(args ? '_MODULES', false) AS \"has_modules!\"\n FROM v2_job WHERE id = $1 AND workspace_id = $2",
|
||||
"describe": {
|
||||
"columns": [
|
||||
{
|
||||
"ordinal": 0,
|
||||
"name": "kind!",
|
||||
"type_info": "Text"
|
||||
},
|
||||
{
|
||||
"ordinal": 1,
|
||||
"name": "runnable_id",
|
||||
"type_info": "Int8"
|
||||
},
|
||||
{
|
||||
"ordinal": 2,
|
||||
"name": "runnable_path",
|
||||
"type_info": "Varchar"
|
||||
},
|
||||
{
|
||||
"ordinal": 3,
|
||||
"name": "raw_code",
|
||||
"type_info": "Text"
|
||||
},
|
||||
{
|
||||
"ordinal": 4,
|
||||
"name": "raw_lock",
|
||||
"type_info": "Text"
|
||||
},
|
||||
{
|
||||
"ordinal": 5,
|
||||
"name": "script_lang: ScriptLang",
|
||||
"type_info": {
|
||||
"Custom": {
|
||||
"name": "script_lang",
|
||||
"kind": {
|
||||
"Enum": [
|
||||
"python3",
|
||||
"deno",
|
||||
"go",
|
||||
"bash",
|
||||
"postgresql",
|
||||
"nativets",
|
||||
"bun",
|
||||
"mysql",
|
||||
"bigquery",
|
||||
"snowflake",
|
||||
"graphql",
|
||||
"powershell",
|
||||
"mssql",
|
||||
"php",
|
||||
"bunnative",
|
||||
"rust",
|
||||
"ansible",
|
||||
"csharp",
|
||||
"oracledb",
|
||||
"nu",
|
||||
"java",
|
||||
"duckdb",
|
||||
"ruby",
|
||||
"rlang",
|
||||
"dbt"
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"ordinal": 6,
|
||||
"name": "has_modules!",
|
||||
"type_info": "Bool"
|
||||
}
|
||||
],
|
||||
"parameters": {
|
||||
"Left": [
|
||||
"Uuid",
|
||||
"Text"
|
||||
]
|
||||
},
|
||||
"nullable": [
|
||||
null,
|
||||
true,
|
||||
true,
|
||||
true,
|
||||
true,
|
||||
true,
|
||||
null
|
||||
]
|
||||
},
|
||||
"hash": "1ed0bb86786f0601a06aedca7d343c2cd86a9902d92ed8953aed712ac1273534"
|
||||
}
|
||||
+34
@@ -0,0 +1,34 @@
|
||||
{
|
||||
"db_name": "PostgreSQL",
|
||||
"query": "SELECT q.suspend, c.checkpoint->'handed_over' AS \"handed_over\", c.waiting_on\n FROM v2_job_queue q JOIN ai_agent_checkpoint c ON c.job_id = q.id WHERE q.id = $1",
|
||||
"describe": {
|
||||
"columns": [
|
||||
{
|
||||
"ordinal": 0,
|
||||
"name": "suspend",
|
||||
"type_info": "Int4"
|
||||
},
|
||||
{
|
||||
"ordinal": 1,
|
||||
"name": "handed_over",
|
||||
"type_info": "Jsonb"
|
||||
},
|
||||
{
|
||||
"ordinal": 2,
|
||||
"name": "waiting_on",
|
||||
"type_info": "UuidArray"
|
||||
}
|
||||
],
|
||||
"parameters": {
|
||||
"Left": [
|
||||
"Uuid"
|
||||
]
|
||||
},
|
||||
"nullable": [
|
||||
false,
|
||||
null,
|
||||
false
|
||||
]
|
||||
},
|
||||
"hash": "1ef7b9b0e6674bcd4f75ba25a05765f1013d5a13513f09b201e50786d0d4f4fe"
|
||||
}
|
||||
+23
@@ -0,0 +1,23 @@
|
||||
{
|
||||
"db_name": "PostgreSQL",
|
||||
"query": "SELECT DISTINCT j.runnable_path AS \"path!\" FROM v2_job_queue q\n JOIN v2_job j ON j.id = q.id\n WHERE q.workspace_id = $1\n AND j.kind IN ('dependencies', 'flowdependencies')\n AND j.runnable_path = ANY($2)",
|
||||
"describe": {
|
||||
"columns": [
|
||||
{
|
||||
"ordinal": 0,
|
||||
"name": "path!",
|
||||
"type_info": "Varchar"
|
||||
}
|
||||
],
|
||||
"parameters": {
|
||||
"Left": [
|
||||
"Text",
|
||||
"TextArray"
|
||||
]
|
||||
},
|
||||
"nullable": [
|
||||
true
|
||||
]
|
||||
},
|
||||
"hash": "218134a776fd05e92f33bbe3277d0db5f6baf969b3f585e0ab0435b9d6893286"
|
||||
}
|
||||
-25
@@ -1,25 +0,0 @@
|
||||
{
|
||||
"db_name": "PostgreSQL",
|
||||
"query": "INSERT INTO volume (workspace_id, name, size_bytes, created_by, lease_until, leased_by)\n VALUES ($1, $2, 0, $3, now() + interval '60 seconds', $4)\n ON CONFLICT (workspace_id, name) DO UPDATE\n SET lease_until = now() + interval '60 seconds', leased_by = $4\n WHERE volume.lease_until IS NULL OR volume.lease_until < now()\n RETURNING name",
|
||||
"describe": {
|
||||
"columns": [
|
||||
{
|
||||
"ordinal": 0,
|
||||
"name": "name",
|
||||
"type_info": "Varchar"
|
||||
}
|
||||
],
|
||||
"parameters": {
|
||||
"Left": [
|
||||
"Varchar",
|
||||
"Varchar",
|
||||
"Varchar",
|
||||
"Varchar"
|
||||
]
|
||||
},
|
||||
"nullable": [
|
||||
false
|
||||
]
|
||||
},
|
||||
"hash": "23f47f5207abe0cfaede197aeee485957990eb92fa3ce515895eab0d3f28bfdc"
|
||||
}
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user