GeezerVison is showing github.com — fix(ci): silence English translation noise and harden related-issue matches by Wibias · Pull Request #458 · lidge-jun/opencodex
Conversation
Wibias
commented
Jul 25, 2026
•
edited by coderabbitai
Bot
Loading
Uh oh!
There was an error while loading. Please reload this page.
Summary
- Reduce issue-bot noise for English/no-translation paths by storing cooldown and rate-limit state in a bot-owned marker-only control comment (no visible English bookkeeping text).
- Keep non-English translations on the existing visible bookkeeping comment path.
- Preserve author whitespace when stripping orphan body control markers; require concrete shared failure signatures before keeping related-issue matches that use weak “same client/app” wording; unify the no-translation model prompt so
detected_language stays the source language (normally English) with empty translation fields.
English-state contract
- No visible English bookkeeping text for English/no-translation results (marker-only
github-actions[bot] control comment).
- Authoritative cooldown/rate-limit state is the verified bot-owned control comment only.
- Issue title/body are never used as authoritative control state; forged body markers are ignored and stripped as non-authoritative orphans.
- Author-created comments that contain the control marker are never trusted.
- Canonical comment create/update completes first; redundant older bot control comments are deleted only after that succeeds.
- Create/update failures preserve the previous durable comment; cleanup failures leave redundant comments as fallback.
- No Actions cache /
.ocx-translation-state file path (issue-triggered workflows cannot durably save cache entries).
Test plan
-
node --test .github/scripts/issue-translation.test.cjs
-
node --test .github/scripts/issue-triage.test.cjs
-
node --test .github/scripts/parse-issue-translation-response.test.cjs
-
node --test .github/scripts/issue-quality.test.cjs
-
bun test tests/ci-workflows.test.ts
- Issue quality tests workflow
- React Doctor
- Cross-platform CI
- Explicit maintainer security approval for
.github/** changes before merge
Summary by CodeRabbit
- New Features
- Improved issue triage: stricter, JSON-only match extraction with stronger “related” reasoning.
- Bug Fixes
- Hardened translation control-state recovery from outdated/orphan markers and time-skew issues.
- English/no-translation attempts no longer show unnecessary visible bookkeeping.
- Prevented issue-authored markers from overriding trusted translation state; improved canonical control-comment upsert/cleanup.
- Tests
- Expanded coverage for translation control-state healing and triage parsing/sanitization behavior.
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
…ssue matches
Stop posting visible English translation control comments (keep rate-limit state invisible on the issue body), and drop weak "somewhat related" triage links like #452->#420.
This comment was marked as outdated.
This comment was marked as resolved.
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
This comment was marked as resolved.
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
Address Codex/CodeRabbit review: stop trusting author-editable issue-body markers for rate limits, keep markers-only bot comments (no visible English bookkeeping), and stop rejecting concrete 'both involve' related reasons.
Persist English/no-translation rate-limit state in a bot-owned Actions cache file instead of marker-only issue comments, preserve orphan-marker whitespace, require concrete related-issue signatures, and unify the no-translation prompt contract.
This comment was marked as resolved.
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
Keep silent file state local until Actions cache upload succeeds, then remove verified bot control comments so cancelled or failed cache saves cannot erase cooldown history.
Issue-triggered workflows cannot durably save Actions cache entries, so keep cooldown history in a github-actions control comment without visible English bookkeeping and drop the non-durable file/cache path.
Require per-related shared-failure reasons, strip orphan body markers only at EOF, and reject far-future cooldown timestamps so poisoned bot comments cannot lock rate limits.
Require shared-failure wording (not use/call/involve overlap) and drop reasons that carry multiple HTTP statuses or contrast attributions.
Reject related reasons where generic both-fail wording borrows a one-issue errno/status/Field required token, while keeping clause-bound shared signatures.
This comment was marked as resolved.
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
This comment was marked as resolved.
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
…lity
Tighten errno/HTTP signature matching, pass injected now into control-comment
selection, improve persist-failure observability, and cover the paginate cleanup path.
Cover phrasing where a shared verb binds both issues to another ticket number
rather than a real failure or HTTP status code.
Treat HTTP status plus errno as distinct failures, and stop generic both-fail
wording from binding later issue-specific tokens as shared evidence.
…utions
Extend ISSUE_SPECIFIC_ATTR_RE so generic both-fail wording cannot bind tokens
attributed to this, current, or present issue.
Uh oh!
There was an error while loading. Please reload this page.
This was referenced Jul 25, 2026
agentHits
pushed a commit
to agentHits/opencodex
that referenced
this pull request
Sep 17, 2026
fix(ci): silence English translation noise and harden related-issue matches
Reviewers
lidge-jun
Awaiting requested review from lidge-jun
lidge-jun is a code owner
Ingwannu
Awaiting requested review from Ingwannu
Ingwannu is a code owner
Uh oh!
There was an error while loading. Please reload this page.
Assignees
No one assigned
Labels
bug
Something isn't working
Milestone
No milestone
Development
Successfully merging this pull request may close these issues.
Uh oh!
There was an error while loading. Please reload this page.
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.
|