Repository navigation
Conversation
…t is also a sitemap URL still counts as pending #1405 Signed-off-by: Nik Cubrilovic <[email protected]>
Merged
Contributor
Author
|
Landed in v0.0.151 as nik |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes #1405.
prioritizeSeedinpackages/crawler/src/core/crawler.tswashasDeepPath(typed) || hasDeepPath(destination), so an origin-only start that redirects to a deep page (/to/en/) still enqueued the seed ahead of the sitemap, changing frontier ownership and thesitemapPendingCountbaseline.hasDeepPath(userProvidedUrl)). The CLI already passes the typed URL asoriginalUrl. A deep start that redirects to the root is covered by the typed URL.packages/crawler/tests/deep-seed-order-1405.test.tsthrough the realcrawler.start()(3 tests, 2 fail on main): deep typed start owns the seed entry, typed root redirecting to a deep page with the destination in the sitemap keeps the sitemap copy, seed-only-in-sitemap keeps quick mode discovery off.docs/cli/audit.mdxsentence, andmeta.requestedUrlnamed in the optional-keys list ofdocs/configuration/output.mdx. CHANGELOG under Unreleased / Fixed.Based on the branch scratch/adopt-1385-my-followup (479e066f) but reduced to the crawler change: main's #1385 already carries the typed URL as
originalUrl, so the extrarequestedUrlplumbing from that branch is not needed.Local: new test, the #1369 CLI e2e (5), format:check, crawler tsgo, docs
make validate. Skill: no change needed.nik