Skip to content

Conversation

bp-cos
Copy link
Contributor

@bp-cos bp-cos commented Jul 31, 2025

Purpose

Update to detach the metrics call to preprint metric failures from preventing the preprint detail page from loading

Summary of Changes

Make to query calls: One to get the preprint and the other one to get the preprint with metrics.

Screenshot(s)

N/A

Side Effects

I can only test the "error" locally. By deduction it should work

QA Notes

You need to find a way to have the metrics server be down

…eventing the preprint detail page from loading
@bp-cos bp-cos requested review from adlius and brianjgeiger July 31, 2025 16:41
@adlius adlius merged commit baa5676 into CenterForOpenScience:feature/pbs-25-12 Aug 1, 2025
9 checks passed
@bp-cos bp-cos deleted the bug-fix/eng-8492 branch August 1, 2025 19:07
adlius added a commit that referenced this pull request Aug 1, 2025
* Added fix to break a race-condition error

* Refactor to use the abstracted method

* [eng-8159] Allow collections without metadata to be submitted

* Added a new banner for all OSF preprints

* Updates for the PR

* Added an enabled true/false to prevent a race condition

* Removed the unnecessary @enabled pass through variable

* Forgot to save the template

* Updates to fix the viewOnlyToken in cases there is a / or %2fF at the end (#2603)

[ENG-8174] Extra Characters (%2F) in View-Only Files Tab URL Prevent Page from Loading

* [eng-8492] Update to detach the metrics call to preprint metric failures from preventing the preprint detail page from loading (#2604)

* Update to detach the metrics call to preprint metric failures from preventing the preprint detail page from loading

* This is much better

* Removed unneeded file

* apiMetrics -> apiMeta (#2605)

* fix again (#2606)

---------

Co-authored-by: Brian Pilati <[email protected]>
Co-authored-by: Lord Business <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants