Event
push
Branch
main
Commit
6d7c28b
Started
Duration
9:10

Synced from GitHub

Linux packages

SuccessTook 1:58

Annotations

  • warning:

    Node.js 20 is deprecated. The following actions target Node.js 20 but are being forced to run on Node.js 24: actions/checkout@v4, actions/setup-go@v5, actions/setup-node@v4, actions/upload-artifact@v4. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/

  • warning:

    Restore cache failed: Dependencies file is not found in /home/runner/work/screen-time/screen-time. Supported file pattern: go.sum

  • notice:

    "The ubuntu-latest label will migrate to Ubuntu 26 beginning October 19, 2026. For more information, see https://github.com/actions/runner-images/issues/14748"

Steps

  1. 1Set up job, Success0:01
  2. 2Run actions/checkout@v4, Success0:01
  3. 3Run actions/setup-node@v4, Success0:01
  4. 4Run oven-sh/setup-bun@v2, Success0:02
  5. 5Run actions/setup-go@v5, Success0:07
  6. 6Install X11 tools, Success0:11
  7. 7Install dependencies, Success0:03
  8. 8Run the tracker tests, Success0:00
  9. 9Run backend tests, Success0:13
  10. 10Smoke-check the X11 reader, Success0:07
  11. 11Stamp the version, Success0:00
  12. 12Build the packages, Success0:55
  13. 13Upload the build, Success0:09
  14. 23Post Run actions/setup-go@v5, Success0:00
  15. 24Post Run oven-sh/setup-bun@v2, Success0:03
  16. 25Post Run actions/setup-node@v4, Success0:00
  17. 26Post Run actions/checkout@v4, Success0:01
  18. 27Complete job, Success0:00
Whole log, 44 KB
Current runner version: '2.338.2'
▸ Runner Image Provisioner
Hosted Compute Agent
Version: 20261028.624
Commit: 54898b74c23fde5556c9b3c3a2290865feef0dfe
Build Date: 2026-10-28T21:51:42Z
Worker ID: {4da4fbf6-28ca-4196-a422-c0672544bf9a}
Region: westus
Cloud: Azure
▸ Operating System
Ubuntu
26.04.1
LTS
▸ Runner Image
Image: ubuntu-26.04
Version: 20261101.186.1
Included Software: https://github.com/actions/runner-images/blob/ubuntu26/20261101.186/images/ubuntu/Ubuntu2604-Readme.md
Image Release: https://github.com/actions/runner-images/releases/tag/ubuntu26%2F20261101.186
▸ GITHUB_TOKEN Permissions
Contents: write
Metadata: read
Secret source: Actions
Cache mode: write
Prepare workflow directory
Prepare all required actions
Getting action download info
Download action repository 'actions/checkout@v4' (SHA:11d5960a326750d5838078e36cf38b85af677262)
Download action repository 'actions/setup-node@v4' (SHA:49933ea5288caeca8642d1e84afbd3f7d6820020)
Download action repository 'oven-sh/setup-bun@v2' (SHA:0c5077e51419868618aeaa5fe8019c62421857d6)
Download action repository 'actions/setup-go@v5' (SHA:40f1582b2485089dde7abd97c1529aa768e1baff)
Download action repository 'actions/upload-artifact@v4' (SHA:ea165f8d65b6e75b540449e92b4886f43607fa02)
Complete job name: Linux packages
▸ Run actions/checkout@v4
with:
  repository: screen-gd/screen-time
  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
Syncing repository: screen-gd/screen-time
▸ Getting Git version info
Working directory is '/home/runner/work/screen-time/screen-time'
[command]/usr/bin/git version
git version 2.56.0
Temporarily overriding HOME='/home/runner/work/_temp/80cd11bb-9a15-4a2d-a636-b6ed32cc0f2b' before making global git config changes
Adding repository directory to the temporary git global config as a safe directory
[command]/usr/bin/git config --global --add safe.directory /home/runner/work/screen-time/screen-time
Deleting the contents of '/home/runner/work/screen-time/screen-time'
▸ Initializing the repository
[command]/usr/bin/git init /home/runner/work/screen-time/screen-time
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 /home/runner/work/screen-time/screen-time/.git/
[command]/usr/bin/git remote add origin https://github.com/screen-gd/screen-time
▸ Disabling automatic garbage collection
[command]/usr/bin/git config --local gc.auto 0
▸ Setting up auth
[command]/usr/bin/git config --local --name-only --get-regexp core\.sshCommand
[command]/usr/bin/git submodule foreach --recursive sh -c "git config --local --name-only --get-regexp 'core\.sshCommand' && git config --local --unset-all 'core.sshCommand' || :"
[command]/usr/bin/git config --local --name-only --get-regexp http\.https\:\/\/github\.com\/\.extraheader
[command]/usr/bin/git submodule foreach --recursive sh -c "git config --local --name-only --get-regexp 'http\.https\:\/\/github\.com\/\.extraheader' && git config --local --unset-all 'http.https://github.com/.extraheader' || :"
[command]/usr/bin/git config --local --name-only --get-regexp ^includeIf\.gitdir:
[command]/usr/bin/git submodule foreach --recursive git config --local --show-origin --name-only --get-regexp remote.origin.url
[command]/usr/bin/git config --local http.https://github.com/.extraheader AUTHORIZATION: basic ***
▸ Fetching the repository
[command]/usr/bin/git -c protocol.version=2 fetch --no-tags --prune --no-recurse-submodules --depth=1 origin +6d7c28b054b12185dbba88a77b7708b4e8046ed3:refs/remotes/origin/main
From https://github.com/screen-gd/screen-time
 * [new ref]         6d7c28b054b12185dbba88a77b7708b4e8046ed3 -> origin/main
▸ Determining the checkout info
[command]/usr/bin/git sparse-checkout disable
[command]/usr/bin/git config --local --unset-all extensions.worktreeConfig
▸ Checking out the ref
[command]/usr/bin/git checkout --progress --force -B main refs/remotes/origin/main
Switched to a new branch 'main'
branch 'main' set up to track 'origin/main'.
[command]/usr/bin/git log -1 --format=%H
6d7c28b054b12185dbba88a77b7708b4e8046ed3
▸ Run actions/setup-node@v4
with:
  node-version: 22
  always-auth: false
  check-latest: false
  token: ***
(node:2384) [DEP0040] DeprecationWarning: The `punycode` module is deprecated. Please use a userland alternative instead.
(Use `node --trace-deprecation ...` to show where the warning was created)
Found in cache @ /opt/hostedtoolcache/node/22.23.4/x64
▸ Environment details
node: v22.23.4
npm: 10.9.9
yarn: 1.22.22
▸ Run oven-sh/setup-bun@v2
with:
  bun-version: 1.4.4
  no-cache: false
  token: ***
Downloading a new version of Bun: https://github.com/oven-sh/bun/releases/download/bun-v1.4.4/bun-linux-x64.zip
[command]/usr/bin/unzip -o -q /home/runner/work/_temp/964888d6-8511-40b2-8015-2734be0b0495.zip
[command]/home/runner/.bun/bin/bun --revision
1.4.4+38afee6c8
▸ Run actions/setup-go@v5
with:
  go-version: 1.23
  check-latest: false
  token: ***
  cache: true
Setup go version spec 1.23
Attempting to download 1.23...
(node:2430) [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.23...
Acquiring 1.23.12 from https://github.com/actions/go-versions/releases/download/1.23.12-16792118003/go-1.23.12-linux-x64.tar.gz
Extracting Go...
[command]/usr/bin/tar xz --warning=no-unknown-keyword --overwrite -C /home/runner/work/_temp/8f43dc87-f74c-43ce-af3f-61f87df5cf14 -f /home/runner/work/_temp/f53db052-84b0-4545-9987-4e63c14469be
Successfully extracted go to /home/runner/work/_temp/8f43dc87-f74c-43ce-af3f-61f87df5cf14
Adding to the cache ...
Successfully cached go to /opt/hostedtoolcache/go/1.23.12/x64
Added go to the path
Successfully set up Go version 1.23
[command]/opt/hostedtoolcache/go/1.23.12/x64/bin/go env GOMODCACHE
[command]/opt/hostedtoolcache/go/1.23.12/x64/bin/go env GOCACHE
/home/runner/go/pkg/mod
/home/runner/.cache/go-build
Warning: Restore cache failed: Dependencies file is not found in /home/runner/work/screen-time/screen-time. Supported file pattern: go.sum
go version go1.23.12 linux/amd64

▸ go env
GO111MODULE=''
GOARCH='amd64'
GOBIN=''
GOCACHE='/home/runner/.cache/go-build'
GOENV='/home/runner/.config/go/env'
GOEXE=''
GOEXPERIMENT=''
GOFLAGS=''
GOHOSTARCH='amd64'
GOHOSTOS='linux'
GOINSECURE=''
GOMODCACHE='/home/runner/go/pkg/mod'
GONOPROXY=''
GONOSUMDB=''
GOOS='linux'
GOPATH='/home/runner/go'
GOPRIVATE=''
GOPROXY='https://proxy.golang.org,direct'
GOROOT='/opt/hostedtoolcache/go/1.23.12/x64'
GOSUMDB='sum.golang.org'
GOTMPDIR=''
GOTOOLCHAIN='auto'
GOTOOLDIR='/opt/hostedtoolcache/go/1.23.12/x64/pkg/tool/linux_amd64'
GOVCS=''
GOVERSION='go1.23.12'
GODEBUG=''
GOTELEMETRY='local'
GOTELEMETRYDIR='/home/runner/.config/go/telemetry'
GCCGO='gccgo'
GOAMD64='v1'
AR='ar'
CC='gcc'
CXX='g++'
CGO_ENABLED='1'
GOMOD='/dev/null'
GOWORK=''
CGO_CFLAGS='-O2 -g'
CGO_CPPFLAGS=''
CGO_CXXFLAGS='-O2 -g'
CGO_FFLAGS='-O2 -g'
CGO_LDFLAGS='-O2 -g'
PKG_CONFIG='pkg-config'
GOGCCFLAGS='-fPIC -m64 -pthread -Wl,--no-gc-sections -fmessage-length=0 -ffile-prefix-map=/tmp/go-build2603503848=/tmp/go-build -gno-record-gcc-switches'

▸ Run sudo apt-get update && sudo apt-get install -y xvfb xterm x11-utils xdotool xfonts-base
sudo apt-get update && sudo apt-get install -y xvfb xterm x11-utils xdotool xfonts-base
shell: /usr/bin/bash -e {0}
Get:1 file:/etc/apt/apt-mirrors.txt Mirrorlist [144 B]
Get:6 https://packages.microsoft.com/ubuntu/26.04/prod resolute InRelease [3964 B]
Hit:2 http://azure.archive.ubuntu.com/ubuntu resolute InRelease
Get:3 http://azure.archive.ubuntu.com/ubuntu resolute-updates InRelease [137 kB]
Get:4 http://azure.archive.ubuntu.com/ubuntu resolute-backports InRelease [137 kB]
Get:5 http://azure.archive.ubuntu.com/ubuntu resolute-security InRelease [137 kB]
Get:7 https://packages.microsoft.com/ubuntu/26.04/prod resolute/main amd64 Packages [156 kB]
Get:8 https://packages.microsoft.com/ubuntu/26.04/prod resolute/main armhf Packages [1077 B]
Get:9 https://packages.microsoft.com/ubuntu/26.04/prod resolute/main arm64 Packages [142 kB]
Get:10 http://azure.archive.ubuntu.com/ubuntu resolute-updates/main amd64v3 Packages [869 kB]
Get:11 http://azure.archive.ubuntu.com/ubuntu resolute-updates/main Translation-en [195 kB]
Get:12 http://azure.archive.ubuntu.com/ubuntu resolute-updates/universe amd64v3 Packages [390 kB]
Get:13 http://azure.archive.ubuntu.com/ubuntu resolute-updates/universe Translation-en [122 kB]
Get:14 http://azure.archive.ubuntu.com/ubuntu resolute-updates/restricted amd64v3 Packages [603 kB]
Get:15 http://azure.archive.ubuntu.com/ubuntu resolute-updates/restricted Translation-en [125 kB]
Get:16 http://azure.archive.ubuntu.com/ubuntu resolute-security/main amd64v3 Packages [718 kB]
Get:17 http://azure.archive.ubuntu.com/ubuntu resolute-security/main Translation-en [157 kB]
Get:18 http://azure.archive.ubuntu.com/ubuntu resolute-security/universe amd64v3 Packages [220 kB]
Get:19 http://azure.archive.ubuntu.com/ubuntu resolute-security/universe Translation-en [72.5 kB]
Get:20 http://azure.archive.ubuntu.com/ubuntu resolute-security/restricted amd64v3 Packages [590 kB]
Get:21 http://azure.archive.ubuntu.com/ubuntu resolute-security/restricted Translation-en [122 kB]
Fetched 4898 kB in 0s (10.2 MB/s)
Reading package lists...
Reading package lists...
Building dependency tree...
Reading state information...
xvfb is already the newest version (2:21.1.22-1ubuntu1.3).
Solving dependencies...
The following additional packages will be installed:
  libutempter0 libxcb-shape0 libxdo3 libxv1 libxxf86dga1 luit xbitmaps
  xfonts-encodings xfonts-utils
Suggested packages:
  mesa-utils xfonts-cyrillic
The following NEW packages will be installed:
  libutempter0 libxcb-shape0 libxdo3 libxv1 libxxf86dga1 luit x11-utils
  xbitmaps xdotool xfonts-base xfonts-encodings xfonts-utils xterm
0 upgraded, 13 newly installed, 0 to remove and 58 not upgraded.
Need to get 7902 kB of archives.
After this operation, 12.5 MB of additional disk space will be used.
Get:1 file:/etc/apt/apt-mirrors.txt Mirrorlist [144 B]
Get:2 http://azure.archive.ubuntu.com/ubuntu resolute/main amd64v3 libutempter0 amd64 1.2.1-4build1 [9768 B]
Get:3 http://azure.archive.ubuntu.com/ubuntu resolute/main amd64v3 libxcb-shape0 amd64 1.17.0-2ubuntu1 [6196 B]
Get:4 http://azure.archive.ubuntu.com/ubuntu resolute/main amd64v3 libxv1 amd64 2:1.0.13-1 [11.0 kB]
Get:5 http://azure.archive.ubuntu.com/ubuntu resolute/main amd64v3 libxxf86dga1 amd64 2:1.1.5-1build2 [12.0 kB]
Get:6 http://azure.archive.ubuntu.com/ubuntu resolute/main amd64v3 luit amd64 2.0.20250912-1 [41.8 kB]
Get:7 http://azure.archive.ubuntu.com/ubuntu resolute/main amd64v3 x11-utils amd64 7.7+7build1 [192 kB]
Get:8 http://azure.archive.ubuntu.com/ubuntu resolute/universe amd64v3 xbitmaps all 1.1.1-2.2build1 [22.3 kB]
Get:9 http://azure.archive.ubuntu.com/ubuntu resolute/main amd64v3 xfonts-encodings all 1:1.0.5-0ubuntu3 [576 kB]
Get:10 http://azure.archive.ubuntu.com/ubuntu resolute/main amd64v3 xfonts-utils amd64 1:7.7+7build1 [97.3 kB]
Get:11 http://azure.archive.ubuntu.com/ubuntu resolute/main amd64v3 xfonts-base all 1:1.0.5+nmu1build1 [5940 kB]
Get:12 http://azure.archive.ubuntu.com/ubuntu resolute/universe amd64v3 xterm amd64 407-1ubuntu1 [928 kB]
Get:13 http://azure.archive.ubuntu.com/ubuntu resolute/universe amd64v3 libxdo3 amd64 1:3.20160805.1-5.1build1 [22.6 kB]
Get:14 http://azure.archive.ubuntu.com/ubuntu resolute/universe amd64v3 xdotool amd64 1:3.20160805.1-5.1build1 [43.1 kB]
Fetched 7902 kB in 2s (3383 kB/s)
Selecting previously unselected package libutempter0:amd64.
(Reading database ...
(Reading database ... 5%
(Reading database ... 10%
(Reading database ... 15%
(Reading database ... 20%
(Reading database ... 25%
(Reading database ... 30%
(Reading database ... 35%
(Reading database ... 40%
(Reading database ... 45%
(Reading database ... 50%
(Reading database ... 55%
(Reading database ... 60%
(Reading database ... 65%
(Reading database ... 70%
(Reading database ... 75%
(Reading database ... 80%
(Reading database ... 85%
(Reading database ... 90%
(Reading database ... 95%
(Reading database ... 100%
(Reading database ... 213197 files and directories currently installed.)
Preparing to unpack .../00-libutempter0_1.2.1-4build1_amd64v3.deb ...
Unpacking libutempter0:amd64 (1.2.1-4build1) ...
Selecting previously unselected package libxcb-shape0:amd64.
Preparing to unpack .../01-libxcb-shape0_1.17.0-2ubuntu1_amd64v3.deb ...
Unpacking libxcb-shape0:amd64 (1.17.0-2ubuntu1) ...
Selecting previously unselected package libxv1:amd64.
Preparing to unpack .../02-libxv1_2%3a1.0.13-1_amd64v3.deb ...
Unpacking libxv1:amd64 (2:1.0.13-1) ...
Selecting previously unselected package libxxf86dga1:amd64.
Preparing to unpack .../03-libxxf86dga1_2%3a1.1.5-1build2_amd64v3.deb ...
Unpacking libxxf86dga1:amd64 (2:1.1.5-1build2) ...
Selecting previously unselected package luit.
Preparing to unpack .../04-luit_2.0.20250912-1_amd64v3.deb ...
Adding 'diversion of /usr/bin/luit to /usr/bin/luit.x11-utils by luit'
Adding 'diversion of /usr/share/man/man1/luit.1.gz to /usr/share/man/man1/luit.x11-utils.1.gz by luit'
Unpacking luit (2.0.20250912-1) ...
Selecting previously unselected package x11-utils.
Preparing to unpack .../05-x11-utils_7.7+7build1_amd64v3.deb ...
Unpacking x11-utils (7.7+7build1) ...
Selecting previously unselected package xbitmaps.
Preparing to unpack .../06-xbitmaps_1.1.1-2.2build1_all.deb ...
Unpacking xbitmaps (1.1.1-2.2build1) ...
Selecting previously unselected package xfonts-encodings.
Preparing to unpack .../07-xfonts-encodings_1%3a1.0.5-0ubuntu3_all.deb ...
Unpacking xfonts-encodings (1:1.0.5-0ubuntu3) ...
Selecting previously unselected package xfonts-utils.
Preparing to unpack .../08-xfonts-utils_1%3a7.7+7build1_amd64v3.deb ...
Unpacking xfonts-utils (1:7.7+7build1) ...
Selecting previously unselected package xfonts-base.
Preparing to unpack .../09-xfonts-base_1%3a1.0.5+nmu1build1_all.deb ...
Unpacking xfonts-base (1:1.0.5+nmu1build1) ...
Selecting previously unselected package xterm.
Preparing to unpack .../10-xterm_407-1ubuntu1_amd64v3.deb ...
Unpacking xterm (407-1ubuntu1) ...
Selecting previously unselected package libxdo3:amd64.
Preparing to unpack .../11-libxdo3_1%3a3.20160805.1-5.1build1_amd64v3.deb ...
Unpacking libxdo3:amd64 (1:3.20160805.1-5.1build1) ...
Selecting previously unselected package xdotool.
Preparing to unpack .../12-xdotool_1%3a3.20160805.1-5.1build1_amd64v3.deb ...
Unpacking xdotool (1:3.20160805.1-5.1build1) ...
Setting up luit (2.0.20250912-1) ...
Setting up libxcb-shape0:amd64 (1.17.0-2ubuntu1) ...
Setting up libxxf86dga1:amd64 (2:1.1.5-1build2) ...
Setting up libxdo3:amd64 (1:3.20160805.1-5.1build1) ...
Setting up xfonts-encodings (1:1.0.5-0ubuntu3) ...
Setting up libxv1:amd64 (2:1.0.13-1) ...
Setting up libutempter0:amd64 (1.2.1-4build1) ...
Setting up x11-utils (7.7+7build1) ...
Setting up xbitmaps (1.1.1-2.2build1) ...
Setting up xdotool (1:3.20160805.1-5.1build1) ...
Setting up xfonts-utils (1:7.7+7build1) ...
Setting up xfonts-base (1:1.0.5+nmu1build1) ...
Setting up xterm (407-1ubuntu1) ...
update-alternatives: using /usr/bin/xterm to provide /usr/bin/x-terminal-emulator (x-terminal-emulator) in auto mode
update-alternatives: using /usr/bin/lxterm to provide /usr/bin/x-terminal-emulator (x-terminal-emulator) in auto mode
Processing triggers for hicolor-icon-theme (0.18-2build1) ...
Processing triggers for libc-bin (2.43-2ubuntu2.4) ...
Processing triggers for man-db (2.13.1-1build1) ...
Not building database; man-db/auto-update is not 'true'.
Processing triggers for fontconfig (2.17.1-3ubuntu1) ...

Running kernel seems to be up-to-date.

Restarting services...

Service restarts being deferred:
 systemctl restart hosted-compute-agent.service

No containers need to be restarted.

No user sessions are running outdated binaries.

No VM guests are running outdated hypervisor (qemu) binaries on this host.
▸ Run bun install --frozen-lockfile
bun install --frozen-lockfile
shell: /usr/bin/bash -e {0}
bun install v1.4.4 (38afee6c8)

+ electron@40.10.6
+ electron-builder@26.18.0
+ node-addon-api@8.9.2
+ node-gyp@12.4.0
+ electron-updater@6.8.11
+ koffi@2.16.3
+ sql.js@1.15.2

275 packages installed [2.65s]
▸ Run bun run test
bun run test
shell: /usr/bin/bash -e {0}
$ node scripts/tracker-test.js
ok   input credits every sample
ok   idle without media credits nothing
ok   media in the front app keeps counting while idle
ok   background media does not hold the clock
ok   media starting after a pause credits one sample, not the gap
ok   media stopping returns to idle
ok   two hours of untouched media ends the run
ok   the media ceiling is a setting, and never is allowed
ok   a shorter ceiling stops media sooner
ok   the reason follows the desk
ok   paused and sleep both say so
ok   a full-screen app counts as in use
ok   a sleep gap is never credited
ok   pausing stops credit and idle resumes it
ok   suspending clears the timer
ok   identify reads macOS apps by bundle id
ok   identify reads Linux executables
ok   rootsFor lays out each OS
ok   an unsupported platform says why

all tracker rules hold
▸ Run go test ./...
go test ./...
shell: /usr/bin/bash -e {0}
?   	github.com/screen-gd/screen-time/backend/cmd/tally-backend	[no test files]
ok  	github.com/screen-gd/screen-time/backend/internal/server	0.013s
ok  	github.com/screen-gd/screen-time/backend/internal/store	0.003s
▸ Run Xvfb :99 -screen 0 1280x800x24 &
Xvfb :99 -screen 0 1280x800x24 &
export DISPLAY=:99
sleep 1
xterm -T tally-smoke 2>/tmp/xterm-err.log &
xterm_pid=$!
id=""
for i in $(seq 1 20); do
  # xdotool exits 1 while no window matches; without '|| true',
  # pipefail + -e would abort the step on the first empty search.
  # Search by pid (_NET_WM_PID) first, then by the -T window name.
  id=$(xdotool search --pid "$xterm_pid" | head -n 1 || true)
  if [ -z "$id" ]; then
    id=$(xdotool search --name tally-smoke | head -n 1 || true)
  fi
  [ -n "$id" ] && break
  sleep 0.5
done
if [ -z "$id" ]; then
  echo "::error::xterm never appeared on Xvfb"
  cat /tmp/xterm-err.log || true
  xwininfo -root -tree || true
  exit 1
fi
# xprop's format letter picks the property type: 'a' would set an
# ATOM (and intern "$id" as an atom name); 'c' stores the numeric
# value as a 32-bit CARDINAL, which is what readers expect. The pid
# is set explicitly so the check doesn't depend on xterm publishing it.
xprop -id "$id" -f _NET_WM_PID 32c -set _NET_WM_PID "$xterm_pid"
xprop -root -f _NET_ACTIVE_WINDOW 32c -set _NET_ACTIVE_WINDOW "$id"
xprop -root _NET_ACTIVE_WINDOW
xprop -id "$id" _NET_WM_PID WM_NAME
XDG_SESSION_TYPE=x11 bun run check --expect xterm
shell: /usr/bin/bash --noprofile --norc -e -o pipefail {0}
_NET_ACTIVE_WINDOW(CARDINAL) = 2097164
_NET_WM_PID(CARDINAL) = 5285
WM_NAME(STRING) = "runner@runnervmwuk1x: ~/work/screen-time/screen-time"
$ node scripts/koffi-test.js --expect xterm
platform     linux
support      yes
title        runner@runnervmwuk1x: ~/work/screen-time/screen-time
process      /usr/bin/xterm pid 5285
app id       (none)
idle         0 s since the last keyboard or mouse input
media        addon missing - idle falls back to keyboard and mouse alone
front app    is not playing media
full screen  no
expect       matched 'xterm'
▸ Run bun pm pkg set version="1.2.10"
bun pm pkg set version="1.2.10"
shell: /usr/bin/bash --noprofile --norc -e -o pipefail {0}
▸ Run bun run dist:linux
bun run dist:linux
shell: /usr/bin/bash -e {0}
env:
  CSC_IDENTITY_AUTO_DISCOVERY: false
$ node scripts/build-native.js && bun run backend:build && electron-builder --linux --publish never
[tally] media sessions are Windows-only; skipping the native build
$ node scripts/build-backend.js
[tally] backend written to /home/runner/work/screen-time/screen-time/backend/tally-backend
  • electron-builder  version=26.18.0 os=7.0.0-1019-azure
  • loaded configuration  file=package.json ("build" field)
  • executing @electron/rebuild  electronVersion=40.10.6 arch=x64 buildFromSource=false workspaceRoot=/home/runner/work/screen-time/screen-time projectDir=./ appDir=./
  • installing native dependencies  arch=x64
  • completed installing native dependencies
  • packaging       platform=linux arch=x64 electron=40.10.6 appOutDir=dist/linux-unpacked
  • downloaded      label=electron progress=100%
  • downloaded electron zip extracted successfully  output=/home/runner/work/screen-time/screen-time/dist/linux-unpacked
  • searching for node modules  pm=bun searchDir=/home/runner/work/screen-time/screen-time
  • note: bun does not support any CLI for dependency tree extraction, utilizing file traversal collector instead
  • using manual traversal of node_modules to build dependency tree
  • building        target=AppImage arch=x64 file=dist/screen-time-1.2.10-linux-x86_64.AppImage
  • electron uses desktopName as app_id / WM_CLASS for window association. Without it desktop environments may not link running windows to this .desktop entry. Set desktopName in package.json and linux.syncDesktopName: true to fix.  reason=desktopName is not set in package.json docs=https://www.electron.build/linux#window-association-desktopname--syncdesktopname
  • downloaded      label=appimage-12.0.1.7z progress=100%
  • downloaded      label=7zip-linux-x64.tar.gz progress=100%
  • building embedded block map  file=dist/screen-time-1.2.10-linux-x86_64.AppImage
  • building        target=deb arch=x64 file=dist/screen-time-1.2.10-linux-amd64.deb
  • adding autoupdate files for: deb  resourceDir=dist/linux-unpacked/resources
  • electron uses desktopName as app_id / WM_CLASS for window association. Without it desktop environments may not link running windows to this .desktop entry. Set desktopName in package.json and linux.syncDesktopName: true to fix.  reason=desktopName is not set in package.json docs=https://www.electron.build/linux#window-association-desktopname--syncdesktopname
  • downloaded      label=fpm-1.17.0-ruby-3.4.3-linux-amd64.7z progress=100%
▸ Run actions/upload-artifact@v4
with:
  name: linux
  path: dist/*.AppImage
dist/*.deb
dist/latest-linux.yml

  if-no-files-found: error
  compression-level: 6
  overwrite: false
  include-hidden-files: false
(node:6827) [DEP0040] DeprecationWarning: The `punycode` module is deprecated. Please use a userland alternative instead.
(Use `node --trace-deprecation ...` to show where the warning was created)
With the provided path, there will be 3 files uploaded
Artifact name is valid!
Root directory input is valid!
Beginning upload of artifact content to blob storage
(node:6827) [DEP0169] DeprecationWarning: `url.parse()` behavior is not standardized and prone to errors that have security implications. Use the WHATWG URL API instead. CVEs are not issued for `url.parse()` vulnerabilities.
Uploaded bytes 8388608
Uploaded bytes 16777216
Uploaded bytes 25165824
Uploaded bytes 33554432
Uploaded bytes 41943040
Uploaded bytes 50331648
Uploaded bytes 58720256
Uploaded bytes 67108864
Uploaded bytes 75497472
Uploaded bytes 83886080
Uploaded bytes 92274688
Uploaded bytes 100663296
Uploaded bytes 109051904
Uploaded bytes 117440512
Uploaded bytes 125829120
Uploaded bytes 134217728
Uploaded bytes 142606336
Uploaded bytes 150994944
Uploaded bytes 159383552
Uploaded bytes 167772160
Uploaded bytes 176160768
Uploaded bytes 184549376
Uploaded bytes 192937984
Uploaded bytes 201326592
Uploaded bytes 209715200
Uploaded bytes 218103808
Uploaded bytes 226492416
Uploaded bytes 234881024
Uploaded bytes 243269632
Uploaded bytes 251658240
Uploaded bytes 252712651
Finished uploading artifact content to blob storage!
SHA256 digest of uploaded artifact zip is 2878b0f75c25e3d7d5ae4ec751a536a252a74c01e18312d86df5ba9ce06ecb4b
Finalizing artifact upload
Artifact linux.zip successfully finalized. Artifact ID 13953766572
Artifact linux has been successfully uploaded! Final size is 252712651 bytes. Artifact ID is 13953766572
Artifact download URL: https://github.com/screen-gd/screen-time/actions/runs/43237719845/artifacts/13953766572
Post job cleanup.
(node:6844) [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]/opt/hostedtoolcache/go/1.23.12/x64/bin/go env GOMODCACHE
[command]/opt/hostedtoolcache/go/1.23.12/x64/bin/go env GOCACHE
/home/runner/go/pkg/mod
/home/runner/.cache/go-build
[warning]Cache folder path is retrieved but doesn't exist on disk: /home/runner/go/pkg/mod
Primary key was not generated. Please check the log messages above for more errors or information
Post job cleanup.
[command]/usr/bin/tar --posix -cf cache.tzst --exclude cache.tzst -P -C /home/runner/work/screen-time/screen-time --files-from manifest.txt --use-compress-program zstdmt
Sent 19726336 of 50544725 (39.0%), 18.8 MBs/sec
Sent 50544725 of 50544725 (100.0%), 27.0 MBs/sec
Post job cleanup.
(node:6886) [DEP0040] DeprecationWarning: The `punycode` module is deprecated. Please use a userland alternative instead.
(Use `node --trace-deprecation ...` to show where the warning was created)
Post job cleanup.
[command]/usr/bin/git version
git version 2.56.0
Temporarily overriding HOME='/home/runner/work/_temp/53bcc2b1-5ee2-43d4-9d63-dbc9e3298728' before making global git config changes
Adding repository directory to the temporary git global config as a safe directory
[command]/usr/bin/git config --global --add safe.directory /home/runner/work/screen-time/screen-time
[command]/usr/bin/git config --local --name-only --get-regexp core\.sshCommand
[command]/usr/bin/git submodule foreach --recursive sh -c "git config --local --name-only --get-regexp 'core\.sshCommand' && git config --local --unset-all 'core.sshCommand' || :"
[command]/usr/bin/git config --local --name-only --get-regexp http\.https\:\/\/github\.com\/\.extraheader
http.https://github.com/.extraheader
[command]/usr/bin/git config --local --unset-all http.https://github.com/.extraheader
[command]/usr/bin/git submodule foreach --recursive sh -c "git config --local --name-only --get-regexp 'http\.https\:\/\/github\.com\/\.extraheader' && git config --local --unset-all 'http.https://github.com/.extraheader' || :"
[command]/usr/bin/git config --local --name-only --get-regexp ^includeIf\.gitdir:
[command]/usr/bin/git submodule foreach --recursive git config --local --show-origin --name-only --get-regexp remote.origin.url
Cleaning up orphan processes
Terminate orphan process: pid (5281) (Xvfb)
Terminate orphan process: pid (5285) (xterm)
Warning: Node.js 20 is deprecated. The following actions target Node.js 20 but are being forced to run on Node.js 24: actions/checkout@v4, actions/setup-go@v5, actions/setup-node@v4, actions/upload-artifact@v4. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/