Skip to content

Fixed the parse5 version hard-coded in the function-tracing test - #398

Merged
aileen merged 1 commit into
mainfrom
aileen/renovate-ci-root-causes
Nov 11, 2026
Merged

aileen merged 1 commit into
mainfrom
aileen/renovate-ci-root-causes

Conversation

@aileen

@aileen aileen commented Nov 11, 2026 •

Copy link
Copy Markdown
Member

Follow-up to #390 and #396: the remaining Renovate PR failures had two causes; this PR fixes the one that needs a code change.

Hard-coded parse5 version (#370). function-tracing.acceptance.test.mjs asserted the literal archive path node_modules/.pnpm/parse5@8.0.1/..., so every parse5 bump failed. The expected path is now derived by resolving parse5 from the extractor package at test time; on the current lockfile the derived value is byte-identical to the old literal, and it tracks future bumps automatically. The tracing test runs in the netlify deploy-build simulation, which only works from standard clones, so this PR's own CI run is the end-to-end check.

Fresh-release failures (#391/#392/#393) need no change. pnpm 12's default 24-hour minimumReleaseAge rejects packages published less than a day ago (ERR_PNPM_MINIMUM_RELEASE_AGE_VIOLATION). That is the policy working as intended: those PRs simply wait until the release ages out and their next rebase goes green (nx 24.0.6 and netlify-cli 27.17.0 are already past the window; vite 8.3.8 ages out at 02:46 UTC). An earlier revision of this PR mirrored the window in renovate.json; that was deliberately dropped — we comply with the default policy and let young PRs wait.

@netlify

netlify Bot commented Nov 11, 2026 •

Copy link
Copy Markdown

✅ Deploy Preview for alg-helpcenter ready!

Name Link
🔨 Latest commit d1f4204
🔍 Latest deploy log https://app.netlify.com/projects/alg-helpcenter/deploys/6af44885afde74518a7457dd
😎 Deploy Preview https://deploy-preview-398--alg-helpcenter.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.
🤖 Make changes Run an agent on this branch

To edit notification comments on pull requests, go to your Netlify project configuration.

@coderabbitai

coderabbitai Bot commented Nov 11, 2026 •

Copy link
Copy Markdown

Warning

Review limit reached

  • Run on-demand review

This review includes 1 billable file and costs up to $0.25.

  • Ask an admin to make reviews automatic

Open in CodeRabbit

Reviews can continue after your included limit without a manual trigger. An admin must approve usage-based billing.

Or wait 22 minutes for your next included review.

Check out review usage here.

View limit details

Limit details: You’ve used the included review currently available. Your 60 included PR review attempts over the past 7 days set your current allowance at 1 review per hour.

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: Organization UI
  • Review profile: CHILL
  • Plan: Essentials
  • Run ID: 113df233-1d2e-428e-b076-5e9f30a25169
Commits

Reviewing files that changed from the base of the PR and between fbc8c7c and d1f4204.

Files selected for processing: 1

  • packages/algolia-netlify/test/function-tracing.acceptance.test.mjs
Pre-merge checks: Inconclusive 2

Failed Failed checks: 2 inconclusive

Check name Status Explanation Resolution
Title check Pending This assessment has not completed. The check will be retried on the next pre-merge check run.
Description check Pending This assessment has not completed. The check will be retried on the next pre-merge check run.
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

@aileen aileen changed the title Fixed the two root causes keeping Renovate PRs red in CI Fixed the parse5 version hard-coded in the function-tracing test Nov 11, 2026
`function-tracing.acceptance.test.mjs` asserted the literal pnpm store path
`node_modules/.pnpm/parse5@8.0.1/...` inside the packaged function archive,
so every Renovate bump of parse5 failed CI even though the tracing itself
worked. The expected path is now derived at test time by resolving parse5
from the extractor package, which keeps asserting that the exact installed
parse5 build is traced into the archive while following whatever version the
lockfile carries. On the current lockfile the derived path is byte-identical
to the removed literal, so the assertion's strength is unchanged.
@aileen
aileen force-pushed the aileen/renovate-ci-root-causes branch from fd2599b to d1f4204 Compare November 11, 2026 10:50
@aileen
aileen enabled auto-merge (squash) November 11, 2026 10:50
@aileen
aileen merged commit 67a9bea into main Nov 11, 2026
14 checks passed
@aileen
aileen deleted the aileen/renovate-ci-root-causes branch November 11, 2026 10:51
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