╭──────────╮ │← previous│ ╰──────────╯ ╭ changed ─────────╮ │src/test/event.zig│ ╰──────────────────╯ ╭───────────────────────────────────────────────────────────────────────────────────╮ │599 const events_to_consume3 = [_]evt.EventWithId{ │ │600 .{ │ │601 .id = events_to_consume[0].id, │ │602 - .author_email = author_email, │ │602 + .author = author, │ │603 .event = .{ │ │604 .issue = .{ │ │605 .title = "Login form clears password on validation error",│ ╰───────────────────────────────────────────────────────────────────────────────────╯ ╭───────────────────────────────────────────────────────────────────────────────────╮ │610 }, │ │611 .{ │ │612 .id = events_to_consume[0].id, │ │613 - .author_email = author_email, │ │613 + .author = author, │ │614 .event = .{ │ │615 .issue = .{ │ │616 .title = "Login form clears password on validation error",│ ╰───────────────────────────────────────────────────────────────────────────────────╯ ╭─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮ │743 │ │744 // the other branch never saw the conflict and rewrites an unrelated │ │745 // field │ │746 - const event = evt.EventWithId{ .id = events_to_consume3[1].id, .author_email = author_email, .event = .{ .issue = .{│ │746 + const event = evt.EventWithId{ .id = events_to_consume3[1].id, .author = author, .event = .{ .issue = .{ │ │747 .title = their_issue.title, │ │748 .description = "Rewritten on a branch that never merged.", │ │749 .tags = their_issue.tags, │ ╰─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯ ╭────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮ │781 // │ │782 │ │783 { │ │784 - try evt.Issue.update(.xit, repo_opts, io, allocator, &repo, &issue_id, .{ .status = .closed }, author_email); │ │784 + try evt.Issue.update(.xit, repo_opts, io, allocator, &repo, &issue_id, .{ .status = .closed }, author); │ │785 │ │786 const haxy_moment = try evt.currentMoment(repo_opts, &repo); │ │787 const conflicts_cursor = try haxy_moment.getCursor(hash.hashInt(repo_opts.hash, evt.Issue.conflicts_key)) orelse return error.NotFound;│ ╰────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯ ╭─────────────────────────────────────────────────────────────────────────────────────────────────╮ │798 .title = "Login form clears password on validation error", │ │799 .tags = "bug priority-medium ui", │ │800 .description = "Submitting an invalid email address resets the password field.",│ │801 - } }, author_email); │ │801 + } }, author); │ │802 } │ │803 │ │804 // │ ╰─────────────────────────────────────────────────────────────────────────────────────────────────╯ ╭─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮ │814 │ │815 // the other branch changes the record on a commit that predates the │ │816 // resolution, so it still carries the conflict │ │817 - const event = evt.EventWithId{ .id = events_to_consume3[0].id, .author_email = author_email, .event = .{ .issue = .{│ │817 + const event = evt.EventWithId{ .id = events_to_consume3[0].id, .author = author, .event = .{ .issue = .{ │ │818 .title = conflicted_issue.title, │ │819 .description = conflicted_issue.description, │ │820 .tags = conflicted_issue.tags, │ ╰─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯ ╭────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮ │865 │ │866 // the events branch only retitles the second issue │ │867 { │ │868 - const event = evt.EventWithId{ .id = events_to_consume[1].id, .author_email = author_email, .event = .{ .issue = .{│ │868 + const event = evt.EventWithId{ .id = events_to_consume[1].id, .author = author, .event = .{ .issue = .{ │ │869 .title = "Search results ignore the archived project filter", │ │870 .description = second_issue.description, │ │871 .tags = second_issue.tags, │ ╰────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯ ╭────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮ │879 // of its tags, then retags the third issue │ │880 { │ │881 json.clearRetainingCapacity(); │ │882 - const event = evt.EventWithId{ .id = events_to_consume[1].id, .author_email = author_email, .event = .{ .issue = .{│ │882 + const event = evt.EventWithId{ .id = events_to_consume[1].id, .author = author, .event = .{ .issue = .{ │ │883 .title = second_issue.title, │ │884 .description = "Archived projects are ranked before the flag is applied.", │ │885 .tags = "bug search", │ ╰────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯ ╭────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮ │890 } │ │891 { │ │892 json.clearRetainingCapacity(); │ │893 - const event = evt.EventWithId{ .id = events_to_consume[2].id, .author_email = author_email, .event = .{ .issue = .{│ │893 + const event = evt.EventWithId{ .id = events_to_consume[2].id, .author = author, .event = .{ .issue = .{ │ │894 .title = third_issue.title, │ │895 .description = third_issue.description, │ │896 .tags = "enhancement roadmap", │ ╰────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯ ╭─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮ │963 │ │964 // we retitle one of the two the other branch is about to drop │ │965 { │ │966 - const event = evt.EventWithId{ .id = events_to_consume2[1].id, .author_email = author_email, .event = .{ .issue = .{│ │966 + const event = evt.EventWithId{ .id = events_to_consume2[1].id, .author = author, .event = .{ .issue = .{ │ │967 .title = "Kept by the edit", │ │968 .description = edited_issue.description, │ │969 .tags = edited_issue.tags, │ ╰─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯ ╭──────╮ │next →│ ╰──────╯