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

[Bug] Side TOC does not work for navigation #5846

Open
1 of 4 tasks
Naarcha-AWS opened this issue Dec 12, 2023 · 3 comments
Open
1 of 4 tasks

[Bug] Side TOC does not work for navigation #5846

Naarcha-AWS opened this issue Dec 12, 2023 · 3 comments
Labels
bug Technical problem with the doc site or broken link known-issue An issue that will remain open for posterity, but does not require any work at this time. needs-webdev-support Needs support from web developer

Comments

@Naarcha-AWS
Copy link
Collaborator

What do you want to do?

  • Request a change to existing documentation
  • Add new documentation
  • Report a technical problem with the documentation
  • Other

Tell us about your request. Provide a summary of the request and all versions that are affected.

Browser version: Firefox 115.5.0esr

When selecting certain pages on the side TOC in production, it redirects me back to the home page, as shown in the following recording:

Screen.Recording.2023-12-12.at.12.38.23.PM.mov

In my local instance, the side TOC works fine. I also tried clearing my cache, but the bug persisted. Could this be a redirect or Jekyll config issue? Do we need to clear our memory on the backend?

What other resources are available? Provide links to related issues, POCs, steps for testing, etc.

@ohltyler
Copy link
Member

+1, I was seeing this when trying to visit https://opensearch.org/docs/latest/search-plugins/search-pipelines/index/. Although the direct links to 2.11 were working as expected. I am using Chrome. It seemed to be transient and resolved after a minute or two.

@AMoo-Miki
Copy link
Collaborator

Based on the timestamp of the video and the logs, I believe the site was accessed while edge cache invalidation was going on. When the build process triggers this action, it doesn't wait for it to complete and simply moves on. In the past, when we didn't have as much content, the invalidation would complete by the time the build pipeline completed but nowadays, the invalidation completes roughly 5 mins after the pipeline completes. If the website is accessed during that time, a request could randomly fail and the failure would be cached in the browser for a minute or two (which is what Tyler observed).

We have 3 options (bad to good):

  1. Accept that this duration will progressively increase and that deployment pipeline ending is not the end of the action.
  2. Create a mechanism to check for the completion of cache invalidation; this would prevent giving the wrong sense of completion when things are still happening.
  3. Use a hosting stack that works better for us.

Over the past couple of years, our content has evolved, our needs have changed, and we have learned that we need features that our current hosting platform cannot offer. I would love to switch our hosting stack.

However, until then, this is a known limitation.

@Naarcha-AWS Naarcha-AWS added Blocked PR: Cannot move forward without assistance 1 - Backlog Issue: The issue is unassigned or assigned but not started bug Technical problem with the doc site or broken link known-issue An issue that will remain open for posterity, but does not require any work at this time. labels Dec 14, 2023
@hdhalter hdhalter added needs-webdev-support Needs support from web developer and removed 1 - Backlog Issue: The issue is unassigned or assigned but not started Blocked PR: Cannot move forward without assistance labels Jan 17, 2024
@hdhalter
Copy link
Contributor

#7185

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Technical problem with the doc site or broken link known-issue An issue that will remain open for posterity, but does not require any work at this time. needs-webdev-support Needs support from web developer
Projects
None yet
Development

No branches or pull requests

4 participants