Skip to content

fix: address review findings on Bitbucket, the dashboard and auto-watch - #31

Merged
devblac merged 2 commits into
mainfrom
fix/review-followups
Nov 17, 2026
Merged

devblac merged 2 commits into
mainfrom
fix/review-followups

Conversation

@devblac

@devblac devblac commented Nov 8, 2026

Copy link
Copy Markdown
Owner

Follow-ups to the unresolved Codex comments on the already-merged #24, #25, #27 and #28.

From Finding Fix
#24 Two build statuses with different keys but the same name were de-duplicated, so a newer success could hide a failure Each key gets its own App.ID
#25 Live --merged never aged PRs out Cutoff recomputed on every refresh
#25 GitHub merged PRs were filtered by updated_at Uses merged_at
#25 CI stopped refreshing when a failed check sat next to running ones CIDone < CITotal counts as running
#27 Cached review results re-added closed PRs and re-notified Find returns nothing between scans
#28 Log URL depended on pipeline.uuid, which the API schema doesn't promise Looks it up when absent

Not fixed here:

Test plan

  • go test -race ./..., go vet ./...
  • A regression test for each fix

🤖 Generated with Claude Code

- Bitbucket: give each build-status key its own App.ID, so two statuses with
  the same display name aren't de-duplicated as reruns of one check.
- dashboard: advance the --merged cutoff on every live refresh; filter GitHub
  PRs by merged_at rather than updated_at; keep reading CI while checks are
  still running next to a failed one.
- Bitbucket auto-watch: between review scans Find reports nothing to apply
  instead of replaying the last result, which re-added PRs that had closed and
  notified about them again.
- Pipelines logs: look up the pipeline's UUID when the steps response doesn't
  include it.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 8, 2026 •

Copy link
Copy Markdown
Codex Review Summary: ✅ Completed

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-08T16:21:18.979714Z 1a244e1 PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

# Conflicts:
#	internal/watcher/autowatch.go
@devblac
devblac merged commit 50c1951 into main Nov 17, 2026
2 checks passed
@devblac
devblac deleted the fix/review-followups branch November 17, 2026 02:54
@devblac devblac mentioned this pull request Nov 28, 2026
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.

1 participant