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

Intermittent 403 on link check prod #1392

Closed
scottqueen-bixal opened this issue Jun 5, 2024 · 2 comments · Fixed by #1526
Closed

Intermittent 403 on link check prod #1392

scottqueen-bixal opened this issue Jun 5, 2024 · 2 comments · Fixed by #1526
Assignees
Labels
bug Something isn't working

Comments

@scottqueen-bixal
Copy link
Collaborator

What's expected

Valid url links should return 2xx or 3xx

What happened

https://www.tsp.gov is returning 403 intermittently during nightly scans

https://github.com/GSA/px-benefit-finder/actions/runs/9376002589/job/25815174079

How to replicate

intermitent nature doesn't allow for reproduction steps

@scottqueen-bixal
Copy link
Collaborator Author

we hit another fail on this test, confirming "flaky" results

https://github.com/GSA/px-benefit-finder/actions/runs/9736124805/job/26866302630

Some investigation suggest that it could be due to a cross-origin error on the cypress crawler

This leaves us with two options to proceed with

  1. Disable chrome web security for this tests, https://docs.cypress.io/guides/guides/web-security#Disabling-Web-Security
  2. Or two, ignore this flaky link in the test itself

@scottqueen-bixal
Copy link
Collaborator Author

We were able to handle the test in a different way, by adding more specificity to the code handling rather than excluding or ignoring security params

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants