Skip to content
Open
Show file tree
Hide file tree
Changes from 43 commits
Commits
Show all changes
50 commits
Select commit Hold shift + click to select a range
1d02d7e
For dev outside the cluster (should be reverted)
JiangJiaWei1103 Jan 30, 2026
3bb03b5
feat: Add basic actor task def event processing
JiangJiaWei1103 Jan 30, 2026
4c3c701
Merge branch 'my-master' into epic-4374/add-actor-task-endpoint
JiangJiaWei1103 Jan 31, 2026
f1c15e2
feat: Preserve actor task attempt ordering with a dummy merge fn
JiangJiaWei1103 Jan 31, 2026
a4922be
refactor: Merge actor task struct def and processing with other task …
JiangJiaWei1103 Jan 31, 2026
651eb6a
refactor: Extract handling TaskLifecycleEvent
JiangJiaWei1103 Jan 31, 2026
d3fb8d0
feat: Support deepcopy of all fields
JiangJiaWei1103 Jan 31, 2026
b7271a9
feat: Support complete fields in resp task res
JiangJiaWei1103 Jan 31, 2026
631af66
feat: Support limited error info and task log
JiangJiaWei1103 Jan 31, 2026
194221e
feat: Finish all fields for now
JiangJiaWei1103 Jan 31, 2026
2f61f31
fix: Fix field names in unit tests
JiangJiaWei1103 Jan 31, 2026
94a799f
test: Verify detailed task info of /api/v0/tasks
JiangJiaWei1103 Jan 31, 2026
1cb8348
Remove redundant logs
JiangJiaWei1103 Jan 31, 2026
46b1716
feat: Support query params
JiangJiaWei1103 Feb 1, 2026
5afd201
revert: Restore orig filter's impl for compatibility
JiangJiaWei1103 Feb 1, 2026
7555dd8
fix: Correct the number of tasks
JiangJiaWei1103 Feb 2, 2026
c1b9731
test: Add test cases for query params for dead cluster
JiangJiaWei1103 Feb 3, 2026
452cc44
fix: Validate int val
JiangJiaWei1103 Feb 3, 2026
4a4ab9b
fix: Align default vals with Ray
JiangJiaWei1103 Feb 3, 2026
0af806f
fix: Fix typo
JiangJiaWei1103 Feb 3, 2026
b4f2ca1
fix: Fix typo
JiangJiaWei1103 Feb 3, 2026
50fccaa
refactor: Rename filterTasks function for readability
JiangJiaWei1103 Feb 3, 2026
e78d3a4
Merge branch 'epic-4374/add-actor-task-endpoint' of github.com:JiangJ…
JiangJiaWei1103 Feb 3, 2026
8ac7a32
Merge branch 'my-master' into epic-4374/add-actor-task-endpoint
JiangJiaWei1103 Feb 3, 2026
b750272
fix: Convert base64 to hex for task related IDs
JiangJiaWei1103 Feb 3, 2026
80bc021
fix: Preserve all lifecycle-derived fields
JiangJiaWei1103 Feb 3, 2026
bbd7145
fix: Add nil handling to callstring
JiangJiaWei1103 Feb 3, 2026
3ca7290
fix: Enable groupby funcName task summary
JiangJiaWei1103 Feb 3, 2026
961a46e
fix: Overwrite all lifecycle-related fields
JiangJiaWei1103 Feb 3, 2026
88715ba
docs: Clarify why consts are not used
JiangJiaWei1103 Feb 3, 2026
b73d622
fix: Use defined Language type
JiangJiaWei1103 Feb 3, 2026
60f9366
feat: Convert placement group ID to hex
JiangJiaWei1103 Feb 3, 2026
b2ecfe6
docs: Remove redundant docs
JiangJiaWei1103 Feb 3, 2026
193e536
test: Tweak detail fields and add closure for verification
JiangJiaWei1103 Feb 3, 2026
ad05f7a
refactor: Add get name and funcname helpers
JiangJiaWei1103 Feb 3, 2026
9164f3c
docs
JiangJiaWei1103 Feb 3, 2026
6cc9c9f
refactor: Use existing helpers
JiangJiaWei1103 Feb 3, 2026
22ea667
fix: Preserve IDs and PID during overwrite
JiangJiaWei1103 Feb 4, 2026
7c26db1
fix: Align live cluster API shcema
JiangJiaWei1103 Feb 4, 2026
af647b8
Merge branch 'my-master' into epic-4374/add-actor-task-endpoint
JiangJiaWei1103 Feb 5, 2026
b8ac8a8
fix: Align runtime env
JiangJiaWei1103 Feb 5, 2026
81559f6
docs
JiangJiaWei1103 Feb 5, 2026
45c2b04
docs: Nullify task_log_info and enable in the future
JiangJiaWei1103 Feb 5, 2026
bc7ae3c
fix: Correct format
JiangJiaWei1103 Feb 5, 2026
be7d954
fix: Overwrite jobid conditionally
JiangJiaWei1103 Feb 5, 2026
a24d3a8
fix: Deepcopy task info
JiangJiaWei1103 Feb 5, 2026
a4604db
docs
JiangJiaWei1103 Feb 5, 2026
f255d16
fix: Align all nullable fields
JiangJiaWei1103 Feb 5, 2026
d968837
fix: Fix deepcopy
JiangJiaWei1103 Feb 5, 2026
f42de48
fix: Handle empty placement group id
JiangJiaWei1103 Feb 5, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions historyserver/Dockerfile.collector
Original file line number Diff line number Diff line change
Expand Up @@ -16,13 +16,14 @@ COPY cmd/collector/main.go cmd/collector/main.go
COPY pkg/collector/ pkg/collector/
COPY pkg/storage/ pkg/storage/
COPY pkg/utils/ pkg/utils/
COPY pkg/eventserver/ pkg/eventserver/

# Build the collector binary.
COPY Makefile Makefile
RUN if [ "$ENABLE_RACE" = "true" ]; then \
make buildcollector-race GOOS=linux GOARCH=amd64; \
make buildcollector-race GOOS=linux GOARCH=amd64; \
else \
make buildcollector GOOS=linux GOARCH=amd64; \
make buildcollector GOOS=linux GOARCH=amd64; \
fi

FROM ubuntu:22.04
Expand Down
14 changes: 12 additions & 2 deletions historyserver/cmd/historyserver/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,14 +21,20 @@ func main() {
kubeconfigs := ""
runtimeClassConfigPath := "/var/collector-config/data"
dashboardDir := ""
useKubernetesProxy := false
flag.StringVar(&runtimeClassName, "runtime-class-name", "", "")
flag.StringVar(&rayRootDir, "ray-root-dir", "", "")
flag.StringVar(&kubeconfigs, "kubeconfigs", "", "")
flag.StringVar(&dashboardDir, "dashboard-dir", "/dashboard", "")
flag.StringVar(&runtimeClassConfigPath, "runtime-class-config-path", "", "") //"/var/collector-config/data"
flag.BoolVar(&useKubernetesProxy, "use-kubernetes-proxy", false, "")
flag.Parse()

cliMgr := historyserver.NewClientManager(kubeconfigs)
cliMgr, err := historyserver.NewClientManager(kubeconfigs, useKubernetesProxy)
if err != nil {
logrus.Errorf("Failed to create client manager: %v", err)
os.Exit(1)
}

jsonData := make(map[string]interface{})
if runtimeClassConfigPath != "" {
Expand Down Expand Up @@ -78,7 +84,11 @@ func main() {
logrus.Info("EventHandler shutdown complete")
}()

handler := historyserver.NewServerHandler(&globalConfig, dashboardDir, reader, cliMgr, eventHandler)
handler, err := historyserver.NewServerHandler(&globalConfig, dashboardDir, reader, cliMgr, eventHandler, useKubernetesProxy)
if err != nil {
logrus.Errorf("Failed to create server handler: %v", err)
os.Exit(1)
}

wg.Add(1)
go func() {
Expand Down
Loading
Loading