Skip to content

build: integrate changes for pure build mode (do not merge) - #764

Draft
hdwhdw wants to merge 2 commits into
sonic-net:masterfrom
hdwhdw:devex/pure-package-umbrella
Draft

hdwhdw wants to merge 2 commits into
sonic-net:masterfrom
hdwhdw:devex/pure-package-umbrella

Conversation

@hdwhdw

@hdwhdw hdwhdw commented Aug 24, 2026

Copy link
Copy Markdown
Contributor

Use this draft PR only to prepare child PRs and validate their combined changes. Do not merge it.

Review each signed commit in its separate child PR against master.

Child commits and work items

  • Child PR A #765: 21bf9058 - pure build mode - Azure DevOps Task 39387055
  • Child PR B: 35ffc738 - database-config adapter - Azure DevOps Task 38981139 - opens after PR A merges

Validation at this draft head

  • make -f pure.mk ci passes for 18 packages.
  • go mod tidy -diff reports no changes.

Historical evidence

  • closed sonic-gnmi PR 722 supplied the reviewed database-adapter implementation
  • sonic-gnmi build 1172266 passed source, package, integration, and memory-leak CI
  • sonic-buildimage PR 28409 and build 1172267 passed package, image, and impacted KVM qualification

Tracking parent: Azure DevOps PBI 38984340.

hdwhdw added 2 commits August 24, 2026 12:08
Compile canonical pure packages and tests with CGO disabled and the pure build tag before race tests. Restrict pure build constraints to direct adapter provider files and declare dependencies exposed by mechanical package discovery.\n\nADO: 39387055

Signed-off-by: Dawei Huang <daweihuang@microsoft.com>
Move namespace database configuration behind an internal provider contract. Select a file-backed provider for pure builds and the existing SWSS implementation for normal builds while preserving legacy APIs.\n\nADO: 38981139

Signed-off-by: Dawei Huang <daweihuang@microsoft.com>
@mssonicbld

Copy link
Copy Markdown
Contributor

/azp run

@azure-pipelines

Copy link
Copy Markdown
Azure Pipelines:
There may be pipelines that require an authorized user to comment /azp run to run.

@azure-pipelines

Copy link
Copy Markdown
Azure Pipelines:
Successfully started running 1 pipeline(s).

@hdwhdw

hdwhdw commented Aug 24, 2026

Copy link
Copy Markdown
Contributor Author

/azp run

@azure-pipelines

Copy link
Copy Markdown
Azure Pipelines:
Successfully started running 1 pipeline(s).

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.

2 participants