Repository navigation
Add strategies_yaml to ATSReplayTest - #13848
Open
masaori335 wants to merge 1 commit into
Open
masaori335 wants to merge 1 commit into
masaori335 wants to merge 1 commit into
Conversation
ATSReplayTest could only point a strategy at a static file, so a replay could not make the Proxy Verifier server a next hop. With strategies.yaml replacing parent.config, the parent retry tests need a strategies counterpart that exercises the NextHop markdown path.
Contributor
There was a problem hiding this comment.
Warning
Copilot couldn't run its full agentic review because it didn't start before the timeout. Make sure your repository has a runner available, or add a copilot-code-review.yml file specifying one with the runs-on attribute. See the docs for more details.
Copilot review overview
2 open findings
🧠 Review effort: Lite
Comment on lines
+154
to
+160
| strategies_yaml = ats_config.get('strategies_yaml') | ||
| if strategies_yaml is not None: | ||
| strategies_text = yaml.dump(strategies_yaml) | ||
| strategies_text = strategies_text.replace('{SERVER_HTTP_PORT}', str(server.Variables.http_port)) | ||
| strategies_text = strategies_text.replace('{SERVER_HTTPS_PORT}', str(server.Variables.https_port)) | ||
| ts.Disk.File(ts.Variables.CONFIGDIR + "/strategies.yaml", id="strategies_yaml", typename="ats:config") | ||
| ts.Disk.strategies_yaml.AddLines(strategies_text.split('\n')) |
| strategies_text = yaml.dump(strategies_yaml) | ||
| strategies_text = strategies_text.replace('{SERVER_HTTP_PORT}', str(server.Variables.http_port)) | ||
| strategies_text = strategies_text.replace('{SERVER_HTTPS_PORT}', str(server.Variables.https_port)) | ||
| ts.Disk.File(ts.Variables.CONFIGDIR + "/strategies.yaml", id="strategies_yaml", typename="ats:config") |
Copilot stopped reviewing on behalf of
brbzull0 due to an error
October 16, 2026 09:59
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.


ATSReplayTest could only point a strategy at a static file, so a replay could not make the Proxy Verifier server a next hop. With strategies.yaml replacing parent.config, the parent retry tests need a strategies counterpart that exercises the NextHop markdown path. Basically, this is strategies.yaml version of this AuTest, parent_retry_failure_stays_down.replay.yaml