Skip to content
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

feat(specs): add estimate path and responses [skip-bc] #4057

Merged
merged 14 commits into from
Nov 7, 2024

Conversation

cdhawke
Copy link
Contributor

@cdhawke cdhawke commented Oct 30, 2024

🧭 What and Why

🎟 JIRA Ticket: OPTIM-1191

Changes included:

  • Added a new path for /estimate in the abtests endpoints, as well as a new response object definition

@algolia-bot
Copy link
Collaborator

algolia-bot commented Oct 30, 2024

✔️ Code generated!

Name Link
🪓 Triggered by aed0e28b372276e4da603113af0dfae5f7399a15
🍃 Generated commit cbe7c0f30f9510662f4e23527dba3ea30d3e1d09
🌲 Generated branch generated/feat/abtests/estimate
📊 Benchmark results

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

Language Req/s
javascript 1635
go 1631
php 1531
csharp 1325
java 1154
python 1031
ruby 914
swift 747

@cdhawke cdhawke changed the title feat(abtests): add estimate path and responses feat(specs): add estimate path and responses Oct 30, 2024
@cdhawke cdhawke marked this pull request as ready for review October 30, 2024 18:25
@cdhawke cdhawke requested a review from a team as a code owner October 30, 2024 18:25
@@ -0,0 +1,51 @@
post:
Copy link
Member

Choose a reason for hiding this comment

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

you need to reference it in the base spec file

so that it gets generated

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Thanks I did this locally and forgot to push before I left for the day. I'll send it tomorrow 👍

febeck
febeck previously approved these changes Oct 31, 2024
@millotp
Copy link
Collaborator

millotp commented Nov 5, 2024

Hey @cdhawke, let me know if you need any help with the CI

@cdhawke
Copy link
Contributor Author

cdhawke commented Nov 5, 2024

@millotp thanks 😄 - I think i'm just working through getting the test added properly. If this next commit doesn't make some progress i'll reach out - I can't get the yarn cli commands to work locally so i'm just leveraging the CI to tell me what's wrong.

@millotp
Copy link
Collaborator

millotp commented Nov 5, 2024

I can't get the yarn cli commands to work locally

I would be interested to see which errors you are running into if you have time, this is something we could add to the contribution guides

@cdhawke
Copy link
Contributor Author

cdhawke commented Nov 6, 2024

@millotp - the failure in the CI now is from the java api changing (effect -> metric) as far as the variable goes. This is intended though since metric is the correct attribute to set in the body. Do we just accept it as a breaking change to the API in this case?

@millotp
Copy link
Collaborator

millotp commented Nov 7, 2024

Do we just accept it as a breaking change to the API in this case

If this is what the API expect we can allow the breaking change yes

@millotp millotp changed the title feat(specs): add estimate path and responses feat(specs): add estimate path and responses [skip-bc] Nov 7, 2024
@cdhawke
Copy link
Contributor Author

cdhawke commented Nov 7, 2024

@millotp - feel free to merge this whenever if you're good with it. There's nothing blocking it

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.

looking good !

@millotp millotp merged commit 4c73f4c into main Nov 7, 2024
28 checks passed
@millotp millotp deleted the feat/abtests/estimate branch November 7, 2024 13:45
algolia-bot added a commit that referenced this pull request Nov 7, 2024
…ated) [skip ci]

Co-authored-by: Christopher Hawke <[email protected]>
Co-authored-by: Pierre Millot <[email protected]>
algolia-bot added a commit to algolia/algoliasearch-client-csharp that referenced this pull request Nov 7, 2024
algolia-bot added a commit to algolia/algoliasearch-client-go that referenced this pull request Nov 7, 2024
algolia-bot added a commit to algolia/algoliasearch-client-java that referenced this pull request Nov 7, 2024
algolia-bot added a commit to algolia/algoliasearch-client-javascript that referenced this pull request Nov 7, 2024
algolia-bot added a commit to algolia/algoliasearch-client-kotlin that referenced this pull request Nov 7, 2024
algolia-bot added a commit to algolia/algoliasearch-client-php that referenced this pull request Nov 7, 2024
algolia-bot added a commit to algolia/algoliasearch-client-python that referenced this pull request Nov 7, 2024
algolia-bot added a commit to algolia/algoliasearch-client-ruby that referenced this pull request Nov 7, 2024
algolia-bot added a commit to algolia/algoliasearch-client-scala that referenced this pull request Nov 7, 2024
algolia-bot added a commit to algolia/algoliasearch-client-swift that referenced this pull request Nov 7, 2024
millotp added a commit that referenced this pull request Nov 18, 2024
millotp added a commit that referenced this pull request Nov 18, 2024
…ated) [skip ci]

Co-authored-by: Christopher Hawke <[email protected]>
Co-authored-by: Pierre Millot <[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.

5 participants