Runs
Release#18
- Event
- push
- Branch
- main
- Commit
- b6e5221
- Started
- Duration
- 2:58
Synced from GitHub
macOS app
Took 0:59Annotations
- 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. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
- failure:
Process completed with exit code 1.
- warning:
Restore cache failed: Dependencies file is not found in /Users/runner/work/screen-time/screen-time. Supported file pattern: go.sum
- notice:
Due to capacity constraints, jobs targeting macOS arm64 runners may experience longer queue times.
Steps
- 1Set up job, Success0:02
- 2Run actions/checkout@v4, Success0:01
- 3Run actions/setup-node@v4, Success0:03
- 4Run actions/setup-go@v5, Success0:17
- 5Install dependencies, Success0:09
- 6Run the tracker tests, Success0:01
- 7Run backend tests, Success0:12
- 8Smoke-check the foreground reader, Failure0:05
- 9Stamp the version, Skipped0:00
- 10Build the app, Skipped0:00
- 11Inspect the build, Skipped0:00
- 12Upload the build, Skipped0:00
- 22Post Run actions/setup-go@v5, Skipped0:00
- 23Post Run actions/setup-node@v4, Skipped0:00
- 24Post Run actions/checkout@v4, Success0:02
- 25Complete job, Success0:03
Whole log, 23 KB
Current runner version: '2.338.0'
▸ Runner Image Provisioner
Hosted Compute Agent
Version: 20261021.618
Commit: 21505ad2541d5be6135ed84fc33697146cf75b8e
Build Date: 2026-10-21T00:45:21Z
Worker ID: {0cee4e18-d926-4af7-97c4-5dcbaefd5156}
Region: westus
Cloud: MacCloud
▸ Operating System
macOS
26.6.2
25G83
▸ Runner Image
Image: macos-26-arm64
Version: 20261026.0455.2
Included Software: https://github.com/actions/runner-images/blob/macos-26-arm64/20261026.0455/images/macos/macos-26-arm64-Readme.md
Image Release: https://github.com/actions/runner-images/releases/tag/macos-26-arm64%2F20261026.0455
▸ 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 'actions/setup-go@v5' (SHA:40f1582b2485089dde7abd97c1529aa768e1baff)
Download action repository 'actions/upload-artifact@v4' (SHA:ea165f8d65b6e75b540449e92b4886f43607fa02)
Complete job name: macOS app
▸ 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 '/Users/runner/work/screen-time/screen-time'
[command]/opt/homebrew/bin/git version
git version 2.56.0
Copying '/Users/runner/.gitconfig' to '/Users/runner/work/_temp/872dd635-14da-4d45-8440-fb94e80834ca/.gitconfig'
Temporarily overriding HOME='/Users/runner/work/_temp/872dd635-14da-4d45-8440-fb94e80834ca' before making global git config changes
Adding repository directory to the temporary git global config as a safe directory
[command]/opt/homebrew/bin/git config --global --add safe.directory /Users/runner/work/screen-time/screen-time
Deleting the contents of '/Users/runner/work/screen-time/screen-time'
▸ Initializing the repository
[command]/opt/homebrew/bin/git init /Users/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 /Users/runner/work/screen-time/screen-time/.git/
[command]/opt/homebrew/bin/git remote add origin https://github.com/screen-gd/screen-time
▸ Disabling automatic garbage collection
[command]/opt/homebrew/bin/git config --local gc.auto 0
▸ Setting up auth
[command]/opt/homebrew/bin/git config --local --name-only --get-regexp core\.sshCommand
[command]/opt/homebrew/bin/git submodule foreach --recursive sh -c "git config --local --name-only --get-regexp 'core\.sshCommand' && git config --local --unset-all 'core.sshCommand' || :"
[command]/opt/homebrew/bin/git config --local --name-only --get-regexp http\.https\:\/\/github\.com\/\.extraheader
[command]/opt/homebrew/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]/opt/homebrew/bin/git config --local --name-only --get-regexp ^includeIf\.gitdir:
[command]/opt/homebrew/bin/git submodule foreach --recursive git config --local --show-origin --name-only --get-regexp remote.origin.url
[command]/opt/homebrew/bin/git config --local http.https://github.com/.extraheader AUTHORIZATION: basic ***
▸ Fetching the repository
[command]/opt/homebrew/bin/git -c protocol.version=2 fetch --no-tags --prune --no-recurse-submodules --depth=1 origin +b6e522183ab3e876f26e5d81f034783c5a4f5c59:refs/remotes/origin/main
From https://github.com/screen-gd/screen-time
* [new ref] b6e522183ab3e876f26e5d81f034783c5a4f5c59 -> origin/main
▸ Determining the checkout info
[command]/opt/homebrew/bin/git sparse-checkout disable
[command]/opt/homebrew/bin/git config --local --unset-all extensions.worktreeConfig
▸ Checking out the ref
[command]/opt/homebrew/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]/opt/homebrew/bin/git log -1 --format=%H
b6e522183ab3e876f26e5d81f034783c5a4f5c59
▸ Run actions/setup-node@v4
with:
node-version: 22
cache: npm
always-auth: false
check-latest: false
token: ***
Found in cache @ /Users/runner/hostedtoolcache/node/22.23.4/arm64
(node:2331) [DEP0040] DeprecationWarning: The `punycode` module is deprecated. Please use a userland alternative instead.
(Use `node --trace-deprecation ...` to show where the warning was created)
▸ Environment details
node: v22.23.4
npm: 10.9.9
yarn: 1.22.22
[command]/Users/runner/hostedtoolcache/node/22.23.4/arm64/bin/npm config get cache
/Users/runner/.npm
Cache hit for: node-cache-macOS-arm64-npm-ae65805408a9f10330f7a50ee5010a116877f2befe0e814f519980bbee6620a5
(node:2331) [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.
Received 34944126 of 43332734 (80.6%), 33.3 MBs/sec
Received 43332734 of 43332734 (100.0%), 39.1 MBs/sec
Cache Size: ~41 MB (43332734 B)
[command]/opt/homebrew/bin/gtar -xf /Users/runner/work/_temp/08e1a08b-8e03-4364-a002-b1daa282448f/cache.tzst -P -C /Users/runner/work/screen-time/screen-time --delay-directory-restore --use-compress-program unzstd
Cache restored successfully
Cache restored from key: node-cache-macOS-arm64-npm-ae65805408a9f10330f7a50ee5010a116877f2befe0e814f519980bbee6620a5
▸ 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:2361) [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-darwin-arm64.tar.gz
Extracting Go...
[command]/usr/bin/tar xz -C /Users/runner/work/_temp/c591b0d1-0be7-44fb-af45-30a30209c47c -f /Users/runner/work/_temp/e0157893-f885-4bd5-b0c2-50fe70a29197
Successfully extracted go to /Users/runner/work/_temp/c591b0d1-0be7-44fb-af45-30a30209c47c
Adding to the cache ...
Successfully cached go to /Users/runner/hostedtoolcache/go/1.23.12/arm64
Added go to the path
Successfully set up Go version 1.23
[command]/Users/runner/hostedtoolcache/go/1.23.12/arm64/bin/go env GOMODCACHE
[command]/Users/runner/hostedtoolcache/go/1.23.12/arm64/bin/go env GOCACHE
/Users/runner/go/pkg/mod
/Users/runner/Library/Caches/go-build
Warning: Restore cache failed: Dependencies file is not found in /Users/runner/work/screen-time/screen-time. Supported file pattern: go.sum
go version go1.23.12 darwin/arm64
▸ go env
GO111MODULE=''
GOARCH='arm64'
GOBIN=''
GOCACHE='/Users/runner/Library/Caches/go-build'
GOENV='/Users/runner/Library/Application Support/go/env'
GOEXE=''
GOEXPERIMENT=''
GOFLAGS=''
GOHOSTARCH='arm64'
GOHOSTOS='darwin'
GOINSECURE=''
GOMODCACHE='/Users/runner/go/pkg/mod'
GONOPROXY=''
GONOSUMDB=''
GOOS='darwin'
GOPATH='/Users/runner/go'
GOPRIVATE=''
GOPROXY='https://proxy.golang.org,direct'
GOROOT='/Users/runner/hostedtoolcache/go/1.23.12/arm64'
GOSUMDB='sum.golang.org'
GOTMPDIR=''
GOTOOLCHAIN='auto'
GOTOOLDIR='/Users/runner/hostedtoolcache/go/1.23.12/arm64/pkg/tool/darwin_arm64'
GOVCS=''
GOVERSION='go1.23.12'
GODEBUG=''
GOTELEMETRY='local'
GOTELEMETRYDIR='/Users/runner/Library/Application Support/go/telemetry'
GCCGO='gccgo'
GOARM64='v8.0'
AR='ar'
CC='clang'
CXX='clang++'
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 -arch arm64 -pthread -fno-caret-diagnostics -Qunused-arguments -fmessage-length=0 -ffile-prefix-map=/var/folders/n6/hn37q6pj7sj_9dmqqc2113800000gn/T/go-build274783401=/tmp/go-build -gno-record-gcc-switches -fno-common'
▸ Run npm ci
npm ci
shell: /bin/bash -e {0}
npm warn deprecated inflight@1.0.6: This module is not supported, and leaks memory. Do not use it. Check out lru-cache if you want a good and tested way to coalesce async requests by a key value, which is much more comprehensive and powerful.
npm warn deprecated rimraf@2.6.3: Rimraf versions prior to v4 are no longer supported
npm warn deprecated lodash.isequal@4.5.0: This package is deprecated. Use require('node:util').isDeepStrictEqual instead.
npm warn deprecated glob@7.2.3: Old versions of glob are not supported, and contain widely publicized security vulnerabilities, which have been fixed in the current version. Please update. Support for old versions may be purchased (at exorbitant rates) by contacting i@izs.me
npm warn deprecated boolean@3.2.0: Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.
added 291 packages, and audited 292 packages in 8s
48 packages are looking for funding
run `npm fund` for details
1 high severity vulnerability
To address all issues (including breaking changes), run:
npm audit fix --force
Run `npm audit` for details.
▸ Run npm test
npm test
shell: /bin/bash -e {0}
> tally-screen-time@1.2.2 test
> 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: /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.034s
ok github.com/screen-gd/screen-time/backend/internal/store 0.015s
▸ Run # 'open' goes through LaunchServices, not AppleEvents: AppleScript on
# 'open' goes through LaunchServices, not AppleEvents: AppleScript on
# a runner times out waiting for automation consent, but 'open' just
# launches the app with the document. The window takes the file name.
touch /tmp/tally-smoke.txt
open -a TextEdit /tmp/tally-smoke.txt
sleep 3
out=$(npm run check -- --expect textedit) || { echo "$out"; exit 1; }
echo "$out"
echo "$out" | grep -E '^title +[^( ]'
shell: /bin/bash --noprofile --norc -e -o pipefail {0}
> tally-screen-time@1.2.2 check
> node scripts/koffi-test.js --expect textedit
platform darwin
support yes
title (none)
process /System/Applications/TextEdit.app pid 3691
bundle id com.apple.TextEdit
app name TextEdit
accessibility trusted
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 'textedit'
Error: Process completed with exit code 1.
Post job cleanup.
[command]/opt/homebrew/bin/git version
git version 2.56.0
Copying '/Users/runner/.gitconfig' to '/Users/runner/work/_temp/f6a34a39-16cf-4433-82b3-1572208d9971/.gitconfig'
Temporarily overriding HOME='/Users/runner/work/_temp/f6a34a39-16cf-4433-82b3-1572208d9971' before making global git config changes
Adding repository directory to the temporary git global config as a safe directory
[command]/opt/homebrew/bin/git config --global --add safe.directory /Users/runner/work/screen-time/screen-time
[command]/opt/homebrew/bin/git config --local --name-only --get-regexp core\.sshCommand
[command]/opt/homebrew/bin/git submodule foreach --recursive sh -c "git config --local --name-only --get-regexp 'core\.sshCommand' && git config --local --unset-all 'core.sshCommand' || :"
[command]/opt/homebrew/bin/git config --local --name-only --get-regexp http\.https\:\/\/github\.com\/\.extraheader
http.https://github.com/.extraheader
[command]/opt/homebrew/bin/git config --local --unset-all http.https://github.com/.extraheader
[command]/opt/homebrew/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]/opt/homebrew/bin/git config --local --name-only --get-regexp ^includeIf\.gitdir:
[command]/opt/homebrew/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 (3691) (TextEdit)
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. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/