Repository navigation
refactor(jirapoll): return an issue's records with its checkpoint as one unit #9854
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Changes from all commits
527843f
e0d3663
c060643
c999cae
71112a5
5d27b04
6635f32
2d83300
a772539
2fa4335
5814593
d94f734
f32dd09
3607b26
1216ae9
bf8aafc
191c0d7
b3b6024
194ca1f
94672e4
d226986
f9a7ed2
8827fae
48c7b23
07582e1
dff9273
9c87e7e
96699c2
2ec3341
1c73a81
50a8999
20982f4
42a15a0
e1bf398
5ffdb8e
f821b61
c964f48
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -284,3 +284,20 @@ their own discovery and are unaffected. Forgejo has no Jira poll target. | |
| - Starvation beyond the top M stays documented and unmitigated: the filter | ||
| neither widens nor narrows the window, and the clearance bound above | ||
| applies only to candidates inside it. | ||
|
|
||
| ## Amendments | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. [low] architectural-conflict ADR 0160 is Accepted, yet an Suggested fix: Record the change in a new ADR with an annotation on ADR 0160, or confirm with maintainers that the in-place amendment follows the 0038/0070 precedent. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Resolved by the review agent: this is an older copy of a finding that a newer review thread also carries: #9854 (comment) The finding is still open. Follow up in the newer thread. Resolving this duplicate. Unresolve it if you disagree. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Resolved by the review agent: this is an older copy of a finding that a newer review thread also carries: #9854 (comment) The finding is still open. Follow up in the newer thread. Resolving this duplicate. Unresolve it if you disagree. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Resolved by the review agent: this is an older copy of a finding that a newer review thread also carries: #9854 (comment) The finding is still open. Follow up in the newer thread. Resolving this duplicate. Unresolve it if you disagree. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Resolved by the review agent: this is an older copy of a finding that a newer review thread also carries: #9854 (comment) The finding is still open. Follow up in the newer thread. Resolving this duplicate. Unresolve it if you disagree. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. [low] architectural-conflict ADR 0160 is Accepted on main and this PR adds an 'Amendments' section that changes behavior prescribed by Decision item 1 (an unparseable checkpoint is now treated as unset). docs/contributing/adrs.md allows only minor annotations on accepted ADRs and asks for a superseding ADR when circumstances change. ADRs 0038 and 0070 already carry dated Amendments sections, so this is a policy-judgment call rather than a clear violation. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Resolved by the review agent: this is an older copy of a finding that a newer review thread also carries: #9854 (comment) The finding is still open. Follow up in the newer thread. Resolving this duplicate. Unresolve it if you disagree. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Resolved by the review agent: this is an older copy of a finding that a newer review thread also carries: #9854 (comment) The finding is still open. Follow up in the newer thread. Resolving this duplicate. Unresolve it if you disagree. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Resolved by the review agent: this is an older copy of a finding that a newer review thread also carries: #9854 (comment) The finding is still open. Follow up in the newer thread. Resolving this duplicate. Unresolve it if you disagree. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. [low] architectural-conflict ADR 0160 is Accepted. The PR adds an '## Amendments' section changing how Decision item 1 treats an unparseable checkpoint, which goes beyond the cross-reference annotation docs/contributing/adrs.md allows for an accepted ADR on main. If ADR 0160 has not yet merged to main (this PR stacks on feat/jirapoll-skip-idle), adrs.md says to edit the ADR in place instead. ADRs 0038 and 0070 have Amendments sections and issue #9766 proposed the amendment, so this is a judgement call. The PR description should call out the edit to an accepted ADR. |
||
|
|
||
| ### 2026-11-25: A checkpoint that is not a timestamp is treated as unset (#9766) | ||
|
|
||
| Decision item 1 sends a checkpoint that cannot be parsed to processing, | ||
| where "the existing per-issue error path reports it as today". That path | ||
| fails the issue on every pick and never saves a new checkpoint, so the | ||
| issue is never processed again, and when it is the only active candidate | ||
| every quiet cycle ends in the all-failed error. The driver now treats a | ||
| stored value that is not a timestamp as unset, as it already treats one | ||
| dated in the future: the issue stays active, gets one first-poll look | ||
| bounded by the backfill window, and that look saves a valid checkpoint. | ||
| Processing logs a WARNING naming the issue without the stored value, and | ||
| the filter's one line per cycle names such candidates. A failed read is | ||
| still an error. Replay stays bounded by one backfill window, the same as | ||
| deleting or forward-dating the checkpoint today. | ||
Large diffs are not rendered by default.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
[low] architectural-conflict
ADR 0160 is Accepted on main. The PR appends a dated '## Amendments' section that changes how Decision item 1 treats an unparseable checkpoint. It leaves Context, Decision and Consequences untouched, and ADRs 0070 and 0038 use the same section, but docs/contributing/adrs.md prefers a superseding ADR when a decision changes and asks that edits to accepted ADRs be called out in the PR description. This PR's description does not mention the edit (the edit belongs to a lower stacked PR).
Suggested fix: Confirm maintainers accept a dated Amendments note for this behavioural change; otherwise record the rule in a new ADR partially superseding ADR 0160 Decision item 1. Call out the edit to the accepted ADR in the PR description.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Resolved by the review agent: this is an older copy of a finding that a newer review thread also carries: #9854 (comment)
The finding is still open. Follow up in the newer thread.
Resolving this duplicate. Unresolve it if you disagree.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Resolved by the review agent: this is an older copy of a finding that a newer review thread also carries: #9854 (comment)
The finding is still open. Follow up in the newer thread.
Resolving this duplicate. Unresolve it if you disagree.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Resolved by the review agent: this is an older copy of a finding that a newer review thread also carries: #9854 (comment)
The finding is still open. Follow up in the newer thread.
Resolving this duplicate. Unresolve it if you disagree.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Resolved by the review agent: this is an older copy of a finding that a newer review thread also carries: #9854 (comment)
The finding is still open. Follow up in the newer thread.
Resolving this duplicate. Unresolve it if you disagree.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Resolved by the review agent: this is an older copy of a finding that a newer review thread also carries: #9854 (comment)
The finding is still open. Follow up in the newer thread.
Resolving this duplicate. Unresolve it if you disagree.