question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

PR updates not picked up by PR companion?

See original GitHub issue

Great work on the preview URLs / the PR companion. Really love this!

In https://github.com/mdn/content/pull/4048 innerHTML was updated to textContent in the code example but I still see innerHTML here: https://pr4048.content.dev.mdn.mozit.cloud/en-US/docs/Web/API/Document/caretPositionFromPoint

If a content PR sees updates, does the PR companion update the preview? Or is it caching on some side that prevents me from previewing the most current version of a PR?

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:5 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
escattonecommented, Apr 13, 2021

Just saw this, hi @Elchi3! I went ahead and disabled caching on the *.content.dev.mdn.mozit.cloud domains, since there’s really no need for it (other than mimicking the functionality of stage and prod). So this issue should be resolved. Thanks for letting us know @Elchi3!

If we decide later that we’d like some caching, I could re-enable it and force it to something like a few minutes, but I don’t see the need at this point in time.

0reactions
peterbecommented, Apr 14, 2021

Just saw this, hi @Elchi3! I went ahead and disabled caching on the *.content.dev.mdn.mozit.cloud domains, since there’s really no need for it (other than mimicking the functionality of stage and prod). So this issue should be resolved. Thanks for letting us know @Elchi3!

If we decide later that we’d like some caching, I could re-enable it and force it to something like a few minutes, but I don’t see the need at this point in time.

That will disable the ability to push a branch of testing some web perf feature in Yari. E.g. my branch where I experimented with doing some lazy-loaded BCD tables.

I would much prefer that we do this in the Deployer. We’re very explicit about calling the Deployer. The call to poetry run deployer upload ... is distinct in the PR Review Companion compared to dev-build.yml. I’ll make a PR about it and perhaps if that works, we can set the default caching back on that CloudFront instance.

Read more comments on GitHub >

github_iconTop Results From Across the Web

The 12 Ironclad Rules for Issuing Press Releases - Neil Patel
Reaching out to a few business partners may be all you need to find a cross-promotion partner for your next PR campaign. Rule...
Read more >
The Best Time & Day to Send a Press Release [2023 Update]
By using a PR outreach tool like Prowly to send press releases, you'll be able to find out the optimal open rates based...
Read more >
PR Newswire: press release distribution, targeting, monitoring ...
PR Newswire's news distribution, targeting, monitoring and marketing solutions help you connect and engage with target audiences across the globe.
Read more >
HOW TO ENABLE SUBMIT BUTTON in PR online Portal
In this video, we will cover 5 most common reasons the PR online portal for Canada won't let you submit your application.
Read more >
Press Release Distribution: Top 11 Services + 4 Mistakes to ...
You need to distribute it effectively to get your story picked up by ... press release distribution service homepage by PR Distribution.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found