GitHub check

Whole log, 21 KB
Current runner version: '2.337.0'
Runner name: 'blacksmith-8vcpu-ubuntu-2404-tc7eznd5zkmwuyxs'
Runner group name: 'blacksmith scale sets - blacksmith-8vcpu-ubuntu-2404'
Machine name: 'ip-172-31-73-130'
â–¸ GITHUB_TOKEN Permissions
Contents: read
Issues: write
Metadata: read
PullRequests: write
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 'voidzero-dev/setup-vp@v1' (SHA:250f29ce396baf5e8f24498e17c0dfdebabc26eb)
Download action repository 'actions/github-script@v8' (SHA:ed597411d8f924073f98dfc5c65a23a2325f34cd)
Setting BLACKSMITH_ACTIONS_RESULTS_URL to https://results-receiver.actions.githubusercontent.com/
Complete job name: Native fingerprint diff
A job started hook has been configured by the self-hosted runner administrator
â–¸ Run '/setup.sh'
shell: /usr/bin/bash --noprofile --norc -e -o pipefail {0}
env:
  BLACKSMITH_RUNNER_MESSAGE_WAIT_MS: 209
  BLACKSMITH_RUNNER_ACQUIRE_JOB_MS: 652
  BLACKSMITH_CHECK_RUN_ID: 119974427778
  BLACKSMITH_JOB_DISPLAY_NAME: Native fingerprint diff
  GITHUB_ACTIONS_CACHE_MODE: write
Logging daemon started (blacksmithd for logs)
Results daemon started (blacksmithd for results)
Background adoption and SSH setup started (PID: 3145)

----------------------------------------
View this job: https://app.blacksmith.sh/pingdotgg/runs/39821720376/jobs/119974427778
SSH Access (using your GitHub SSH key):
  ssh -p 64004 runner@blacksmith-8vcpu-ubuntu-2404-tc7eznd5zkmwuyxs.vm.blacksmith.sh

No GitHub SSH key? Add one at:
https://docs.github.com/en/authentication/connecting-to-github-with-ssh/adding-a-new-ssh-key-to-your-github-account

----------------------------------------

VM ID: blacksmith-8vcpu-ubuntu-2404-tc7eznd5zkmwuyxs
Host: production-152.236.39.197-x8664
Host Agent PID: 1419645
Host Agent Git SHA: 266f03d96
Host CPU Manufacturer: AuthenticAMD
Blacksmith Host Generation: gen 2
Petname: production-stunning-squid-103c8ba2
Region: us-east
Rootfs Version: ubuntu24-full-x64-081926
OS Version: Ubuntu 24.04.4 LTS

Enabling Blacksmith transparent cache
â–¸ Run actions/checkout@v6
with:
  ref: 286afa4fa605edf22be876a2f4bb2f52d3df8a18
  fetch-depth: 2
  repository: pingdotgg/t3code
  token: ***
  ssh-strict: true
  ssh-user: git
  persist-credentials: true
  clean: true
  sparse-checkout-cone-mode: true
  fetch-tags: false
  show-progress: true
  lfs: false
  submodules: false
  set-safe-directory: true
  allow-unsafe-pr-checkout: false
env:
  APP_VARIANT: production
  NODE_OPTIONS: --max-old-space-size=8192
  BLACKSMITH_RUNNER_MESSAGE_WAIT_MS: 209
  BLACKSMITH_RUNNER_ACQUIRE_JOB_MS: 652
  GITHUB_REPO_NAME: pingdotgg/t3code
Syncing repository: pingdotgg/t3code
â–¸ Getting Git version info
Working directory is '/home/runner/_work/t3code/t3code'
[command]/usr/local/bin/git version
git version 2.55.0
Temporarily overriding HOME='/home/runner/_work/_temp/32006e37-2617-4670-b87b-b0a4bac73197' before making global git config changes
Adding repository directory to the temporary git global config as a safe directory
[command]/usr/local/bin/git config --global --add safe.directory /home/runner/_work/t3code/t3code
Deleting the contents of '/home/runner/_work/t3code/t3code'
â–¸ Determining repository object format
â–¸ Initializing the repository
[command]/usr/local/bin/git init /home/runner/_work/t3code/t3code
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/t3code/t3code/.git/
[command]/usr/local/bin/git remote add origin https://github.com/pingdotgg/t3code
â–¸ Disabling automatic garbage collection
[command]/usr/local/bin/git config --local gc.auto 0
â–¸ Setting up auth
Removing SSH command configuration
[command]/usr/local/bin/git config --local --name-only --get-regexp core\.sshCommand
[command]/usr/local/bin/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/local/bin/git config --local --name-only --get-regexp http\.https\:\/\/github\.com\/\.extraheader
[command]/usr/local/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' || :"
Removing includeIf entries pointing to credentials config files
[command]/usr/local/bin/git config --local --name-only --get-regexp ^includeIf\.gitdir:
[command]/usr/local/bin/git submodule foreach --recursive git config --local --show-origin --name-only --get-regexp remote.origin.url
[command]/usr/local/bin/git config --file /home/runner/_work/_temp/git-credentials-a3131e0b-e7f5-4db9-8f5f-c4c1f4d1c3d6.config http.https://github.com/.extraheader AUTHORIZATION: basic ***
[command]/usr/local/bin/git config --local includeIf.gitdir:/home/runner/_work/t3code/t3code/.git.path /home/runner/_work/_temp/git-credentials-a3131e0b-e7f5-4db9-8f5f-c4c1f4d1c3d6.config
[command]/usr/local/bin/git config --local includeIf.gitdir:/home/runner/_work/t3code/t3code/.git/worktrees/*.path /home/runner/_work/_temp/git-credentials-a3131e0b-e7f5-4db9-8f5f-c4c1f4d1c3d6.config
[command]/usr/local/bin/git config --local includeIf.gitdir:/github/workspace/.git.path /github/runner_temp/git-credentials-a3131e0b-e7f5-4db9-8f5f-c4c1f4d1c3d6.config
[command]/usr/local/bin/git config --local includeIf.gitdir:/github/workspace/.git/worktrees/*.path /github/runner_temp/git-credentials-a3131e0b-e7f5-4db9-8f5f-c4c1f4d1c3d6.config
â–¸ Fetching the repository
[command]/usr/local/bin/git -c protocol.version=2 fetch --no-tags --prune --no-recurse-submodules --depth=2 origin 286afa4fa605edf22be876a2f4bb2f52d3df8a18
From https://github.com/pingdotgg/t3code
 * branch              286afa4fa605edf22be876a2f4bb2f52d3df8a18 -> FETCH_HEAD
[command]/usr/local/bin/git rev-parse --verify --quiet 286afa4fa605edf22be876a2f4bb2f52d3df8a18^{object}
286afa4fa605edf22be876a2f4bb2f52d3df8a18
â–¸ Determining the checkout info
[command]/usr/local/bin/git sparse-checkout disable
[command]/usr/local/bin/git config --local --unset-all extensions.worktreeConfig
â–¸ Checking out the ref
[command]/usr/local/bin/git checkout --progress --force 286afa4fa605edf22be876a2f4bb2f52d3df8a18
Updating files:  79% (22494/28137)
Updating files:  80% (22510/28137)
Updating files:  81% (22791/28137)
Updating files:  82% (23073/28137)
Updating files:  83% (23354/28137)
Updating files:  84% (23636/28137)
Updating files:  85% (23917/28137)
Updating files:  86% (24198/28137)
Updating files:  87% (24480/28137)
Updating files:  88% (24761/28137)
Updating files:  89% (25042/28137)
Updating files:  90% (25324/28137)
Updating files:  91% (25605/28137)
Updating files:  92% (25887/28137)
Updating files:  93% (26168/28137)
Updating files:  94% (26449/28137)
Updating files:  95% (26731/28137)
Updating files:  96% (27012/28137)
Updating files:  97% (27293/28137)
Updating files:  98% (27575/28137)
Updating files:  99% (27856/28137)
Updating files: 100% (28137/28137)
Updating files: 100% (28137/28137), done.
Note: switching to '286afa4fa605edf22be876a2f4bb2f52d3df8a18'.

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 286afa4f Merge 31019fac0f9d55584cfae7e66c6b13ab938ca451 into f054d1b8018721bd997d99cbb918a7b17bf098a4
[command]/usr/local/bin/git log -1 --format=%H
286afa4fa605edf22be876a2f4bb2f52d3df8a18
â–¸ Run base_sha=$(git rev-parse HEAD^1)
base_sha=$(git rev-parse HEAD^1)
echo "base_sha=$base_sha" >> "$GITHUB_OUTPUT"
paths=$(git diff --no-renames --name-only "$base_sha" HEAD -- \
  apps/mobile/ packages/client-runtime/ packages/contracts/ packages/shared/ \
  assets/ scripts/ patches/ package.json pnpm-lock.yaml pnpm-workspace.yaml \
  .github/workflows/mobile-fingerprint-check.yml)
if [[ -n "$paths" ]]; then
  echo "relevant=true" >> "$GITHUB_OUTPUT"
else
  echo "relevant=false" >> "$GITHUB_OUTPUT"
  echo "No native fingerprint inputs changed; clearing any stale native change label." >> "$GITHUB_STEP_SUMMARY"
fi
shell: /usr/bin/bash -e {0}
env:
  APP_VARIANT: production
  NODE_OPTIONS: --max-old-space-size=8192
  BLACKSMITH_RUNNER_MESSAGE_WAIT_MS: 209
  BLACKSMITH_RUNNER_ACQUIRE_JOB_MS: 652
  GITHUB_REPO_NAME: pingdotgg/t3code
â–¸ Run actions/github-script@v8
with:
  script: const managedLabel = {
  name: "📱 Native Change",
  color: "d93f0b",
  description:
    "Changes the native fingerprint; merging blocks production OTAs until a new store build ships.",
};
const nativeChanged = (process.env.CHANGED_PLATFORMS ?? "").trim() !== "";
const issueNumber = context.payload.pull_request.number;

try {
  const { data: existing } = await github.rest.issues.getLabel({
    owner: context.repo.owner,
    repo: context.repo.repo,
    name: managedLabel.name,
  });

  if (
    existing.color !== managedLabel.color ||
    (existing.description ?? "") !== managedLabel.description
  ) {
    await github.rest.issues.updateLabel({
      owner: context.repo.owner,
      repo: context.repo.repo,
      name: managedLabel.name,
      color: managedLabel.color,
      description: managedLabel.description,
    });
  }
} catch (error) {
  if (error.status !== 404) {
    throw error;
  }

  try {
    await github.rest.issues.createLabel({
      owner: context.repo.owner,
      repo: context.repo.repo,
      name: managedLabel.name,
      color: managedLabel.color,
      description: managedLabel.description,
    });
  } catch (createError) {
    if (createError.status !== 422) {
      throw createError;
    }
  }
}

const { data: currentLabels } = await github.rest.issues.listLabelsOnIssue({
  owner: context.repo.owner,
  repo: context.repo.repo,
  issue_number: issueNumber,
  per_page: 100,
});
const hasLabel = currentLabels.some((label) => label.name === managedLabel.name);

if (nativeChanged && !hasLabel) {
  await github.rest.issues.addLabels({
    owner: context.repo.owner,
    repo: context.repo.repo,
    issue_number: issueNumber,
    labels: [managedLabel.name],
  });
} else if (!nativeChanged && hasLabel) {
  try {
    await github.rest.issues.removeLabel({
      owner: context.repo.owner,
      repo: context.repo.repo,
      issue_number: issueNumber,
      name: managedLabel.name,
    });
  } catch (removeError) {
    if (removeError.status !== 404) {
      throw removeError;
    }
  }
}

core.info(
  `PR #${issueNumber}: native fingerprint ${nativeChanged ? `changed (${process.env.CHANGED_PLATFORMS})` : "unchanged"}`,
);

  github-token: ***
  debug: false
  user-agent: actions/github-script
  result-encoding: json
  retries: 0
  retry-exempt-status-codes: 400,401,403,404,422
env:
  APP_VARIANT: production
  NODE_OPTIONS: --max-old-space-size=8192
  BLACKSMITH_RUNNER_MESSAGE_WAIT_MS: 209
  BLACKSMITH_RUNNER_ACQUIRE_JOB_MS: 652
  GITHUB_REPO_NAME: pingdotgg/t3code
  CHANGED_PLATFORMS:
PR #23647: native fingerprint unchanged
Post job cleanup.
[command]/usr/local/bin/git version
git version 2.55.0
Temporarily overriding HOME='/home/runner/_work/_temp/8f6c74e5-6f93-4c94-8ef1-ecb1418f5ed2' before making global git config changes
Adding repository directory to the temporary git global config as a safe directory
[command]/usr/local/bin/git config --global --add safe.directory /home/runner/_work/t3code/t3code
Removing SSH command configuration
[command]/usr/local/bin/git config --local --name-only --get-regexp core\.sshCommand
[command]/usr/local/bin/git submodule foreach --recursive sh -c "git config --local --name-only --get-regexp 'core\.sshCommand' && git config --local --unset-all 'core.sshCommand' || :"
fatal: No url found for submodule path '.repos/alchemy-effect/submodules/distilled' in .gitmodules
Warning: The process '/usr/local/bin/git' failed with exit code 128
A job completed hook has been configured by the self-hosted runner administrator
â–¸ Run '/job_completed.sh'
shell: /usr/bin/bash --noprofile --norc -e -o pipefail {0}
env:
  BLACKSMITH_RUNNER_MESSAGE_WAIT_MS: 209
  BLACKSMITH_RUNNER_ACQUIRE_JOB_MS: 652
  BLACKSMITH_CHECK_RUN_ID: 119974427778
  BLACKSMITH_JOB_DISPLAY_NAME: Native fingerprint diff
  GITHUB_ACTIONS_CACHE_MODE: write
Docker container cache not activated, skipping hash computation.
No active SSH sessions detected. Proceeding with shutdown immediately.
Cleaning up orphan processes