Skip to content

Re-sync from template: consolidate CODESTYLE, tasks, smoke skip#182

Merged
ptr727 merged 2 commits into
developfrom
resync-template-codestyle-tasks-smoke
Jun 22, 2026
Merged

Re-sync from template: consolidate CODESTYLE, tasks, smoke skip#182
ptr727 merged 2 commits into
developfrom
resync-template-codestyle-tasks-smoke

Conversation

@ptr727

@ptr727 ptr727 commented Jun 22, 2026

Copy link
Copy Markdown
Owner

Re-converges with ptr727/ProjectTemplate develop, applying the three template changes tracked in #176's 2026-06-22 comment (upstream cde3354 / f526b55 / 402e862). The earlier #176 body was already applied in 56863c4; this PR covers what landed upstream afterward.

Changes

  • Copilot runbook hardening (#173): re-synced .github/copilot-instructions.md verbatim - clean-pass-is-success, round-1 auto-seed polling, REST-vs-GraphQL bot-login, issue-comment bot-id fallback. Re-adapted the <owner>/<repo> snippet placeholders to this repo, kept <N> as the per-PR placeholder, and dropped the inapplicable Python style pointer.
  • Consolidated CODESTYLE.md (#175/#178): one guide with a General section plus the .NET section; Python section dropped under the droppable-per-language model. Adapted the project-folder list, InternalsVisibleTo name, build-task labels, and the Husky.Net hooks note to this repo.
  • VS Code / Husky task casing (#175): .Net*.NET* in tasks.json, launch.json, and .husky/task-runner.json; added "dependsOrder": "sequence" to the .NET Format task and the template's group comments. Kept Husky.Net Run, dropped .NET Benchmark (no such project).
  • Skip artifact uploads on PR smoke builds (#179): added a smoke input to build-nugetlibrary-task.yml gating the zip + upload on !inputs.smoke; build-release-task.yml forwards smoke. Surgical edits - the local two-phase CI structure and SHA pins (ahead of the template) are preserved.
  • .editorconfig: adopted the Json and JsonC comment and the suppression-policy note (now byte-identical to the template).
  • AGENTS.md: updated the CODESTYLE re-sync guidance to the droppable-section model and added the tasks.json verbatim-carry note.

Notes

  • Dropped the template's "Adopting Without .NET" subsection from CODESTYLE.md, since it presupposes a Python side this repo doesn't have.
  • .md/config files kept CRLF per .editorconfig; LF preserved on the workflow files; no .cs/.csproj touched.

Verification

  • dotnet build: 0 warnings / 0 errors
  • dotnet test: 257/257 pass

Applies the three template changes from issue #176's 2026-06-22
comment (upstream cde3354/f526b55/402e862):

- copilot-instructions.md: re-sync the hardened Copilot review runbook
  verbatim (clean-pass-is-success, round-1 auto-seed polling, REST vs
  GraphQL bot-login, issue-comment bot-id fallback); re-adapt owner/repo
  placeholders and drop the inapplicable Python pointer.
- CODESTYLE.md: consolidate into one guide - General + .NET sections,
  Python section dropped (droppable per-language model); adapt the
  project list, InternalsVisibleTo name, task labels, and Husky.Net note.
- .vscode/tasks.json, launch.json, .husky/task-runner.json: .Net -> .NET
  casing; add dependsOrder: sequence to the .NET Format task.
- build-nugetlibrary-task.yml: add smoke input, gate the zip/upload on
  !inputs.smoke; build-release-task.yml forwards smoke to the call.
- .editorconfig: Json/JsonC comment and the suppression-policy note.
- AGENTS.md: update CODESTYLE re-sync guidance to the droppable-section
  model and add the tasks.json verbatim-carry note.

Build: 0 warnings / 0 errors. Tests: 257/257 pass.
Copilot AI review requested due to automatic review settings June 22, 2026 16:56

Copilot AI left a comment

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.

Pull request overview

Re-syncs LanguageTags repo scaffolding and contributor guidance from the upstream template, focusing on consolidating code-style documentation, aligning VS Code/Husky task naming, and reducing CI artifact storage for PR smoke builds.

Changes:

  • Consolidate CODESTYLE.md into a repo-wide General section plus a droppable .NET section, and update re-sync guidance in AGENTS.md.
  • Normalize .NET casing across VS Code tasks/launch config and Husky task runner, and enforce sequential task dependencies for .NET Format.
  • Add a smoke input to the NuGet build reusable workflow to skip zip/upload steps during PR smoke runs, and forward that input from the release workflow.

Reviewed changes

Copilot reviewed 9 out of 9 changed files in this pull request and generated 1 comment.

Show a summary per file
File Description
CODESTYLE.md Consolidates style guidance into General + .NET sections; updates clean-compile and suppression guidance.
AGENTS.md Updates template re-sync instructions to the droppable-section model and adds tasks.json verbatim-carry guidance.
.vscode/tasks.json Renames .Net* tasks to .NET*, adds group comments, and forces sequential .NET Format dependency execution.
.vscode/launch.json Updates preLaunchTask to the new .NET Build label.
.husky/task-runner.json Updates Husky task naming to .NET Format casing.
.github/workflows/build-release-task.yml Forwards smoke into the NuGet build task to suppress artifact creation on smoke runs.
.github/workflows/build-nugetlibrary-task.yml Introduces smoke input and skips zip/upload steps when enabled.
.github/copilot-instructions.md Re-syncs and clarifies Copilot runbook framing and CODESTYLE reference.
.editorconfig Updates JSON/JSONC comment and adds suppression-policy guidance comments for the C# block.

Comment thread CODESTYLE.md Outdated
The carried template line claimed CI runs `dotnet csharpier check`;
this repo's test-pull-request.yml runs `dotnet husky run` (CSharpier +
`dotnet format style --verify-no-changes`). Describe the actual CI.

Copilot AI left a comment

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.

Pull request overview

Copilot reviewed 9 out of 9 changed files in this pull request and generated 1 comment.

Comment thread CODESTYLE.md
@ptr727 ptr727 merged commit c5bdb2f into develop Jun 22, 2026
8 checks passed
@ptr727 ptr727 deleted the resync-template-codestyle-tasks-smoke branch June 22, 2026 17:29
ptr727 added a commit that referenced this pull request Jun 22, 2026
Maintenance promotion: template re-sync (#182) + test #pragma cleanup (#184). No functional change, no version.json bump.
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