Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
40 changes: 40 additions & 0 deletions .github/workflows/mint-cf-worker-test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
name: Mint CF Worker Test

# Path-filtered CI entry point for the CF mint Worker JS↔WASM bridge smoke
# tests. Calls `make mint-cf-worker-test` (qualified name — not bare
# `worker-test`) so other Workers in this repo do not collide.
#
# The Make target starts as a stub (#5481); #5427 / follow-up fills it with
# wasm-stage + workersrc install/test without renaming the CI contract.

on:
push:
branches: [main]
paths:
- "internal/dispatch/cf/**"
- "cmd/mint-wasm/**"
- "Makefile"
- ".github/workflows/mint-cf-worker-test.yml"
pull_request:
paths:
- "internal/dispatch/cf/**"
- "cmd/mint-wasm/**"
- "Makefile"
- ".github/workflows/mint-cf-worker-test.yml"
workflow_dispatch:

Comment thread
qodo-code-review[bot] marked this conversation as resolved.
Resolved
permissions:
contents: read

concurrency:
group: mint-cf-worker-test-${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
Comment thread
ifireball marked this conversation as resolved.
Resolved
cancel-in-progress: true

jobs:
mint-cf-worker-test:
Comment thread
ifireball marked this conversation as resolved.
Resolved
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
Comment thread
ifireball marked this conversation as resolved.
Resolved

- name: Run CF mint Worker bridge smoke tests
run: make mint-cf-worker-test
10 changes: 9 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
mindmap go-build go-test go-lint go-fmt go-vet go-tidy \
lint-md-links script-test test \
e2e-test behaviour-test lint-eval-cases functional-tests \
wasm-build
wasm-build mint-cf-worker-test

# Let Go automatically download the toolchain version required by go.mod.
# This ensures local builds use the right version without manual intervention.
Expand Down Expand Up @@ -33,6 +33,7 @@ help:
@echo " lint-eval-cases - Lint eval case definitions (annotations.yaml completeness)"
@echo " functional-tests - Run functional agent tests (requires EVAL_ORG, FULLSEND_DIR, GH_TOKEN, GCP creds)"
@echo " wasm-build - Build mintcore WASM binary and report gzip size vs Workers limits"
@echo " mint-cf-worker-test - Run CF mint Worker bridge smoke tests (stub until workersrc lands)"

# Install all development tools needed for linting, formatting, and pre-commit hooks.
# Prerequisites: uv (https://docs.astral.sh/uv/) and go (https://go.dev/)
Expand Down Expand Up @@ -140,6 +141,13 @@ wasm-build:
fi
@echo "==> WASM build OK"

# Stub CI contract for CF mint Worker bridge smoke tests (#5481).
# Populated by #5427 / follow-up with wasm-stage + workersrc npm test.
# Do not rename: .github/workflows/mint-cf-worker-test.yml calls this target.
mint-cf-worker-test:
@echo "==> mint-cf-worker-test: stub (no CF Worker bridge tests yet)"
@echo " Replace this stub when internal/dispatch/cf/workersrc lands (#5427)."

lint-md-links:
lychee --offline --no-progress --include-fragments --exclude-path node_modules --exclude-path experiments '**/*.md'

Expand Down
Loading