Skip to content

[THROWAWAY] Proof: #763 specs pass against the old lookup - #765

Closed
mokagio wants to merge 1 commit into
ainfra-2725/publish-latest-github-releasefrom
mokagio/throwaway-763-false-positive-proof
Closed

[THROWAWAY] Proof: #763 specs pass against the old lookup#765
mokagio wants to merge 1 commit into
ainfra-2725/publish-latest-github-releasefrom
mokagio/throwaway-763-false-positive-proof

Conversation

@mokagio

@mokagio mokagio commented Aug 3, 2026

Copy link
Copy Markdown
Contributor

What does it do?

Throwaway — do not merge, do not review. Opened only to make a CI run stand as evidence for a review comment on #763. It will be closed once the checks report.

Stacked on #763, this reverts find_release to the pre-#763 lookup — client.releases(repository).find { … }, which returns whichever match the GitHub API happens to list first — while leaving matching_releases and publish_release as #763 has them, so only the claim under discussion is in play.

Expected result: CI green. That is the point. The two #upload_release_assets specs #763 adds are meant to pin deterministic release selection, but they stub client.releases with the release they expect the helper to pick already in first position, so they pass against the very lookup they were written to catch.

The companion PR reverses the stub ordering and goes red against this same implementation.


Posted by Claude Code (Opus 5) on behalf of @mokagio with approval.

Not for merge.
Exists so a CI run can stand as evidence in the review discussion on #763,
and will be closed once the checks report.

Reverts only `find_release`, leaving `matching_releases` and `publish_release`
as #763 has them, so the run speaks to the disputed specs and nothing else.

---

Generated with the help of Claude Code, https://claude.ai/code

Co-Authored-By: Claude Code Opus 5 <noreply@anthropic.com>
@mokagio mokagio self-assigned this Aug 3, 2026
@dangermattic

Copy link
Copy Markdown
Collaborator
1 Warning
⚠️ Please add an entry in the CHANGELOG.md file to describe the changes made by this PR
1 Message
📖 This PR is still a Draft: some checks will be skipped.

Generated by 🚫 Danger

@AliSoftware AliSoftware closed this Aug 3, 2026
@mokagio
mokagio deleted the mokagio/throwaway-763-false-positive-proof branch August 3, 2026 06:36
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.

3 participants