Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

calendar +agenda silently returns incomplete results

Đang mở
#900 1 bình luận 0 reaction 0 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 1 ngày

@manrods đang làm issue này rồi.

Từ ngày 21/8/2026.

Đánh giá

Độ khó
3/5
Thời gian dự kiến
1-2 ngày
Mức phù hợp với người mới
68/100
Loại issue
Lỗi
Độ rõ ràng
Đặc tả rõ ràng
Mức độ hoạt động
Ít trao đổi
Công nghệ
rust
Lĩnh vực
api, cli

Hướng nghiên cứu

Start in crates/google-workspace-cli/src/helpers/calendar.rs at the calendar list and event request code linked in the issue. Reproduce with more than 50 matching events and inspect how request, response, and JSON errors are handled. Done means pagination is followed and per-calendar failures are surfaced or explicitly reported as partial results, including any intentional truncation.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

Summary

gws calendar +agenda says that it shows events across all calendars, but it can silently omit calendars and events.

At commit a3768d0e82ad83cca2da97724e46bea4ff0e6dbd:

This makes a partial result indistinguishable from a complete agenda with no events.

Reproduction

  1. Put more than 50 matching events in one calendar within the requested range.
  2. Run gws calendar +agenda for that range.
  3. The output contains at most 50 events from that calendar and reports no truncation.

A provider error for one secondary calendar also produces a successful result that omits that calendar.

Expected behavior

  • Follow nextPageToken for calendarList.list and every events.list request until it is absent.
  • Do not convert per-calendar failures into empty calendars. Return an error, or return an explicit partial-result status with the failed calendar and cause.
  • If the command has an intentional caller limit, expose the limit and report that the result is truncated.
Ngôn ngữ chính
Rust
Star
31.3k
Fork
1.9k
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của googleworkspace/cli

Tất cả issue của googleworkspace/cli

Issue tương tự

Thêm issue về Rust

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.