Event
workflow_dispatch
Branch
cross-platform
Commit
0c7820d
Started
Duration
2:32

Synced from GitHub

macOS app

FailureTook 2:25

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-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.

  • notice:

    Due to capacity constraints, jobs targeting macOS arm64 runners may experience longer queue times.

Steps

  1. 1Set up job, Success0:01
  2. 2Run actions/checkout@v4, Success0:02
  3. 3Run actions/setup-node@v4, Success0:04
  4. 4Install dependencies, Success0:07
  5. 5Run the tracker tests, Success0:01
  6. 6Smoke-check the foreground reader, Failure2:04
  7. 7Stamp the version, Skipped0:00
  8. 8Build the app, Skipped0:00
  9. 9Inspect the build, Skipped0:00
  10. 10Upload the build, Skipped0:00
  11. 19Post Run actions/setup-node@v4, Skipped0:00
  12. 20Post Run actions/checkout@v4, Success0:01
  13. 21Complete job, Success0:02
Whole log, 17 KB
Current runner version: '2.338.0'
▸ Runner Image Provisioner
Hosted Compute Agent
Version: 20261012.601
Commit: f3dc54e1fb89da6852db922499a0233137369e1d
Build Date: 2026-10-12T17:48:21Z
Worker ID: {cd158426-eb3f-4c95-858d-d7cc54f40dc1}
Region: westus
Cloud: MacCloud
▸ Operating System
macOS
26.6.2
25G83
▸ Runner Image
Image: macos-26-arm64
Version: 20261013.0424.1
Included Software: https://github.com/actions/runner-images/blob/macos-26-arm64/20261013.0424/images/macos/macos-26-arm64-Readme.md
Image Release: https://github.com/actions/runner-images/releases/tag/macos-26-arm64%2F20261013.0424
▸ 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/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/2f7804f8-2ec4-4412-a433-01ce085c9b40/.gitconfig'
Temporarily overriding HOME='/Users/runner/work/_temp/2f7804f8-2ec4-4412-a433-01ce085c9b40' 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 +0c7820d9290c68e0f9a8c650cce741570989ee6e:refs/remotes/origin/cross-platform
From https://github.com/screen-gd/screen-time
 * [new ref]         0c7820d9290c68e0f9a8c650cce741570989ee6e -> origin/cross-platform
▸ 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 cross-platform refs/remotes/origin/cross-platform
Switched to a new branch 'cross-platform'
branch 'cross-platform' set up to track 'origin/cross-platform'.
[command]/opt/homebrew/bin/git log -1 --format=%H
0c7820d9290c68e0f9a8c650cce741570989ee6e
▸ 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.3/arm64
(node:1143) [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.3
npm: 10.9.9
yarn: 1.22.22
[command]/Users/runner/hostedtoolcache/node/22.23.3/arm64/bin/npm config get cache
/Users/runner/.npm
Cache hit for: node-cache-macOS-arm64-npm-ae65805408a9f10330f7a50ee5010a116877f2befe0e814f519980bbee6620a5
(node:1143) [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 39145535 of 43339839 (90.3%), 37.3 MBs/sec
Received 43339839 of 43339839 (100.0%), 36.0 MBs/sec
Cache Size: ~41 MB (43339839 B)
[command]/opt/homebrew/bin/gtar -xf /Users/runner/work/_temp/4688515a-dd56-4a01-b5e5-8f3873eab330/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 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 7s

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 osascript -e 'tell application "TextEdit" to activate' -e 'tell application "TextEdit" to make new document'
osascript -e 'tell application "TextEdit" to activate' -e 'tell application "TextEdit" to make new document'
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}
71:88: execution error: TextEdit got an error: AppleEvent timed out. (-1712)
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/4ce1bffd-b3a1-434e-b5c8-363ce0f7c724/.gitconfig'
Temporarily overriding HOME='/Users/runner/work/_temp/4ce1bffd-b3a1-434e-b5c8-363ce0f7c724' 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 (1307) (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-node@v4. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/