Skip to content

Develop - #5

Closed
ptr727 wants to merge 24 commits into
mainfrom
develop
Closed

ptr727 wants to merge 24 commits into
mainfrom
develop

Conversation

@ptr727

@ptr727 ptr727 commented Jan 15, 2026

Copy link
Copy Markdown
Owner

No description provided.

Copilot AI review requested due to automatic review settings January 15, 2026 05:38

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

This PR merges changes from the develop branch, focusing on enhancing the development workflow, documentation, and GitHub Actions CI/CD pipeline. The changes include comprehensive developer environment setup instructions, refactored GitHub Actions workflows with improved structure, new Docker build scripts, and project configuration updates.

Changes:

  • Expanded README with detailed SSH key setup, git configuration, and secrets management instructions
  • Refactored GitHub Actions workflows into modular, reusable task-based workflows with separate library and executable build pipelines
  • Added new Docker scripts for version checking, debug tool installation, and multi-configuration builds
  • Updated project configurations to include Benchmarks in InternalsVisibleTo and added Husky pre-commit hooks

Reviewed changes

Copilot reviewed 19 out of 24 changed files in this pull request and generated 3 comments.

Show a summary per file
File Description
Tests/Tests.csproj Updated xunit.analyzers package from 1.26.0 to 1.27.0
README.md Significantly expanded developer environment setup with SSH configuration, git signing setup, secrets management, GitHub project settings, and reorganized deployment instructions
ProjectTemplate.slnx Added GitHub Actions workflow files to solution, reordered projects alphabetically, and reorganized build dependencies
ProjectTemplate.code-workspace Added cSpell words, configured GitHub Local Actions, enabled git sign-off, and removed deprecated extension recommendation
Library/Library.csproj Added Benchmarks to InternalsVisibleTo for internal member access
Console/Console.csproj Added InternalsVisibleTo for Tests and Benchmarks, plus Husky pre-commit hook target
Docker/Version.sh New script to display version information for OS and .NET runtime
Docker/InstallDebugTools.sh New script to install VS debugging and .NET diagnostic tools
Docker/Build.sh New multi-configuration build script supporting both AOT and non-AOT builds
.husky/pre-commit New pre-commit hook script to run Husky validation
.gitignore Added .artifacts directory for GitHub Local Actions
.github/workflows/test-pull-request.yml New unified PR testing workflow replacing separate test-pr.yml, test-docker-pr.yml, and test-build-pr.yml
.github/workflows/test-project-task.yml Replaced individual format checks with consolidated husky run command
.github/workflows/test-docker-task.yml Improved comments for clarity
.github/workflows/publish-docker-release.yml Added permissions, improved comments, and formatted needs dependency
.github/workflows/publish-build-release.yml Renamed workflow, added permissions, split build into library and executable tasks
.github/workflows/date-badge-task.yml Added IS_MAIN_BRANCH environment variable, removed concurrency control, moved branch check to step level
.github/workflows/build-project-task.yml Refactored to split library and executable builds into separate jobs, added GitHub release job with artifact downloads
.github/workflows/build-library-task.yml New workflow for building library project with NuGet publishing support
.github/workflows/build-executable-task.yml New workflow for building executable across multiple runtime platforms with matrix strategy
.github/workflows/build-docker-task.yml Removed matrix strategy, consolidated to single build job, improved environment variable usage

Comment thread .github/workflows/date-badge-task.yml Resolved
Signed-off-by: Pieter Viljoen <[email protected]>
ptr727 added a commit that referenced this pull request Oct 2, 2026
…ted Local Pass (#2278)

## Summary

This is the defined-moments half of #2261, per the maintainer's answers
recorded on that issue. A Copilot round is requested when a pull request
opens and on the head of a pull request into the default branch, a
promotion among them, rather than on every push. On a pull request into
any other branch, a fix push after the first round is covered by the
recorded local strict-review pass the push already owes. The PR
publishes that pass so the review gate can read it.

- **Ruleset.** `repo-config/develop.json` and `main.json` set
`review_on_push` and `review_draft_pull_requests` to false and keep
review on open. Applying the change to live repositories is a separate
config run, which needs its own go-ahead. Narrowing the account-level
setting is a UI step for the maintainer.
- **`pr_review.py attest`.** It publishes the local pass as a comment
carrying `<!-- fleet-local-review: head=<sha> findings=<n> -->`, after
confirming four things:
  - the checkout is at the pushed head
  - the checkout holds no other change
  - its merge base is the pull request's own
  - `local_review.py check` passes against the base

The comment carries the findings count the pass recorded. Per the
maintainer's answer, the count is shown and not gated, since local
findings are advisory. `local_review.py status` now reports the
per-reviewer `findings` map that this reads.
- **`status`.** An attested head on a pull request into a non-default
branch, after Copilot's first round, reads as `review_on_head=local` and
`coverage=local`. That holds only for an owner, member, or collaborator
comment whose marker stands as a line of its own outside a fence, and
only where the whole review history is in view and no round on record
states or appears to state partial coverage.
- **`wait`.** On such a head `wait` requests nothing. An attested head
ends as covered, and one with no attestation exits `49`
(`AWAITING_LOCAL_PASS`). `--request` asks for a round anyway. A
promotion, a first round, a partial on record, and a history past the
window are all requested as before.
- **A post-merge finding on #2277, fixed here.** A newer quota or error
refusal now outranks older genuine coverage of the same head, in the
digest's `refusal=` field and in `wait`'s verdict, since it is the
newest word on the pull request.
- **CodeRabbit.** A drive prompts it at most once per pull request, on
the head it judges final, and never after a rate-limit notice.
- **Docs.** The rule is stated in `GOVERNANCE.md` "PR Review Etiquette",
`pr-review-conduct` (loop step 3, step 8, Merge Gate item 2, and the
reviewer bullets), the Copilot runbook, `scripts/README.md`,
`repo-config/README.md`, `docs/pr-reviewer-reference.md`, and the
one-liners in `README.md`, `RESYNC.md`, and `AUDIT.md`.

## Verification

- `tests.test_pr_review` and `tests.test_local_review` pass (658 tests).
Each new behavior was shown to fail with it reverted or mutated,
including the stale-refusal, partial, old-answer, and marker-shape
cases.
- A live GraphQL read confirmed that `baseRepository.defaultBranchRef`
and `IssueComment.authorAssociation` exist.
- Two local strict-review passes ran. Round 1 raised 16 findings: 15 are
fixed, and #5 went to the maintainer, who chose to show the count
without gating on it. Round 2 raised 3 low findings, all fixed.

Closes #2261

🤖 Generated with [Claude Code](https://claude.com/claude-code)

---------

Co-authored-by: Claude Opus 5.5 <[email protected]>
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