Test success 3m 37s
Annotations 1
warning
Node.js 20 is deprecated. The following actions target Node.js 20 but are being forced to run on Node.js 24: actions/setup-go@v5. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
- Current runner version: 'v0.5.0'
- GITHUB_TOKEN Permissions
- Contents: read
- Metadata: read
- Packages: read
- Secret source: Actions
- Cache mode: write
- Prepare workflow directory
- Prepare all required actions
- Getting action download info
- Download action repository 'actions/checkout@v6' (SHA:d23441a48e516b6c34aea4fa41551a30e30af803)
- Download action repository 'actions/setup-go@v5' (SHA:40f1582b2485089dde7abd97c1529aa768e1baff)
- Complete job name: Test
- Checking docker version
- ##[command]/usr/bin/docker version --format '{{.Server.APIVersion}}'
- '1.56'
- Docker daemon API version: '1.56'
- ##[command]/usr/bin/docker version --format '{{.Client.APIVersion}}'
- '1.56'
- Docker client API version: '1.56'
- Clean up resources from previous jobs
- ##[command]/usr/bin/docker ps --all --quiet --no-trunc --filter "label=942c79"
- ##[command]/usr/bin/docker network prune --force --filter "label=942c79"
- Create local container network
- ##[command]/usr/bin/docker network create --label 942c79 github_network_52a60e9e788546299d118ffdc70309d9
- 29c4ffe7d7cbe2c1444502244842803d10304eae8dd6000659529129e58fb97a
- Starting job container
- ##[command]/usr/bin/docker pull archlinux:latest
- latest: Pulling from library/archlinux
- 7450fb54bb4f: Pulling fs layer
- e4c7c6c5e741: Pulling fs layer
- e4c7c6c5e741: Download complete
- 7450fb54bb4f: Verifying Checksum
- 7450fb54bb4f: Download complete
- 7450fb54bb4f: Pull complete
- e4c7c6c5e741: Pull complete
- Digest: sha256:e43f1fd80e073992c5f173efbbbf65144170bf60aeb7369940087d63eacea8f4
- Status: Downloaded newer image for archlinux:latest
- docker.io/library/archlinux:latest
- ##[command]/usr/bin/docker create --name 8529e149a39e4d5199a5dbc36aa0ccb1_archlinuxlatest_1e9355 --label 942c79 --workdir /__w/ermite/ermite --network github_network_52a60e9e788546299d118ffdc70309d9 -e "HOME=/github/home" -e GITHUB_ACTIONS=true -e CI=true -v "/var/run/docker.sock":"/var/run/docker.sock" -v "/home/runner/work":"/__w" -v "/home/runner/externals":"/__e":ro -v "/home/runner/work/_temp":"/__w/_temp" -v "/home/runner/work/_actions":"/__w/_actions" -v "/opt/hostedtoolcache":"/__t" -v "/home/runner/work/_temp/_github_home":"/github/home" -v "/home/runner/work/_temp/_github_workflow":"/github/workflow" --entrypoint "tail" archlinux:latest "-f" "/dev/null"
- 98ae63c3091ee2eee26180d9005462a3ea62dd6ec6ed089e2050676e0a80bc4e
- ##[command]/usr/bin/docker start 98ae63c3091ee2eee26180d9005462a3ea62dd6ec6ed089e2050676e0a80bc4e
- 98ae63c3091ee2eee26180d9005462a3ea62dd6ec6ed089e2050676e0a80bc4e
- ##[command]/usr/bin/docker ps --all --filter id=98ae63c3091ee2eee26180d9005462a3ea62dd6ec6ed089e2050676e0a80bc4e --filter status=running --no-trunc --format "{{.ID}} {{.Status}}"
- 98ae63c3091ee2eee26180d9005462a3ea62dd6ec6ed089e2050676e0a80bc4e Up Less than a second
- ##[command]/usr/bin/docker inspect --format "{{range .Config.Env}}{{println .}}{{end}}" 98ae63c3091ee2eee26180d9005462a3ea62dd6ec6ed089e2050676e0a80bc4e
- HOME=/github/home
- GITHUB_ACTIONS=true
- CI=true
- PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
- LANG=C.UTF-8
- Waiting for all services to be ready
- Run pacman -Syu --noconfirm --needed git gcc openssh nodejs
- <U+001B>[36;1mpacman -Syu --noconfirm --needed git gcc openssh nodejs<U+001B>[0m
- shell: sh -e {0}
- env:
- GOWORK: off
- :: Synchronizing package databases...
- core downloading...
- extra downloading...
- :: Starting full system upgrade...
- resolving dependencies...
- looking for conflicting packages...
- Package (24) Old Version New Version Net Change Download Size
- extra/abseil-cpp 20260817.0-2 7.15 MiB 1.35 MiB
- extra/ada 4.0.0-1 0.95 MiB 0.31 MiB
- extra/c-ares 1.34.8-1 0.53 MiB 0.23 MiB
- core/db5.3 5.3.28-7 6.48 MiB 1.26 MiB
- core/dbus 1.16.2-1 1.16.2-2 0.03 MiB 0.35 MiB
- extra/gtest 1.18.0-1 1.67 MiB 0.39 MiB
- core/libedit 20260512_3.1-1 0.27 MiB 0.11 MiB
- core/libisl 0.28-1 5.90 MiB 0.94 MiB
- core/libmpc 1.4.1-1 0.19 MiB 0.09 MiB
- extra/libuv 1.52.1-2 0.64 MiB 0.26 MiB
- core/linux-api-headers 7.2-1 7.3-1 0.07 MiB 1.53 MiB
- core/perl 5.44.0-1 72.30 MiB 20.98 MiB
- extra/perl-error 0.17030-3 0.04 MiB 0.02 MiB
- extra/perl-mailtools 2.22-3 0.10 MiB 0.06 MiB
- extra/perl-timedate 2.35-1 0.15 MiB 0.06 MiB
- extra/simdjson 1:5.0.5-1 10.27 MiB 0.44 MiB
- core/systemd 262-1 262.1-1 0.03 MiB 10.68 MiB
- core/systemd-libs 262-1 262.1-1 0.01 MiB 1.44 MiB
- core/systemd-sysvcompat 262-1 262.1-1 0.00 MiB 0.01 MiB
- extra/zlib-ng 2.3.3-1 0.28 MiB 0.11 MiB
- core/gcc 16.2.1+r23+gd564253eb6c8-1 220.89 MiB 57.93 MiB
- extra/git 2.56.0-1 33.54 MiB 7.43 MiB
- extra/nodejs 26.12.0-1 64.12 MiB 17.48 MiB
- core/openssh 10.6p1-2 6.77 MiB 1.43 MiB
- Total Download Size: 124.89 MiB
- Total Installed Size: 484.66 MiB
- Net Upgrade Size: 432.37 MiB
- :: Proceed with installation? [Y/n]
- :: Retrieving packages...
- gcc-16.2.1+r23+gd564253eb6c8-1-x86_64 downloading...
- perl-5.44.0-1-x86_64 downloading...
- nodejs-26.12.0-1-x86_64 downloading...
- systemd-262.1-1-x86_64 downloading...
- git-2.56.0-1-x86_64 downloading...
- linux-api-headers-7.3-1-x86_64 downloading...
- systemd-libs-262.1-1-x86_64 downloading...
- openssh-10.6p1-2-x86_64 downloading...
- abseil-cpp-20260817.0-2-x86_64 downloading...
- db5.3-5.3.28-7-x86_64 downloading...
- libisl-0.28-1-x86_64 downloading...
- simdjson-1:5.0.5-1-x86_64 downloading...
- gtest-1.18.0-1-x86_64 downloading...
- dbus-1.16.2-2-x86_64 downloading...
- ada-4.0.0-1-x86_64 downloading...
- libuv-1.52.1-2-x86_64 downloading...
- c-ares-1.34.8-1-x86_64 downloading...
- libedit-20260512_3.1-1-x86_64 downloading...
- zlib-ng-2.3.3-1-x86_64 downloading...
- libmpc-1.4.1-1-x86_64 downloading...
- perl-timedate-2.35-1-any downloading...
- perl-mailtools-2.22-3-any downloading...
- perl-error-0.17030-3-any downloading...
- systemd-sysvcompat-262.1-1-x86_64 downloading...
- checking keyring...
- checking package integrity...
- loading package files...
- checking for file conflicts...
- :: Processing package changes...
- upgrading linux-api-headers...
- installing db5.3...
- installing perl...
- installing perl-error...
- installing perl-timedate...
- installing perl-mailtools...
- installing zlib-ng...
- upgrading systemd-libs...
- installing git...
- Optional dependencies for git
- git-zsh-completion: upstream zsh completion
- tk: gitk and git gui
- openssh: ssh transport and crypto [pending]
- man: show help with `git command --help`
- perl-libwww: git svn
- perl-term-readkey: git svn and interactive.singlekey setting
- perl-io-socket-ssl: git send-email TLS support
- perl-authen-sasl: git send-email TLS support
- perl-cgi: gitweb (web interface) support
- python: git svn & git p4
- subversion: git svn
- org.freedesktop.secrets: keyring credential helper
- libsecret: libsecret credential helper [installed]
- less: the default pager for git
- installing libisl...
- installing libmpc...
- installing gcc...
- Optional dependencies for gcc
- lib32-gcc-libs: for generating code for 32-bit ABI
- installing libedit...
- installing openssh...
- Optional dependencies for openssh
- libfido2: FIDO/U2F support
- sh: for ssh-copy-id and findssl.sh [installed]
- x11-ssh-askpass: input passphrase in X
- xorg-xauth: X11 forwarding
- installing gtest...
- Optional dependencies for gtest
- python: gmock generator
- installing abseil-cpp...
- installing ada...
- installing c-ares...
- installing libuv...
- installing simdjson...
- installing nodejs...
- Optional dependencies for nodejs
- npm: nodejs package manager
- upgrading dbus...
- upgrading systemd...
- Creating group 'git' with GID 969.
- Creating user 'git' (git daemon user) with UID 969 and GID 969.
- upgrading systemd-sysvcompat...
- :: Running post-transaction hooks...
- ( 1/12) Creating system user accounts...
- ( 2/12) Creating temporary files...
- /usr/lib/tmpfiles.d/journal-nocow.conf:26: Failed to resolve specifier: uninitialized /etc/ detected, skipping.
- All rules containing unresolvable specifiers will be skipped.
- ( 3/12) Updating journal message catalog...
- ( 4/12) Updating udev hardware database...
- ( 5/12) Applying kernel sysctl settings...
- Skipped: Current root is not booted.
- ( 6/12) Reloading system manager configuration...
- Skipped: Current root is not booted.
- ( 7/12) Reloading user manager configuration...
- Skipped: Current root is not booted.
- ( 8/12) Enqueuing marked services...
- Skipped: Current root is not booted.
- ( 9/12) Reloading device manager configuration...
- Skipped: Current root is not booted.
- (10/12) Arming ConditionNeedsUpdate...
- (11/12) Reloading system bus configuration...
- Skipped: Current root is not booted.
- (12/12) Checking for old perl modules...
- Run actions/checkout@v6
- with:
- repository: bnema/ermite
- token: ***
- ssh-strict: true
- ssh-user: git
- persist-credentials: true
- clean: true
- sparse-checkout-cone-mode: true
- fetch-depth: 1
- fetch-tags: false
- show-progress: true
- lfs: false
- submodules: false
- set-safe-directory: true
- allow-unsafe-pr-checkout: false
- env:
- GOWORK: off
- ##[command]/usr/bin/docker exec 98ae63c3091ee2eee26180d9005462a3ea62dd6ec6ed089e2050676e0a80bc4e sh -c "cat /etc/*release | grep ^ID"
- Syncing repository: bnema/ermite
- Getting Git version info
- Working directory is '/__w/ermite/ermite'
- [command]/usr/sbin/git version
- git version 2.56.0
- Temporarily overriding HOME='/__w/_temp/dcb94079-9b54-4400-908a-b3dcfec51650' before making global git config changes
- Adding repository directory to the temporary git global config as a safe directory
- [command]/usr/sbin/git config --global --add safe.directory /__w/ermite/ermite
- Deleting the contents of '/__w/ermite/ermite'
- Determining repository object format
- Initializing the repository
- [command]/usr/sbin/git init /__w/ermite/ermite
- hint: Using 'master' as the name for the initial branch. This default branch name
- hint: will change to "main" in Git 3.0. To configure the initial branch name
- hint: to use in all of your new repositories, which will suppress this warning,
- hint: call:
- hint:
- hint: git config --global init.defaultBranch <name>
- hint:
- hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
- hint: 'development'. The just-created branch can be renamed via this command:
- hint:
- hint: git branch -m <name>
- hint:
- hint: Disable this message with "git config set advice.defaultBranchName false"
- Initialized empty Git repository in /__w/ermite/ermite/.git/
- [command]/usr/sbin/git remote add origin http://ermite:7341/bnema/ermite
- Disabling automatic garbage collection
- [command]/usr/sbin/git config --local gc.auto 0
- Setting up auth
- Removing SSH command configuration
- [command]/usr/sbin/git config --local --name-only --get-regexp core\.sshCommand
- [command]/usr/sbin/git submodule foreach --recursive sh -c "git config --local --name-only --get-regexp 'core\.sshCommand' && git config --local --unset-all 'core.sshCommand' || :"
- Removing HTTP extra header
- [command]/usr/sbin/git config --local --name-only --get-regexp http\.http\:\/\/ermite\:7341\/\.extraheader
- [command]/usr/sbin/git submodule foreach --recursive sh -c "git config --local --name-only --get-regexp 'http\.http\:\/\/ermite\:7341\/\.extraheader' && git config --local --unset-all 'http.http://ermite:7341/.extraheader' || :"
- Removing includeIf entries pointing to credentials config files
- [command]/usr/sbin/git config --local --name-only --get-regexp ^includeIf\.gitdir:
- [command]/usr/sbin/git submodule foreach --recursive git config --local --show-origin --name-only --get-regexp remote.origin.url
- [command]/usr/sbin/git config --file /__w/_temp/git-credentials-ec711f77-5559-4938-b441-eab5affc2ed7.config http.http://ermite:7341/.extraheader AUTHORIZATION: basic ***
- [command]/usr/sbin/git config --local includeIf.gitdir:/__w/ermite/ermite/.git.path /__w/_temp/git-credentials-ec711f77-5559-4938-b441-eab5affc2ed7.config
- [command]/usr/sbin/git config --local includeIf.gitdir:/__w/ermite/ermite/.git/worktrees/*.path /__w/_temp/git-credentials-ec711f77-5559-4938-b441-eab5affc2ed7.config
- [command]/usr/sbin/git config --local includeIf.gitdir:/github/workspace/.git.path /github/runner_temp/git-credentials-ec711f77-5559-4938-b441-eab5affc2ed7.config
- [command]/usr/sbin/git config --local includeIf.gitdir:/github/workspace/.git/worktrees/*.path /github/runner_temp/git-credentials-ec711f77-5559-4938-b441-eab5affc2ed7.config
- Fetching the repository
- [command]/usr/sbin/git -c protocol.version=2 fetch --no-tags --prune --no-recurse-submodules --depth=1 origin +3483340ba3f364ca5f8397cb40fdfcbaf00abbf1:refs/remotes/pull/8/merge
- From http://ermite:7341/bnema/ermite
- * [new ref] 3483340ba3f364ca5f8397cb40fdfcbaf00abbf1 -> pull/8/merge
- Determining the checkout info
- [command]/usr/sbin/git sparse-checkout disable
- [command]/usr/sbin/git config --local --unset-all extensions.worktreeConfig
- Checking out the ref
- [command]/usr/sbin/git checkout --progress --force refs/remotes/pull/8/merge
- Note: switching to 'refs/remotes/pull/8/merge'.
- You are in 'detached HEAD' state. You can look around, make experimental
- changes and commit them, and you can discard any commits you make in this
- state without impacting any branches by switching back to a branch.
- If you want to create a new branch to retain commits you create, you may
- do so (now or later) by using -c with the switch command. Example:
- git switch -c <new-branch-name>
- Or undo this operation with:
- git switch -
- Turn off this advice by setting config variable advice.detachedHead to false
- HEAD is now at 3483340 Merge 05fc636732aa61f7a2796c5e0dba9d9adb8883ec into 453499267f41ae8b3e4bd97a7445ec1c9de27425
- [command]/usr/sbin/git log -1 --format=%H
- 3483340ba3f364ca5f8397cb40fdfcbaf00abbf1
- Run git config --global --add safe.directory "$GITHUB_WORKSPACE"
- <U+001B>[36;1mgit config --global --add safe.directory "$GITHUB_WORKSPACE"<U+001B>[0m
- shell: sh -e {0}
- env:
- GOWORK: off
- Run actions/setup-go@v5
- with:
- go-version-file: go.mod
- cache: true
- check-latest: false
- env:
- GOWORK: off
- ##[command]/usr/bin/docker exec 98ae63c3091ee2eee26180d9005462a3ea62dd6ec6ed089e2050676e0a80bc4e sh -c "cat /etc/*release | grep ^ID"
- Setup go version spec 1.27.1
- Attempting to download 1.27.1...
- (node:339) [DEP0040] DeprecationWarning: The `punycode` module is deprecated. Please use a userland alternative instead.
- (Use `node --trace-deprecation ...` to show where the warning was created)
- matching 1.27.1...
- Acquiring 1.27.1 from https://github.com/actions/go-versions/releases/download/1.27.1-33583469715/go-1.27.1-linux-x64.tar.gz
- Extracting Go...
- [command]/usr/sbin/tar xz --warning=no-unknown-keyword --overwrite -C /__w/_temp/d037b990-ce28-4570-9f64-cebeb2e0b92d -f /__w/_temp/0400d217-7b5d-4826-a857-4fb03dc30642
- Successfully extracted go to /__w/_temp/d037b990-ce28-4570-9f64-cebeb2e0b92d
- Adding to the cache ...
- Successfully cached go to /__t/go/1.27.1/x64
- Added go to the path
- Successfully set up Go version 1.27.1
- [command]/__t/go/1.27.1/x64/bin/go env GOMODCACHE
- [command]/__t/go/1.27.1/x64/bin/go env GOCACHE
- /github/home/go/pkg/mod
- /github/home/.cache/go-build
- Cache Size: ~649 MB (680128088 B)
- [command]/usr/sbin/tar -xf /__w/_temp/a6973364-6859-4a2b-b02f-90c9dc1348e3/cache.tzst -P -C /__w/ermite/ermite --use-compress-program unzstd
- Cache restored successfully
- Cache restored from key: setup-go-Linux-x64-undefined-go-1.27.1-bc5d6f3f0bbe357f0453cf4241b3c09d07420f89548b25d4a57e46b71b20728d
- go version go1.27.1 linux/amd64
- go env
- AR='ar'
- CC='gcc'
- CGO_CFLAGS='-O2 -g'
- CGO_CPPFLAGS=''
- CGO_CXXFLAGS='-O2 -g'
- CGO_ENABLED='1'
- CGO_FFLAGS='-O2 -g'
- CGO_LDFLAGS='-O2 -g'
- CXX='g++'
- GCCGO='gccgo'
- GO111MODULE=''
- GOAMD64='v1'
- GOARCH='amd64'
- GOAUTH='netrc'
- GOBIN='/github/home/go/bin'
- GOCACHE='/github/home/.cache/go-build'
- GOCACHEPROG=''
- GODEBUG=''
- GOENV='/github/home/.config/go/env'
- GOEXE=''
- GOEXPERIMENT=''
- GOFIPS140='off'
- GOFLAGS=''
- GOGCCFLAGS='-fPIC -m64 -pthread -Wl,--no-gc-sections -fmessage-length=0 -ffile-prefix-map=/tmp/go-build1106438222=/tmp/go-build -gno-record-gcc-switches'
- GOHOSTARCH='amd64'
- GOHOSTOS='linux'
- GOINSECURE=''
- GOMOD='/__w/ermite/ermite/go.mod'
- GOMODCACHE='/github/home/go/pkg/mod'
- GONOPROXY=''
- GONOSUMDB=''
- GOOS='linux'
- GOPACKAGESDRIVER=''
- GOPATH='/github/home/go'
- GOPRIVATE=''
- GOPROXY='https://proxy.golang.org,direct'
- GOROOT='/__t/go/1.27.1/x64'
- GOSUMDB='sum.golang.org'
- GOTELEMETRY='local'
- GOTELEMETRYDIR='/github/home/.config/go/telemetry'
- GOTMPDIR=''
- GOTOOLCHAIN='auto'
- GOTOOLDIR='/__t/go/1.27.1/x64/pkg/tool/linux_amd64'
- GOVCS=''
- GOVERSION='go1.27.1'
- GOWORK='off'
- PKG_CONFIG='pkg-config'
- Run git --version
- <U+001B>[36;1mgit --version<U+001B>[0m
- <U+001B>[36;1mv=$(git --version | sed -E 's/^git version ([0-9]+)\.([0-9]+).*/\1 \2/')<U+001B>[0m
- <U+001B>[36;1mset -- $v<U+001B>[0m
- <U+001B>[36;1mif [ "$1" -lt 2 ] || { [ "$1" -eq 2 ] && [ "$2" -lt 45 ]; }; then<U+001B>[0m
- <U+001B>[36;1m echo "git 2.45 or newer is required" >&2<U+001B>[0m
- <U+001B>[36;1m exit 1<U+001B>[0m
- <U+001B>[36;1mfi<U+001B>[0m
- shell: sh -e {0}
- env:
- GOWORK: off
- git version 2.56.0
- Run go mod tidy
- <U+001B>[36;1mgo mod tidy<U+001B>[0m
- <U+001B>[36;1mgit diff --exit-code -- go.mod go.sum<U+001B>[0m
- shell: sh -e {0}
- env:
- GOWORK: off
- Run scripts/templ-drift.sh
- <U+001B>[36;1mscripts/templ-drift.sh<U+001B>[0m
- shell: sh -e {0}
- env:
- GOWORK: off
- (✓) Post-generation event received, processing... [ updates=0 needsRestart=true needsBrowserReload=true ]
- (✓) Complete [ updates=0 duration=194.299361ms ]
- Run go vet ./...
- <U+001B>[36;1mgo vet ./...<U+001B>[0m
- shell: sh -e {0}
- env:
- GOWORK: off
- Run go test -race $(go list ./... | grep -vx 'bnema.dev/ermite/internal/app')
- <U+001B>[36;1mgo test -race $(go list ./... | grep -vx 'bnema.dev/ermite/internal/app')<U+001B>[0m
- shell: sh -e {0}
- env:
- GOWORK: off
- ? bnema.dev/ermite/cmd/ermite [no test files]
- ? bnema.dev/ermite/gen/ermite/storage [no test files]
- ok bnema.dev/ermite/internal/adapters/ciartifacts 1.030s
- ok bnema.dev/ermite/internal/adapters/cilogs 1.040s
- ok bnema.dev/ermite/internal/adapters/cisummaries 1.067s
- ok bnema.dev/ermite/internal/adapters/client (cached)
- ok bnema.dev/ermite/internal/adapters/ermitegit 116.312s
- ok bnema.dev/ermite/internal/adapters/eventbus 1.014s
- ok bnema.dev/ermite/internal/adapters/gitcli 14.057s
- ok bnema.dev/ermite/internal/adapters/githttp 2.144s
- ok bnema.dev/ermite/internal/adapters/githubapi 1.332s
- ok bnema.dev/ermite/internal/adapters/githubraw 1.024s
- ok bnema.dev/ermite/internal/adapters/gitremote 3.233s
- ok bnema.dev/ermite/internal/adapters/httpserver (cached)
- ok bnema.dev/ermite/internal/adapters/kvstore 2.468s
- ? bnema.dev/ermite/internal/adapters/oidchttp [no test files]
- ok bnema.dev/ermite/internal/adapters/rpc 1.094s
- ok bnema.dev/ermite/internal/adapters/secretbox 1.018s
- ok bnema.dev/ermite/internal/adapters/sigverify 3.607s
- ok bnema.dev/ermite/internal/adapters/sshsig 1.044s
- ok bnema.dev/ermite/internal/adapters/web 46.178s
- ok bnema.dev/ermite/internal/adapters/webauthn 1.106s
- ok bnema.dev/ermite/internal/boundary 1.193s
- ok bnema.dev/ermite/internal/clientlimit 2.850s
- ok bnema.dev/ermite/internal/config (cached)
- ok bnema.dev/ermite/internal/domain 1.132s
- ? bnema.dev/ermite/internal/ports [no test files]
- ? bnema.dev/ermite/internal/ports/mocks [no test files]
- ? bnema.dev/ermite/internal/readertest [no test files]
- ok bnema.dev/ermite/internal/usecase 22.328s
- ? bnema.dev/ermite/scripts/loadtest [no test files]
- Run go tool hexcheck -fail-on warn ./...
- <U+001B>[36;1mgo tool hexcheck -fail-on warn ./...<U+001B>[0m
- shell: sh -e {0}
- env:
- GOWORK: off
- Run node --test 'internal/adapters/web/jstest/*.test.mjs'
- <U+001B>[36;1mnode --test 'internal/adapters/web/jstest/*.test.mjs'<U+001B>[0m
- shell: sh -e {0}
- env:
- GOWORK: off
- ✔ the palette: options, selected option and aria-activedescendant follow the cursor (3.579349ms)
- ✔ the palette: a filter moves the active option, no match empties it and collapses the popup (0.564538ms)
- ✔ the palette: the file hits that arrive later get ids, roles and the active option (11.24218ms)
- ✔ Escape in the finder clears the query, keeps the focus in the field and does not reach the global handler (2.768314ms)
- ✔ the finder follows the cursor moved from outside (j / k) (1.762355ms)
- ✔ a swap that replaces the focused row puts the focus on the same control of the new one (1.489585ms)
- ✔ a swap with the focus elsewhere does not touch it (0.43855ms)
- ✔ a removed row hands the focus to the next row, else the previous, else the content (0.867676ms)
- ✔ a removed row skips the rows a filter hides (0.837908ms)
- ✔ shortcuts off: single characters do nothing, ctrl k, escape and enter still work (1.193556ms)
- ✔ shortcuts off: the checkbox, the note and the palette action show the state (0.552385ms)
- ✔ shortcuts off: another tab's change applies here (0.249809ms)
- ✔ the preference is read from storage when the page loads (2.603226ms)
- ✔ activity moves a home row up only in newest activity order, preserving focus and cursor (1.992659ms)
- AC6 index of 100000 paths: 55.0 ms (target < 150, asserted < 1500)
- AC6 queries (incremental): t: 63.2 ms (94793 matches); tr: 60.2 ms (65622 matches); tre: 66.9 ms (51036 matches); tree: 58.3 ms (35414 matches); tree h: 7.6 ms (4167 matches); wbtree: 12.7 ms (7290 matches); internal handler: 7.3 ms (1042 matches); zzzq: 0.3 ms (0 matches)
- AC6 cold 'e': 57.2 ms; cold 'inthand': 5.7 ms; 'tree h' with positions of the hits: 8.6 ms (target < 30, asserted < 300)
- ✔ search: rejects what is not a subsequence (2.396362ms)
- ✔ search: ranking (0.784168ms)
- ✔ search: wbtree matches web/tree.templ (0.434736ms)
- ✔ search: basename prefix beats a deep match (0.399691ms)
- ✔ search: camelCase and separators earn bonuses (0.389901ms)
- ✔ search: several terms (2.544807ms)
- ✔ search: top k, ties by length then path (2.88052ms)
- ✔ search: incremental results equal a cold search (37.158491ms)
- ✔ positions (0.62192ms)
- ✔ non-ASCII paths: ASCII-only folding, positions index the original (0.811141ms)
- ✔ positions of a long path (greedy) (2.260818ms)
- ✔ visible (0.717692ms)
- ✔ performance on 100,000 paths (AC6) (515.465045ms)
- ✔ search and positions agree with a brute-force reference (416.296602ms)
- ✔ Enter before the results opens the top hit once they come (47.724844ms)
- ✔ the status counts the files and names the real size of a truncated list (4.589419ms)
- ✔ an Enter is dropped when the field changed since (1.207898ms)
- ✔ Enter on current results opens the cursor row, whichever way the cursor moved (1.131729ms)
- ✔ an input method composing does not drive the finder (1.823076ms)
- ✔ Escape clears the field and puts the cursor back on the tree (2.925715ms)
- ✔ label marks a surrogate pair whole (1.040525ms)
- ✔ the palette lists the file hits under its entries (5.035748ms)
- ✔ Enter typed before the frame of the query runs opens the top hit (2.022071ms)
- ✔ the palette keeps one search per frame and drops a search when it closes (2.29888ms)
- ✔ the palette drops the results of a query that is stale (2.339716ms)
- ✔ a list that fits is left alone (2.315457ms)
- ✔ the chips past the line give way to a … button that names them (0.639765ms)
- ✔ fitting again after a resize shows what fits now, with one … button (0.510519ms)
- ✔ a refit keeps the … button, and its focus (0.412536ms)
- ✔ pressing … shows every chip and moves the focus to the first one it showed (0.523337ms)
- ✔ the service worker is registered at the root scope once the page has loaded (2.59333ms)
- ✔ a refused registration is not an error (0.342359ms)
- ✔ the page leaves the browser its own install offer (0.18157ms)
- ✔ leadingZeroBits counts the zero bits at the start (1.610829ms)
- ✔ b64urlDecode reads the nonce the server sends (1.040065ms)
- ✔ the hashed bytes are nonce || ":" || decimal solution (0.414994ms)
- ✔ the solver finds the very solution of the Go vector (134.210116ms)
- ✔ the solver is independent of the batch size and reports progress (69.137313ms)
- ✔ counterClass: warn from 90 %, over above the maximum (0.2868ms)
- ✔ length counts characters, not UTF-16 units (0.167074ms)
- ✔ state: the button opens only when solved, waited and not over (0.340656ms)
- ✔ serverLength counts NFC code points like the server (0.373909ms)
- ✔ serverLength drops what the server strips and trims (0.290212ms)
- ✔ state keeps the button disabled when a title is empty or a field is over (0.17102ms)
- ✔ drafts are saved, restored once, and scoped to the path (0.351298ms)
- ✔ onPageShow reloads only for a bfcache restore (0.09268ms)
- ✔ init restores a draft and reloads on a bfcache pageshow (1.267538ms)
- ✔ with nothing stored the layout is cards, and the page is as rendered (4.729937ms)
- ✔ the stored layout is applied when the page loads (0.770401ms)
- ✔ a stored value that is not a layout falls back to cards (0.5243ms)
- ✔ set stores the layout, shows it and fits the chips again (0.597353ms)
- ✔ pressing a layout button sets it; other clicks do nothing (2.41713ms)
- ✔ another tab's change applies live (0.556665ms)
- ✔ a page without .home or without ermiteFit still works (0.275135ms)
- ✔ without usable storage the choice holds for the page (0.415645ms)
- ✔ a drop shorter than the delay says nothing (5.677898ms)
- ✔ a drop that lasts shows offline, once, until the stream is back (0.319085ms)
- ✔ it does nothing for a job that is over, or a page without a feed (5.52758ms)
- ✔ it opens the feed after the last line the page holds (1.006298ms)
- ✔ it appends the lines of a batch (1.280067ms)
- ✔ a piece that continues a line of an earlier batch joins that line (0.382585ms)
- ✔ it scrolls with the log only while the reader is at its end (0.827894ms)
- ✔ ci-end closes the feed, and a closed connection stays closed (0.365494ms)
- ✔ windowOf: the start of the window of a file (2.267924ms)
- ✔ menuKey: modes by number, D toggles the deletion, nothing else (0.86615ms)
- ✔ step: stays in the list (0.207035ms)
- ✔ rangeURL requires the same file, side and MR and sorts endpoints (0.809239ms)
- ✔ quote opens the thread reply and prefills and focuses its textarea (0.324104ms)
- ✔ reveal selects the split note ({"diff":"split"}), including after lazy loading (0.836769ms)
- ✔ reveal selects the split note ({"view":"split"}), including after lazy loading (0.193292ms)
- ✔ the script registers exactly one submit listener and no click listener (2.98875ms)
- ✔ login: begin, get, finish with toJSON(), then home (2.036248ms)
- ✔ register: the trimmed name goes to begin only, then reload (3.319956ms)
- ✔ a submit from another form is not ours and keeps its default (1.199562ms)
- ✔ busy: aria-busy, the waiting text, and a double submit makes one begin (8.24527ms)
- ✔ a double submit of the add form makes one begin (1.653761ms)
- ✔ after a failure the page is free for another try (0.952327ms)
- ✔ on failure the button is enabled again, not busy, and has the focus (1.316463ms)
- ✔ on success the button stays busy and disabled, without stealing focus (0.601349ms)
- ✔ begin refused: the server reason is shown, nothing else is called (0.662271ms)
- ✔ a 400 from register/begin focuses the name field (0.523483ms)
- ✔ other refusals of register give the focus back to the button (0.893882ms)
- ✔ a 400 at begin on the login page focuses the button: there is no name (0.282227ms)
- ✔ a refusal without a JSON body falls back to the status (0.38022ms)
- ✔ a 403 without a reason says the session ended (1.077809ms)
- ✔ a 403 with a reason of its own shows that reason (0.283119ms)
- ✔ the owner cancels the prompt (1.294109ms)
- ✔ AbortError says cancelled (0.31088ms)
- ✔ an authenticator that already holds a passkey (0.366904ms)
- ✔ a network failure is reported (0.301034ms)
- ✔ a null credential is not sent (0.238613ms)
- ✔ a credential without toJSON is reported, not sent (0.397725ms)
- ✔ a begin answer that is not JSON (0.374839ms)
- ✔ a begin answer with the wrong shape (1.361743ms)
- ✔ a name over 64 bytes (UTF-8) stops before begin (0.399443ms)
- ✔ 64 bytes is fine, in ASCII or in two-byte characters (0.347386ms)
- ✔ control and direction characters stop before begin (1.770454ms)
- ✔ plain text with a zero width joiner, accents and emoji is fine (0.20369ms)
- ✔ an empty name is allowed: the server names the passkey (0.392959ms)
- ✔ an old browser: the buttons are disabled with a reason, nothing is fetched (0.404894ms)
- ✔ no PublicKeyCredential at all (0.202116ms)
- ✔ a supported browser keeps the buttons enabled (0.334718ms)
- ✔ a disabled button ignores a submit (0.233895ms)
- ✔ register needs parseCreationOptionsFromJSON (1.413252ms)
- ✔ l focuses the main action of the panel, j / k walk its shown controls, h goes back (3.405177ms)
- ✔ without a primary action, l takes the first shown control (0.311443ms)
- ✔ h outside the panel leaves the focus alone; j / k outside it are not taken (0.310787ms)
- ✔ get answers the stored value, else the fallback (null by default) (3.503483ms)
- ✔ set stores strings; null and undefined remove; remove forgets (0.326223ms)
- ✔ without storage nothing throws and the value holds for the page (0.335354ms)
- ✔ a storage that refuses reads and writes does not throw either (0.280156ms)
- ✔ a quota error on write keeps the value for the page; a later write that works wins (0.267164ms)
- ✔ a getter of localStorage that throws (sandboxed frame) is survived (0.34441ms)
- ✔ watch calls back with the new value of its key only, and stops when told (0.945996ms)
- ✔ watch ignores the events of another storage area (sessionStorage) (0.294423ms)
- ✔ an event from another tab replaces a value held for this page (0.325354ms)
- ✔ pref answers only values of its list, else the fallback (0.421106ms)
- ✔ pref works with the empty string as a value (keys-off) (0.229121ms)
- ✔ pref.watch gives validated values (0.253961ms)
- ✔ a directory opens in place and closes again without a request (13.719042ms)
- ✔ TS-001/TS-002: a directory that loads under a closed ancestor comes in hidden (3.060874ms)
- ✔ a closed directory under a closed ancestor stays closed when the ancestor opens (2.767427ms)
- ✔ TS-006: only rows are kept; no row falls back to navigating (3.720088ms)
- ✔ a modified or non-left click keeps the link navigation (1.616746ms)
- ✔ a second click while the rows are loading is ignored (1.971588ms)
- ✔ a failed request navigates to the directory (0.728768ms)
- ✔ the tree-more row has a depth and follows its directory (1.046829ms)
- ✔ l opens a closed directory, then enters it; h closes it, or goes to its directory (1.096202ms)
- ✔ l on a file opens it; Enter opens a file and toggles a directory (0.989148ms)
- ✔ h on a top-level row goes to the parent page, when there is one (0.398391ms)
- ✔ the keys are not the tree's while the finder shows its results (0.206997ms)
- ✔ a click on the name puts the cursor on the row (0.334934ms)
- ✔ init: one tab stop, the row under the cursor; name links are out of the tab order (0.364858ms)
- ✔ l or h before any focus in the tree brings the focus to the cursor row (1.780854ms)
- ✔ l and h move the focus with the cursor, and the tab stop with them (1.704574ms)
- ✔ sync (j k gg G of ermite.js) puts the focus and the tab stop on the row (0.319851ms)
- ✔ a click puts the focus and the tab stop on its row, directory or not (1.879286ms)
- ✔ collapsing a branch with the focus or the cursor in it moves both to the directory (2.056141ms)
- ✔ collapsing a directory the focus is not in leaves the focus alone (1.689078ms)
- ✔ Enter acts on the row that has the cursor, which is the focused row (1.678003ms)
- ✔ inserted rows get their level; the server gave them posinset and setsize (1.723164ms)
- ✔ Down, Up, Home and End walk the visible rows, with the focus (0.94484ms)
- ✔ Right opens a closed directory, enters an open one, and does nothing on a file (1.542306ms)
- ✔ Left closes an open directory, goes to the parent, and does nothing at the top (1.814105ms)
- ✔ l opens a file where Right does not (0.34411ms)
- ✔ the tree takes no arrow key while the finder shows its results, nor any other key (0.213334ms)
- ℹ tests 160
- ℹ suites 0
- ℹ pass 160
- ℹ fail 0
- ℹ cancelled 0
- ℹ skipped 0
- ℹ todo 0
- ℹ duration_ms 1090.850153
- Post job cleanup.
- ##[command]/usr/bin/docker exec 98ae63c3091ee2eee26180d9005462a3ea62dd6ec6ed089e2050676e0a80bc4e sh -c "cat /etc/*release | grep ^ID"
- (node:40926) [DEP0040] DeprecationWarning: The `punycode` module is deprecated. Please use a userland alternative instead.
- (Use `node --trace-deprecation ...` to show where the warning was created)
- [command]/__t/go/1.27.1/x64/bin/go env GOMODCACHE
- [command]/__t/go/1.27.1/x64/bin/go env GOCACHE
- /github/home/go/pkg/mod
- /github/home/.cache/go-build
- Cache hit occurred on the primary key setup-go-Linux-x64-undefined-go-1.27.1-bc5d6f3f0bbe357f0453cf4241b3c09d07420f89548b25d4a57e46b71b20728d, not saving cache.
- Post job cleanup.
- ##[command]/usr/bin/docker exec 98ae63c3091ee2eee26180d9005462a3ea62dd6ec6ed089e2050676e0a80bc4e sh -c "cat /etc/*release | grep ^ID"
- [command]/usr/sbin/git version
- git version 2.56.0
- Copying '/github/home/.gitconfig' to '/__w/_temp/7eb516f6-3195-4770-9fd8-c3aef3537d22/.gitconfig'
- Temporarily overriding HOME='/__w/_temp/7eb516f6-3195-4770-9fd8-c3aef3537d22' before making global git config changes
- Adding repository directory to the temporary git global config as a safe directory
- [command]/usr/sbin/git config --global --add safe.directory /__w/ermite/ermite
- Removing SSH command configuration
- [command]/usr/sbin/git config --local --name-only --get-regexp core\.sshCommand
- [command]/usr/sbin/git submodule foreach --recursive sh -c "git config --local --name-only --get-regexp 'core\.sshCommand' && git config --local --unset-all 'core.sshCommand' || :"
- Removing HTTP extra header
- [command]/usr/sbin/git config --local --name-only --get-regexp http\.http\:\/\/ermite\:7341\/\.extraheader
- [command]/usr/sbin/git submodule foreach --recursive sh -c "git config --local --name-only --get-regexp 'http\.http\:\/\/ermite\:7341\/\.extraheader' && git config --local --unset-all 'http.http://ermite:7341/.extraheader' || :"
- Removing includeIf entries pointing to credentials config files
- [command]/usr/sbin/git config --local --name-only --get-regexp ^includeIf\.gitdir:
- includeif.gitdir:/__w/ermite/ermite/.git.path
- includeif.gitdir:/__w/ermite/ermite/.git/worktrees/*.path
- includeif.gitdir:/github/workspace/.git.path
- includeif.gitdir:/github/workspace/.git/worktrees/*.path
- [command]/usr/sbin/git config --local --get-all includeif.gitdir:/__w/ermite/ermite/.git.path
- /__w/_temp/git-credentials-ec711f77-5559-4938-b441-eab5affc2ed7.config
- [command]/usr/sbin/git config --local --unset includeif.gitdir:/__w/ermite/ermite/.git.path /__w/_temp/git-credentials-ec711f77-5559-4938-b441-eab5affc2ed7.config
- [command]/usr/sbin/git config --local --get-all includeif.gitdir:/__w/ermite/ermite/.git/worktrees/*.path
- /__w/_temp/git-credentials-ec711f77-5559-4938-b441-eab5affc2ed7.config
- [command]/usr/sbin/git config --local --unset includeif.gitdir:/__w/ermite/ermite/.git/worktrees/*.path /__w/_temp/git-credentials-ec711f77-5559-4938-b441-eab5affc2ed7.config
- [command]/usr/sbin/git config --local --get-all includeif.gitdir:/github/workspace/.git.path
- /github/runner_temp/git-credentials-ec711f77-5559-4938-b441-eab5affc2ed7.config
- [command]/usr/sbin/git config --local --unset includeif.gitdir:/github/workspace/.git.path /github/runner_temp/git-credentials-ec711f77-5559-4938-b441-eab5affc2ed7.config
- [command]/usr/sbin/git config --local --get-all includeif.gitdir:/github/workspace/.git/worktrees/*.path
- /github/runner_temp/git-credentials-ec711f77-5559-4938-b441-eab5affc2ed7.config
- [command]/usr/sbin/git config --local --unset includeif.gitdir:/github/workspace/.git/worktrees/*.path /github/runner_temp/git-credentials-ec711f77-5559-4938-b441-eab5affc2ed7.config
- [command]/usr/sbin/git submodule foreach --recursive git config --local --show-origin --name-only --get-regexp remote.origin.url
- Removing credentials config '/__w/_temp/git-credentials-ec711f77-5559-4938-b441-eab5affc2ed7.config'
- Stop and remove container: 8529e149a39e4d5199a5dbc36aa0ccb1_archlinuxlatest_1e9355
- ##[command]/usr/bin/docker rm --force 98ae63c3091ee2eee26180d9005462a3ea62dd6ec6ed089e2050676e0a80bc4e
- 98ae63c3091ee2eee26180d9005462a3ea62dd6ec6ed089e2050676e0a80bc4e
- Remove container network: github_network_52a60e9e788546299d118ffdc70309d9
- ##[command]/usr/bin/docker network rm github_network_52a60e9e788546299d118ffdc70309d9
- github_network_52a60e9e788546299d118ffdc70309d9
- Cleaning up orphan processes
- ##[warning]Node.js 20 is deprecated. The following actions target Node.js 20 but are being forced to run on Node.js 24: actions/setup-go@v5. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/