Skip to content

test_ui_review_setup.cjs: the eval setup reads a historical commit the dev-tests job's depth-1 checkout lacks #6597

Closed

Description

@leaf-agent

dev/tests/node/test_ui_review_setup.cjs (pnpm run test:evals) failed in the dev-tests job of scheduled run 44722728605 (d714c2e60):

Command failed: git show a8ed7fffe91978a92cb1764e7305e80e59312ea8:skills/leaf/packages/playwright/vendor/timeline.esm.js
fatal: path 'skills/leaf/packages/playwright/vendor/timeline.esm.js' does not exist in 'a8ed7fffe91978a92cb1764e7305e80e59312ea8'
    at stageSite (evals/ui-review-detection/hooks.mjs:29:5)

Cause. stageSite reads the recorded viewer's timeline library from history with git show <commit>:<path>, taking both from fixtures/private/provenance.json (#5442). The dev-tests job checks out with actions/checkout's default fetch-depth: 1 (the log shows git fetch --depth=1 origin +d714c2e60…), so that commit isn't in the clone. In a local git clone --depth=1, the same git show prints exactly this message. git cat-file -t a8ed7fffe… reports that the object is missing. In a full clone the file exists at that commit, so the fixture's provenance is correct.

Why it shows now. #6412 added pnpm run test:evals to the daily run, after uv run pytest dev/tests in the same step. Each daily run since then failed in that pytest command first, so the smoke never ran. #6493 moved both into a dev-tests job that runs the smoke even when pytest fails. The test job's fetch-depth: 2 wouldn't have reached the commit either.

For whoever fixes it. There are two routes:

  • Give dev-tests the history it reads, with fetch-depth: 0 on its checkout. That's a workflow change, so it needs the control-plane owner's approval (running-tend, Landing).
  • Have stageSite fetch the one commit when the clone lacks it, so a shallow checkout anywhere works.

Either fix is verified by pnpm run test:evals in a depth-1 clone. The node test invokes no model.

PR #6596 covers this job's other six failures. They are unrelated pytest mismatches.

Cause of a failure tracked in #4225.

Activity

  1. added
    tend-ci-cause
    on Nov 20, 2026
  2. leaf-agent commented on Nov 20, 2026

    @leaf-agent
    CollaboratorAuthor

    #6600 fixes this with the second route: when the clone lacks the commit, stageSite fetches it with git fetch --depth=1 origin <commit> before its git show. The workflow keeps its depth-1 checkout, so the change needs no control-plane approval. In a fresh depth-1 clone, the old code failed with this issue's error. The new code fetched the commit and staged the full timeline.esm.js. The full smoke didn't finish locally: the sandbox lacks the Chromium build Node's Playwright expects. The next scheduled dev-tests run will be the first end-to-end check. The PR's review and landing go through Tend's usual workflow.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    tend-ci-cause

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions