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

Sequence batch via http #3142

Merged
merged 16 commits into from
May 15, 2024
Merged

Sequence batch via http #3142

merged 16 commits into from
May 15, 2024

Conversation

lxning
Copy link
Collaborator

@lxning lxning commented May 10, 2024

Description

Please read our CONTRIBUTING.md prior to creating your first pull request.

Please include a summary of the feature or issue being fixed. Please also include relevant motivation and context. List any dependencies that are required for this change.

Fixes #(issue)

Type of change

Please delete options that are not relevant.

  • Bug fix (non-breaking change which fixes an issue)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • New feature (non-breaking change which adds functionality)
  • This change requires a documentation update

Feature/Issue validation/testing

Please describe the Unit or Integration tests that you ran to verify your changes and relevant result summary. Provide instructions so it can be reproduced.
Please also list any relevant details for your test configuration.

pytest test_example_stateful_http.py
======================================= test session starts =======================================
platform linux -- Python 3.10.14, pytest-7.3.1, pluggy-1.4.0
rootdir: /home/ubuntu/serve
plugins: cov-4.1.0, mock-3.12.0
collected 1 item

test_example_stateful_http.py . [100%]

======================================== 1 passed in 5.37s ========================================

Checklist:

  • Did you have fun?
  • Have you added tests that prove your fix is effective or that this feature works?
  • Has code been commented, particularly in hard-to-understand areas?
  • Have you made corresponding changes to the documentation?

@lxning lxning added documentation Improvements or additions to documentation enhancement New feature or request labels May 10, 2024
@lxning lxning added this to the v0.11.0 milestone May 10, 2024
@lxning lxning requested a review from mreso May 10, 2024 23:28
@lxning lxning self-assigned this May 10, 2024
Copy link
Collaborator

@mreso mreso left a comment

Choose a reason for hiding this comment

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

Left some comments, LGTM otherwise

@@ -960,6 +971,34 @@ public Double getTimeToExpiration() {
return 0.0;
}

public String getTsHeaderKeySequenceId() {
Copy link
Collaborator

Choose a reason for hiding this comment

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

See above. This gets unnecessary if you move the keys to their own module.

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

This function is to get the key name for the sequence id in headers.

test/pytest/test_example_stateful_http.py Show resolved Hide resolved
test/pytest/test_example_stateful_http.py Show resolved Hide resolved
test/pytest/test_example_stateful_http.py Outdated Show resolved Hide resolved
@lxning lxning enabled auto-merge May 14, 2024 20:21
@lxning lxning added this pull request to the merge queue May 14, 2024
Copy link
Collaborator

@mreso mreso left a comment

Choose a reason for hiding this comment

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

LGTM now, but please recheck your test (see comment)

test/pytest/test_example_stateful_http.py Outdated Show resolved Hide resolved
@mreso mreso removed this pull request from the merge queue due to a manual request May 14, 2024
@mreso
Copy link
Collaborator

mreso commented May 14, 2024

Removing from queue so we can address the last issue with the test.

Copy link
Collaborator

@mreso mreso left a comment

Choose a reason for hiding this comment

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

LGTM

@mreso mreso enabled auto-merge May 15, 2024 16:23
@mreso mreso added this pull request to the merge queue May 15, 2024
Merged via the queue into master with commit 4a57c67 May 15, 2024
12 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants