Skip to content

Conversation

daniel-de-vera
Copy link
Contributor

This PR:

  1. Implements https://signadot.slack.com/archives/C0922R1BJ1L/p1760115236150789.
  2. Improves override command descriptions.
  3. Fixes error message in hosted test apply.

Copy link

gitar-bot bot commented Oct 13, 2025

Gitar automatically fixes CI failures and addresses comments starting with Gitar.

⚙️ Options:

  • Fix CI failures*

🔄 To revert changes, post a comment:

Gitar revert to commit <desired commit SHA>

📚 Docs

* Gitar never force pushes to your branch

@daniel-de-vera
Copy link
Contributor Author

I implemented https://signadot.slack.com/archives/C0922R1BJ1L/p1760384469331639 in ec94ccd (plus other minor fixes).

to a local service. This is useful for testing local changes in a realistic
sandbox without redeploying code.
By default, overrides apply when the response from the target override
Copy link
Member

Choose a reason for hiding this comment

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

I would use the term "local service" throughout, for example in place of "target override" here.

Short: "Override sandbox HTTP traffic using a local service",
Long: `The 'override' command allows you to route HTTP traffic from a sandbox environment
to a local service. This is useful for testing local changes in a realistic
sandbox without redeploying code.
Copy link
Member

Choose a reason for hiding this comment

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

I would add a short bit clarifying what "override applies" means. For example, perhaps

Using the 'override' command, when a request comes into the sandbox it is delivered to the local service. The response of the local service determines whether or not the request will subsequently be delivered to its original destination, i.e. to the the sandbox workload. When the request is not subsequently delivered to the original destination, the response from the the local service is the response given back to the request.

When the local service is not running, requests will be delivered to the original destination after failing to communicate with the local service.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I tried to accommodate this in 5cd6b9f, PTAL.

Copy link
Member

Choose a reason for hiding this comment

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

LGTM

@scott-cotton
Copy link
Member

@daniel-de-vera FYI I am working on top of this for the readiness/consistency polling. Let's sync up if you want to make further flow/structural changes to reduce merge conflicts.

Copy link
Member

@scott-cotton scott-cotton left a comment

Choose a reason for hiding this comment

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

LGTM

@daniel-de-vera daniel-de-vera merged commit 2e78c05 into main Oct 16, 2025
@daniel-de-vera daniel-de-vera deleted the override-policy-changes branch October 16, 2025 16:54
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