conductor

sign in

test

statesuccess
jobback to job
imagenode:24-alpine
arch-
attempt1 of 1
worker${attr.unique.hostname}
duration29s

log

[conductor] task test on ${attr.unique.hostname}
[conductor] commit 2c4cae92a912 attempt 1
[conductor] image node:24-alpine
$ apk add --no-cache git
( 1/12) Installing brotli-libs (1.2.0-r1)
( 2/12) Installing c-ares (1.34.8-r0)
( 3/12) Installing libunistring (1.4.2-r0)
( 4/12) Installing libidn2 (2.3.8-r0)
( 5/12) Installing nghttp2-libs (1.69.0-r0)
( 6/12) Installing libpsl (0.21.5-r3)
( 7/12) Installing zstd-libs (1.5.7-r2)
( 8/12) Installing libcurl (8.22.0-r0)
( 9/12) Installing libexpat (2.8.4-r0)
(10/12) Installing pcre2 (10.48-r0)
(11/12) Installing git (2.54.0-r0)
(12/12) Installing git-init-template (2.54.0-r0)
Executing busybox-1.37.0-r31.trigger
OK: 24.0 MiB in 30 packages
$ npm install --no-audit --no-fund

added 79 packages in 4s
npm notice
npm notice New major version of npm available! 11.19.0 -> 12.1.0
npm notice Changelog: https://github.com/npm/cli/releases/tag/v12.1.0
npm notice To update run: npm install -g npm@12.1.0
npm notice
$ npm test

> conductor@0.6.0 test
> node --test "test/**/*.test.js"

✔ a success carries ok and data, and nothing else (301.22511ms)
✔ a failure carries a name, a message and the matching status (174.36569ms)
✔ details are absent rather than null when there are none (137.15059ms)
✔ a url under the api that matches no route is enveloped too (108.78603ms)
✔ a url outside the api is left to the interface (100.65677ms)
✔ a malformed body is refused by name (114.71428ms)
✔ the worker protocol reports its refusals by name (116.8835ms)
✔ no error body carries a stack (135.28628ms)
✔ a page reports where it sits and how many there are (249.87256ms)
✔ following next walks the whole collection exactly once (227.15627ms)
✔ next is absent on the last page (197.10291ms)
✔ an unusable offset or limit falls back rather than failing (183.24932ms)
✔ a task reports its artifacts as a page (235.91671ms)
✔ a limit is clamped to the cap, and a missing one defaults (0.40665ms)
✔ an offset reads as zero unless it is a usable number (0.33114ms)
✔ next preserves the other query parameters (0.3562ms)
✔ the key order is next, offset, total (0.22495ms)
✔ every tracked text file is pure ASCII (226.83555ms)
✔ no file uses CRLF line endings or trailing whitespace (185.2658ms)
✔ a password round trips and a wrong one is refused (71.35937ms)
✔ the same password hashes differently each time (54.45865ms)
✔ parameters are read back from the stored hash (43.03812ms)
✔ a malformed stored hash is refused rather than throwing (0.61056ms)
✔ password length is bounded (0.75757ms)
✔ a session token round trips its claims (1.67122ms)
✔ a token signed with another secret is refused (0.54428ms)
✔ a tampered payload is refused (0.43242ms)
✔ an expired token is refused (7.21776ms)
✔ a malformed token is refused rather than throwing (6.09646ms)
✔ cookies are parsed and issued (2.9962ms)
✔ the oidc login state round trips with its return path (6.4199ms)
✔ a missing return path means the root (1.49725ms)
✔ the oidc login state is refused when forged, stale or off-site (2.43968ms)
✔ oidc roles are collected from the usual claim shapes (2.90826ms)
✔ mask replaces secrets, longest first (1.98023ms)
✔ mask ignores very short values and leaves clean output alone (1.18797ms)
✔ health reports the selected drivers (266.77004ms)
✔ a signed trigger creates a job and expands the pipeline (212.31851ms)
✔ an unsigned or wrongly signed trigger is refused (194.03549ms)
✔ github and gitlab push payloads are understood (338.2402ms)
✔ a branch deletion is ignored rather than failing (135.83605ms)
✔ a broken pipeline is reported as a client error with detail (267.39805ms)
✔ a missing pipeline file is reported clearly (214.32994ms)
✔ a pipeline may be spelled .conductor.yaml instead of .conductor.yml (173.51519ms)
✔ a project pointed at a specific file gets no fallback (245.10588ms)
✔ a repository carrying both spellings is refused rather than guessed at (228.80646ms)
✔ a pipeline still using the jobs key is told what it was renamed to (281.61431ms)
✔ a job can be created directly, without a push payload to imitate (275.70154ms)
✔ creating a job requires the same signature as a trigger (112.37759ms)
✔ creating a job insists on a real commit rather than inferring one (155.02405ms)
✔ a job can be read back, with the state of every task (238.16775ms)
✔ a public job is readable without any credential at all (316.11443ms)
✔ a private job needs the trigger secret, and is otherwise absent (398.15167ms)
✔ a job of another project cannot be read through this one (401.34815ms)
✔ a task can be read back on its own, and by its full name (292.47862ms)
✔ reading a task back carries its dependencies and matrix (264.9648ms)
✔ reading a task back never exposes its environment, services or script (283.02049ms)
✔ a task lists the artifacts it stored, with a usable download url (304.05986ms)
✔ reading a task back needs no worker token (263.37397ms)
✔ a private task is absent without a credential, and needs its project named (380.1892ms)
✔ a private task is readable by an administrator, by either path (481.16009ms)
✔ a task of another project cannot be read through this one (409.31798ms)
✔ an unknown task is 404 by either path (206.31129ms)
✔ a claim records what the machine advertises, even when there is no work (129.3586ms)
✔ a machine that changes its features updates its row rather than adding one (120.30356ms)
✔ machines sharing a token are recorded separately (144.17457ms)
✔ the worker api rejects missing and invalid tokens (109.58315ms)
✔ independent tasks dispatch concurrently (240.96143ms)
✔ a task is only offered to a worker that satisfies its requires (392.18919ms)
✔ a worker is not offered work for an architecture it cannot build (422.93491ms)
✔ a claimed task carries everything the worker needs (277.92454ms)
✔ a task that requires a feature reports it to the worker (250.64256ms)
✔ the standard conductor variables are present in the task environment (278.36774ms)
✔ the source tarball is served from the mirror (308.0543ms)
✔ a worker cannot touch a task it does not hold (292.85498ms)
✔ log appends are resumable and deduplicated by offset (284.03159ms)
✔ an oversized log chunk is refused (354.56469ms)
✔ a finished log moves to storage and is still readable (395.2233ms)
✔ artifacts are stored, hashed, and stripped of traversal (387.14756ms)
✔ an artifact shorter than its content-length is rejected (284.39004ms)
✔ success releases dependents, matched on shared dimensions (305.63991ms)
✔ failure skips transitive dependents, not just direct ones (383.93214ms)
✔ a job settles as failed once every task is terminal (465.75642ms)
✔ a job settles as success when everything passes (397.71811ms)
✔ an allowed failure does not fail the job or block dependents (449.2744ms)
✔ a task with retries left is requeued instead of failing the job (291.30223ms)
✔ heartbeats keep a task alive and report cancellation (430.70872ms)
✔ the reaper fails a task whose worker stopped reporting (382.4078ms)
✔ a second push produces an independent, numbered job (634.66122ms)
﹣ jobs can be listed and filtered by project (0.30136ms) # the JSON API was removed
﹣ unknown jobs, tasks and artifacts return 404 (0.11635ms) # the JSON API was removed
✔ a disabled project refuses triggers (171.18573ms)
✔ a trigger for an unknown project is a 404 (119.48216ms)
✔ a commit that is not in the repository is refused (280.84261ms)
✔ a task is told to fetch an archive, and never the repository itself (413.15609ms)
✔ the source archive is the bare tree, with no wrapping directory (473.52314ms)
✔ the working directory is resolved from the pipeline, then the project (984.88191ms)
✔ an unusable working directory is refused rather than sanitised (1142.95677ms)
✔ the trigger secret is not stored in the clear (135.38939ms)
✔ worker tokens are stored only as hashes (167.07346ms)
✔ defaults select sqlite, local storage and local auth (4.69275ms)
✔ configuring an s3 bucket switches the storage driver (0.78336ms)
✔ a partial s3 configuration is rejected rather than half applied (1.21685ms)
✔ configuring an oidc discovery url switches the auth mode (0.62444ms)
✔ an oidc discovery url without a client id is rejected (0.62457ms)
✔ a database url selects its dialect (1.39473ms)
✔ an unsupported database scheme is reported clearly (0.74271ms)
✔ a sqlite url collapses into database.path (1.78428ms)
✔ environment variables override the config file (36.86297ms)
✔ relative paths resolve against the config file directory (6.93247ms)
✔ a missing explicit config file is an error, a missing default is not (1.66053ms)
✔ a heartbeat timeout below the reap interval is rejected (15.17009ms)
✔ a non-integer port is rejected with the variable named (0.86761ms)
✔ parseKey accepts hex and base64, and rejects the wrong length (0.44493ms)
✔ stateDirs omits the storage directory when s3 is in use (1.23603ms)
✔ the loaded config is frozen (0.55878ms)
✔ topological order places dependencies first (2.39546ms)
✔ topological order is deterministic (2.49055ms)
✔ a cycle is detected and named (1.07472ms)
✔ depth reflects the longest path, not insertion order (0.48223ms)
✔ independent tasks are runnable at the same time (0.57089ms)
✔ a task becomes runnable only once every dependency succeeds (0.39909ms)
✔ a running dependency does not release its dependents (0.31542ms)
✔ failure skips transitive dependents, not just direct ones (0.45527ms)
✔ a skipped dependency never releases a dependent (0.85986ms)
✔ allowed failures can satisfy a dependency when asked to (0.55677ms)
✔ transitive dependents of a leaf is empty (0.34278ms)
✔ graph helpers tolerate dependencies outside the set (0.41843ms)
✔ dialect detection covers every supported scheme (2.62582ms)
✔ statement splitter respects literals and comments (0.77386ms)
✔ statement splitter keeps postgres dollar quoted bodies whole (0.38571ms)
✔ migrations apply once and are idempotent (54.98893ms)
✔ an edited migration is refused rather than silently diverging (25.99183ms)
✔ a migration removed from disk is reported (26.95318ms)
✔ rows come back as ordinary objects (21.81601ms)
✔ a conditional update claims exactly once (20.74456ms)
✔ deleting a job cascades to its tasks (22.59858ms)
✔ a failed transaction rolls back, and a failed savepoint keeps the outer work (24.73802ms)
﹣ migrations apply and retention sweeps on postgres (8.06124ms) # SKIP
﹣ migrations apply and retention sweeps on mysql (1.14678ms) # SKIP
✔ every example pipeline compiles (262.14696ms)
✔ the distribution example fans in per architecture (79.07726ms)
✔ the node example wires services and features (17.07134ms)
✔ git jobs with safe.directory set (2.75211ms)
✔ it appends to configuration already in the environment (0.36417ms)
✔ a count that is not a number does not corrupt the sequence (0.40174ms)
✔ git accepts the environment we build (41.91594ms)
✔ a file missing from a commit reads as missing, whatever sits in the working directory (58.68298ms)
﹣ the endpoints and key set come from the discovery document (2.12323ms) # docker is not available
✔ discovery reports a document that is missing an endpoint (37.33841ms)
✔ discovery reports an unreachable provider and a bad status (1.48765ms)
﹣ a token carrying the admin role authenticates as an administrator (0.19698ms) # the JSON API was removed
﹣ a token without the admin role is an ordinary user (4.34216ms) # the JSON API was removed
﹣ roles are recognised in the groups and resource_access shapes (0.21696ms) # the JSON API was removed
﹣ an OIDC user gets a local account and can own a project (1.02652ms) # the JSON API was removed
﹣ the same subject keeps one account even when the display name changes (0.32608ms) # the JSON API was removed
﹣ a display name colliding with a local account gets its own username (0.25323ms) # the JSON API was removed
﹣ a role revoked at the provider is lost on the next request (6.25905ms) # the JSON API was removed
﹣ an account disabled locally is refused despite a valid token (0.18712ms) # the JSON API was removed
﹣ a forged signature is refused (0.2465ms) # the JSON API was removed
﹣ an expired token is refused (0.20201ms) # the JSON API was removed
﹣ a token from a different issuer is refused (0.19392ms) # the JSON API was removed
﹣ an anonymous visitor asking for a protected page is sent to the provider (0.12808ms) # docker is not available
﹣ a browser signs in at the provider and comes back with a session (0.18694ms) # docker is not available
﹣ a callback with a forged state is refused (0.09617ms) # docker is not available
﹣ local passwords are refused while OIDC is in charge (0.1326ms) # the JSON API was removed
﹣ an OIDC administrator can drive the interface (0.08781ms) # docker is not available
﹣ worker ownership follows the OIDC identity (0.08847ms) # the JSON API was removed
✔ a pattern without a star matches exactly (2.93816ms)
✔ a star matches any job of characters (0.7432ms)
✔ the rest of a pattern is literal, not a regular expression (0.3166ms)
✔ a restricted task is left out of jobs for other refs (33.06287ms)
✔ it is left out rather than recorded as skipped (3.37681ms)
✔ tasks depending on an excluded task are excluded too (3.43491ms)
✔ depth and ordering describe the job that will happen (2.39483ms)
✔ without a ref nothing is filtered, so a pipeline can still be validated (3.14097ms)
✔ a restricted task cannot match a job that has no ref (1.95899ms)
✔ a malformed rule is reported rather than ignored (7.82711ms)
✔ the rule is not inherited from defaults (11.684ms)
✔ a page number is read from the query, and nonsense reads as the first (2.96539ms)
✔ an absurd page number cannot produce an unusable offset (0.94038ms)
✔ a window describes the slice it holds (0.37936ms)
✔ an empty table is one page, and counts from zero (0.28959ms)
✔ windowOfAll slices a list that is already in memory (0.40161ms)
✔ a page link keeps the other query parameters (0.48507ms)
✔ a pager is not rendered when everything fits on one page (1.57325ms)
✔ a pager offers only the steps that exist (0.90017ms)
✔ paginate counts under the same conditions as it selects (372.77615ms)
✔ successive pages do not repeat or skip a row (179.23634ms)
✔ the job list is capped at a page and offers the next one (219.10771ms)
✔ paging past the end is an empty table rather than an error (212.51265ms)
✔ a page link keeps the project filter, and so does the live fragment (159.18906ms)
✔ the polling fragment asks for the page being viewed, not the first (182.58963ms)
✔ the count behind the pager respects who is asking (220.98706ms)
✔ a worker page pages its task history (250.12013ms)
✔ the users and workers tables keep their swap target on the wrapper (304.00489ms)
✔ a minimal pipeline compiles (26.58886ms)
✔ version is required and pinned (3.84411ms)
✔ empty and malformed documents are rejected clearly (4.34697ms)
✔ image and script are required (0.9623ms)
✔ image may come from defaults (2.44326ms)
✔ unknown keys are rejected, with a suggestion when close (3.46054ms)
✔ all problems are reported at once (1.2068ms)
✔ durations accept seconds, units and composites (4.02731ms)
✔ durations accept day and week units (1.72635ms)
✔ a malformed duration is rejected (1.47517ms)
✔ arch expands into one task per architecture (2.33042ms)
✔ a matrix expands to the cartesian product (2.01239ms)
✔ needs match on shared dimensions rather than fanning out (5.99443ms)
✔ a task without the shared dimension depends on every instance (0.96029ms)
✔ match all opts out of dimension matching (1.40161ms)
✔ needs may name one concrete instance (1.74569ms)
✔ an unsatisfiable dimension match is reported, not silently dropped (1.07678ms)
✔ needs on an unknown task lists what is defined (0.76174ms)
✔ self dependency is rejected (1.02208ms)
✔ a dependency cycle names the cycle (3.00919ms)
✔ interpolation substitutes arch and matrix values (1.35953ms)
✔ interpolating an undefined dimension is an error (2.19887ms)
✔ referring to arch without declaring one is an error (0.77991ms)
✔ matrix values must be safe for use in a task name (0.8355ms)
✔ arch may not also be a matrix dimension (0.89362ms)
✔ services get a derived alias and reject duplicates (4.53634ms)
✔ artifacts accept a bare list and reject absolute paths (2.07738ms)
✔ artifact when is constrained (0.56548ms)
✔ defaults are inherited and overridden per task (0.92228ms)
✔ env values must be scalars with valid names (0.9186ms)
✔ parsePipeline normalizes without expanding (0.6601ms)
✔ a realistic distribution pipeline produces the expected graph (2.50218ms)
✔ compiles markers to the placeholder each dialect expects (5.33181ms)
✔ numbers postgres placeholders per occurrence, including repeats (0.30807ms)
✔ ignores markers inside string literals and comments (0.42282ms)
✔ a json literal in default text survives untouched (0.25666ms)
✔ doubling a brace escapes it (0.33967ms)
✔ block comments are skipped, and nest only for postgres (0.35142ms)
✔ postgres dollar quoted bodies are skipped (0.3ms)
✔ mysql backtick identifiers and hash comments are skipped (0.73921ms)
✔ a malformed marker is rejected with a useful message (0.96233ms)
✔ binds by name, resolving dotted paths (0.86526ms)
✔ an exact key beats path traversal (0.32088ms)
✔ reports every missing key at once (0.44743ms)
✔ rejects an array of parameters, which would silently bind by position (0.37789ms)
✔ normalizes booleans, dates and null (0.82366ms)
✔ rejects an object value, which is nearly always a forgotten stringify (0.44752ms)
✔ an artifact past its own deadline is deleted (300.96628ms)
✔ an explicit deadline overrides the policy in both directions (331.98032ms)
✔ an explicit deadline also beats the last good job (180.09244ms)
✔ the last few jobs keep their artifacts however old they are (138.1893ms)
✔ recent artifacts are kept however many jobs have followed (153.11755ms)
✔ an artifact outside both rules is deleted (131.11716ms)
✔ the most recent successful job is kept whatever the policy says (134.13344ms)
✔ only the latest success is protected, not every success (106.75251ms)
✔ a project may keep artifacts forever despite a server default (99.65991ms)
✔ a project setting overrides the server default (119.00915ms)
✔ an unfinished job is never swept (74.7349ms)
✔ logs older than the limit are removed but the task remains (133.95789ms)
✔ a swept log is distinguishable from one that never existed (94.35998ms)
✔ a log is swept only once (93.83828ms)
✔ zero keeps logs forever (100.19836ms)
✔ a storage failure leaves the row for the next pass (107.58482ms)
✔ a sweep deletes no more than its batch (137.65054ms)
✔ one project policy does not reach into another (91.67932ms)
✔ artifacts.expire in a pipeline reaches the stored artifact (262.27281ms)
﹣ the api reports and accepts project retention (0.55809ms) # the JSON API was removed
✔ a machine that has stopped claiming is forgotten (113.0377ms)
✔ zero keeps machines for ever (114.51682ms)
✔ seals and opens a value (4.59593ms)
✔ sealing twice produces different ciphertext (0.64517ms)
✔ without a key, values are stored as marked plaintext (0.3586ms)
✔ a keyed box can still read values written before a key existed (0.26478ms)
✔ an unkeyed box refuses encrypted values with an actionable message (1.08254ms)
✔ the wrong key fails to open (0.63442ms)
✔ tampering with the ciphertext is detected (0.58295ms)
✔ associated data binds a secret to its location (1.6531ms)
✔ a key of the wrong size is refused at construction (0.49896ms)
✔ task ids are opaque, and say nothing about their job (6.06046ms)
✔ time ordered ids sort by creation time (0.46987ms)
✔ random ids use the expected alphabet (0.34897ms)
✔ slugify produces readable project ids and falls back when empty (0.57285ms)
✔ token hashing and constant time comparison (1.09638ms)
✔ the pipeline this project jobs on itself compiles (267.83306ms)
✔ its tasks declare the features they actually need (39.05981ms)
✔ publishing is restricted to main and release tags (57.70602ms)
✔ get-vanilla matches the reference signature (4.52764ms)
✔ get-vanilla-query-order-key-case matches the reference signature (1.07049ms)
✔ uriEncode percent encodes the characters encodeURIComponent leaves alone (0.3159ms)
✔ amzDate produces both required formats (0.31413ms)
✔ s3 requests carry the content hash header (0.75004ms)
✔ presigned urls carry the signature in the query string (3.53323ms)
✔ an already encoded path is not encoded a second time (2.2707ms)
✔ key validation rejects traversal and absolute paths (3.24223ms)
✔ sanitizeRelativePath strips traversal from worker supplied paths (0.55287ms)
✔ key layout is stable (0.90421ms)
✔ local backend round trips a buffer and reports its digest (34.25255ms)
✔ local backend serves ranges (9.34443ms)
✔ local backend accepts a stream (15.11854ms)
✔ local backend reports a missing object and deletes idempotently (18.73644ms)
✔ local backend has no presigned urls (25.50414ms)
✔ a partial write leaves no object behind (19.55336ms)
✔ part size grows so that a huge object still fits in 10000 parts (0.67012ms)
✔ inParts regroups an awkwardly chunked stream into fixed parts (7.8655ms)
✔ inParts handles a chunk far larger than the part size (4.11576ms)
✔ inParts yields nothing for an empty stream (5.30515ms)
﹣ s3 backend round trips awkward keys against a real server (0.58038ms) # docker is not available
﹣ s3 serves byte ranges (0.44855ms) # docker is not available
﹣ s3 accepts a stream when the size is known (0.50178ms) # docker is not available
﹣ a presigned url is usable without credentials (3.57353ms) # docker is not available
﹣ a tampered presigned url is rejected by the server (0.57544ms) # docker is not available
﹣ s3 reports a missing object and deletes idempotently (5.30251ms) # docker is not available
﹣ a stream of unknown length is accepted (0.4997ms) # docker is not available
﹣ a body past the single request threshold is uploaded in parts (0.41274ms) # docker is not available
﹣ a large body really is sent as several parts, and a small one is not (0.47782ms) # docker is not available
﹣ a multipart object still serves ranges (0.41845ms) # docker is not available
﹣ a body that does not match its declared size is rejected (0.41988ms) # docker is not available
﹣ a failed multipart upload does not leave parts behind (1.21836ms) # docker is not available
﹣ bad credentials fail loudly rather than silently storing nothing (0.84099ms) # docker is not available
✔ every javascript file parses (1234.69733ms)
✔ the shell scripts parse (3.60684ms)
✔ interpolated values are escaped by default (3.12268ms)
✔ quotes and ampersands are escaped inside attributes (0.36746ms)
✔ nested templates and arrays are kept, raw is passed through (0.26968ms)
✔ null, undefined and false render as nothing (0.2279ms)
✔ attrs omits absent values and renders bare booleans (0.51536ms)
✔ an anonymous visitor sees public jobs and an invitation to sign in (500.95012ms)
✔ an anonymous visitor cannot see a private job (304.58719ms)
✔ management pages redirect an anonymous visitor to sign in (139.20007ms)
✔ signing in through the form sets a session and reveals the nav (229.87511ms)
✔ a user creates a project through the form and is shown the secret once (216.41971ms)
✔ a project page shows variables and never their values (174.74557ms)
✔ setting and removing a variable returns the updated table (190.54549ms)
✔ a user cannot open or delete a project they do not own (300.25945ms)
✔ registering a worker shows the token once and lists it (208.37553ms)
✔ the worker page lists what each machine advertises (175.77601ms)
✔ machines sharing a token are listed separately (226.19471ms)
✔ the workers list links to the worker page (177.76879ms)
✔ a worker page is not served to someone who cannot manage it (340.11278ms)
✔ a feature name is escaped rather than rendered (244.31634ms)
✔ an ordinary user cannot create shared capacity from the form (271.30013ms)
✔ the users page is administrator only and warns about what deletion destroys (339.84635ms)
✔ a running job polls, and a finished one stops (443.94103ms)
✔ a task page streams the log and stops polling once it completes (312.87717ms)
✔ log output is escaped, so a task cannot inject markup into the page (328.46472ms)
✔ a mutation without the htmx header is refused (269.36342ms)
✔ the task graph is one table, so columns line up across stages (1.05247ms)
✔ the sign in form is centred rather than stranded at the left edge (186.8624ms)
✔ row actions stay ordinary table cells, so rows keep one height (265.91696ms)
✔ the stylesheet and htmx are served, and nothing else is (191.31653ms)
✔ the project page shows retention, with server defaults as placeholders (264.94688ms)
✔ saving retention through the form stores it, and empty means inherit (230.87879ms)
✔ a negative retention value is refused by the form (275.29131ms)
✔ the project page offers a working directory, defaulting to the server one (303.955ms)
✔ saving a working directory stores it, and empty clears it (266.58263ms)
✔ an unusable working directory is refused by the form (273.34723ms)
✔ worker config loads from json and reports features (82.15667ms)
✔ worker config reads the token from a file (20.95275ms)
✔ environment overrides the worker config file (14.3211ms)
✔ worker config without a token is rejected (19.36684ms)
✔ a malformed feature is reported with its path (18.6105ms)
✔ shell quoting survives quotes and metacharacters (2.84442ms)
✔ a generated script echoes each command and stops on failure (3.04781ms)
✔ container names are valid for docker and stay unique (8.53634ms)
✔ job arguments carry mounts, env, network and privilege (3.73344ms)
✔ a task container is created without sharing anything with the worker (6.18773ms)
✔ a feature still contributes its bind mounts (1.76221ms)
✔ features resolve into mounts, env and privilege (2.02718ms)
✔ an unknown required feature is reported rather than ignored (0.86172ms)
✔ an artifact pattern reduces to the part that can be copied out (1.80028ms)
✔ overlapping artifact paths are copied out once (2.11666ms)
✔ artifact collection globs, and refuses to leave the workspace (29.59976ms)
✔ artifact when controls collection (0.41131ms)
✔ an idle worker keeps running instead of exiting (4050.37561ms)
✔ a worker stops promptly on a signal rather than after its poll interval (1518.86727ms)
✔ log output is batched and offsets advance (3.18438ms)
✔ a conflicting offset resynchronises instead of duplicating (0.7862ms)
✔ secrets are masked before anything leaves the host (1.13421ms)
✔ a secret split across two writes is still masked (0.41043ms)
✔ a failing conductor does not break the task (0.71339ms)
ℹ tests 376
ℹ suites 0
ℹ pass 340
ℹ fail 0
ℹ cancelled 0
ℹ skipped 36
ℹ todo 0
ℹ duration_ms 20022.83512
[conductor] done