Skip to content

docs(skills): add fallback when pkg.pr.new returns 404 for main tip - #192

Open
schiller-manuel wants to merge 1 commit into
mainfrom
docs/oracles-setup-pkg-pr-new-404
Open

schiller-manuel wants to merge 1 commit into
mainfrom
docs/oracles-setup-pkg-pr-new-404

Conversation

@schiller-manuel

Copy link
Copy Markdown

Problem

packages/oracles/skills/oracles-setup/SKILL.md step 2 instructs agents and developers to install @tanstack/oracles and @tanstack/eslint-plugin-oracles from pkg.pr.new using the 7-char SHA at the tip of main.

Because Publish preview runs only after all CI jobs pass and takes several minutes after a push to main, pkg.pr.new can return HTTP 404 for the tip of main (for example, right after a push or when an intermittent CI failure causes Publish preview to be skipped, as happened on 7b6bae1 while 6d05f05 returned HTTP 200).

Changes

  • packages/oracles/skills/oracles-setup/SKILL.md (step 2): add concise fallback guidance to check recent commits on main for the latest commit whose Publish preview check succeeded (or whose pkg.pr.new URL returns HTTP 200 via curl -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 from pkg.pr.new on the tip of main.

Validation

  • pnpm run build — passed
  • pnpm run format:check — passed
  • pnpm run lint:check — passed
  • pnpm --filter @tanstack/oracles run test — 8 test files, 117 tests passed
  • pnpm --filter @tanstack/eslint-plugin-oracles run test — 15 test files, 7335 tests passed (including shipped-citations.test.js)
  • git diff --check — passed

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>
@coderabbitai

coderabbitai Bot commented Nov 23, 2026

Copy link
Copy Markdown

Warning

Review limit reached

You'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 52 minutes.

Check out review usage here.

View limit details

Limit details: You’ve used the included review currently available.

Learn how review limits work.

Review configuration:

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: defaults
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: faa0b45b-75d5-4eab-9eaf-405692629cdc
Commits

Reviewing files that changed from the base of the PR and between 7b6bae1 and 325d3dd.

Files selected for processing: 2

  • packages/oracles/skills/oracles-explore/references/problems.md
  • packages/oracles/skills/oracles-setup/SKILL.md
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

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.

Share

@changeset-bot

changeset-bot Bot commented Nov 23, 2026

Copy link
Copy Markdown

⚠️ No Changeset found

Latest commit: 325d3dd

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant