Repository navigation
v0.0.2
Pre-release
Pre-release
Added
openflange validateaccepts--inputand--output, with the same
meaning as forrun(see Changed: this alters whatvalidatereports).- Library:
openflange.CompileOptions.PortsOnlyand
pipeline.Options.PortsOnlycompile only to learn a target's external
ports, skipping checks that depend on connections. A PortsOnly plan must
not be run. - Errors from adapter and pipe checks carry the port they are about, so
some--jsonerror objects gain aportfield. - Batch benchmark kit (
benchmarks/batch):RUNNING.mdfor a dedicated
machine;run.sh --quick(smoke test),--check(prerequisites only)
and--shared(confined to two CPUs on a shared Linux machine); a
-summaryreport; timed runs interleaved within a runtime, with the
load recorded per run and a pause while the machine stalls; macOS
support.
Changed
- A connected additional input that a subprocess pipe never fetches from
its loopback endpoint is still discarded (CLI specification 6.3), but
openflange runnow warns and names the port. Before, a script that read
only standard input lost its other inputs without a word. - Breaking (CLI):
openflange validatecompiles the target exactly as
runwould with the same bindings and accepts--input/--output:
unbound optional
outputs are disconnected (they were all enabled), required ones count as
bound. With no--output, outputs the target needs are reported as a
note naming the flagsrunwill need, soopenflange validate std:partition --param partitions=3 …is valid. What this breaks:validate --planand--plan --jsonof a pipeline no longer show
edges to unbound optional outputs (scripts reading.edgessee fewer);- exit statuses change for some targets, e.g.
openflange validate std:partition --param partitions=3exited 2 and now exits 0 with a
note; - a pipeline whose optional external outputs feed a node check is
validated asrunwould see it, so a partial--outputset can now
fail where it passed before.
- An
E_UNCONNECTEDorE_PARAMabout an output that is unbound or bound
on the command line now has a command-line hint (--output p1=-,
--output p1=/dev/null, "remove--output p3=…") instead of pipeline
YAML.
Fixed
openflange run std:partition --param partitions=Nwith--output p0=…
…--output p{N-1}=…failed withE_PARAM("output p{N} … is
connected, but partitions=N never routes items to it"). The first compile,
which only learns the target's ports, enabled every output and ran the
pipe's checks. It now skips checks that depend on connections, and
unbound optional outputs are disconnected before the real compile.- A flaky test: with
maxWaitMs: 0the last batch counts as a wait flush or
an end-of-input flush depending on timing;TestBatchFlagaccepts both. - CI was red on every commit since before v0.0.1: the end-to-end step ran
openflange test ./exampleson a runner without the examples' runtimes,
so 37 of 144 tests failed (E_UNSUPPORTED:duckdb/Rscriptnot on
PATH; npm-wrapper's dependency not installed; python-http-enrich's server
not started). CI now installs pinned runtimes — DuckDB 2.0.1 (checksum
verified), R 4.5.3 with jsonlite 2.0.0, Node.js 24.23.0 with
npm ci --ignore-scriptsfor npm-wrapper, Python 3.13.18 — builds the Go
multi-port example, starts the HTTP example's server, and runs every
example for real. No assertion was weakened and nothing is skipped: the
language-model examples already use their mock providers; the tests of
the real-model ones (Anthropic, Ollama) only check the permission refusal
and never call a model. go test ./examples/...andscripts/run-examples.shaccept
OPENFLANGE_EXAMPLES_REQUIRE_ALL=1: a missing runtime then fails instead
of skipping. CI sets it.- The CI conformance step passed
-spec-dir ../spec/conformance, which
go testresolves from the package directory, so every conformance test
was skipped and the step was green without running a fixture. It now
passes../../spec/conformance, and the conformance tests fail (instead of
skipping) when a directory given with-spec-diror
OPENFLANGE_CONFORMANCE_DIRdoes not exist, yields no cases, or yields
only skipped cases. - CI uses
actions/checkout@v7,actions/setup-go@v7,
actions/setup-python@v7andactions/setup-node@v7(all Node.js 24; the
Node.js 20 deprecation warning is gone) andr-lib/actions/setup-rv2
pinned to a commit SHA. Checkouts no longer keep the token
(persist-credentials: false), and theopenflange/speccheckout is
pinned to a commit, so a tag's conformance result is reproducible.
Install: go install github.com/openflange/openflange-go/cmd/openflange@v0.0.2
Experimental pre-release of the OpenFlange reference implementation (draft v0.1 specifications). Breaking changes are possible before 1.0.0.