You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: conductor/archive/get_presubmit_check_20260205/spec.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4,7 +4,7 @@
4
4
This track involves implementing a new API endpoint in the `app_dart` backend service to provide detailed information about a specific presubmit check. The dashboard will use this API to display the history and status of all checks for a given check run.
5
5
6
6
## Functional Requirements
7
-
-**Endpoint:**`/api/get-presubmit-checks`
7
+
-**Endpoint:**`/api/public/get-presubmit-checks`
8
8
-**Method:** GET
9
9
-**Parameters (Mandatory):**
10
10
-`check_run_id`: The unique identifier for the GitHub Check Run.
Copy file name to clipboardExpand all lines: conductor/archive/get_presubmit_guard_20260204/spec.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -7,7 +7,7 @@ This track involves implementing a new backend API endpoint in the `app_dart` se
7
7
As a Flutter developer, I want to see the real-time status of my PR's presubmit checks on the Cocoon dashboard so that I can quickly identify and address failures without navigating through multiple GitHub or LUCI pages.
8
8
9
9
## Functional Requirements
10
-
1.**New API Endpoint:** Create an authenticated GET endpoint in `app_dart` (e.g., `/api/get-presubmit-guard`).
10
+
1.**New API Endpoint:** Create an authenticated GET endpoint in `app_dart` (e.g., `/api/public/get-presubmit-guard`).
11
11
2.**Input Parameters:** The endpoint must accept a `slug` (e.g., `flutter/flutter`) and a `commit_sha` as query parameters.
12
12
3.**Data Retrieval:**
13
13
- Query Cloud Firestore for all `PresubmitGuard` records matching the provided slug and commit SHA.
Copy file name to clipboardExpand all lines: conductor/archive/presubmit_view_20260209/plan.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -5,7 +5,7 @@
5
5
-[x] Write Tests: Create unit tests for the new models, ensuring correct JSON deserialization based on the Cocoon API structure. (3c968d9)
6
6
-[x] Implement: Reuse model classes from `cocoon_common`. (3c968d9)
7
7
-[x] Task: Integrate the new endpoints into `CocoonService`. (3c968d9)
8
-
-[x] Write Tests: Mock the `/dashboard/api/get-presubmit-guard` and `/dashboard/api/get-presubmit-checks` endpoints and verify the service correctly fetches and parses the data. (3c968d9)
8
+
-[x] Write Tests: Mock the `/dashboard/api/public/get-presubmit-guard` and `/dashboard/api/public/get-presubmit-checks` endpoints and verify the service correctly fetches and parses the data. (3c968d9)
9
9
-[x] Implement: Add `fetchPresubmitGuard` and `fetchPresubmitCheckDetails` methods to `CocoonService` and its implementations. (3c968d9)
10
10
-[x] Task: Conductor - User Manual Verification 'Phase 1: Infrastructure & Data Model' (Protocol in workflow.md) (085b744)
0 commit comments