Skip to content

ci: Choose correct path to tinylicious.log depending on realsvc or stress tests#26415

Open
alexvy86 wants to merge 2 commits intomicrosoft:mainfrom
alexvy86:tinylicious-log
Open

ci: Choose correct path to tinylicious.log depending on realsvc or stress tests#26415
alexvy86 wants to merge 2 commits intomicrosoft:mainfrom
alexvy86:tinylicious-log

Conversation

@alexvy86
Copy link
Contributor

@alexvy86 alexvy86 commented Feb 11, 2026

Description

Currently when we run the stress tests against tinylicious (in the build pipeline, not in the separate pipeline for stress tests), the step to upload the tinylicious log to the pipeline artifacts logs a warning because it's looking for the log file in the wrong place (the path where the file ends up in when the real-svc tests run, but not when the stress tests run).

This adds logic to look for the log file in the correct place in each case.

Reviewer Guidance

The review process is outlined on this wiki page.

Run from this PR demonstrates the log file is now uploaded correctly for the stress tests and for the real-svc tests.

I deliberately did not try to check for the exact test script being run (e.g. ci:test:realsvc:tinylicious VS ci:test:stress:tinylicious) to avoid future issues if we change the script names. The new logic could potentially also break during a drastic rename, but I think has a better chance of surviving a small script name refactor.

Copilot AI review requested due to automatic review settings February 11, 2026 19:59
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Updates the client build pipeline template to upload tinylicious.log from the correct package directory depending on whether the run is for real-service tinylicious tests or stress tinylicious tests, avoiding artifact-upload warnings in CI.

Changes:

  • Passes the current test.name into the “Upload tinylicious log” Bash task via TEST_NAME.
  • Adds Bash logic to select the correct package directory (test-end-to-end-tests vs test-service-load) before uploading tinylicious.log.

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
@alexvy86 alexvy86 requested a review from a team February 11, 2026 21:48
@alexvy86 alexvy86 enabled auto-merge (squash) February 11, 2026 21:49
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.

1 participant