-
Notifications
You must be signed in to change notification settings - Fork 23
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Feature: Add warning and collect details of URL errors in sitemap #830
Merged
Conversation
This file contains 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
Continue analysing in sitemap if single url is invalid.
…l into feat/adding-warning-for-server-error
Add error.log in the stack trace.
mohdsayed
reviewed
Sep 6, 2024
mohdsayed
reviewed
Sep 6, 2024
mohdsayed
reviewed
Sep 6, 2024
packages/report/src/dashboard/components/urlsWithIssues/index.tsx
Outdated
Show resolved
Hide resolved
mohdsayed
reviewed
Sep 6, 2024
packages/report/src/dashboard/components/urlsWithIssues/index.tsx
Outdated
Show resolved
Hide resolved
mohdsayed
reviewed
Sep 6, 2024
urlsToProcess, | ||
cookieAnalysisAndFetchedResourceData, | ||
technologyAnalysisData | ||
); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍
mohdsayed
approved these changes
Sep 6, 2024
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good. Just a few comments to address.
amovar18
added a commit
that referenced
this pull request
Dec 5, 2024
* adding server error check * Throw error properly without printing the whole stack trace. * Add failure cross when analysis fails. Continue analysing in sitemap if single url is invalid. * Add support to collect all erroredOutUrls. * Move getSiteReport to utils package. * Add Urls with issues to cli dashboard. * Add support for stackTrace in error collection. * Add URL with issue icon. * Add error stack trace properly. * Fix failing tests * Fix cli e2e * Fix cli e2e and update the icon size. * Test cli e2e test passing. * Remove rmsync. * Change the url for testing. * Remove debug. * Skip CLI E2E tests. * Change description to error description. * Add a console.log message to indicate failing urls. * Add method to generate error logs. * Prettify stack trace. Add error.log in the stack trace. * Add feedback for the urls. * Fix bugs. * Fix name or urls. * Fix condition. * Fix QA feedbacks. * Fix url in sidebar. * use url instead of _url * Use shorthand and use index. * Refactor code. * Move error logs in common and download errorlog when using -o. * Address minor code feedbacks. --------- Co-authored-by: Fellyph Cintra <fellyph.cintra@gmail.com>
Merged
amovar18
added a commit
that referenced
this pull request
Dec 12, 2024
* adding server error check * Throw error properly without printing the whole stack trace. * Add failure cross when analysis fails. Continue analysing in sitemap if single url is invalid. * Add support to collect all erroredOutUrls. * Move getSiteReport to utils package. * Add Urls with issues to cli dashboard. * Add support for stackTrace in error collection. * Add URL with issue icon. * Add error stack trace properly. * Fix failing tests * Fix cli e2e * Fix cli e2e and update the icon size. * Test cli e2e test passing. * Remove rmsync. * Change the url for testing. * Remove debug. * Skip CLI E2E tests. * Change description to error description. * Add a console.log message to indicate failing urls. * Add method to generate error logs. * Prettify stack trace. Add error.log in the stack trace. * Add feedback for the urls. * Fix bugs. * Fix name or urls. * Fix condition. * Fix QA feedbacks. * Fix url in sidebar. * use url instead of _url * Use shorthand and use index. * Refactor code. * Move error logs in common and download errorlog when using -o. * Address minor code feedbacks. --------- Co-authored-by: Fellyph Cintra <fellyph.cintra@gmail.com>
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.
Description
This PR aims to collect errors on URL which occur while analysing the sitemap.
Relevant Technical Choices
Testing Instructions
npm i
and runnpm run build:cli:dashboard
.Example:
CSV File: psat-csv-test.csv
Run
npm run cli -- -f ~/Downloads/psat-csv-test.csv
Additional Information:
Screenshot/Screencast
Checklist
Fixes #818