镜像站点 · 本页由第三方 GitHub 只读镜像提供,非 GitHub 官方站点,不接受任何登录或凭据输入。前往 github.com
Skip to content

Add automated cDAC source synchronization - #6127

Merged
max-charlamb merged 12 commits into
mainfrom
dev/max-charlamb/cdac-source-sync
Oct 23, 2026
Merged

max-charlamb merged 12 commits into
mainfrom
dev/max-charlamb/cdac-source-sync

Conversation

@max-charlamb

@max-charlamb max-charlamb commented Oct 22, 2026 •

Copy link
Copy Markdown
Member

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 -- passed and created sample generated-source PR Update mirrored cDAC source #6140
  • Update mirrored cDAC source #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.

Max Charlamb added 4 commits October 22, 2026 10:40
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

Copilot-Session: 6297d10c-2f94-48bb-b897-bc0b3e1a855f
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

Copilot-Session: 6297d10c-2f94-48bb-b897-bc0b3e1a855f
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

Copilot-Session: 6297d10c-2f94-48bb-b897-bc0b3e1a855f
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

Copilot-Session: 6297d10c-2f94-48bb-b897-bc0b3e1a855f
@max-charlamb
max-charlamb requested a review from hoyosjs October 22, 2026 14:47
Max Charlamb and others added 5 commits October 22, 2026 13:19
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

Copilot-Session: 6297d10c-2f94-48bb-b897-bc0b3e1a855f
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

Copilot-Session: 6297d10c-2f94-48bb-b897-bc0b3e1a855f
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

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 <223556219+Copilot@users.noreply.github.com>

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 <223556219+Copilot@users.noreply.github.com>
Copilot-Session: 6297d10c-2f94-48bb-b897-bc0b3e1a855f
@max-charlamb
max-charlamb marked this pull request as ready for review October 23, 2026 16:30
@max-charlamb
max-charlamb requested a review from a team as a code owner October 23, 2026 16:30
Max Charlamb and others added 3 commits October 23, 2026 12:48
Use the runtime product version for cDAC transport packaging and configure manifest validation for the mirrored source layout.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
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 <223556219+Copilot@users.noreply.github.com>
Copilot-Session: 6297d10c-2f94-48bb-b897-bc0b3e1a855f
Restore the production schedule, manual dispatch, default-branch checkout, and automation branch after the successful end-to-end test.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot-Session: 6297d10c-2f94-48bb-b897-bc0b3e1a855f
@max-charlamb
max-charlamb merged commit 37580df into main Oct 23, 2026
25 checks passed
@max-charlamb
max-charlamb deleted the dev/max-charlamb/cdac-source-sync branch October 23, 2026 17:52
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