Skip to content

Fix Vertical merge in case of OPTIMIZE FINAL with single part. - #600

Merged
ludv1x merged 1 commit into
masterfrom
CLICKHOUSE-2886
Mar 16, 2017
Merged

ludv1x merged 1 commit into
masterfrom
CLICKHOUSE-2886

Conversation

@ludv1x

@ludv1x ludv1x commented Mar 16, 2017

Copy link
Copy Markdown
Contributor

No description provided.

@ludv1x
ludv1x merged commit 3bdb1b6 into master Mar 16, 2017
alexey-milovidov added a commit that referenced this pull request Nov 22, 2026
…tion

A re-apply with an entry of its own can be reverted on the night it arrives,
before any edit has placed that entry: `#100` and its re-apply `#300` carry
the same `Bug Fix` entry, `#200` reverts `#100`, and `#600` reverts `#300`.
Both raw entries are deleted and recorded as `raw`. When `#700` reverts
`#600`, the restoration demanded a bullet of `#300`'s own, so one bullet
attributed to `#100`, `#300` and `#700` was rejected as missing `#300` while
two duplicate bullets passed. On arrival the same entry may be merged into
the one it brought back.

A recorded deletion of a re-apply is now one of two things. A `section`
record is a bullet of its own that an edit had accepted: it comes back as a
bullet of its own, as before. A `raw` record is an entry that was never
placed (`unplaced`): it is restored on the run that brings the re-apply back
(the one whose raw blocks hold the revert of its reverter), and then either
placement restores it, a bullet of its own or its link on the entry it
brought back. On later runs the section says which it was, and the record
asks for nothing: a merged one is a plain re-apply again, whose link goes
when the original is reverted once more. When nothing it brought back ships
on the run that brings it back, it is offered instead of required.

The prompt tells the agent to place such an entry the way it would on
arrival.

Regressions: raw deletion and merged restoration of a repeating re-apply
entry, the next run, and a second revert of the original; the same with
nothing to merge into; and the offered case.

Review: #133259 (comment)

Co-Authored-By: Claude Fable 5.2 <[email protected]>
alexey-milovidov added a commit that referenced this pull request Nov 22, 2026
`carries_entry` decides whether a re-apply's raw entry is required, by
asking whether something it brought back is an entry its link can stand for.
It still counted two kinds of pull requests that cannot carry a link:

- A `cancelling` revert that came under a strict category. `#200` reverts
  `#100` with a `Bug Fix` entry, `#300` re-applies `#100` without one, and
  `#600` reverts `#300` with a `Bug Fix` entry, all on one night. What `#600`
  restores is the revert `#200`, whose bullet has to go, but its strict raw
  entry made it a carrier, so deleting all four bullets failed with
  "Entries disappeared ... ['600']".
- An original change published in an earlier release. `#200` reverts `#50`
  from a released section and `#300` reverts `#200`. The entry of `#50`
  cannot be amended and nothing changed for users, but `#50` counted as a
  carrier, so deleting both descriptions failed with
  "Entries disappeared ... ['300']".

A carrier is now an entry that stays in the in-progress section: an original
change of this cycle that no standing revert takes out, or a revert with an
entry of its own that is neither `cancelling` nor `optional`. In both cases
above the entry becomes optional: it may go, and a bullet for an independent
change may stay. The prompt and the skill name the three reasons a revert of
a revert can have nothing of the release to put back.

Review: #133259 (comment)

Co-Authored-By: Claude Fable 5.2 <[email protected]>
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