Skip to content
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

feat: canonical url audit #326

Merged
merged 84 commits into from
Aug 14, 2024
Merged

feat: canonical url audit #326

merged 84 commits into from
Aug 14, 2024

Conversation

AndreiAlexandruParaschiv
Copy link
Contributor

@AndreiAlexandruParaschiv AndreiAlexandruParaschiv commented Jul 19, 2024

Ticket : https://jira.corp.adobe.com/browse/SITES-18823

Canonical Audit

  • gets 200 top url pages from DB
  • each url page is verified against diverse canonical checks
  • output results
"auditResult": {
           "canonical-url-lowercased": {
			"success": true,
			"url": [
			"https://example.com",
                                  ...]
                           },
            "canonical-url-same-protocol": {
                        "success": false,
			"url": [
			"https://example.com/testPage",
                                  ...]
                            }
                   ...
            ]

Get canonical results: {{ Spacecat_dev }}/{siteId}/latest-audit/canonical

@AndreiAlexandruParaschiv AndreiAlexandruParaschiv added enhancement New feature or request WIP work in progress labels Jul 19, 2024
Copy link

This PR will trigger a minor release when merged.

@AndreiAlexandruParaschiv AndreiAlexandruParaschiv marked this pull request as ready for review July 30, 2024 09:55
@AndreiAlexandruParaschiv AndreiAlexandruParaschiv removed the WIP work in progress label Aug 8, 2024
src/canonical/handler.js Show resolved Hide resolved
test/audits/canonical.test.js Show resolved Hide resolved
src/canonical/handler.js Outdated Show resolved Hide resolved
@AndreiAlexandruParaschiv AndreiAlexandruParaschiv merged commit 86692c8 into main Aug 14, 2024
4 checks passed
solaris007 pushed a commit that referenced this pull request Aug 14, 2024
# [1.25.0](v1.24.0...v1.25.0) (2024-08-14)

### Features

* canonical url audit ([#326](#326)) ([86692c8](86692c8))
@solaris007
Copy link
Member

🎉 This PR is included in version 1.25.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request released
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants