Skip to content

v0.8.0

Latest

Choose a tag to compare

@xescugc xescugc released this 25 Oct 22:17

Added

  • Pipelines list pagination: the grid loads 24 at a time with search and sort via limit, offset, q and sort; status polling is limited to visible cards. (#696)
  • Secret store: store secrets and plain values in PikoCI, team- or pipeline-scoped, age-encrypted and masked in logs; use them with secret "pikoci" { key = "..." }. (#667)
  • on_trigger hook on jobs: notifies all reachable jobs before builds are created, so GitHub Checks show queued immediately. (#528)
  • Conditional job execution (if/else_if/else): jobs can branch on runtime values ($GET_*, $INPUT_*, ...); skipped branches show a muted badge. (#164)
  • Parameterized manual triggers: jobs declare input blocks (typed, defaults, dropdowns) collected on manual trigger as $INPUT_<name>. (#467)
  • interruptible on jobs: when true, a new build cancels older running, pending and waiting builds of the job. (#612)
  • allow_failure on jobs: when true, a failed build becomes warning and no longer blocks downstream jobs; failed builds can also be marked as warning in the UI. (#610)
  • disable_retry on jobs: Prevents build retries via API and hides the retry button in the UI (#617).
  • Notification integration tests: worker-level tests with a mock HTTP server cover notify steps, lifecycle filtering and message interpolation. (#608)

Changed

  • Graph zoom: plain mouse wheel now scrolls the page over a pipeline graph; zoom with Ctrl/⌘+wheel, trackpad pinch, or the +/− buttons. Fullscreen still zooms on wheel.
  • Pipeline editor: the Update/Create button now sits above the graph preview instead of below it.
  • Static asset caching: assets serve from a per-build path with a one-year immutable cache, fixing Safari running stale JS after a deploy. (#693)
  • Build list page load: GET /jobs/:name/builds omits steps for list views (~16MB to ~50KB for 50 builds); steps load when a tab is opened. (#652)
  • Pipeline image query: image.dot uses a lightweight query, cutting response time from 6-8s to under 1s. (#652)

Security

  • Worker tokens could reach every route not explicitly denied: worker access is now an allowlist and team-scoped tokens are refused outside their team. (#704)

Fixed

  • Images and deploy.sh builds reported dev (unknown): published Docker images and self-deploy binaries now get the version and commit, so assets key off the commit. (#699)
  • OAuth login failed without --external-url: the server now derives the redirect URL from the request when the flag is unset, and the admin page shows the callback URL it sends. (#702)
  • Resource checks starved on busy servers: due resources are now checked longest-waiting first, with webhook and manual triggers ahead. (#708)
  • Server failed to restart with --pipeline-* flags: startup seeding now updates an existing pipeline instead of failing on the unique index. (#686)
  • Unpinned get pulled the oldest version: buildPullParams reversed an already newest-first list; it now picks the newest version by id (#694).
  • Second get in a job never resolved: the queued version id now applies only to the triggering resource. (#680)
  • Zombie processes accumulate as PID 1: tini is now the entrypoint init, reaping orphaned helper processes until the pids limit is hit (#681).
  • Windows startup panic loading embedded templates: template lookups use path.Join, as embed.FS requires forward slashes. (#641)
  • Running step elapsed time not shown: steps in progress now display a live elapsed timer. (#655)
  • Services inside if branches not stopped: they are now returned to the plan runner and stopped, even when the branch fails. (#664)
  • Consecutive if blocks merged into one chain: a second if now starts its own chain, so else/else_if attach to the right if. (#664)
  • on_trigger notify hooks always failing: script args were pre-expanded, blanking shell variables like $HEAD_SHA; they are now passed as-is. (#671)
  • Route vars clobbered by request body: createPipeline, createPipelineImage and createTrigger now assign path variables after decoding the body. (#639)
  • Condition variable injection: $VAR values are substituted after parsing so they cannot alter the condition, and malformed conditions are rejected at save time (#662).
  • passed constraint infinite trigger loop: checkPassedConstraints now requests only succeeded/warning builds, so builds are no longer deleted and re-triggered. (#656)
  • Concurrency fixes: ready_check respects build cancellation, API token last-used writes are bounded, and the gRPC server reacts to send errors. (#658)
  • for_each name collision: expanding a for_each job now errors at save time if a generated name collides with a declared job. (#660)
  • Non-deterministic job ordering: job queries and pipeline scans now use a stable tiebreaker when jobs share an order value. (#660)
  • Input defaults missing on auto-triggered builds: resource-check triggers now apply declared input defaults, so INPUT_* is always set. (#650)
  • Build list tabs show stale status: tabs now refresh when a build moves to a terminal state instead of staying on "running".
  • Trigger handler authorization bypass: JSON body could override route vars to trigger jobs in unauthorized teams; body is now decoded before route vars are applied (#644).
  • Active build data overwritten by stale snapshot: onFullBuildFetched now merges only enrichment fields into the polling state.
  • Git resource check on empty ref: git checks now fail instead of recording an empty-ref version when ls-remote finds no ref. (#676)