Repository navigation
Conversation
…ream (#192) Closes the codegen timestamp/state-sharing refactor. - CodeGen output deterministic by default; --runtime is an opt-in, local-only demo (now -> UtcNow, or ISO literal). - Removed the get-runtime job and --runtime plumbing; each matrix leg runs one deterministic dotnet run, like NxWitness/LanguageTags. - merge-bot hardened to pull_request_target (no PR-code checkout; gh pr merge by URL only). - Periodic codegen concurrency switched to a workflow-only group to avoid a dispatch-vs-schedule race on the fixed codegen-* branches. - Docs updated (AGENTS.md codegen bullet, README merge-bot note).
Closes #193. - Removed the dead intra-doc anchor from the mandated-verbatim PR Review Etiquette callout (its target lives under the hub-only Quick Start, which derived repos don't carry). - Split the codegen-determinism bullet into a carryable provider-agnostic principle (regenerate committed files; output deterministic from inputs, never per-run state; what/how is the derived repo's concern) and a clearly-marked droppable template-demo note (API-Ninjas quote + --runtime). - Stopped naming sibling repos in carried text.
Contributor
There was a problem hiding this comment.
Pull request overview
Promotes the current develop head to main as a standard release-branch promotion, bringing in recent CodeGen determinism changes and related workflow/documentation updates.
Changes:
- Make CodeGen output deterministic-by-default (timestamp embedding becomes an opt-in local demo via
--runtime). - Simplify the codegen CI workflow by removing the shared-runtime plumbing and tightening periodic workflow concurrency to a workflow-only group.
- Harden the merge-bot workflow by switching to
pull_request_target, with documentation updates explaining the safety constraints.
Reviewed changes
Copilot reviewed 9 out of 9 changed files in this pull request and generated no comments.
Show a summary per file
| File | Description |
|---|---|
| README.md | Documents why merge-bot uses pull_request_target and its safety posture (no PR code checkout). |
| CodeGen/CommandLine.cs | Updates --runtime option help text to describe local-only timestamp embedding and deterministic default behavior. |
| CodeGen/CodeGenBuilder.cs | Splits generation into deterministic vs timestamped paths and adds now runtime resolution. |
| CodeGen/CodeGen.cs | Regenerates demo output to remove the embedded timestamp (deterministic path). |
| AGENTS.md | Updates the CodeGen determinism guidance (principle vs template-demo specifics) and removes a non-portable intra-doc anchor from the verbatim PR-review contract. |
| .vscode/launch.json | Updates the CodeGen launch profile to pass --runtime now for the local divergence demo. |
| .github/workflows/run-periodic-codegen-pull-request.yml | Changes concurrency group to be workflow-only to prevent races on fixed codegen branches. |
| .github/workflows/run-codegen-pull-request-task.yml | Removes the get-runtime job and stops passing --runtime in CI for deterministic output. |
| .github/workflows/merge-bot-pull-request.yml | Switches trigger to pull_request_target and documents the “no checkout of PR code” safety constraint. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Promotes the current
develophead tomainfor release.Contents:
get-runtimestate-sharing; merge-bot hardened topull_request_target; periodic concurrency workflow-only group).Standard release promotion: merge (not squash). A separate
publish-release.ymldispatch performs the actual release after this lands.🤖 Generated with Claude Code