Repository navigation
docs(skills): add fallback when pkg.pr.new returns 404 for main tip - #192
schiller-manuel wants to merge 2 commits into
Conversation
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>
|
Warning Review limit reachedYou've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository. Next included review available in 56 minutes. View limit details
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. |
|
…lacement `Publish preview` runs after the jobs in its `needs` list pass, not after all CI jobs. The non-blocking Windows end-to-end job is not in that list. Say so in setup step 2 and in the problems entry, and name the cause seen on 7b6bae1: the blocking random-seed gap job failed, so the preview was skipped. Move the fallback paragraph below the "Add fast-check and vitest beside them" paragraph, so "them" refers to the install block again. Point the default-commit sentence at the fallback. Co-authored-by: Isaac <no-reply@databricks.com>
Problem
packages/oracles/skills/oracles-setup/SKILL.mdstep 2 instructs agents and developers to install@tanstack/oraclesand@tanstack/eslint-plugin-oraclesfrompkg.pr.newusing the 7-char SHA at the tip ofmain.Because
Publish previewruns only after all CI jobs pass and takes several minutes after a push tomain,pkg.pr.newcan return HTTP 404 for the tip ofmain(for example, right after a push or when an intermittent CI failure causesPublish previewto be skipped, as happened on7b6bae1while6d05f05returned HTTP 200).Changes
packages/oracles/skills/oracles-setup/SKILL.md(step 2): add concise fallback guidance to check recent commits onmainfor the latest commit whosePublish previewcheck succeeded (or whosepkg.pr.newURL returns HTTP 200 viacurl -sI), pin both packages to that commit, and tell the developer which commit was pinned.packages/oracles/skills/oracles-explore/references/problems.md(## Installs): add a matching troubleshooting entry for HTTP 404 frompkg.pr.newon the tip ofmain.Validation
pnpm run build— passedpnpm run format:check— passedpnpm run lint:check— passedpnpm --filter @tanstack/oracles run test— 8 test files, 117 tests passedpnpm --filter @tanstack/eslint-plugin-oracles run test— 15 test files, 7335 tests passed (includingshipped-citations.test.js)git diff --check— passed