Skip to content

Pin version of ff_pipeline_host to particular commit#27110

Open
Abe27342 wants to merge 2 commits intomainfrom
test/absander/pin-ff_pipeline_host
Open

Pin version of ff_pipeline_host to particular commit#27110
Abe27342 wants to merge 2 commits intomainfrom
test/absander/pin-ff_pipeline_host

Conversation

@Abe27342
Copy link
Copy Markdown
Contributor

@Abe27342 Abe27342 commented Apr 21, 2026

Description

After some recent discussions, we'd like to make the process of bumping ff_pipeline_host versions a bit more explicit by pinning the active version in main. This should make it easier to root cause problematic changes in the e2e tests, as OCEs don't need to leaf through multiple repository's git histories.

The commit chosen here is latest main.

Copilot AI review requested due to automatic review settings April 21, 2026 00:19
Copy link
Copy Markdown
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 makes the ff_pipeline_host dependency deterministic across several Azure Pipelines by pinning the repo resource to a specific commit SHA, improving e2e/test reproducibility and making regressions easier to bisect.

Changes:

  • Pin ff_pipeline_host repository resource ref to commit 11f135dcc8dfa42519157bb460fdcb345c19a477 in multiple test pipelines.
  • Update shared build templates to use the same pinned ff_pipeline_host commit instead of a moving branch ref.

Reviewed changes

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

Show a summary per file
File Description
tools/pipelines/test-service-clients.yml Pins ff_pipeline_host repo resource to a specific commit.
tools/pipelines/test-real-service.yml Pins ff_pipeline_host repo resource to a specific commit.
tools/pipelines/test-real-service-stress.yml Pins ff_pipeline_host repo resource to a specific commit.
tools/pipelines/test-perf-benchmarks.yml Replaces ref: main with a pinned commit for ff_pipeline_host.
tools/pipelines/test-dds-stress.yml Pins ff_pipeline_host repo resource to a specific commit.
tools/pipelines/templates/build-npm-package.yml Pins internal/ff_pipeline_host repo resource to a specific commit in a shared template.
tools/pipelines/templates/build-npm-client-package.yml Pins internal/ff_pipeline_host repo resource to a specific commit in a shared template.

- repository: ff_pipeline_host
type: git
name: ff_pipeline_host
ref: '11f135dcc8dfa42519157bb460fdcb345c19a477'
Copy link

Copilot AI Apr 21, 2026

Choose a reason for hiding this comment

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

Nit: this pins ff_pipeline_host via a literal commit SHA, and the same SHA is duplicated in several pipeline YAMLs/templates. If ADO template expressions/variables can be used for resources.repositories[*].ref, consider factoring it into a single shared value to prevent drift during bumps.

Copilot uses AI. Check for mistakes.
- repository: ff_pipeline_host
type: git
name: ff_pipeline_host
ref: '11f135dcc8dfa42519157bb460fdcb345c19a477'
Copy link

Copilot AI Apr 21, 2026

Choose a reason for hiding this comment

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

Nit: the pinned ff_pipeline_host SHA is repeated across multiple pipeline YAMLs. If feasible, centralize the ref into a shared variable/parameter so future bumps can’t accidentally miss updating one of the pipelines.

Copilot uses AI. Check for mistakes.
type: git
name: ff_pipeline_host
ref: main
ref: '11f135dcc8dfa42519157bb460fdcb345c19a477'
Copy link

Copilot AI Apr 21, 2026

Choose a reason for hiding this comment

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

Nit: this hard-codes the ff_pipeline_host commit SHA, which is duplicated across several pipelines/templates in this PR. Consider making the SHA a single shared value (variable/parameter) to avoid partial updates when bumping.

Copilot uses AI. Check for mistakes.
- repository: ff_pipeline_host
type: git
name: ff_pipeline_host
ref: '11f135dcc8dfa42519157bb460fdcb345c19a477'
Copy link

Copilot AI Apr 21, 2026

Choose a reason for hiding this comment

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

Nit: the pinned ff_pipeline_host commit SHA is duplicated across multiple pipeline YAMLs. If possible, centralize it so bumps are atomic and don’t risk leaving one pipeline on an older SHA.

Copilot uses AI. Check for mistakes.
type: git
# Specify internal project, since this pipeline runs in both the public and internal projects
name: internal/ff_pipeline_host
ref: '11f135dcc8dfa42519157bb460fdcb345c19a477'
Copy link

Copilot AI Apr 21, 2026

Choose a reason for hiding this comment

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

Nit: this introduces another hard-coded copy of the pinned ff_pipeline_host SHA. Since the same SHA is also hard-coded in multiple pipeline YAMLs, consider making this template (or another single shared definition) the source of truth for the ref to prevent drift on future bumps.

Copilot uses AI. Check for mistakes.
type: git
# Specify internal project, since this pipeline runs in both the public and internal projects
name: internal/ff_pipeline_host
ref: '11f135dcc8dfa42519157bb460fdcb345c19a477'
Copy link

Copilot AI Apr 21, 2026

Choose a reason for hiding this comment

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

Nit: the ff_pipeline_host ref is pinned via a literal commit SHA here, and the same value is duplicated in other pipelines/templates. If feasible, centralize the pinned ref into a single shared value to reduce the chance of inconsistent updates when bumping.

Copilot uses AI. Check for mistakes.
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

While we might want a way for specific pipelines to override this, having them default to a centralized value seems like a good idea.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Done in d735646. Both extends templates (build-npm-package.yml and build-npm-client-package.yml) now expose a ff_pipeline_host_ref parameter with the pinned SHA as the default. Pipelines extending these templates can pass a different value to override. For the standalone test pipelines (which don't use these extends templates), I added comments pointing to build-npm-package.yml as the canonical source for the ref value.

- repository: ff_pipeline_host
type: git
name: ff_pipeline_host
ref: '11f135dcc8dfa42519157bb460fdcb345c19a477'
Copy link

Copilot AI Apr 21, 2026

Choose a reason for hiding this comment

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

Nit: the ff_pipeline_host commit SHA is hard-coded here and repeated across multiple pipeline YAMLs in this PR. That duplication makes future bumps easy to apply inconsistently; if possible, centralize the pinned ref (e.g., a shared template parameter/variable) so updating it is a single change.

Copilot uses AI. Check for mistakes.
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Stop padding your stats, @copilot

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Need to double-check if doing deduplication here impacts ADO's ability to configure alternative refs at pipeline queue time. We don't want to break that.

Copilot AI requested a review from ChumpChief April 21, 2026 02:41
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.

5 participants