Skip to content

Conversation

@kporras07
Copy link
Contributor

No description provided.

@kporras07 kporras07 requested a review from a team as a code owner July 22, 2025 21:04
Copy link
Member

@greg-1-anderson greg-1-anderson left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is ok, but since it won't work for currently installed versions of Terminus, my first question is whether there would be some way to modify ygg to have it return some response (e.g. error status code) from the getSiteMetrics() function that would cause Terminus to return an appropriate error message. If there's no way to do that, then I'd continue as you have here.

@namespacebrian
Copy link
Contributor

namespacebrian commented Jul 22, 2025

why tests fail??
n/m they pass now

@namespacebrian namespacebrian changed the title [DEVX-5319] Metrics not work for node sites. [DEVX-5319] Metrics aren't yet available for Node.js sites. Jul 25, 2025
@stevector
Copy link
Contributor

@greg-1-anderson can you expand on "but since it won't work for currently installed versions of Terminus" ?

@namespacebrian namespacebrian merged commit b96a1eb into 4.x Jul 28, 2025
12 of 14 checks passed
@namespacebrian namespacebrian deleted the devx-5319 branch July 28, 2025 21:12
@stevector
Copy link
Contributor

@greg-1-anderson answered in a meeting that he was concerned about the error behavior for someone who runs this command without having updated to a version of Terminus that includes this change.

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.

5 participants