Skip to content

Preserve authoritative MR fork context for original commit reviews #630

Description

@sjungwon03

Preserve source_project_id and target_project_id separately in the generated MergeRequest model for original commit review. Harden the detail read against malformed identities, route mismatches, redirects and status-before-decode errors, preserving unknown metadata for older/deleted source contexts. Add a captured-account repository read that requires fresh global MR identity and authoritative target identity while discarding obsolete results and typed failures.

Use test-first model/API/repository regressions. This slice exposes no private write or new UI and does not infer original commit coordinates from MR-wide diff_refs. Complete original parent/reference validation and guarded review UI separately. Related to MW-07 and #628.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions