Skip to content

feat(javascript): assert algoliasearch bundle #3991

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 5 commits into from
Oct 21, 2024

Conversation

shortcuts
Copy link
Member

@shortcuts shortcuts commented Oct 18, 2024

🧭 What and Why

🎟 JIRA Ticket: https://algolia.atlassian.net/browse/DI-3086

Changes included:

use algoliasearch in the cts, since it's not in the workspace, and we run the tests from the dist, it will assert the end bundle as well and catch errors like algolia/algoliasearch-client-javascript#1562

also fix a bug that required the recommend a monitoring client to provide an empty {} due to missing optional condition when no region are required

@shortcuts shortcuts self-assigned this Oct 18, 2024
@algolia-bot
Copy link
Collaborator

algolia-bot commented Oct 18, 2024

✔️ Code generated!

Name Link
🪓 Triggered by 12dd498947fc04c7291fa7f09cbe51260d5f058b
🍃 Generated commit d4a0a045cf46a0b193bf92ef9c317dea2c83e9df
🌲 Generated branch generated/feat/javascript-assert-algoliasearch-cts
📊 Benchmark results

Benchmarks performed on the method using a mock server, the results might not reflect the real-world performance.

Language Req/s
go 1632
javascript 1618
php 1502
csharp 1396
java 1091
python 1043
ruby 874
swift 748

@shortcuts shortcuts changed the title Feat/javascript assert algoliasearch cts feat(javascript): assert algoliasearch bundle Oct 18, 2024
@shortcuts shortcuts force-pushed the feat/javascript-assert-algoliasearch-cts branch from 6ab98d7 to a1b192c Compare October 18, 2024 09:34
@shortcuts shortcuts marked this pull request as ready for review October 18, 2024 13:02
@shortcuts shortcuts requested a review from a team as a code owner October 18, 2024 13:02
Copy link

Copy link
Collaborator

@millotp millotp left a comment

Choose a reason for hiding this comment

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

codegen looks flawless ! it might be worth to keep the single client init somewhere

@shortcuts shortcuts merged commit 0a84faf into main Oct 21, 2024
29 checks passed
@shortcuts shortcuts deleted the feat/javascript-assert-algoliasearch-cts branch October 21, 2024 06:16
algolia-bot added a commit that referenced this pull request Oct 21, 2024
algolia-bot added a commit to algolia/algoliasearch-client-javascript that referenced this pull request Oct 21, 2024
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.

3 participants