Skip to content

Conversation

@Itay-Tsabary-Starkware
Copy link
Collaborator

No description provided.

@reviewable-StarkWare
Copy link

This change is Reviewable

Copy link
Collaborator Author

Itay-Tsabary-Starkware commented Jan 6, 2026

@Itay-Tsabary-Starkware Itay-Tsabary-Starkware force-pushed the 01-06-apollo_http_server_use_allow_new_tx_flag branch from fe7f585 to 29d7228 Compare January 6, 2026 13:05
@Itay-Tsabary-Starkware Itay-Tsabary-Starkware force-pushed the 01-06-apollo_http_server_add_allow_new_txs_flag_to_config branch from d6cc504 to 3b2bef9 Compare January 6, 2026 13:05
@Itay-Tsabary-Starkware Itay-Tsabary-Starkware force-pushed the 01-06-apollo_http_server_use_allow_new_tx_flag branch from 29d7228 to c2209af Compare January 7, 2026 07:02
@Itay-Tsabary-Starkware Itay-Tsabary-Starkware force-pushed the 01-06-apollo_http_server_add_allow_new_txs_flag_to_config branch 2 times, most recently from 5894408 to a3b80dd Compare January 7, 2026 07:34
@Itay-Tsabary-Starkware Itay-Tsabary-Starkware force-pushed the 01-06-apollo_http_server_use_allow_new_tx_flag branch 2 times, most recently from 8378c4d to 5de8b59 Compare January 7, 2026 08:05
@Itay-Tsabary-Starkware Itay-Tsabary-Starkware force-pushed the 01-06-apollo_http_server_add_allow_new_txs_flag_to_config branch 2 times, most recently from 2d34ba3 to 5906d70 Compare January 7, 2026 08:39
@Itay-Tsabary-Starkware Itay-Tsabary-Starkware force-pushed the 01-06-apollo_http_server_use_allow_new_tx_flag branch from 5de8b59 to 2a47106 Compare January 7, 2026 08:39
@Itay-Tsabary-Starkware Itay-Tsabary-Starkware force-pushed the 01-06-apollo_http_server_use_allow_new_tx_flag branch from 2a47106 to 8b82acc Compare January 7, 2026 09:28
@Itay-Tsabary-Starkware Itay-Tsabary-Starkware force-pushed the 01-06-apollo_http_server_add_allow_new_txs_flag_to_config branch from 5906d70 to 3f30784 Compare January 7, 2026 09:28
@Itay-Tsabary-Starkware Itay-Tsabary-Starkware force-pushed the 01-06-apollo_http_server_use_allow_new_tx_flag branch from 8b82acc to 29a59cc Compare January 7, 2026 09:49
@Itay-Tsabary-Starkware Itay-Tsabary-Starkware force-pushed the 01-06-apollo_http_server_add_allow_new_txs_flag_to_config branch from 3f30784 to f8aa1a5 Compare January 7, 2026 09:49
@Itay-Tsabary-Starkware Itay-Tsabary-Starkware force-pushed the 01-06-apollo_http_server_use_allow_new_tx_flag branch from 29a59cc to 3da12bf Compare January 7, 2026 13:28
@Itay-Tsabary-Starkware Itay-Tsabary-Starkware force-pushed the 01-06-apollo_http_server_add_allow_new_txs_flag_to_config branch from f8aa1a5 to 4a7a609 Compare January 7, 2026 13:28
Copy link
Collaborator

@matanl-starkware matanl-starkware left a comment

Choose a reason for hiding this comment

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

@matanl-starkware made 2 comments.
Reviewable status: 0 of 5 files reviewed, 2 unresolved discussions (waiting on @Itay-Tsabary-Starkware).


crates/apollo_http_server/src/http_server_test.rs line 108 at r1 (raw file):

    let response = http_client.add_tx(tx.clone()).await;
    let status = response.status();
    assert!(!status.is_success(), "{status:?}");

Please verify the return code is 503 (and not some other error that might have happened during add_tx)

Code quote:

assert!(!status.is_success(), "{status:?}");

crates/apollo_http_server/src/http_server.rs line 106 at r1 (raw file):

            .route(
                "/gateway/is_ready",
                get(|| futures::future::ready("Gateway is ready".to_owned()))

Consider modifying this to be unready...
(Probably requires a shared dynamic config, as suggested in previous PR)

Code quote:

get(|| futures::future::ready("Gateway is ready".to_owned()))

@Itay-Tsabary-Starkware Itay-Tsabary-Starkware force-pushed the 01-06-apollo_http_server_use_allow_new_tx_flag branch from 3da12bf to 900bac1 Compare January 7, 2026 18:35
@Itay-Tsabary-Starkware Itay-Tsabary-Starkware force-pushed the 01-06-apollo_http_server_add_allow_new_txs_flag_to_config branch from 4a7a609 to ba6d4d8 Compare January 7, 2026 18:35
Copy link
Collaborator Author

@Itay-Tsabary-Starkware Itay-Tsabary-Starkware left a comment

Choose a reason for hiding this comment

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

@Itay-Tsabary-Starkware made 2 comments.
Reviewable status: 0 of 5 files reviewed, 2 unresolved discussions (waiting on @matanl-starkware).


crates/apollo_http_server/src/http_server.rs line 106 at r1 (raw file):

Previously, matanl-starkware (Matan Lior) wrote…

Consider modifying this to be unready...
(Probably requires a shared dynamic config, as suggested in previous PR)

These are about to be deprecated, please see the comment above. I'm not sure of the result of such change anyway, will this make the simulator crash?
I'm ok with it sending txs and being blocked applicatively rather than by its healthcheck.


crates/apollo_http_server/src/http_server_test.rs line 108 at r1 (raw file):

Previously, matanl-starkware (Matan Lior) wrote…

Please verify the return code is 503 (and not some other error that might have happened during add_tx)

Done

Copy link
Collaborator

@matanl-starkware matanl-starkware left a comment

Choose a reason for hiding this comment

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

@matanl-starkware reviewed 5 files and all commit messages, and resolved 2 discussions.
Reviewable status: :shipit: complete! all files reviewed, all discussions resolved (waiting on @Itay-Tsabary-Starkware).

@Itay-Tsabary-Starkware Itay-Tsabary-Starkware changed the base branch from 01-06-apollo_http_server_add_allow_new_txs_flag_to_config to main-v0.14.1-committer January 8, 2026 12:11
@Itay-Tsabary-Starkware Itay-Tsabary-Starkware force-pushed the 01-06-apollo_http_server_use_allow_new_tx_flag branch from 900bac1 to 4cd4f39 Compare January 8, 2026 12:11
@graphite-app
Copy link

graphite-app bot commented Jan 8, 2026

Merge activity

  • Jan 8, 12:12 PM UTC: Graphite rebased this pull request, because this pull request is set to merge when ready.
  • Jan 11, 10:14 AM UTC: Graphite rebased this pull request, because this pull request is set to merge when ready.

@Itay-Tsabary-Starkware Itay-Tsabary-Starkware force-pushed the 01-06-apollo_http_server_use_allow_new_tx_flag branch from 4cd4f39 to ad4469b Compare January 11, 2026 07:30
@Itay-Tsabary-Starkware Itay-Tsabary-Starkware changed the base branch from main-v0.14.1-committer to graphite-base/11454 January 11, 2026 10:13
@Itay-Tsabary-Starkware Itay-Tsabary-Starkware force-pushed the 01-06-apollo_http_server_use_allow_new_tx_flag branch from ad4469b to 0e82344 Compare January 11, 2026 10:13
@Itay-Tsabary-Starkware Itay-Tsabary-Starkware changed the base branch from graphite-base/11454 to 01-11-apollo_deployments_add_missing_committer_in_batcher_config January 11, 2026 10:13
@Itay-Tsabary-Starkware Itay-Tsabary-Starkware force-pushed the 01-06-apollo_http_server_use_allow_new_tx_flag branch from 0e82344 to ad4469b Compare January 11, 2026 10:13
@graphite-app graphite-app bot changed the base branch from 01-11-apollo_deployments_add_missing_committer_in_batcher_config to main-v0.14.1-committer January 11, 2026 10:14
@Itay-Tsabary-Starkware Itay-Tsabary-Starkware force-pushed the 01-06-apollo_http_server_use_allow_new_tx_flag branch from ad4469b to cd54d4c Compare January 11, 2026 11:01
@Itay-Tsabary-Starkware Itay-Tsabary-Starkware added this pull request to the merge queue Jan 11, 2026
Merged via the queue into main-v0.14.1-committer with commit 04821a1 Jan 11, 2026
15 checks passed
@github-actions github-actions bot locked and limited conversation to collaborators Jan 13, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants