2026-10-28T13:41:10.3608550Z Current runner version: '2.338.0' 2026-10-28T13:41:10.3638160Z ##[group]Runner Image Provisioner 2026-10-28T13:41:10.3638760Z Hosted Compute Agent 2026-10-28T13:41:10.3639130Z Version: 20261012.601 2026-10-28T13:41:10.3639530Z Commit: f3dc54e1fb89da6852db922499a0233137369e1d 2026-10-28T13:41:10.3640000Z Build Date: 2026-10-12T17:48:21Z 2026-10-28T13:41:10.3640440Z Worker ID: {cd158426-eb3f-4c95-858d-d7cc54f40dc1} 2026-10-28T13:41:10.3640890Z Region: westus 2026-10-28T13:41:10.3641240Z Cloud: MacCloud 2026-10-28T13:41:10.3641580Z ##[endgroup] 2026-10-28T13:41:10.3642550Z ##[group]Operating System 2026-10-28T13:41:10.3642940Z macOS 2026-10-28T13:41:10.3643260Z 26.6.2 2026-10-28T13:41:10.3643580Z 25G83 2026-10-28T13:41:10.3643920Z ##[endgroup] 2026-10-28T13:41:10.3644260Z ##[group]Runner Image 2026-10-28T13:41:10.3644640Z Image: macos-26-arm64 2026-10-28T13:41:10.3645010Z Version: 20261013.0424.1 2026-10-28T13:41:10.3645890Z Included Software: https://github.com/actions/runner-images/blob/macos-26-arm64/20261013.0424/images/macos/macos-26-arm64-Readme.md 2026-10-28T13:41:10.3646940Z Image Release: https://github.com/actions/runner-images/releases/tag/macos-26-arm64%2F20261013.0424 2026-10-28T13:41:10.3647640Z ##[endgroup] 2026-10-28T13:41:10.3648420Z ##[group]GITHUB_TOKEN Permissions 2026-10-28T13:41:10.3649950Z Contents: write 2026-10-28T13:41:10.3650330Z Metadata: read 2026-10-28T13:41:10.3650720Z ##[endgroup] 2026-10-28T13:41:10.3652340Z Secret source: Actions 2026-10-28T13:41:10.3653020Z Cache mode: write 2026-10-28T13:41:10.3653490Z Prepare workflow directory 2026-10-28T13:41:10.3973580Z Prepare all required actions 2026-10-28T13:41:10.4015620Z Getting action download info 2026-10-28T13:41:10.7103480Z Download action repository 'actions/checkout@v4' (SHA:11d5960a326750d5838078e36cf38b85af677262) 2026-10-28T13:41:11.1620570Z Download action repository 'actions/setup-node@v4' (SHA:49933ea5288caeca8642d1e84afbd3f7d6820020) 2026-10-28T13:41:11.3367100Z Download action repository 'actions/upload-artifact@v4' (SHA:ea165f8d65b6e75b540449e92b4886f43607fa02) 2026-10-28T13:41:11.6481920Z Complete job name: macOS app 2026-10-28T13:41:11.7387050Z ##[group]Run actions/checkout@v4 2026-10-28T13:41:11.7388750Z with: 2026-10-28T13:41:11.7389670Z repository: screen-gd/screen-time 2026-10-28T13:41:11.7397520Z token: *** 2026-10-28T13:41:11.7398380Z ssh-strict: true 2026-10-28T13:41:11.7399250Z ssh-user: git 2026-10-28T13:41:11.7400160Z persist-credentials: true 2026-10-28T13:41:11.7401160Z clean: true 2026-10-28T13:41:11.7402060Z sparse-checkout-cone-mode: true 2026-10-28T13:41:11.7403080Z fetch-depth: 1 2026-10-28T13:41:11.7403960Z fetch-tags: false 2026-10-28T13:41:11.7404930Z show-progress: true 2026-10-28T13:41:11.7405890Z lfs: false 2026-10-28T13:41:11.7406770Z submodules: false 2026-10-28T13:41:11.7407730Z set-safe-directory: true 2026-10-28T13:41:11.7408820Z allow-unsafe-pr-checkout: false 2026-10-28T13:41:11.7410730Z ##[endgroup] 2026-10-28T13:41:12.3645990Z Syncing repository: screen-gd/screen-time 2026-10-28T13:41:12.3648840Z ##[group]Getting Git version info 2026-10-28T13:41:12.3649710Z Working directory is '/Users/runner/work/screen-time/screen-time' 2026-10-28T13:41:12.3650750Z [command]/opt/homebrew/bin/git version 2026-10-28T13:41:12.4030520Z git version 2.56.0 2026-10-28T13:41:12.4089910Z ##[endgroup] 2026-10-28T13:41:12.4109540Z Copying '/Users/runner/.gitconfig' to '/Users/runner/work/_temp/2f7804f8-2ec4-4412-a433-01ce085c9b40/.gitconfig' 2026-10-28T13:41:12.4114730Z Temporarily overriding HOME='/Users/runner/work/_temp/2f7804f8-2ec4-4412-a433-01ce085c9b40' before making global git config changes 2026-10-28T13:41:12.4125720Z Adding repository directory to the temporary git global config as a safe directory 2026-10-28T13:41:12.4130580Z [command]/opt/homebrew/bin/git config --global --add safe.directory /Users/runner/work/screen-time/screen-time 2026-10-28T13:41:12.4299290Z Deleting the contents of '/Users/runner/work/screen-time/screen-time' 2026-10-28T13:41:12.4300860Z ##[group]Initializing the repository 2026-10-28T13:41:12.4320570Z [command]/opt/homebrew/bin/git init /Users/runner/work/screen-time/screen-time 2026-10-28T13:41:12.4711330Z hint: Using 'master' as the name for the initial branch. This default branch name 2026-10-28T13:41:12.4712460Z hint: will change to "main" in Git 3.0. To configure the initial branch name 2026-10-28T13:41:12.4713610Z hint: to use in all of your new repositories, which will suppress this warning, 2026-10-28T13:41:12.4715290Z hint: call: 2026-10-28T13:41:12.4715750Z hint: 2026-10-28T13:41:12.4716290Z hint: git config --global init.defaultBranch 2026-10-28T13:41:12.4717610Z hint: 2026-10-28T13:41:12.4718240Z hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and 2026-10-28T13:41:12.4719160Z hint: 'development'. The just-created branch can be renamed via this command: 2026-10-28T13:41:12.4719880Z hint: 2026-10-28T13:41:12.4720300Z hint: git branch -m 2026-10-28T13:41:12.4720810Z hint: 2026-10-28T13:41:12.4721350Z hint: Disable this message with "git config set advice.defaultBranchName false" 2026-10-28T13:41:12.4723100Z Initialized empty Git repository in /Users/runner/work/screen-time/screen-time/.git/ 2026-10-28T13:41:12.4740460Z [command]/opt/homebrew/bin/git remote add origin https://github.com/screen-gd/screen-time 2026-10-28T13:41:12.4845010Z ##[endgroup] 2026-10-28T13:41:12.4847110Z ##[group]Disabling automatic garbage collection 2026-10-28T13:41:12.4848930Z [command]/opt/homebrew/bin/git config --local gc.auto 0 2026-10-28T13:41:12.4945750Z ##[endgroup] 2026-10-28T13:41:12.4947600Z ##[group]Setting up auth 2026-10-28T13:41:12.4953740Z [command]/opt/homebrew/bin/git config --local --name-only --get-regexp core\.sshCommand 2026-10-28T13:41:12.5043840Z [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' || :" 2026-10-28T13:41:12.6227730Z [command]/opt/homebrew/bin/git config --local --name-only --get-regexp http\.https\:\/\/github\.com\/\.extraheader 2026-10-28T13:41:12.6307120Z [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' || :" 2026-10-28T13:41:12.7539300Z [command]/opt/homebrew/bin/git config --local --name-only --get-regexp ^includeIf\.gitdir: 2026-10-28T13:41:12.7600710Z [command]/opt/homebrew/bin/git submodule foreach --recursive git config --local --show-origin --name-only --get-regexp remote.origin.url 2026-10-28T13:41:12.8621130Z [command]/opt/homebrew/bin/git config --local http.https://github.com/.extraheader AUTHORIZATION: basic *** 2026-10-28T13:41:12.8717120Z ##[endgroup] 2026-10-28T13:41:12.8719590Z ##[group]Fetching the repository 2026-10-28T13:41:12.8724360Z [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 2026-10-28T13:41:13.4916240Z From https://github.com/screen-gd/screen-time 2026-10-28T13:41:13.4919200Z * [new ref] 0c7820d9290c68e0f9a8c650cce741570989ee6e -> origin/cross-platform 2026-10-28T13:41:13.4925150Z ##[endgroup] 2026-10-28T13:41:13.4927330Z ##[group]Determining the checkout info 2026-10-28T13:41:13.4929840Z ##[endgroup] 2026-10-28T13:41:13.4931400Z [command]/opt/homebrew/bin/git sparse-checkout disable 2026-10-28T13:41:13.5105440Z [command]/opt/homebrew/bin/git config --local --unset-all extensions.worktreeConfig 2026-10-28T13:41:13.5261380Z ##[group]Checking out the ref 2026-10-28T13:41:13.5270460Z [command]/opt/homebrew/bin/git checkout --progress --force -B cross-platform refs/remotes/origin/cross-platform 2026-10-28T13:41:13.5702100Z Switched to a new branch 'cross-platform' 2026-10-28T13:41:13.5714720Z branch 'cross-platform' set up to track 'origin/cross-platform'. 2026-10-28T13:41:13.5722670Z ##[endgroup] 2026-10-28T13:41:13.5825450Z [command]/opt/homebrew/bin/git log -1 --format=%H 2026-10-28T13:41:13.5906900Z 0c7820d9290c68e0f9a8c650cce741570989ee6e 2026-10-28T13:41:13.6277450Z ##[group]Run actions/setup-node@v4 2026-10-28T13:41:13.6278340Z with: 2026-10-28T13:41:13.6279040Z node-version: 22 2026-10-28T13:41:13.6279730Z cache: npm 2026-10-28T13:41:13.6280520Z always-auth: false 2026-10-28T13:41:13.6281230Z check-latest: false 2026-10-28T13:41:13.6288750Z token: *** 2026-10-28T13:41:13.6289390Z ##[endgroup] 2026-10-28T13:41:13.8362800Z Found in cache @ /Users/runner/hostedtoolcache/node/22.23.3/arm64 2026-10-28T13:41:13.8368160Z (node:1143) [DEP0040] DeprecationWarning: The `punycode` module is deprecated. Please use a userland alternative instead. 2026-10-28T13:41:13.8373270Z (Use `node --trace-deprecation ...` to show where the warning was created) 2026-10-28T13:41:13.8377930Z ##[group]Environment details 2026-10-28T13:41:14.6992430Z node: v22.23.3 2026-10-28T13:41:14.7072540Z npm: 10.9.9 2026-10-28T13:41:14.7075530Z yarn: 1.22.22 2026-10-28T13:41:14.7078630Z ##[endgroup] 2026-10-28T13:41:14.7080200Z [command]/Users/runner/hostedtoolcache/node/22.23.3/arm64/bin/npm config get cache 2026-10-28T13:41:15.0367050Z /Users/runner/.npm 2026-10-28T13:41:15.3155400Z Cache hit for: node-cache-macOS-arm64-npm-ae65805408a9f10330f7a50ee5010a116877f2befe0e814f519980bbee6620a5 2026-10-28T13:41:15.3365620Z (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. 2026-10-28T13:41:16.5193630Z Received 39145535 of 43339839 (90.3%), 37.3 MBs/sec 2026-10-28T13:41:16.6642120Z Received 43339839 of 43339839 (100.0%), 36.0 MBs/sec 2026-10-28T13:41:16.6660460Z Cache Size: ~41 MB (43339839 B) 2026-10-28T13:41:16.6699990Z [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 2026-10-28T13:41:17.1860770Z Cache restored successfully 2026-10-28T13:41:17.1954340Z Cache restored from key: node-cache-macOS-arm64-npm-ae65805408a9f10330f7a50ee5010a116877f2befe0e814f519980bbee6620a5 2026-10-28T13:41:17.2372180Z ##[group]Run npm ci 2026-10-28T13:41:17.2372730Z npm ci 2026-10-28T13:41:17.2511540Z shell: /bin/bash -e {0} 2026-10-28T13:41:17.2512040Z ##[endgroup] 2026-10-28T13:41:19.7635400Z 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. 2026-10-28T13:41:19.8218920Z npm warn deprecated rimraf@2.6.3: Rimraf versions prior to v4 are no longer supported 2026-10-28T13:41:19.8537400Z npm warn deprecated lodash.isequal@4.5.0: This package is deprecated. Use require('node:util').isDeepStrictEqual instead. 2026-10-28T13:41:19.9039920Z 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 2026-10-28T13:41:20.3379870Z npm warn deprecated boolean@3.2.0: Package no longer supported. Contact Support at https://www.npmjs.com/support for more info. 2026-10-28T13:41:24.8026160Z 2026-10-28T13:41:24.8031730Z added 291 packages, and audited 292 packages in 7s 2026-10-28T13:41:24.8033930Z 2026-10-28T13:41:24.8034930Z 48 packages are looking for funding 2026-10-28T13:41:24.8035860Z run `npm fund` for details 2026-10-28T13:41:24.8457280Z 2026-10-28T13:41:24.8459520Z 1 high severity vulnerability 2026-10-28T13:41:24.8460920Z 2026-10-28T13:41:24.8472510Z To address all issues (including breaking changes), run: 2026-10-28T13:41:24.8474350Z npm audit fix --force 2026-10-28T13:41:24.8475080Z 2026-10-28T13:41:24.8475810Z Run `npm audit` for details. 2026-10-28T13:41:24.9690480Z ##[group]Run npm test 2026-10-28T13:41:24.9690850Z npm test 2026-10-28T13:41:24.9740990Z shell: /bin/bash -e {0} 2026-10-28T13:41:24.9741360Z ##[endgroup] 2026-10-28T13:41:25.3110140Z 2026-10-28T13:41:25.3112050Z > tally-screen-time@1.2.2 test 2026-10-28T13:41:25.3113560Z > node scripts/tracker-test.js 2026-10-28T13:41:25.3114090Z 2026-10-28T13:41:25.5083360Z ok input credits every sample 2026-10-28T13:41:25.5084070Z ok idle without media credits nothing 2026-10-28T13:41:25.5084750Z ok media in the front app keeps counting while idle 2026-10-28T13:41:25.5085560Z ok background media does not hold the clock 2026-10-28T13:41:25.5086290Z ok media starting after a pause credits one sample, not the gap 2026-10-28T13:41:25.5086990Z ok media stopping returns to idle 2026-10-28T13:41:25.5087510Z ok two hours of untouched media ends the run 2026-10-28T13:41:25.5088210Z ok the media ceiling is a setting, and never is allowed 2026-10-28T13:41:25.5095260Z ok a shorter ceiling stops media sooner 2026-10-28T13:41:25.5095900Z ok the reason follows the desk 2026-10-28T13:41:25.5096460Z ok paused and sleep both say so 2026-10-28T13:41:25.5097040Z ok a full-screen app counts as in use 2026-10-28T13:41:25.5097680Z ok a sleep gap is never credited 2026-10-28T13:41:25.5098420Z ok pausing stops credit and idle resumes it 2026-10-28T13:41:25.5098930Z ok suspending clears the timer 2026-10-28T13:41:25.5099490Z ok identify reads macOS apps by bundle id 2026-10-28T13:41:25.5100060Z ok identify reads Linux executables 2026-10-28T13:41:25.5100560Z ok rootsFor lays out each OS 2026-10-28T13:41:25.5101060Z ok an unsupported platform says why 2026-10-28T13:41:25.5101910Z 2026-10-28T13:41:25.5102840Z all tracker rules hold 2026-10-28T13:41:25.5375860Z ##[group]Run osascript -e 'tell application "TextEdit" to activate' -e 'tell application "TextEdit" to make new document' 2026-10-28T13:41:25.5376770Z osascript -e 'tell application "TextEdit" to activate' -e 'tell application "TextEdit" to make new document' 2026-10-28T13:41:25.5377340Z sleep 3 2026-10-28T13:41:25.5377810Z out=$(npm run check -- --expect textedit) || { echo "$out"; exit 1; } 2026-10-28T13:41:25.5378190Z echo "$out" 2026-10-28T13:41:25.5378560Z echo "$out" | grep -E '^title +[^( ]' 2026-10-28T13:41:25.5419280Z shell: /bin/bash --noprofile --norc -e -o pipefail {0} 2026-10-28T13:41:25.5419710Z ##[endgroup] 2026-10-28T13:43:29.0681060Z 71:88: execution error: TextEdit got an error: AppleEvent timed out. (-1712) 2026-10-28T13:43:29.0831020Z ##[error]Process completed with exit code 1. 2026-10-28T13:43:29.1154940Z Post job cleanup. 2026-10-28T13:43:29.6918170Z [command]/opt/homebrew/bin/git version 2026-10-28T13:43:29.7389740Z git version 2.56.0 2026-10-28T13:43:29.7470350Z Copying '/Users/runner/.gitconfig' to '/Users/runner/work/_temp/4ce1bffd-b3a1-434e-b5c8-363ce0f7c724/.gitconfig' 2026-10-28T13:43:29.7473810Z Temporarily overriding HOME='/Users/runner/work/_temp/4ce1bffd-b3a1-434e-b5c8-363ce0f7c724' before making global git config changes 2026-10-28T13:43:29.7479580Z Adding repository directory to the temporary git global config as a safe directory 2026-10-28T13:43:29.7480770Z [command]/opt/homebrew/bin/git config --global --add safe.directory /Users/runner/work/screen-time/screen-time 2026-10-28T13:43:29.7722860Z [command]/opt/homebrew/bin/git config --local --name-only --get-regexp core\.sshCommand 2026-10-28T13:43:29.7967120Z [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' || :" 2026-10-28T13:43:29.9788590Z [command]/opt/homebrew/bin/git config --local --name-only --get-regexp http\.https\:\/\/github\.com\/\.extraheader 2026-10-28T13:43:29.9873650Z http.https://github.com/.extraheader 2026-10-28T13:43:29.9945950Z [command]/opt/homebrew/bin/git config --local --unset-all http.https://github.com/.extraheader 2026-10-28T13:43:30.0059420Z [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' || :" 2026-10-28T13:43:30.1643970Z [command]/opt/homebrew/bin/git config --local --name-only --get-regexp ^includeIf\.gitdir: 2026-10-28T13:43:30.1952060Z [command]/opt/homebrew/bin/git submodule foreach --recursive git config --local --show-origin --name-only --get-regexp remote.origin.url 2026-10-28T13:43:30.3408980Z Cleaning up orphan processes 2026-10-28T13:43:32.0715540Z Terminate orphan process: pid (1307) (TextEdit) 2026-10-28T13:43:32.2555690Z ##[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/