╭ changed ─────────╮ │src/test/event.zig│ ╰──────────────────╯ ╭───────────╮ │← all files│ ╰───────────╯ ╭────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮ │47 .issue = .{ │ │48 .title = "Login form clears password on validation error", │ │49 .description = "Submitting an invalid email address resets the password field. Preserve the field value and show an inline validation message.",│ │50 - .tags = &[_][]const u8{ "bug", "priority-high", "ui" }, │ │50 + .tags = "bug\x00priority-high\x00ui", │ │51 }, │ │52 }, │ │53 }, │ ╰────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯ ╭────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮ │58 .issue = .{ │ │59 .title = "Login form clears password on validation error", │ │60 .description = "Submitting an invalid email address resets the password field and removes typed input. Preserve the field value and show an inline validation message.",│ │61 - .tags = &[_][]const u8{ "bug", "priority-low", "ui" }, │ │61 + .tags = "bug\x00priority-low\x00ui", │ │62 }, │ │63 }, │ │64 }, │ ╰────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯ ╭──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮ │68 .issue = .{ │ │69 .title = "Search results ignore archived project filter", │ │70 .description = "Filtering search results to active projects still returns issues from archived projects. Apply the archived flag before ranking results.",│ │71 - .tags = &[_][]const u8{ "bug", "search", "backend" }, │ │71 + .tags = "bug\x00search\x00backend", │ │72 }, │ │73 }, │ │74 }, │ ╰──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯ ╭─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮ │78 .issue = .{ │ │79 .title = "Issue list does not persist selected sort order", │ │80 .description = "Changing the issue list sort order is lost after refresh. Store the selected sort field and direction with the user's view preferences.",│ │81 - .tags = &[_][]const u8{ "enhancement", "frontend", "preferences" }, │ │81 + .tags = "enhancement\x00frontend\x00preferences", │ │82 }, │ │83 }, │ │84 }, │ ╰─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯ ╭──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮ │194 │ │195 // make sure the issue's tags were correctly edited │ │196 const tags_cursor = try first_issue.getCursor(hash.hashInt(repo_opts.hash, "tags")) orelse return error.NotFound;│ │197 - const tags = try Repo.DB.ArrayList(.read_only).init(tags_cursor); │ │198 - try std.testing.expectEqual(events_to_consume[1].data.issue.tags.len, try tags.count()); │ │199 - │ │200 - for (events_to_consume[1].data.issue.tags, 0..) |expected_tag, i| { │ │201 - const tag_cursor = try tags.getCursor(@intCast(i)) orelse return error.NotFound; │ │202 - const tag_value = try tag_cursor.readBytesAlloc(allocator, null); │ │203 - defer allocator.free(tag_value); │ │204 - try std.testing.expectEqualStrings(expected_tag, tag_value); │ │205 - } │ │197 + const tags_value = try tags_cursor.readBytesAlloc(allocator, null); │ │198 + defer allocator.free(tags_value); │ │199 + try std.testing.expectEqualStrings(events_to_consume[1].data.issue.tags, tags_value); │ │200 } │ │201 } │ │202 │ ╰──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯