→ running command: cd "/etc/byggsteg/job-clone//byggsteg/trunk" && git reset --hard && git pull
HEAD is now at 1c51c92 feat: No cache specs
Already up to date.
→ running command: cd /etc/byggsteg/job-clone/byggsteg/trunk && uname -a
Linux wolk-jjba 7.1.5-gnu #1 SMP PREEMPT_DYNAMIC 1 x86_64 GNU/Linux
→ running command: cd /etc/byggsteg/job-clone/byggsteg/trunk && git log --name-status HEAD^..HEAD
commit 1c51c920950cdc20121537f7275b40dcbdb18b59
Author: Josep Bigorra <jjbigorra@gmail.com>
Date: Tue Oct 20 15:53:55 2026 +0200
feat: No cache specs
M maak.scm
→ running command: cd /etc/byggsteg/job-clone/byggsteg/trunk && maak test
scanning directories for unit tests...
scanning present working directory for unit tests...
shuffled the files with seed 889262447 (replay with VERITAS_SEED=889262447)
found unit tests: (artifact-spec.scm ansi-spec.scm heatmap-spec.scm about-page-spec.scm error-pages-spec.scm terminal-glass-spec.scm retention-spec.scm user-bootstrap-spec.scm analytics-spec.scm console-resources-spec.scm password-reset-spec.scm retry-spec.scm form-width-spec.scm job-pipelines-spec.scm api-v2-spec.scm logs-page-spec.scm deployment-identity-spec.scm password-strength-spec.scm log-streaming-spec.scm job-search-spec.scm job-pipeline-spec.scm)
running unit tests from file: artifact-spec.scm, entrypoint: spec
ℹ️ info - shuffled with seed 889262447 (replay with VERITAS_SEED=889262447)
+----------------------------------------------+
[📑 suite] artifacts
[🧪 test] the table a collection writes to is the table the migrations make
[⚙️ assert] the artifact migration adds the artifact table
✅ got: (id job_id title artifact_path artifact_size created_at updated_at)
[🧪 test] a collected tarball is recorded, and the job it was built by finds it
[⚙️ assert] an artifact is read back by its id
✅ got: #t
[⚙️ assert] the artifact keeps the job that collected it
✅ got: spec-artifact-job
[⚙️ assert] the artifact keeps the size it was written with
✅ got: 2048
[⚙️ assert] both collections of one job are its artifacts
✅ got: (((id . spec-artifact-1) (job-id . spec-artifact-job) (title . byggsteg-job.tar.gz) (artifact-path . /tmp/byggsteg-artifact-spec-7379/spec-artifact-job.tar.gz) (artifact-size . 2048) (created-at . 1792504595) (updated-at . #f)) ((id . spec-artifact-2) (job-id . spec-artifact-job) (title . byggsteg-job-2.tar.gz) (artifact-path . /tmp/byggsteg-artifact-spec-7379/spec-artifact-job-2.tar.gz) (artifact-size . 4096) (created-at . 1792504595) (updated-at . #f)))
[⚙️ assert] a job nothing was collected for draws no artifacts
✅ got: ()
[🧪 test] only a file inside the artifact directory may be downloaded
[⚙️ assert] no row outside the artifact directory is servable
✅ got: ()
[⚙️ assert] a recorded tarball inside it is servable
✅ got: #t
[⚙️ assert] a row with no path is not servable
✅ got: #f
[🧪 test] a job asks for one tarball of bare paths, or a bundle per name
[⚙️ assert] a list of paths is one unnamed bundle, in the order written
✅ got: ((#f dist/wikimusic-api docs/manual))
[⚙️ assert] each named bundle keeps its name and its paths
✅ got: ((binaries dist bin) (docs docs/manual))
[⚙️ assert] bare paths and bundles mix, and keep the order they were written in
✅ got: ((#f README.org) (binaries dist) (docs docs/manual))
[⚙️ assert] a bundle written as one list is a name and the paths behind it
✅ got: ((binaries dist bin))
[⚙️ assert] a name written as a symbol is read as the name it spells
✅ got: ((binaries dist))
[⚙️ assert] one path written without its list is still one path
✅ got: ((#f dist/app))
[⚙️ assert] a field of nothing asks for nothing
✅ got: ()
[⚙️ assert] a bundle that names no path is dropped rather than packed empty
✅ got: ()
[🧪 test] forgetting a job's artifacts takes the tarballs and the rows
[⚙️ assert] both go, and a row naming a file outside the directory leaves it alone
✅ got: ((forgotten 3) (rows-left 0) (tarballs-gone (#f #f)) (a-file-outside-the-directory-was-left-alone #t))
[🧪 test] a sweep removes the tarballs no row points at, and nothing else
[⚙️ assert] the old orphan goes; the fresh one, the named one, a name byggsteg never writes and a directory stay
✅ got: ((removed (/tmp/byggsteg-artifact-spec-7379/orphan-old.tar.gz)) (the-old-orphan-is-gone #f) (the-fresh-one-is-kept #t) (one-a-row-still-names-is-kept #t) (a-name-byggsteg-never-writes-is-left #t) (a-directory-is-left #t))
[🧪 test] a download is offered under a name a header can carry
[⚙️ assert] a title becomes a plain file name
✅ got: my-build--trunk-..-x.tar.gz
[⚙️ assert] the second tarball of one job is numbered
✅ got: byggsteg-job-2.tar.gz
[⚙️ assert] a named bundle is offered under its own name
✅ got: (binaries.tar.gz binaries-2.tar.gz docs-manual.tar.gz)
[⚙️ assert] a size is read in the unit a reader can hold in mind
✅ got: 2.0 KiB
ℹ️ info - ran 1 tasks in: 0 seconds, 45434 microseconds
running unit tests from file: ansi-spec.scm, entrypoint: spec
ℹ️ info - shuffled with seed 889262447 (replay with VERITAS_SEED=889262447)
+----------------------------------------------+
[📑 suite] ANSI console output
[🧪 test] the escapes a terminal would act on are read, and text is not
[⚙️ assert] plain text and its newlines are left whole
✅ got: (hello
world)
[⚙️ assert] an output that ends on a newline ends on that newline
✅ got: (a
)
[⚙️ assert] the text of a run is escaped for the serializer
✅ got: (a &lt;b&gt; &amp; c)
[⚙️ assert] no escape byte survives into the markup
✅ got: [0m
[⚙️ assert] a title wrapped in an OSC is dropped, its text kept
✅ got: (abc)
[🧪 test] a line is drawn where the cursor is, not appended to
[⚙️ assert] a carriage return overwrites the line it is on
✅ got: (cd)
[⚙️ assert] a second frame shorter than the first leaves its tail
✅ got: (xycdef)
[⚙️ assert] a backspace steps the cursor back over what it wrote
✅ got: (bacspace)
[⚙️ assert] a tab advances to the next stop, eight columns on
✅ got: (tab end)
[🧪 test] what a progress line erases, it erases
[⚙️ assert] erase-in-line clears from the cursor to the end
✅ got: (done)
[⚙️ assert] clear-line clears the whole line
✅ got: (def)
[⚙️ assert] a line drawn again is the frame left on the screen
✅ got: (substitute: looking for substitutes... 100.0%)
[🧪 test] colour is asked for, changed and put back
[⚙️ assert] a weight is a class and a colour is this console's own
✅ got: ((span (@ (class font-bold)) bold) and (span (@ (class dark:text-asparagus-300 text-asparagus-700)) green))
[⚙️ assert] a reset puts the weight and the colour back
✅ got: ((span (@ (class font-bold)) loud) quiet)
[⚙️ assert] a bright colour takes the bright half of the palette
✅ got: ((span (@ (class dark:text-redwood-100 text-redwood-500)) red))
[⚙️ assert] the decorations a class can carry are carried for both themes
✅ got: ((span (@ (class italic line-through underline)) deco))
[🧪 test] the light end of the palette is the palette's own
[⚙️ assert] white ink is the pale end of the stone ramp
✅ got: ((span (@ (class dark:text-stone-500 text-onyx-500)) white))
[⚙️ assert] and its bright half the step above it, not the sheet's white
✅ got: ((span (@ (class dark:text-stone-300 text-onyx-300)) bright))
[⚙️ assert] a white ground is the console's panel paint, its bright half the paper
✅ got: ((span (@ (class bg-stone-300)) white) (span (@ (class bg-stone-100)) bright))
[⚙️ assert] and no colour of the sixteen is the browser's white or black
✅ got: bg-white
[⚙️ assert] nor the ink it draws its own text in
✅ got: text-white
[⚙️ assert] and nothing at all is grounded in the sheet's black
✅ got: bg-black
[⚙️ assert] nor drawn in it
✅ got: text-black
[🧪 test] a colour a class cannot name is written where it is exact
[⚙️ assert] a 256-colour value is the cube's own red
✅ got: ((span (@ (style color:#ff0000)) red))
[⚙️ assert] a grey of the ramp is the grey it names
✅ got: ((span (@ (style background-color:#303030)) grey))
[⚙️ assert] true colour is the colour it says, to the byte
✅ got: ((span (@ (style color:#123456)) true))
[⚙️ assert] a colour and a ground are both written
✅ got: ((span (@ (style color:#5fd7ff;background-color:#303030)) both))
[🧪 test] a line of output read as prose carries no escape and no earlier frame
[⚙️ assert] the escapes are dropped and what they coloured is kept
✅ got: red
[⚙️ assert] a line painted again comes back as the reading it ended in
✅ got: second
[⚙️ assert] and text an escape does not touch is left as it stands
✅ got: hello
world
[🧪 test] the bytes a command sent are the reading that spells them out
[⚙️ assert] an escape is spelled the way a terminal would print it
✅ got: ^[[31mred^[[0m
[⚙️ assert] a carriage return is shown rather than obeyed
✅ got: first^Msecond
[⚙️ assert] and the line break is still the line break
✅ got: a
b
[⚙️ assert] and a character outside ASCII is a character, not a byte
✅ got: café ▮ 日本語
[🧪 test] a pane reads its output the way the page is answered
[⚙️ assert] the pane draws a coloured run as a span
✅ got: #t
[⚙️ assert] the pane carries no escape into the markup
✅ got: [0m
[⚙️ assert] the pane redraws a progress line rather than keeping both
✅ got: #t
[⚙️ assert] and what the reader is shown is the reading it ended in
✅ got: >second<span class="ml-2
[⚙️ assert] while the reading it was painted over is folded out of sight
✅ got: >first<
[⚙️ assert] and the pane's own control is what unfolds it
✅ got: data-frames-toggle
ℹ️ info - ran 1 tasks in: 0 seconds, 31474 microseconds
running unit tests from file: heatmap-spec.scm, entrypoint: spec
ℹ️ info - shuffled with seed 889262447 (replay with VERITAS_SEED=889262447);;; note: auto-compilation is enabled, set GUILE_AUTO_COMPILE=0
;;; or pass the --no-auto-compile argument to disable.
;;; compiling ./test/veritas/unit/artifact-spec.scm
;;; compiling ./lib/byggsteg/artifacts.scm
;;; compiling ./lib/byggsteg/preferences.scm
;;; compiled /root/.cache/guile/ccache/3.0-LE-8-4.7/etc/byggsteg/job-clone/byggsteg/trunk/lib/byggsteg/preferences.scm.go
;;; compiling ./lib/byggsteg/upkeep.scm
;;; compiled /root/.cache/guile/ccache/3.0-LE-8-4.7/etc/byggsteg/job-clone/byggsteg/trunk/lib/byggsteg/upkeep.scm.go
;;; compiling ./lib/byggsteg/domain/artifact.scm
;;; compiling ./lib/byggsteg/domain/repo.scm
;;; compiled /root/.cache/guile/ccache/3.0-LE-8-4.7/etc/byggsteg/job-clone/byggsteg/trunk/lib/byggsteg/domain/repo.scm.go
;;; compiled /root/.cache/guile/ccache/3.0-LE-8-4.7/etc/byggsteg/job-clone/byggsteg/trunk/lib/byggsteg/domain/artifact.scm.go
;;; compiled /root/.cache/guile/ccache/3.0-LE-8-4.7/etc/byggsteg/job-clone/byggsteg/trunk/lib/byggsteg/artifacts.scm.go
;;; compiling ./lib/byggsteg/sqlite/artifact.scm
;;; compiling ./lib/byggsteg/sqlite/util.scm
;;; compiled /root/.cache/guile/ccache/3.0-LE-8-4.7/etc/byggsteg/job-clone/byggsteg/trunk/lib/byggsteg/sqlite/util.scm.go
;;; compiled /root/.cache/guile/ccache/3.0-LE-8-4.7/etc/byggsteg/job-clone/byggsteg/trunk/lib/byggsteg/sqlite/artifact.scm.go
;;; compiled /root/.cache/guile/ccache/3.0-LE-8-4.7/etc/byggsteg/job-clone/byggsteg/trunk/test/veritas/unit/artifact-spec.scm.go
;;; compiling ./test/veritas/unit/ansi-spec.scm
;;; compiling ./lib/byggsteg/ansi.scm
;;; compiled /root/.cache/guile/ccache/3.0-LE-8-4.7/etc/byggsteg/job-clone/byggsteg/trunk/lib/byggsteg/ansi.scm.go
;;; compiling ./lib/byggsteg/faces.scm
WARNING: (hygguile hygguile): imported module (hygguile components select) overrides core binding `select'
;;; compiled /root/.cache/guile/ccache/3.0-LE-8-4.7/etc/byggsteg/job-clone/byggsteg/trunk/lib/byggsteg/faces.scm.go
;;; compiled /root/.cache/guile/ccache/3.0-LE-8-4.7/etc/byggsteg/job-clone/byggsteg/trunk/test/veritas/unit/ansi-spec.scm.go
;;; compiling ./test/veritas/unit/heatmap-spec.scm
;;; compiling ./lib/byggsteg/heatmap.scm
;;; compiled /root/.cache/guile/ccache/3.0-LE-8-4.7/etc/byggsteg/job-clone/byggsteg/trunk/lib/byggsteg/heatmap.scm.go
;;; compiled /root/.cache/guile/ccache/3.0-LE-8-4.7/etc/byggsteg/job-clone/byggsteg/trunk/test/veritas/unit/heatmap-spec.scm.go
;;; compiling ./test/veritas/unit/about-page-spec.scm
;;; compiling ./test/veritas/support/deployment.scm
;;; compiled /root/.cache/guile/ccache/3.0-LE-8-4.7/etc/byggsteg/job-clone/byggsteg/trunk/test/veritas/support/deployment.scm.go
;;; compiling ./app/views/about.scm
;;; compiling ./lib/byggsteg/html.scm
;;; compiling ./lib/byggsteg/permissions.scm
;;; compiled /root/.cache/guile/ccache/3.0-LE-8-4.7/etc/byggsteg/job-clone/byggsteg/trunk/lib/byggsteg/permissions.scm.go
;;; compiling ./lib/byggsteg/job/pipeline.scm
;;; compiling ./lib/byggsteg/job/steps.scm
;;; compiling ./lib/byggsteg/job/streaming.scm
;;; compiling ./lib/byggsteg/domain/log.scm
;;; compiled /root/.cache/guile/ccache/3.0-LE-8-4.7/etc/byggsteg/job-clone/byggsteg/trunk/lib/byggsteg/domain/log.scm.go
;;; compiled /root/.cache/guile/ccache/3.0-LE-8-4.7/etc/byggsteg/job-clone/byggsteg/trunk/lib/byggsteg/job/streaming.scm.go
;;; compiled /root/.cache/guile/ccache/3.0-LE-8-4.7/etc/byggsteg/job-clone/byggsteg/trunk/lib/byggsteg/job/steps.scm.go
;;; compiling ./lib/byggsteg/domain/job.scm
;;; compiled /root/.cache/guile/ccache/3.0-LE-8-4.7/etc/byggsteg/job-clone/byggsteg/trunk/lib/byggsteg/domain/job.scm.go
;;; compiling ./lib/byggsteg/sqlite/job.scm
;;; compiled /root/.cache/guile/ccache/3.0-LE-8-4.7/etc/byggsteg/job-clone/byggsteg/trunk/lib/byggsteg/sqlite/job.scm.go
;;; compiling ./lib/byggsteg/sqlite/log.scm
;;; compiled /root/.cache/guile/ccache/3.0-LE-8-4.7/etc/byggsteg/job-clone/byggsteg/trunk/lib/byggsteg/sqlite/log.scm.go
;;; compiled /root/.cache/guile/ccache/3.0-LE-8-4.7/etc/byggsteg/job-clone/byggsteg/trunk/lib/byggsteg/job/pipeline.scm.go
WARNING: (byggsteg html): `get-short-commit-sha' impor
+----------------------------------------------+
[📑 suite] activity heatmap
[🧪 test] the calendar between a day number and a date is the reader's own
[⚙️ assert] every date is read back as the day number it is known by
✅ got: ()
[⚙️ assert] the epoch is day zero, and the day before it is minus one
✅ got: (0 -1)
[⚙️ assert] a leap day is a day of its own
✅ got: 11016
[⚙️ assert] the week starts on Sunday, and the epoch was a Thursday
✅ got: (4 2 3)
[🧪 test] jobs are counted by the day they were queued on
[⚙️ assert] a day is counted once per job, and what is not a date is left out
✅ got: ((20739 . 3) (20730 . 2) (20737 . 1))
[🧪 test] the grid ends with the week today is in
[⚙️ assert] two columns of seven days, from the Sunday before to today
✅ got: ((columns 2) (cells-per-column 7) (first-day 20730) (last-day 20743) (today-is-in-the-last-column 3) (a-day-not-happened-yet #f))
[🧪 test] a square is as dark as its day is busy
[⚙️ assert] the busiest day is darkest, and a day with no jobs is not drawn dark
✅ got: ((20739 . 4) (20730 . 3) (20737 . 2) (20738 . 0))
[⚙️ assert] the four steps between are read off the busiest day
✅ got: ((against-a-busiest-day-of-ten (0 . 0) (2 . 1) (3 . 2) (5 . 2) (6 . 3) (9 . 3) (10 . 4)) (no-busiest-day 1) (a-day-that-has-not-happened #f))
[🧪 test] the months are named along the top of the grid
[⚙️ assert] a year of weeks is labelled, from its first column on
✅ got: ((labels 13) (first-label-name Oct) (first-label-column 0) (two-days-of-one-month-are-named-alike #t) (two-months-are-named-differently #t))
[🧪 test] a deployment with no jobs draws a grid rather than nothing
[⚙️ assert] an empty heatmap has a total, a busiest day and a full year of squares
✅ got: ((total 0) (max 0) (columns 50) (cells 350))
ℹ️ info - ran 1 tasks in: 0 seconds, 18065 microseconds
running unit tests from file: about-page-spec.scm, entrypoint: spec
ℹ️ info - shuffled with seed 889262447 (replay with VERITAS_SEED=889262447)
+----------------------------------------------+
[📑 suite] about page
[🧪 test] the page a crawler is handed says what it is
[⚙️ assert] it declares itself a document of this deployment
✅ got: <!DOCTYPE html>
[⚙️ assert] it is dressed in the same sheet as every other page
✅ got: /css/byggsteg.olive.min.css
[⚙️ assert] its canonical address is the page's own
✅ got: /about
[⚙️ assert] its title names the deployment and the page
✅ got: <title>byggsteg - about</title>
[🧪 test] the account is on the page, and it is this deployment's
[⚙️ assert] the story names the people, the framework and the three doors
✅ got: ()
[⚙️ assert] and it holds nothing the page was never meant to say
✅ got: ()
[⚙️ assert] the page opens under the console's own prompt
✅ got: $ byggsteg --origin
[🧪 test] the page can be read on a phone
[⚙️ assert] no panel of it forces a width wider than the screen
✅ got: ()
[⚙️ assert] the panels are told they may shrink
✅ got: min-w-0
[🧪 test] the page is built by the components rather than describing them
[⚙️ assert] no component call was left un-made in the markup
✅ got: ()
[⚙️ assert] every element of the page is an element a browser knows
✅ got: ()
[⚙️ assert] no element of the page is closed on itself
✅ got: ()
ℹ️ info - ran 1 tasks in: 0 seconds, 155526 microseconds
running unit tests from file: error-pages-spec.scm, entrypoint: spec
ℹ️ info - shuffled with seed 889262447 (replay with VERITAS_SEED=889262447)
+----------------------------------------------+
[📑 suite] error pages
[🧪 test] no page closes an element on itself
[⚙️ assert] no element of a status page swallows what follows it
✅ got: ()
[🧪 test] Artanis is handed a page for each status
[⚙️ assert] every status has a handler that answers with a string
✅ got: ()
[⚙️ assert] a status the table does not name still gets a page
✅ got: #t
[⚙️ assert] and it names the status it was asked for
✅ got: 418 unexpected status
[🧪 test] a page is built by the components rather than describing them
[⚙️ assert] no page carries a component call instead of its element
✅ got: ()
[⚙️ assert] the 404 page heads with the code and traces it in a pre
✅ got: ()
[🧪 test] each status answers with a page of this deployment's console
[⚙️ assert] the 400 page carries the chrome, the code and its words
✅ got: ()
[⚙️ assert] the 401 page carries the chrome, the code and its words
✅ got: ()
[⚙️ assert] the 404 page carries the chrome, the code and its words
✅ got: ()
[⚙️ assert] the 500 page carries the chrome, the code and its words
✅ got: ()
[🧪 test] a page a reader can act on
[⚙️ assert] a missing credential is answered with the way to sign in
✅ got: /login
[⚙️ assert] a path that answers nothing still leads to the job queue
✅ got: /logs
[⚙️ assert] a server-side failure wears the red hairline
✅ got: border-redwood-700
[⚙️ assert] a client error keeps the phosphor hairline
✅ got: border-redwood-700
ℹ️ info - ran 1 tasks in: 0 seconds, 59262 microseconds
running unit tests from file: terminal-glass-spec.scm, entrypoint: spec
ℹ️ info - shuffled with seed 889262447 (replay with VERITAS_SEED=889262447)
+----------------------------------------------+
[📑 suite] terminal glass
[🧪 test] a pane closes its decorations and keeps its content outside them
[⚙️ assert] no element of a pane is closed on itself
✅ got: />
[⚙️ assert] the content sits two elements deep: the pane and its layer
✅ got: 2
ℹ️ info - ran 1 tasks in: 0 seconds, 18052 microseconds
running unit tests from file: retention-spec.scm, entrypoint: spec
ℹ️ info - shuffled with seed 889262447 (replay with VERITAS_SEED=889262447)
+----------------------------------------------+
[📑 suite] job retention
[🧪 test] a run that has outlived the retention is removed whole
[⚙️ assert] the tarball, its row, the log and the job all go, and the younger runs stay
✅ got: ((due-for-pruning (spec-old-run)) (pruned (spec-old-run)) (the-old-run-is-gone #f) (its-log-went-with-it #f) (its-tarball-row-went-with-it 0) (its-tarball-file-went-with-it #f) (the-run-from-yesterday-is-kept #t) (its-log-is-kept #t) (its-tarball-is-kept #t) (the-run-still-going-is-kept #t) (its-tarball-is-kept-too #t))
[🧪 test] a pass removes no more than the batch it was given
[⚙️ assert] the oldest goes first, the run behind it waits for the next pass
✅ got: ((due-asked-for-one (spec-oldest-run)) (due-asked-for-two (spec-oldest-run spec-older-run)) (a-pass-bounded-to-one (spec-oldest-run)) (the-run-behind-it-is-still-there #t) (and-the-next-pass-takes-it (spec-older-run)))
[🧪 test] a retention of 0 days keeps every run
[⚙️ assert] nothing is due, and a prune asked for anyway removes nothing
✅ got: ((nothing-is-due ()) (and-nothing-is-pruned 0))
[🧪 test] a run that is removed is removed whole
[⚙️ assert] the job, its log, its tarball's row and its tarball all go, and the run beside it stays
✅ got: ((the-removal-answers spec-removable-run) (the-job-is-gone #f) (its-log-went-with-it #f) (its-tarball-row-went-with-it 0) (its-tarball-file-went-with-it #f) (the-run-beside-it-is-still-there #t))
[🧪 test] a removal that raises part way leaves the run as it was
[⚙️ assert] the halves deleted before it raised are put back, down to the tarball
✅ got: ((the-removal-raised #t) (the-job-is-still-there #t) (its-log-is-still-there #t) (its-tarball-row-is-still-there 1) (its-tarball-file-is-still-there #t))
[🧪 test] a log whose job is gone is swept away
[⚙️ assert] the orphan goes, and the logs whose run is still there are left alone
✅ got: ((the-logs-whose-job-is-gone (log-spec-orphaned)) (the-orphan-is-gone #f) (the-logs-that-have-a-job-are-kept #t) (and-no-run-was-touched #t))
[🧪 test] a sweep removes no more than the batch it was given
[⚙️ assert] the oldest orphan goes first, the one behind it waits for the next sweep
✅ got: ((a-sweep-bounded-to-one (log-spec-elder-orphaned)) (the-one-behind-it-is-still-there #t) (and-the-next-sweep-takes-it (log-spec-younger-orphaned)))
ℹ️ info - ran 1 tasks in: 0 seconds, 118286 microseconds
running unit tests from file: user-bootstrap-spec.scm, entrypoint: spec
ℹ️ info - shuffled with seed 889262447 (replay with VERITAS_SEED=889262447)
+----------------------------------------------+
[📑 suite] user bootstrap
[🧪 test] the first account is a super user a sign-in recognizes
[⚙️ assert] the row holds the username, the email, a hash of the password and every permission
✅ got: ((the-account-is-there #t) (with-the-username-given alice) (and-the-email-given alice@example.org) (the-password-is-not-stored #f) (but-the-hash-of-it-is #t) (and-another-password-is-not #f) (it-is-stored-with-a-salt-of-its-own #t) (it-holds-every-permission (byggsteg:job-create byggsteg:job-delete byggsteg:profile-create byggsteg:profile-delete byggsteg:user-create byggsteg:user-delete byggsteg:modify-permissions)))
[🧪 test] an account named its own permissions, or none
[⚙️ assert] a limited account holds what was asked for, an empty one holds nothing, and an email names one account
✅ got: ((the-limited-account-was-made #t) (with-exactly-the-permissions-named (byggsteg:job-create byggsteg:profile-create)) (its-password-works-too #t) (an-account-can-be-made-with-none ()) (and-it-signs-in-all-the-same #t) (two-accounts-cannot-share-an-email #f))
ℹ️ info - ran 1 tasks in: 0 seconds, 4391 microseconds
running unit tests from file: analytics-spec.scm, entrypoint: spec
ℹ️ info - shuffled with seed 889262447 (replay with VERITAS_SEED=889262447)
+----------------------------------------------+
[📑 suite] the page-view script a deployment may put on its pages
[🧪 test] a deployment with a service of its own reports there
[⚙️ assert] the page names that service
✅ got: data-endpoint="https://events.example.org/v1/events/register"
[⚙️ assert] at the rate that deployment asked for
✅ got: data-interval="9000"
[⚙️ assert] and not to the service this project names
✅ got: api.symbanta.jointhefreeworld.org
[🧪 test] a deployment that reports nowhere puts the script on no page
[⚙️ assert] no page names the service
✅ got: symbanta
[🧪 test] a deployment that keeps its files elsewhere names that host
[⚙️ assert] the script moves to the asset host with everything else
✅ got: src="https://assets.example.org/js/symbanta.js"
[🧪 test] and the deployment has the script it names
[⚙️ assert] pub/js/symbanta.js is there to be served
✅ got: #t
[🧪 test] a page reports itself to the service this project names
[⚙️ assert] the page carries a page-view script
✅ got: #t
[⚙️ assert] and it is the file this deployment serves
✅ got: src="/js/symbanta.js"
[⚙️ assert] which names the service it reports to
✅ got: data-endpoint="https://api.symbanta.jointhefreeworld.org/v1/events/register"
[⚙️ assert] and how often, in milliseconds
✅ got: data-interval="4000"
ℹ️ info - ran 1 tasks in: 0 seconds, 53643 microseconds
running unit tests from file: console-resources-spec.scm, entrypoint: spec
ℹ️ info - shuffled with seed 889262447 (replay with VERITAS_SEED=889262447)
+----------------------------------------------+
[📑 suite] the console's own appearance, served by the deployment itself
[🧪 test] the Lucida in front of the stack is the deployment's to serve
[⚙️ assert] a page asks for the Lucida sheet by default
✅ got: /css/lucida.css
[⚙️ assert] a deployment that may not serve those faces asks for none
✅ got: /css/lucida.css
[⚙️ assert] and one with a sheet of its own is asked for that
✅ got: https://example.org/lucida.css
[⚙️ assert] which is asked for as it stands and not moved to an asset host
✅ got: https://assets.example.org/https://example.org
[🧪 test] and serves every sheet it names itself
[⚙️ assert] the page names the console's own sheets, and no others
✅ got: (/css/fonts.css /css/lucida.css /css/phosphor.css /css/byggsteg.olive.min.css)
[⚙️ assert] and serves /css/fonts.css, which it has
✅ got: #t
[⚙️ assert] and serves /css/lucida.css, which it has
✅ got: #t
[⚙️ assert] and serves /css/phosphor.css, which it has
✅ got: #t
[⚙️ assert] and serves /css/byggsteg.olive.min.css, which it has
✅ got: #t
[⚙️ assert] and serves /img/byggsteg-logo.png, which it has
✅ got: #t
[🧪 test] and the Lucida sheet names faces the deployment has
[⚙️ assert] the sheet declares the Lucida faces
✅ got: #t
[⚙️ assert] and the deployment has LSANS.woff to serve
✅ got: #t
[⚙️ assert] and the deployment has LSANSI.woff to serve
✅ got: #t
[⚙️ assert] and the deployment has LSANSD.woff to serve
✅ got: #t
[⚙️ assert] and the deployment has LSANSDI.woff to serve
✅ got: #t
[⚙️ assert] and the deployment has LTYPE.woff to serve
✅ got: #t
[⚙️ assert] and the deployment has LTYPEO.woff to serve
✅ got: #t
[⚙️ assert] and the deployment has LTYPEB.woff to serve
✅ got: #t
[⚙️ assert] and the deployment has LTYPEBO.woff to serve
✅ got: #t
[⚙️ assert] and the deployment has l_10646.woff to serve
✅ got: #t
[🧪 test] no page of the console asks anybody else for it
[⚙️ assert] the page asks nobody at fonts.googleapis.com
✅ got: fonts.googleapis.com
[⚙️ assert] the page asks nobody at fonts.gstatic.com
✅ got: fonts.gstatic.com
[⚙️ assert] the page asks nobody at cdn.jsdelivr.net
✅ got: cdn.jsdelivr.net
[⚙️ assert] the page asks nobody at unpkg.com
✅ got: unpkg.com
[⚙️ assert] the page asks nobody at cdnjs.cloudflare.com
✅ got: cdnjs.cloudflare.com
[⚙️ assert] the page asks nobody at /static-assets/
✅ got: /static-assets/
[🧪 test] a deployment that keeps its assets elsewhere names that host
[⚙️ assert] every sheet moves to the asset host, together
✅ got: (https://assets.example.org/css/fonts.css https://assets.example.org/css/lucida.css https://assets.example.org/css/phosphor.css https://assets.example.org/css/byggsteg.olive.min.css)
[⚙️ assert] and none of them is left at the deployment's own path
✅ got: <!DOCTYPE html><html lang="en" data-theme="dark"><head><title>console resources spec</title><script type="text/javascript">
(function () {
var root = document.documentElement
var choice = null
try { choice = localStorage.getItem('data-theme') } catch (error) { choice = null }
var scheme = function () {
root.style.colorScheme = root.getAttribute('data-theme') === 'light' ? 'light' : 'dark'
}
root.setAttribute('data-theme', choice === 'light' ? 'light' : 'dark')
scheme()
if (typeof MutationObserver !== 'undefined') {
new MutationObserver(scheme).observe(root, {attributes: true, attributeFilter: ['data-theme']})
}
})()
</script><meta name="viewport" content="width=device-width, initial-scale=1.0" /><meta charset="UTF-8" /><meta name="description" content="byggsteg is a hackable and extensible CI/CD orchestrator written in Guile Scheme: a pipeline is Lisp code, a running job's log is read while it is written, and the runner, the logs, the artifacts and the users are all yours to host." /><meta name="robots" content="index, follow" /><link rel="canonical" href="http://127.0.0.1:3000/" /><meta property="og:type" content="website" /><meta property="og:site_name" content="byggsteg" /><meta property="og:title" content="console resources spec" /><meta property="og:description" content="byggsteg is a hackable and extensible CI/CD orchestrator written in Guile Scheme: a pipeline is Lisp code, a running job's log is read while it is written, and the runner, the logs, the artifacts and the users are all yours to host." /><meta property="og:url" content="http://127.0.0.1:3000/" /><meta property="og:image" content="https://assets.example.org/img/byggsteg-logo.png" /><meta name="twitter:card" content="summary_large_image" /><meta name="twitter:title" content="console resources spec" /><meta name="twitter:description" content="byggsteg is a hackable and extensible CI/CD orchestrator written in Guile Scheme: a pipeline is Lisp code, a running job's log is read while it is written, and the runner, the logs, the artifacts and the users are all yours to host." /><meta name="twitter:image" content="https://assets.example.org/img/byggsteg-logo.png" /><link rel="stylesheet" href="https://assets.example.org/css/fonts.css" /><link rel="stylesheet" href="https://assets.example.org/css/lucida.css" /><link rel="preload" as="style" onload="this.onload=null;this.rel='stylesheet'" href="https://assets.example.org/css/phosphor.css" /><noscript><link rel="stylesheet" href="https://assets.example.org/css/phosphor.css" /></noscript><style type="text/css">/*
hygguile - cozy and professional user-interfaces for everyone
Copyright © Josep Bigorra <jjbigorra@gmail.com>
hygguile is free software: you can redistribute it and/or modify
it under the terms of the Lesser GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
hygguile is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
Lesser GNU General Public License for more details.
You should have received a copy of the Lesser GNU General Public License
along with hygguile. If not, see <https://www.gnu.org/licenses/>.
*/
/* Flyout menu / dropdown */
.flyout-submenu-button[aria-expanded="true"]::after {
content: "↑";
padding-left: 0.8em;
}
.flyout-submenu-button[aria-expanded="false"]::after {
content: "↓";
padding-left: 0.8em;
}
.flyout-submenu[hidden] {
display: none;
}
</style><style type="text/css">/*
hygguile - cozy and professional user-interfaces for everyone
Copyright © Josep Bigorra <jjbigorra@gmail.com>
hygguile is free software: you can redistribute it and/or modify
it under the terms of the Lesser GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
hygguile is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
Lesser GNU General Public License for more details.
You should have received a copy of the Lesser GNU General Public License
along with hygguile. If not, see <https://www.gnu.org/licenses/>.
*/
/*
Companion stylesheet for hygguile.
Olive CSS intentionally only ships utility classes. A handful of
components need a little structural CSS that cannot be expressed with
single utilities (the styling of native <progress> and <details>, the
CSS-only tabs, switch, modal and tooltip widgets). Everything here is
plain, dependency-free CSS and works without JavaScript.
Wherever Olive already provides the feature we lean on its utilities
instead of reimplementing it: screen-reader-only text uses `sr-only`,
loading animations use `animate-spin` and `animate-pulse`, and focus
rings use the `focus-visible:outline-*` variants.
*/
/* ===== A couple of missing intrinsic-size utilities ===== */
.h-auto {
height: auto;
}
.w-auto {
width: auto;
}
/* ===== Spinner =====
Only the ring visual lives here; the rotation is Olive's
`animate-spin` utility, applied by the component itself. */
.hg-spinner {
border-radius: 50%;
border: 0.25rem solid rgba(120, 113, 108, 0.35);
border-top-color: #57534e;
}
[data-theme="dark"] .hg-spinner {
border-color: rgba(214, 211, 209, 0.25);
border-top-color: #d6d3d1;
}
/* ===== A readable default ink =====
Components carry their own colour classes, but text a page does not
decorate must still be readable, and Olive ships no base ink of its own.
Both rules land before olive.min.css in the document, so a `text-*`
utility anywhere in the markup still wins over them. */
body {
color: #1c1917;
}
[data-theme="dark"] body {
color: #ededee;
}
/* ===== Native progress bar ===== */
.hg-progress {
width: 100%;
height: 1rem;
border: 0;
border-radius: 81.92rem;
overflow: hidden;
appearance: none;
-webkit-appearance: none;
background: rgba(120, 113, 108, 0.25);
}
.hg-progress::-webkit-progress-bar {
background: rgba(120, 113, 108, 0.25);
border-radius: 81.92rem;
}
.hg-progress::-webkit-progress-value {
background: #57534e;
border-radius: 81.92rem;
}
.hg-progress::-moz-progress-bar {
background: #57534e;
border-radius: 81.92rem;
}
[data-theme="dark"] .hg-progress,
[data-theme="dark"] .hg-progress::-webkit-progress-bar {
background: rgba(214, 211, 209, 0.2);
}
[data-theme="dark"] .hg-progress::-webkit-progress-value,
[data-theme="dark"] .hg-progress::-moz-progress-bar {
background: #d6d3d1;
}
/* ===== CSS-only tabs (no JavaScript) ===== */
.hg-tabs {
display: flex;
flex-direction: column;
}
.hg-tab-input {
position: absolute;
width: 1px;
height: 1px;
padding: 0;
margin: -1px;
overflow: hidden;
clip: rect(0, 0, 0, 0);
white-space: nowrap;
border: 0;
}
.hg-tab-labels {
display: flex;
flex-direction: row;
flex-wrap: wrap;
gap: 0.25rem;
border-bottom: 2px solid rgba(120, 113, 108, 0.35);
}
.hg-tab-label {
cursor: pointer;
padding: 0.5rem 1rem;
border-radius: 0.75rem 0.75rem 0 0;
font-weight: 500;
/* 7.4:1 on the panel, not the 4.6:1 of a lighter grey: an unselected
label is still text and still has to be read */
color: #57534e;
transition: color 0.15s ease, background-color 0.15s ease;
}
[data-theme="dark"] .hg-tab-label {
color: #d6d3d1;
}
.hg-tab-panels {
padding-top: 1rem;
}
.hg-tab-panel {
display: none;
}
/* active label highlight */
.hg-tabs:has(> .hg-tab-input:nth-of-type(1):checked) > .hg-tab-labels > .hg-tab-label:nth-child(1),
.hg-tabs:has(> .hg-tab-input:nth-of-type(2):checked) > .hg-tab-labels > .hg-tab-label:nth-child(2),
.hg-tabs:has(> .hg-tab-input:nth-of-type(3):checked) > .hg-tab-labels > .hg-tab-label:nth-child(3),
.hg-tabs:has(> .hg-tab-input:nth-of-type(4):checked) > .hg-tab-labels > .hg-tab-label:nth-child(4),
.hg-tabs:has(> .hg-tab-input:nth-of-type(5):checked) > .hg-tab-labels > .hg-tab-label:nth-child(5),
.hg-tabs:has(> .hg-tab-input:nth-of-type(6):checked) > .hg-tab-labels > .hg-tab-label:nth-child(6),
.hg-tabs:has(> .hg-tab-input:nth-of-type(7):checked) > .hg-tab-labels > .hg-tab-label:nth-child(7),
.hg-tabs:has(> .hg-tab-input:nth-of-type(8):checked) > .hg-tab-labels > .hg-tab-label:nth-child(8) {
background: rgba(120, 113, 108, 0.25);
color: #1c1917;
}
[data-theme="dark"] .hg-tabs:has(> .hg-tab-input:nth-of-type(1):checked) > .hg-tab-labels > .hg-tab-label:nth-child(1),
[data-theme="dark"] .hg-tabs:has(> .hg-tab-input:nth-of-type(2):checked) > .hg-tab-labels > .hg-tab-label:nth-child(2),
[data-theme="dark"] .hg-tabs:has(> .hg-tab-input:nth-of-type(3):checked) > .hg-tab-labels > .hg-tab-label:nth-child(3),
[data-theme="dark"] .hg-tabs:has(> .hg-tab-input:nth-of-type(4):checked) > .hg-tab-labels > .hg-tab-label:nth-child(4),
[data-theme="dark"] .hg-tabs:has(> .hg-tab-input:nth-of-type(5):checked) > .hg-tab-labels > .hg-tab-label:nth-child(5),
[data-theme="dark"] .hg-tabs:has(> .hg-tab-input:nth-of-type(6):checked) > .hg-tab-labels > .hg-tab-label:nth-child(6),
[data-theme="dark"] .hg-tabs:has(> .hg-tab-input:nth-of-type(7):checked) > .hg-tab-labels > .hg-tab-label:nth-child(7),
[data-theme="dark"] .hg-tabs:has(> .hg-tab-input:nth-of-type(8):checked) > .hg-tab-labels > .hg-tab-label:nth-child(8) {
background: rgba(214, 211, 209, 0.2);
color: #f5f5f4;
}
/* active panel */
.hg-tabs:has(> .hg-tab-input:nth-of-type(1):checked) > .hg-tab-panels > .hg-tab-panel:nth-child(1),
.hg-tabs:has(> .hg-tab-input:nth-of-type(2):checked) > .hg-tab-panels > .hg-tab-panel:nth-child(2),
.hg-tabs:has(> .hg-tab-input:nth-of-type(3):checked) > .hg-tab-panels > .hg-tab-panel:nth-child(3),
.hg-tabs:has(> .hg-tab-input:nth-of-type(4):checked) > .hg-tab-panels > .hg-tab-panel:nth-child(4),
.hg-tabs:has(> .hg-tab-input:nth-of-type(5):checked) > .hg-tab-panels > .hg-tab-panel:nth-child(5),
.hg-tabs:has(> .hg-tab-input:nth-of-type(6):checked) > .hg-tab-panels > .hg-tab-panel:nth-child(6),
.hg-tabs:has(> .hg-tab-input:nth-of-type(7):checked) > .hg-tab-panels > .hg-tab-panel:nth-child(7),
.hg-tabs:has(> .hg-tab-input:nth-of-type(8):checked) > .hg-tab-panels > .hg-tab-panel:nth-child(8) {
display: block;
}
/* keyboard focus */
.hg-tabs:has(> .hg-tab-input:nth-of-type(1):focus-visible) > .hg-tab-labels > .hg-tab-label:nth-child(1),
.hg-tabs:has(> .hg-tab-input:nth-of-type(2):focus-visible) > .hg-tab-labels > .hg-tab-label:nth-child(2),
.hg-tabs:has(> .hg-tab-input:nth-of-type(3):focus-visible) > .hg-tab-labels > .hg-tab-label:nth-child(3),
.hg-tabs:has(> .hg-tab-input:nth-of-type(4):focus-visible) > .hg-tab-labels > .hg-tab-label:nth-child(4),
.hg-tabs:has(> .hg-tab-input:nth-of-type(5):focus-visible) > .hg-tab-labels > .hg-tab-label:nth-child(5),
.hg-tabs:has(> .hg-tab-input:nth-of-type(6):focus-visible) > .hg-tab-labels > .hg-tab-label:nth-child(6),
.hg-tabs:has(> .hg-tab-input:nth-of-type(7):focus-visible) > .hg-tab-labels > .hg-tab-label:nth-child(7),
.hg-tabs:has(> .hg-tab-input:nth-of-type(8):focus-visible) > .hg-tab-labels > .hg-tab-label:nth-child(8) {
outline: 2px solid currentColor;
outline-offset: 2px;
}
/* ===== Switch backed by a native checkbox ===== */
.hg-switch-input {
position: absolute;
width: 1px;
height: 1px;
padding: 0;
margin: -1px;
overflow: hidden;
clip: rect(0, 0, 0, 0);
white-space: nowrap;
border: 0;
}
.hg-switch {
position: relative;
display: inline-block;
flex: none;
width: 2.75rem;
height: 1.5rem;
border-radius: 81.92rem;
background: #a8a29e;
cursor: pointer;
transition: background 0.2s ease;
}
.hg-switch::after {
content: "";
position: absolute;
top: 0.125rem;
left: 0.125rem;
width: 1.25rem;
height: 1.25rem;
border-radius: 81.92rem;
background: #ffffff;
transition: transform 0.2s ease;
}
.hg-switch-input:checked ~ .hg-switch {
background: #57534e;
}
[data-theme="dark"] .hg-switch-input:checked ~ .hg-switch {
background: #d6d3d1;
}
.hg-switch-input:checked ~ .hg-switch::after {
transform: translateX(1.25rem);
}
.hg-switch-input:focus-visible ~ .hg-switch {
outline: 2px solid currentColor;
outline-offset: 2px;
}