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 8, 2026

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 made 2 comments.
Reviewable status: :shipit: complete! all files reviewed, all discussions resolved (waiting on @Itay-Tsabary-Starkware).


crates/apollo_deployments/resources/app_configs/replacer_http_server_config.json line 4 at r1 (raw file):

  "http_server_config.dynamic_config.accept_new_txs": true,
  "http_server_config.dynamic_config.max_sierra_program_size": 4194304,
  "http_server_config.static_config.dynamic_config_poll_interval": 1000,

What about making it a dynamic config?

Code quote:

"http_server_config.static_config.dynamic_config_poll_interval"

crates/apollo_deployments/resources/app_configs/replacer_http_server_config.json line 4 at r1 (raw file):

  "http_server_config.dynamic_config.accept_new_txs": true,
  "http_server_config.dynamic_config.max_sierra_program_size": 4194304,
  "http_server_config.static_config.dynamic_config_poll_interval": 1000,

Suggestion:

dynamic_config_poll_interval_millis

@Itay-Tsabary-Starkware Itay-Tsabary-Starkware force-pushed the 01-08-apollo_http_server_polling_interval_in_config branch from e0d6656 to bf71e51 Compare January 11, 2026 07:30
@Itay-Tsabary-Starkware Itay-Tsabary-Starkware force-pushed the 01-08-apollo_http_server_add_dynamic_config_poller_service branch from d3110ba to 5e4ca34 Compare January 11, 2026 07:30
@Itay-Tsabary-Starkware Itay-Tsabary-Starkware force-pushed the 01-08-apollo_http_server_polling_interval_in_config branch from bf71e51 to 9933489 Compare January 11, 2026 10:13
@Itay-Tsabary-Starkware Itay-Tsabary-Starkware force-pushed the 01-08-apollo_http_server_add_dynamic_config_poller_service branch from 5e4ca34 to 1db5b08 Compare January 11, 2026 10:13
@Itay-Tsabary-Starkware Itay-Tsabary-Starkware force-pushed the 01-08-apollo_http_server_polling_interval_in_config branch from 9933489 to e424ecb Compare January 11, 2026 11:01
@Itay-Tsabary-Starkware Itay-Tsabary-Starkware force-pushed the 01-08-apollo_http_server_add_dynamic_config_poller_service branch from 1db5b08 to 3e7fc5d Compare January 11, 2026 11:01
@graphite-app graphite-app bot changed the base branch from 01-08-apollo_http_server_add_dynamic_config_poller_service to graphite-base/11537 January 11, 2026 11:48
@Itay-Tsabary-Starkware Itay-Tsabary-Starkware force-pushed the 01-08-apollo_http_server_polling_interval_in_config branch from e424ecb to 533c4fd Compare January 11, 2026 13:01
@Itay-Tsabary-Starkware Itay-Tsabary-Starkware changed the base branch from graphite-base/11537 to 01-08-apollo_http_server_add_dynamic_config_poller_service January 11, 2026 13:02
@Itay-Tsabary-Starkware Itay-Tsabary-Starkware force-pushed the 01-08-apollo_http_server_add_dynamic_config_poller_service branch from 824f722 to 3207adb Compare January 11, 2026 13:42
@Itay-Tsabary-Starkware Itay-Tsabary-Starkware force-pushed the 01-08-apollo_http_server_polling_interval_in_config branch from 533c4fd to 78d173c Compare January 11, 2026 13:42
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: 4 of 5 files reviewed, all discussions resolved (waiting on @matanl-starkware).


crates/apollo_deployments/resources/app_configs/replacer_http_server_config.json line 4 at r1 (raw file):

Previously, matanl-starkware (Matan Lior) wrote…

What about making it a dynamic config?

It's a static config, affecting the parameters of the dynamic config (please see it is under static_config)


crates/apollo_deployments/resources/app_configs/replacer_http_server_config.json line 4 at r1 (raw file):

  "http_server_config.dynamic_config.accept_new_txs": true,
  "http_server_config.dynamic_config.max_sierra_program_size": 4194304,
  "http_server_config.static_config.dynamic_config_poll_interval": 1000,

It's a duration object, not a number, it doesn't have units
I agree it's serialization name is awkward, but better like this imo.

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 reviewed 5 files and all commit messages.
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-08-apollo_http_server_add_dynamic_config_poller_service to main-v0.14.1-committer January 11, 2026 14:10
@Itay-Tsabary-Starkware Itay-Tsabary-Starkware force-pushed the 01-08-apollo_http_server_polling_interval_in_config branch from 78d173c to eac93bd Compare January 11, 2026 14:11
@graphite-app
Copy link

graphite-app bot commented Jan 11, 2026

Merge activity

  • Jan 11, 2:11 PM UTC: Graphite rebased this pull request, because this pull request is set to merge when ready.

@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 43cd44c Jan 11, 2026
22 of 24 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