Skip to content

DAOS-19377 build: make pipeline a runtime feature toggle - #18732

Merged
mchaarawi merged 4 commits into
masterfrom
mschaara/pipeline_build
Jul 29, 2026
Merged

DAOS-19377 build: make pipeline a runtime feature toggle#18732
mchaarawi merged 4 commits into
masterfrom
mschaara/pipeline_build

Conversation

@mchaarawi

Copy link
Copy Markdown
Contributor

Remove the BUILD_PIPELINE compile-time define and replace it with the DAOS_PIPELINE environment variable (disabled by default). The client and server init/fini now enable pipeline support at runtime based on this variable, and the pipeline code is always compiled into libdaos.

Update the pipeline test suites to compile unconditionally and gate execution on DAOS_PIPELINE, and set DAOS_PIPELINE=1 for the client and server when running the daos_test suite.

Steps for the author:

  • Commit message follows the guidelines.
  • Appropriate Features or Test-tag pragmas were used.
  • Appropriate Functional Test Stages were run.
  • At least two positive code reviews including at least one code owner from each category referenced in the PR.
  • Testing is complete. If necessary, forced-landing label added and a reason added in a comment.

After all prior steps are complete:

  • Gatekeeper requested (daos-gatekeeper added as a reviewer).

Remove the BUILD_PIPELINE compile-time define and replace it with the
DAOS_PIPELINE environment variable (disabled by default). The client
and server init/fini now enable pipeline support at runtime based on
this variable, and the pipeline code is always compiled into libdaos.

Update the pipeline test suites to compile unconditionally and gate
execution on DAOS_PIPELINE, and set DAOS_PIPELINE=1 for the client and
server when running the daos_test suite.

Signed-off-by: Mohamad Chaarawi <mohamad.chaarawi@hpe.com>
@github-actions

Copy link
Copy Markdown

Ticket title is 'Remove BUILD_PIPELINE and make it a runtime env'
Status is 'Open'
https://daosio.atlassian.net/browse/DAOS-19377

Comment thread src/tests/suite/daos_pipeline.c Outdated
mchaarawi and others added 2 commits July 28, 2026 11:09
Co-authored-by: Dalton Bohning <dalton.bohning@hpe.com>
Signed-off-by: Mohamad Chaarawi <mohamad.chaarawi@hpe.com>
Signed-off-by: Mohamad Chaarawi <mohamad.chaarawi@hpe.com>
@daosbuild3

Copy link
Copy Markdown
Collaborator

Comment thread src/tests/suite/daos_pipeline.c Outdated
Comment on lines +258 to +259
if (!pipeline_enabled)
skip();

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.

Want to print a message? FWIW we do print this for FAULT_INJECTION_REQUIRED

print_message("Fault injection required for test, skipping...\n");

Signed-off-by: Mohamad Chaarawi <mohamad.chaarawi@hpe.com>
@mchaarawi
mchaarawi marked this pull request as ready for review July 28, 2026 21:51
@mchaarawi
mchaarawi requested review from a team as code owners July 28, 2026 21:51
@mchaarawi
mchaarawi merged commit a7d1999 into master Jul 29, 2026
38 checks passed
@mchaarawi
mchaarawi deleted the mschaara/pipeline_build branch July 29, 2026 12:37
mchaarawi added a commit that referenced this pull request Jul 29, 2026
…8743)

Remove the BUILD_PIPELINE compile-time define and replace it with the
DAOS_PIPELINE environment variable (disabled by default). The client
and server init/fini now enable pipeline support at runtime based on
this variable, and the pipeline code is always compiled into libdaos.

Update the pipeline test suites to compile unconditionally and gate
execution on DAOS_PIPELINE, and set DAOS_PIPELINE=1 for the client and
server when running the daos_test suite.

Signed-off-by: Mohamad Chaarawi <mohamad.chaarawi@hpe.com>
mchaarawi added a commit that referenced this pull request Jul 30, 2026
…8744)

Remove the BUILD_PIPELINE compile-time define and replace it with the
DAOS_PIPELINE environment variable (disabled by default). The client
and server init/fini now enable pipeline support at runtime based on
this variable, and the pipeline code is always compiled into libdaos.

Update the pipeline test suites to compile unconditionally and gate
execution on DAOS_PIPELINE, and set DAOS_PIPELINE=1 for the client and
server when running the daos_test suite.

Signed-off-by: Mohamad Chaarawi <mohamad.chaarawi@hpe.com>
mchaarawi added a commit that referenced this pull request Jul 30, 2026
…8745)

Remove the BUILD_PIPELINE compile-time define and replace it with the
DAOS_PIPELINE environment variable (disabled by default). The client
and server init/fini now enable pipeline support at runtime based on
this variable, and the pipeline code is always compiled into libdaos.

Update the pipeline test suites to compile unconditionally and gate
execution on DAOS_PIPELINE, and set DAOS_PIPELINE=1 for the client and
server when running the daos_test suite.

Signed-off-by: Mohamad Chaarawi <mohamad.chaarawi@hpe.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

4 participants