Skip to content

Re-sync from template #167: docs/comment cleanup, CI storage limits, new tasks #176

Description

@ptr727

Upstream ptr727/ProjectTemplate#167 landed on develop (closes upstream #157-#164). Heads-up to re-sync this repo. It is not yet promoted to main, so expect possible follow-ups as downstreams apply these.

Re-sync the verbatim carries

  • .github/copilot-instructions.md - the duplicated PR-title block and historic/defensive narrative were removed; the Copilot review runbook mechanics are unchanged. Copy the new version and re-adapt <owner>/<repo>/<N>.
  • .editorconfig - the [*.cs]/ReSharper block is now marked .NET-only; the EOL/per-extension block stays always-verbatim. This repo ships .NET, so keep the [*.cs]/ReSharper block.
  • If this repo is adopting .gitattributes (* -text) for the first time, do the one-time line-ending normalization (convert existing files to their .editorconfig ending in a dedicated commit).

Adopt the AGENTS.md rule updates (adapt to this repo's AGENTS)

  • Comments house-rule: concise, current-state, no cross-project references (don't name sibling repos), no rule citations, match ~120-col. Applies to code and workflow comments.
  • Markdown: trailing backslash (\) is blessed for intentional hard line breaks, preferred over trailing whitespace.
  • Versioning: drop any "keep develop ahead of main" framing; bump version.json only for functional changes (NBGV advances the patch automatically).
  • CI storage: set retention-days: 1 on intermediate actions/upload-artifact steps (default 90d piles up against the 2 GB account quota); cache Docker layers to a registry tag (type=registry), not the GitHub Actions cache (type=gha).
  • Patterns: keep a README release-notes summary + full HISTORY.md; keep CODESTYLE.md as the full aggregate and re-sync the whole file; the "name sibling repos" prohibition + the upstream-issue rule are the only cross-repo obligations (the Known Downstream registry stays in the template hub only).

Workflows

  • Re-sync the trimmed comments in the carried release/*-task.yml workflows (only comments changed upstream; logic, CRLF, and SHA pins preserved), and add retention-days: 1 to intermediate artifact uploads.

Reference

Template develop @ 212d8a8; full diff in the PR above.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions