Skip to content

feat(plugin-metrics): test pipeline - #5060

Open
robstax wants to merge 1 commit into
webex:nextfrom
robstax:test-metrics-e2e
Open

feat(plugin-metrics): test pipeline#5060
robstax wants to merge 1 commit into
webex:nextfrom
robstax:test-metrics-e2e

Conversation

@robstax

@robstax robstax commented Jun 30, 2026

Copy link
Copy Markdown
Contributor

dummy merge

@robstax
robstax requested review from a team as code owners June 30, 2026 16:57
@robstax robstax added the validated If the pull request is validated for automation. label Jun 30, 2026
@robstax
robstax force-pushed the test-metrics-e2e branch from 0754d2f to bc7e1a2 Compare July 22, 2026 14:19
@github-actions github-actions Bot removed the validated If the pull request is validated for automation. label Jul 22, 2026

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: bc7e1a2a7f

ℹ️ About Codex in GitHub

Codex has been enabled to automatically review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback".

this.initFailed = true;
this.logger.error(
`services: failed to init initial services when credentials available, ${error?.message}`
`services: failed to init services when credentials available, ${error?.message}`

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

P2 Badge Restore the expected init failure log text

When initServiceCatalogs() rejects while credentials are present, the existing unit test in packages/@webex/webex-core/test/unit/spec/services/services.js:120-123 still asserts that logger.error receives the old services: failed to init initial services... message. This changed literal makes that rejection-path test fail until the expectation is updated or the log text is restored.

Useful? React with 👍 / 👎.

this.initFailed = true;
this.logger.error(
`services: failed to init initial services when credentials available, ${error?.message}`
`services: failed to init services when credentials available, ${error?.message}`

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

P2 Badge Restore the expected v2 init failure log text

The services-v2 rejection-path test in packages/@webex/webex-core/test/unit/spec/services-v2/services-v2.ts:122-125 still checks for services: failed to init initial services... when credentials exist and initServiceCatalogs() rejects. Because this changed string no longer matches that assertion, the services-v2 unit suite fails unless the test or log message is updated consistently.

Useful? React with 👍 / 👎.

@Coread Coread added the validated If the pull request is validated for automation. label Jul 22, 2026
@robstax
robstax force-pushed the test-metrics-e2e branch from bc7e1a2 to 7313bb2 Compare July 22, 2026 21:23
@github-actions github-actions Bot removed the validated If the pull request is validated for automation. label Jul 22, 2026
@robstax robstax added the validated If the pull request is validated for automation. label Jul 22, 2026
@robstax
robstax force-pushed the test-metrics-e2e branch from 7313bb2 to a29fd99 Compare July 23, 2026 13:05
@github-actions github-actions Bot removed the validated If the pull request is validated for automation. label Jul 23, 2026

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: a29fd999d0

ℹ️ About Codex in GitHub

Codex has been enabled to automatically review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback".

sinon.assert.calledWith(
services.logger.error,
`services: failed to init initial services when no credentials available, ${expectedMessage}`
`services: failed to init services when no credentials available, ${expectedMessage}`

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

P2 Badge Restore the no-credentials failure expectation

When this no-credentials rejection path runs, Services._initializeCatalogsUngated() still logs services: failed to init initial services when no credentials available, ... in packages/@webex/webex-core/src/lib/services/services.js:1498. This updated assertion drops initial, so both parameterized collectPreauthCatalog failure cases fail even though the implementation under test has not changed on that branch.

Useful? React with 👍 / 👎.

sinon.assert.calledWith(
services.logger.error,
`services: failed to init initial services when no credentials available, ${expectedMessage}`
`services: failed to init services when no credentials available, ${expectedMessage}`

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

P2 Badge Restore the v2 no-credentials expectation

When this no-credentials rejection path runs, ServicesV2._initializeCatalogsUngated() still logs services: failed to init initial services when no credentials available, ... in packages/@webex/webex-core/src/lib/services-v2/services-v2.ts:1457. This updated assertion drops initial, so both parameterized collectPreauthCatalog failure cases fail even though the implementation under test has not changed on that branch.

Useful? React with 👍 / 👎.

@robstax robstax added the validated If the pull request is validated for automation. label Jul 24, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

validated If the pull request is validated for automation.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants