Repository navigation
US-14: Evidence complete needs an issue, a merged pull request with passing checks, and a release - #28
Merged
Conversation
…d a release for Evidence complete Replace the Evidence complete rule with the team's rule from US-14 (ADR-056). A requirement is Evidence complete only when an issue is linked, a merged pull request is linked, the checks on the final commit of every merged pull request passed, and every merged pull request is included in a linked release. The API returns the missing parts, and the requirement list and page show which parts are met or missing, separately from Accepted.
…der API, and phone width
…issing parts on phones
# Conflicts: # docs/HANDOFF.md
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
Codex Review Summary: ❌ FailedThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
Contributor
|
Important
This repository does not receive automatic reviews because it has fewer than 10 stars.
|
|
You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard. |
This branch was successfully deployed
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.
Problem
Jira SPEC-22 (US-14). The rule behind "Evidence complete" (ADR-053) only looked at linked code and its checks; issues and releases neither counted nor blocked. That rule was written during development and was never agreed by the team. The team's rule is the one in US-14:
What changed
Requirements/EvidencePolicy.cs,Requirements/RequirementEndpoints.cs):EvidencePolicy.Missingreturns the parts a requirement does not meet, in order:issue,merged_pull_request,passing_checks,release. The requirement list and every single-requirement response (get, create, edit, archive, restore) now carryevidenceCompleteandevidenceMissing.components/evidence-status.tsx; parsing inlib/projects.tsandlib/requirements.ts.What did not change
How it was tested
All tests are Playwright Test, as the repo requires (ADR-005, docs/TESTING.md):
tests/schema/milestones.spec.ts):tests/api/project-data.spec.ts):tests/e2e/milestones.spec.ts):mainwith PR feat: suggest links from closing references and move links between re… #26 and ci: improve pipeline feedback and deploy health #27):npm test: 409 passed;npm run lint,npm run typecheck,dotnet format app/api --verify-no-changes --no-restore,npm run build:api(0 warnings), andgit diff --checkpass.global.jsonwas pointed at it only while checking and is not changed in this PR, so CI uses the pinned 10.0.401.Screenshots
The browser test saves
milestone-filter.png(list with "Evidence complete" and "Missing issue, merged pull request, passing checks, release") andevidence-status.png(requirement page with the four parts as Missing) in its test output.Migrations or environment changes
None.
Risks, limitations, follow-up