Skip to content

[Parity remediation in progress] Enhance startup pipeline and optimize photo album management - #890

Draft
OliverZhaohaibin wants to merge 105 commits into
edit-basefrom
codex/startup-chain-optimization
Draft

[Parity remediation in progress] Enhance startup pipeline and optimize photo album management#890
OliverZhaohaibin wants to merge 105 commits into
edit-basefrom
codex/startup-chain-optimization

Conversation

@OliverZhaohaibin

@OliverZhaohaibin OliverZhaohaibin commented Jul 29, 2026

Copy link
Copy Markdown
Owner

Parity remediation in progress — do not merge

PR #890 is retained as the review baseline for head 59c961875a5e337299cf7f2fb1bff59c63b74f93. Its 105 commits / 365 files mixed independent Startup, Detail, Live Photo, Edit, Library, Recognition, Pets, CI, and legacy-removal changes, so it will not be merged or cherry-picked as a whole.

The first #891#899 split was not fully behaviorally equivalent. In particular, the Detail core existed but the production playback path still bypassed the scheduler/cache/residency path, causing a severe performance regression. The parity remediation below is therefore still active.

Already merged into edit-base

  1. #891 — Fix CI routing for edit-base
  2. #892 — Harden startup orchestration and shutdown lifecycle
  3. #893 — Build bounded Detail decode and cache core
  4. #894 — Fix Live Photo motion-to-still presentation lifecycle
  5. #895 — Harden Detail/Edit/Library lifecycle
  6. #896 — Add recoverable Recognition mutation coordination
  7. #897 — Harden Pets recognition contracts and recovery
  8. #898 — Remove legacy architecture and finalize lifecycle gates
  9. #899 — Restore edit-base runtime initialization contracts

Active parity remediation

  1. #900 — Restore GPU-first Detail production integration — draft; three-platform CI and instrumentation-only baseline comparison pending
  2. Recognition query and merge services — pending after Restore GPU-first Detail production integration #900 merges
  3. Coordinator domain decomposition and lazy feature runtime — pending after the Recognition PR merges

A 105-commit parity ledger is maintained in #900 and will be updated through all three remediation PRs. No #890 behavior may disappear without being marked either “migrated” or “equivalently replaced by a newer implementation.”

#890 remains open and unmerged while remediation is in progress. After all three PRs merge into edit-base, this description will be updated with final validation evidence and #890 will be closed as superseded, not merged.

OliverZhaohaibin added a commit that referenced this pull request Jul 29, 2026
Replacement PR for #890 review finding 2. Preserve one transaction and generation across Live Photo motion and still restoration, and refresh overlays/prefetch only after actual surface presentation.
OliverZhaohaibin added a commit that referenced this pull request Jul 29, 2026
Replacement PR for #890 findings 3, 4, and 8. Add binding-epoch async tokens, an Edit library-switch barrier, safe stale-handle invalidation, and a unified bounded CPU surface-retention policy.
OliverZhaohaibin added a commit that referenced this pull request Jul 29, 2026
Supersedes the Recognition recovery and concurrency foundation from #890.
OliverZhaohaibin added a commit that referenced this pull request Jul 29, 2026
Supersedes the Pets remediation portion of #890 with recoverable mutations, migration contracts, production-shape validation, and packaging gates.
OliverZhaohaibin added a commit that referenced this pull request Jul 29, 2026
Completes the #890 replacement sequence by removing obsolete compatibility code and tests, enabling the full mixed-native suite, preserving normal shutdown coverage, and updating architecture and benchmark guidance.
@OliverZhaohaibin OliverZhaohaibin changed the title Enhance startup pipeline and optimize photo album management [Superseded] Enhance startup pipeline and optimize photo album management Jul 29, 2026
@OliverZhaohaibin OliverZhaohaibin changed the title [Superseded] Enhance startup pipeline and optimize photo album management [Parity remediation in progress] Enhance startup pipeline and optimize photo album management Aug 2, 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