Skip to content

Fix Bohemia integration pipeline: use console.log instead of console.warn or console.error#25649

Closed
yann-achard-MS wants to merge 2 commits intomainfrom
/test/fix-bohemia-integration-2025-10-08
Closed

Fix Bohemia integration pipeline: use console.log instead of console.warn or console.error#25649
yann-achard-MS wants to merge 2 commits intomainfrom
/test/fix-bohemia-integration-2025-10-08

Conversation

@yann-achard-MS
Copy link
Contributor

Description

This PR fixes the build integration pipeline error encountered here.

The Bohemia repo uses our assert function and takes a dependency on its current implementation (specifically, the fact that it does not call console.error/warn). This is not something we want to support. The assert function is legacy beta since we haven't gone through the process of making it internal, but no FF consumer should not be using it.

Breaking Changes

None

@github-actions github-actions bot added the base: main PRs targeted against main branch label Oct 8, 2025
@yann-achard-MS yann-achard-MS marked this pull request as ready for review October 8, 2025 23:13
Copilot AI review requested due to automatic review settings October 8, 2025 23:13
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This PR fixes a Bohemia integration pipeline issue by changing the assert function to use console.log instead of console.error for logging assertion failures. The change addresses a dependency where the Bohemia repo relies on the current implementation not calling console.error/warn.

  • Replaced console.error with console.log in the assertion failure logging
  • Added explanatory comment about the reason for using console.log

@yann-achard-MS
Copy link
Contributor Author

Superseded by #25652.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

base: main PRs targeted against main branch

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant

Comments