From 325d3ddba27f9c0e4ecb799131dfc284b87489e2 Mon Sep 17 00:00:00 2001 From: Manuel Schiller <6340397+schiller-manuel@users.noreply.github.com> Date: Mon, 23 Nov 2026 11:37:37 +0100 Subject: [PATCH] docs(skills): add fallback when pkg.pr.new returns 404 for main tip Document how to fall back to the latest commit on main whose Publish preview check succeeded (or returns HTTP 200 via curl -sI) when pkg.pr.new returns HTTP 404 for the current tip of main. Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> --- .../oracles/skills/oracles-explore/references/problems.md | 7 +++++++ packages/oracles/skills/oracles-setup/SKILL.md | 7 +++++++ 2 files changed, 14 insertions(+) diff --git a/packages/oracles/skills/oracles-explore/references/problems.md b/packages/oracles/skills/oracles-explore/references/problems.md index 2a1e45c9..10ed58c2 100644 --- a/packages/oracles/skills/oracles-explore/references/problems.md +++ b/packages/oracles/skills/oracles-explore/references/problems.md @@ -25,6 +25,13 @@ Vitest 5 needs Node 22.12 or later. Which Node versions CI runs is a question for when the repository's setup is finished: do not raise it now. +**`pkg.pr.new` returns HTTP 404 for the tip of `main`.** The preview for that +commit is still building or was skipped after a CI failure. Check recent +commits on `main` in `TanStack/oracles` for the latest one whose `Publish +preview` check succeeded (or whose `pkg.pr.new` URL returns HTTP 200 with +`curl -sI`), pin both packages to that commit, and tell the developer which +commit you pinned. + **An install fails.** Show the error in a line or two, say what you think caused it, and ask before you try anything that changes more than the packages the oracle needs. Once the install works, go on from where you diff --git a/packages/oracles/skills/oracles-setup/SKILL.md b/packages/oracles/skills/oracles-setup/SKILL.md index 233c0f16..8751e831 100644 --- a/packages/oracles/skills/oracles-setup/SKILL.md +++ b/packages/oracles/skills/oracles-setup/SKILL.md @@ -61,6 +61,13 @@ pnpm add -D \ fast-check@^4 vitest@^4.1 ``` +If `pkg.pr.new` returns HTTP 404 for the tip of `main`, its preview is still +building or was skipped after a CI failure. Check recent commits on `main` for +the latest one whose `Publish preview` check succeeded (or whose +`https://pkg.pr.new/TanStack/oracles/@tanstack/oracles@` returns HTTP 200 +with `curl -sI`), pin both packages to that commit, and tell the developer +which commit you pinned. + Add `fast-check` and `vitest` beside them. The framework needs Vitest 4.1 or later. If the repository already runs an older Vitest, upgrading it is the developer's decision: ask, and with no developer present, do not upgrade. Report it as