Skip to content

Use new tenants in performance benchmarks pipeline#25454

Merged
jzaffiro merged 4 commits intomainfrom
test/useTripsInPerfBench
Sep 16, 2025
Merged

Use new tenants in performance benchmarks pipeline#25454
jzaffiro merged 4 commits intomainfrom
test/useTripsInPerfBench

Conversation

@jzaffiro
Copy link
Contributor

@jzaffiro jzaffiro commented Sep 15, 2025

Continue removing uses of the old tenants and migrating to the new tenant system.

AB#45635

@github-actions github-actions bot added area: build Build related issues base: main PRs targeted against main branch labels Sep 15, 2025
@jzaffiro jzaffiro marked this pull request as ready for review September 16, 2025 16:30
Copilot AI review requested due to automatic review settings September 16, 2025 16:30
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

This PR migrates the performance benchmarks pipeline from using old tenant systems to new tenant management for ODSP testing. The changes implement a more dynamic tenant credential management system that provisions and cleans up tenants automatically.

  • Replace hardcoded tenant variables with dynamic tenant provisioning using trips-setup package
  • Add tenant credential cleanup after test completion
  • Update pipeline logic to handle different credential sources based on endpoint type

Reviewed Changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 2 comments.

File Description
tools/pipelines/test-perf-benchmarks.yml Updates main pipeline to use dynamic tenant credentials for ODSP tests and adds cleanup steps
tools/pipelines/templates/include-test-perf-benchmarks.yml Adds tenant setup logic for ODSP endpoint using Azure CLI and trips-setup package

set -eu -o pipefail

# Increase the maximum time to wait for a tenant to 1 hour to accommodate multiple test runs at the same time.
npx --package=@ff-internal/trips-setup@0.0.5 -- trips-setup --waitTime=3600 --accessToken=$SYSTEM_ACCESSTOKEN
Copy link

Copilot AI Sep 16, 2025

Choose a reason for hiding this comment

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

[nitpick] The hardcoded wait time of 3600 seconds (1 hour) should be extracted to a parameter or variable to make it configurable and easier to adjust without code changes.

Copilot uses AI. Check for mistakes.
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
@jzaffiro jzaffiro merged commit e275d30 into main Sep 16, 2025
30 checks passed
@jzaffiro jzaffiro deleted the test/useTripsInPerfBench branch September 16, 2025 16:51
anthony-murphy-agent pushed a commit to anthony-murphy-agent/FluidFramework that referenced this pull request Jan 14, 2026
Continue removing uses of the old tenants and migrating to the new
tenant system.


[AB#45635](https://dev.azure.com/fluidframework/235294da-091d-4c29-84fc-cdfc3d90890b/_workitems/edit/45635)

---------

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area: build Build related issues base: main PRs targeted against main branch

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants