Skip to content

apollo_integration_tests: add fake cende and feeder server#13623

Open
guy-starkware wants to merge 1 commit intomainfrom
guyn/cende/fake_server
Open

apollo_integration_tests: add fake cende and feeder server#13623
guy-starkware wants to merge 1 commit intomainfrom
guyn/cende/fake_server

Conversation

@guy-starkware
Copy link
Copy Markdown
Contributor

@guy-starkware guy-starkware commented Mar 31, 2026

Note

Low Risk
Mostly adds test-only infrastructure plus widespread Cargo.toml reordering/lint metadata tweaks; low functional risk outside of integration-test behavior and build metadata.

Overview
Introduces FakeStarknetServer in apollo_integration_tests, an axum-based in-process server that emulates key Feeder Gateway and Cende recorder endpoints, with a shared mutable state for seeding responses and inspecting written blobs.

Adds comprehensive tests for the fake server’s routing and error behavior, and wires the module into the crate (lib.rs) with the needed reqwest dev dependency. Separately, many crates’ Cargo.toml files are reorganized (moving [lints], [features], [build-dependencies], and cargo-machete metadata blocks) without intended runtime logic changes.

Written by Cursor Bugbot for commit 3086d47. This will update automatically on new commits. Configure here.

@reviewable-StarkWare
Copy link
Copy Markdown

This change is Reviewable

Copy link
Copy Markdown
Contributor Author

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

@guy-starkware guy-starkware marked this pull request as ready for review March 31, 2026 08:54
Copy link
Copy Markdown

@chatgpt-codex-connector chatgpt-codex-connector bot left a comment

Choose a reason for hiding this comment

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

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: bffb636fb9

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

@guy-starkware guy-starkware force-pushed the guyn/cende/fake_server branch 3 times, most recently from db6482b to 0e18fb8 Compare March 31, 2026 12:11
@guy-starkware guy-starkware force-pushed the guyn/cende/fake_server branch 2 times, most recently from 02c0b1c to c08373e Compare March 31, 2026 13:28
Copy link
Copy Markdown

@cursor cursor bot left a comment

Choose a reason for hiding this comment

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

Cursor Bugbot has reviewed your changes and found 1 potential issue.

Fix All in Cursor

Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, have a team admin enable autofix in the Cursor dashboard.

@guy-starkware guy-starkware force-pushed the guyn/cende/fake_server branch from c08373e to 3086d47 Compare March 31, 2026 15:28
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.

2 participants