DIYgod and Claude Opus 5.5
db581fc6c9
fix(drivers/guangyapan): return list errors instead of an empty folder ( #3326 )
...
List and findChildFolderID only checked the error from postAPI, which
fails on transport errors and HTTP status >= 400. GuangYaPan reports
business errors with HTTP 200 and a non-zero code and msg in the body,
so a failed get_file_list call ended the listing early: the folder
looked empty (or truncated, on a later page), and resolving root_path
reported "folder not found".
Check the msg after each page with isSuccessMsg, like the other API
calls in the driver, and return the code and msg. Also gofmt the two
request bodies. Add tests for a failed and a successful list response.
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com >
2026-11-06 12:35:19 +08:00
..
2026-10-28 12:30:56 +08:00
2026-10-21 11:48:34 +08:00
2026-07-16 09:49:29 +08:00
2026-10-21 11:48:34 +08:00
2025-12-03 00:55:40 +08:00
2026-10-21 11:48:34 +08:00
2026-06-30 10:36:17 +08:00
2026-10-15 22:18:40 +08:00
2026-10-21 11:48:34 +08:00
2026-10-21 11:48:34 +08:00
2026-10-21 11:48:34 +08:00
2026-09-21 16:54:12 +08:00
2026-06-22 14:40:59 +08:00
2026-09-15 23:13:10 +08:00
2026-01-08 10:47:22 +08:00
2026-10-21 11:48:34 +08:00
2025-08-10 09:55:20 +08:00
2026-01-17 20:08:32 +08:00
2026-07-08 11:56:10 +08:00
2026-10-22 21:15:20 +08:00
2026-06-16 13:49:24 +08:00
2025-12-04 09:54:14 +08:00
2026-07-23 19:29:53 +08:00
2026-10-29 14:53:35 +08:00
2026-06-25 00:37:04 +08:00
2026-06-30 16:26:35 +08:00
2026-04-26 15:17:40 +08:00
2026-05-03 19:10:31 +08:00
2025-12-03 00:55:40 +08:00
2026-07-28 13:18:34 +08:00
2026-10-26 22:19:08 +08:00
2026-01-08 10:47:22 +08:00
2025-12-04 09:54:14 +08:00
2026-05-27 16:49:26 +08:00
2026-01-01 22:29:03 +08:00
2025-12-04 09:54:14 +08:00
2026-08-19 20:11:08 +08:00
2025-10-19 22:45:40 +08:00
2026-06-19 22:44:30 +08:00
2026-08-29 01:31:11 +08:00
2026-07-15 14:19:56 +08:00
2026-10-20 11:12:10 +08:00
2026-10-20 11:12:10 +08:00
2026-11-06 12:35:19 +08:00
2025-07-12 17:57:54 +08:00
2026-01-08 10:47:22 +08:00
2026-08-29 01:17:04 +08:00
2025-07-12 17:57:54 +08:00
2025-07-12 17:57:54 +08:00
2026-10-20 11:12:10 +08:00
2026-05-04 13:05:07 +08:00
2026-10-20 22:23:51 +08:00
2026-06-22 14:37:44 +08:00
2025-08-11 23:41:22 +08:00
2026-01-08 10:47:22 +08:00
2026-10-21 11:48:34 +08:00
2026-01-08 10:47:22 +08:00
2025-12-03 00:55:40 +08:00
2026-10-10 11:39:23 +08:00
2026-11-06 12:20:19 +08:00
2026-08-29 01:10:01 +08:00
2026-04-03 15:41:25 +08:00
2025-12-03 00:55:40 +08:00
2026-10-21 11:48:34 +08:00
2025-07-12 17:57:54 +08:00
2026-01-08 10:47:22 +08:00
2026-10-21 11:48:34 +08:00
2026-05-03 19:10:31 +08:00
2026-02-08 21:15:00 +08:00
2026-10-10 11:44:49 +08:00
2026-01-25 17:00:32 +08:00
2026-06-16 13:40:57 +08:00
2026-06-22 14:37:44 +08:00
2026-08-29 01:20:44 +08:00
2025-07-01 09:54:50 +08:00
2026-09-24 01:46:35 +08:00
2025-10-18 21:47:18 +08:00
2025-12-03 00:55:40 +08:00
2026-10-21 11:48:34 +08:00
2026-10-21 11:48:34 +08:00
2026-10-21 11:48:34 +08:00
2026-06-24 19:09:45 +08:00
2025-12-03 00:55:40 +08:00
2025-10-18 21:47:18 +08:00
2026-10-23 22:47:56 +08:00
2026-01-08 10:47:22 +08:00
2026-10-20 20:38:39 +08:00
2026-07-06 12:23:12 +08:00
2025-12-04 09:54:14 +08:00
2026-10-26 22:19:08 +08:00