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

This stack of pull requests is managed by Graphite. Learn more about stacking.

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 1 comment.
Reviewable status: 0 of 2 files reviewed, 1 unresolved discussion (waiting on @Itay-Tsabary-Starkware).


crates/apollo_dashboard/src/panels/batcher.rs line 68 at r1 (raw file):

fn get_panel_rejection_reverted_ratio() -> Panel {
    let rejected_txs_expr = &REJECTED_TRANSACTIONS.get_name_with_filter();

I don't think this is better.
When looking at the entire counter (as opposed to an increase), it's almost impossible to spot recent changes.
IMO the formula should be:
increase(X) / increase(X +Y + Z)

Code quote:

&REJECTED_TRANSACTIONS.get_name_with_filter();

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 1 comment.
Reviewable status: 0 of 2 files reviewed, 1 unresolved discussion (waiting on @matanl-starkware).


crates/apollo_dashboard/src/panels/batcher.rs line 68 at r1 (raw file):

Previously, matanl-starkware (Matan Lior) wrote…

I don't think this is better.
When looking at the entire counter (as opposed to an increase), it's almost impossible to spot recent changes.
IMO the formula should be:
increase(X) / increase(X +Y + Z)

What does this value represent?

Why not increase(X / (X +Y + Z)) ?

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 1 comment.
Reviewable status: 0 of 2 files reviewed, 1 unresolved discussion (waiting on @matanl-starkware).


crates/apollo_dashboard/src/panels/batcher.rs line 68 at r1 (raw file):

Previously, Itay-Tsabary-Starkware wrote…

What does this value represent?

Why not increase(X / (X +Y + Z)) ?

... if the motivation is to track changes in X / (X +Y + Z) in an easier manner

@Itay-Tsabary-Starkware Itay-Tsabary-Starkware changed the base branch from main-v0.14.1-committer to graphite-base/11570 January 11, 2026 10:14
@Itay-Tsabary-Starkware Itay-Tsabary-Starkware force-pushed the 01-07-apollo_dashboard_fix_batcher_failed_txs_panel branch from 7b7d36f to 7c4753b Compare January 11, 2026 10:14
@Itay-Tsabary-Starkware Itay-Tsabary-Starkware changed the base branch from graphite-base/11570 to 01-11-apollo_deployments_add_missing_committer_in_batcher_config January 11, 2026 10:14
@Itay-Tsabary-Starkware Itay-Tsabary-Starkware 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:31
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 1 comment.
Reviewable status: 0 of 4 files reviewed, 1 unresolved discussion (waiting on @Itay-Tsabary-Starkware).


crates/apollo_dashboard/src/panels/batcher.rs line 68 at r1 (raw file):

Previously, Itay-Tsabary-Starkware wrote…

... if the motivation is to track changes in X / (X +Y + Z) in an easier manner

According to Chat:
increase(X / (X+Y)) should not be ever used ("Apply increase() / rate() to the raw counters first, and only then compute ratios.")

Between these options, it recommends B ("This avoids subtle issues with label matching and aggregation.")
A. increase(X) / increase(X+Y)
B. increase(X) / (increase(X) + increase(Y))

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 1 comment.
Reviewable status: 0 of 4 files reviewed, 2 unresolved discussions (waiting on @Itay-Tsabary-Starkware).


crates/apollo_deployments/resources/app_configs/batcher_config.json line 27 at r3 (raw file):

  "batcher_config.commitment_manager_config.results_channel_size": 1000,
  "batcher_config.commitment_manager_config.tasks_channel_size":  1000,
  "batcher_config.commitment_manager_config.wait_for_tasks_channel": true,

Seems unrelated to this PR

Code quote:

  "batcher_config.commitment_manager_config.results_channel_size": 1000,
  "batcher_config.commitment_manager_config.tasks_channel_size":  1000,
  "batcher_config.commitment_manager_config.wait_for_tasks_channel": true,

@Itay-Tsabary-Starkware Itay-Tsabary-Starkware force-pushed the 01-07-apollo_dashboard_fix_batcher_failed_txs_panel branch from 7c4753b to b29cacb Compare January 11, 2026 11:00
@Itay-Tsabary-Starkware Itay-Tsabary-Starkware force-pushed the 01-07-apollo_dashboard_fix_batcher_failed_txs_panel branch from b29cacb to 1bb6371 Compare January 11, 2026 13:46
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 1 comment.
Reviewable status: 0 of 4 files reviewed, 2 unresolved discussions (waiting on @matanl-starkware).


crates/apollo_dashboard/src/panels/batcher.rs line 68 at r1 (raw file):

Previously, matanl-starkware (Matan Lior) wrote…

According to Chat:
increase(X / (X+Y)) should not be ever used ("Apply increase() / rate() to the raw counters first, and only then compute ratios.")

Between these options, it recommends B ("This avoids subtle issues with label matching and aggregation.")
A. increase(X) / increase(X+Y)
B. increase(X) / (increase(X) + increase(Y))

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 2 files and all commit messages, made 1 comment, and resolved 1 discussion.
Reviewable status: 2 of 4 files reviewed, 1 unresolved discussion (waiting on @Itay-Tsabary-Starkware).


-- commits line 2 at r5:
Consider adjusting the commit message according to actual change

Code quote:

fix batcher failed txs panel

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 resolved 1 discussion.
Reviewable status: 2 of 4 files reviewed, all discussions resolved.

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 4 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 added this pull request to the merge queue Jan 11, 2026
Merged via the queue into main-v0.14.1-committer with commit 1557d95 Jan 11, 2026
21 of 26 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