Skip to content

Update mirrored cDAC source - #6140

Closed
github-actions[bot] wants to merge 12 commits into
mainfrom
automation/sync-cdac-test
Closed

github-actions[bot] wants to merge 12 commits into
mainfrom
automation/sync-cdac-test

Conversation

@github-actions

Copy link
Copy Markdown
Contributor

Updates the managed cDAC reader, generator and linked sources from dotnet/runtime@35d5d14d206401078e52280832774f88b352ed38.

The mirrored source tracks the latest dotnet/runtime main commit resolved when this workflow runs. The imported paths come from runtime's src/native/managed/cdac/SourceManifest.props.

Max Charlamb and others added 12 commits October 22, 2026 10:40
Co-authored-by: Copilot <[email protected]>

Copilot-Session: 6297d10c-2f94-48bb-b897-bc0b3e1a855f
Co-authored-by: Copilot <[email protected]>

Copilot-Session: 6297d10c-2f94-48bb-b897-bc0b3e1a855f
Co-authored-by: Copilot <[email protected]>

Copilot-Session: 6297d10c-2f94-48bb-b897-bc0b3e1a855f
Co-authored-by: Copilot <[email protected]>

Copilot-Session: 6297d10c-2f94-48bb-b897-bc0b3e1a855f
Co-authored-by: Copilot <[email protected]>

Copilot-Session: 6297d10c-2f94-48bb-b897-bc0b3e1a855f
Co-authored-by: Copilot <[email protected]>

Copilot-Session: 6297d10c-2f94-48bb-b897-bc0b3e1a855f
Co-authored-by: Copilot <[email protected]>

Copilot-Session: 6297d10c-2f94-48bb-b897-bc0b3e1a855f
Read the source list from the selected runtime commit and run the scheduled sync on the faster Linux hosted runner.

Co-authored-by: Copilot <[email protected]>

Copilot-Session: 6297d10c-2f94-48bb-b897-bc0b3e1a855f
Use a single permission-scoped job with direct Git and GitHub CLI publication, and replace the cDAC README with a concise update guide.

Co-authored-by: Copilot <[email protected]>
Copilot-Session: 6297d10c-2f94-48bb-b897-bc0b3e1a855f
Use the runtime product version for cDAC transport packaging and configure manifest validation for the mirrored source layout.

Co-authored-by: Copilot <[email protected]>
Copilot-Session: 6297d10c-2f94-48bb-b897-bc0b3e1a855f
Temporarily run the workflow from this branch and publish to an isolated test branch.

Co-authored-by: Copilot <[email protected]>
Copilot-Session: 6297d10c-2f94-48bb-b897-bc0b3e1a855f
@github-actions
github-actions Bot requested a review from a team as a code owner October 23, 2026 16:50
@max-charlamb
max-charlamb deleted the automation/sync-cdac-test branch October 23, 2026 16:51
max-charlamb added a commit that referenced this pull request Oct 23, 2026
## Summary

- add opt-in build integration for the managed cDAC reader mirrored from
`dotnet/runtime`
- read the runtime-owned source manifest and record the exact runtime
commit and product version
- add a daily and manually dispatched workflow that uses Git and the
GitHub CLI to create or update the generated-source PR

The mirrored `src/cdac/runtime` directory and its provenance files are
intentionally not included in this infrastructure PR. The workflow
generates and commits them in a separate source-sync PR after this
infrastructure is available on the base branch.

## Validation

- `./src/cdac/update-source.ps1 -RuntimeRoot Q:\source\runtime -Commit
origin/main` -- generated the expected 469-file snapshot from
`dotnet/runtime@35d5d14d206401078e52280832774f88b352ed38`
- `./.dotnet/dotnet.exe build src/cdac/dirs.proj -c Debug
-p:SkipCDacPublish=true --no-incremental` -- passed with 0 warnings and
0 errors
- [End-to-end GitHub Actions
run](https://github.com/dotnet/diagnostics/actions/runs/39989990961) --
passed and created sample generated-source PR #6140
- #6140 contained the seven infrastructure files from this PR plus 469
mirrored runtime files, `runtime-source.txt`, and `runtime-version.txt`;
its generated commit used the documented `github-actions[bot]` identity
and the expected runtime provenance

The sample generated PR was closed and its isolated test branch was
deleted after verification.

> [!NOTE]
> This pull request description was generated with GitHub Copilot.

---------

Co-authored-by: Max Charlamb <[email protected]>
Co-authored-by: Copilot <[email protected]>
Copilot-Session: 6297d10c-2f94-48bb-b897-bc0b3e1a855f
@github-actions github-actions Bot locked and limited conversation to collaborators Nov 23, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant