Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
51 commits
Select commit Hold shift + click to select a range
4917db0
feat
huerni Sep 2, 2025
fc17a4d
feat: cancel task when cfored restart
huerni Sep 3, 2025
681a50b
feat: cattach recive msg
huerni Sep 10, 2025
fda8a35
feat: when task finish cattach close
huerni Sep 10, 2025
8f2daea
feat: cattach input
huerni Sep 10, 2025
ce3bb5a
fix some bug
huerni Sep 11, 2025
d51cb18
feat: add cattach history
huerni Sep 11, 2025
8193d54
refactor
huerni Sep 11, 2025
7a5873c
feat: ctrl+c not input
huerni Sep 15, 2025
134decf
fix: multi node
huerni Sep 15, 2025
2d4d5a6
feat: --layout
huerni Sep 15, 2025
a280974
refactor
huerni Dec 15, 2025
5ebcc0b
merge master
huerni Dec 30, 2025
853a5ca
feat
huerni Dec 30, 2025
7e9e21e
refactor ctldReplyChannelMapForCattachByStep
huerni Jan 4, 2026
00efe6b
feat: cattach connect step
huerni Jan 5, 2026
60035f7
fix: execCranedIds is empty
huerni Jan 5, 2026
4b920d8
fix: uid
huerni Jan 5, 2026
8a9dc65
refactor(cattach,cfored): rename task-based proto types to step-based
huerni Mar 31, 2026
e5eeee9
feat(cattach): handle task exit status and step cancel request
huerni Mar 31, 2026
bb17f19
refactor(cfored): rename proto types to align with step/job semantics
huerni Apr 1, 2026
00da068
refactor(cfored): consolidate X11 I/O forwarding and fix stream error…
huerni Apr 1, 2026
bb6f884
fix(cfored): handle TASK_EXIT_STATUS and X11 msg types in cattach
huerni Apr 1, 2026
76b619e
fix(cattach): handle step completion race before IO forwarding
huerni Apr 1, 2026
14cee45
feat(cattach): add --label, --output-filter, --input-filter, and --qu…
huerni Apr 1, 2026
81f4ea8
refactor(cfored): rename task states to step/job in cattach server
huerni Apr 2, 2026
1f3d4de
fix(cattach/cfored): fix goroutine leaks and missing cleanup on task end
huerni Apr 2, 2026
b2cc127
fix(cattach/crun/cfored): prevent channel deadlock on Ctrl+C or slow …
huerni Apr 2, 2026
ad1a5c7
fix(cfored): downgrade spurious "unknown crun/cattach" warning to debug
huerni Apr 2, 2026
3e14d6e
fix(cfored): use non-blocking send to prevent supervisor IO deadlock
huerni Apr 3, 2026
6fdf088
refactor(cattach): replace X11 channels with X11SessionMgr
huerni Apr 3, 2026
fd92a35
style: fix indentation and alignment in cattach state machine code
huerni Apr 3, 2026
0260f62
refactor(cattach): remove X11 forwarding support from cattach
huerni Apr 7, 2026
d318022
style: fix indentation of switch cases in cattach_server.go
huerni Apr 8, 2026
93f5463
fix(cfored): correct map references, types, and IO routing in server
huerni Apr 8, 2026
df51767
feat(cattach): add stderr forwarding support for attached tasks
huerni Apr 8, 2026
6f6298a
fix(crun): handle stopStepCtx and globalCtx in I/O forwarding states
huerni Apr 9, 2026
ca0f712
feat(cattach): add read-only mode when step has exclusive stdin routing
huerni Apr 9, 2026
b9ec40d
fix(cfored): fix channel leak and IO forwarding in cattach/supervisor
huerni Apr 10, 2026
73c5761
fix(cfored): prevent supervisor IO stream blocking on slow front-end …
huerni Apr 10, 2026
4d18191
fix(cfored): reject cattach for non-interactive jobs
huerni Apr 10, 2026
8b51e19
fix(cfored): increase channel capacities and use dedicated cattach map
huerni Apr 10, 2026
9916f46
fix(cattach): improve data handling in StateMachine and avoid potenti…
huerni Apr 27, 2026
d3259a7
fix(cfored): improve error handling in CattachStream and replace fata…
huerni Apr 27, 2026
5b741d8
fix(crun): remove unused stopStepCtx references and clean up StateFor…
huerni Apr 27, 2026
f44f81e
Implement feature X to enhance user experience and optimize performance
huerni Apr 27, 2026
17c674e
fix(cattach): align RootCmd variable declaration for improved readabi…
huerni Apr 27, 2026
290800f
fix(cattach): add licensing information and improve code comments for…
huerni Apr 27, 2026
7fde942
fix(cattach): improve EOF handling in StateForwarding and enhance err…
huerni Apr 29, 2026
13fce65
fix(cattach): capture pre-registration history in setRemoteIoToFrontC…
huerni Apr 29, 2026
5ee8e1e
fix(cattach): enhance crash signal handling and remove unused X11 for…
huerni Apr 29, 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
27 changes: 27 additions & 0 deletions cmd/cattach/cattach.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
/**
* Copyright (c) 2024 Peking University and Peking University
* Changsha Institute for Computing and Digital Economy
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as
* published by the Free Software Foundation, either version 3 of the
* License, or (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Affero General Public License for more details.
*
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*/

package main

import (
"CraneFrontEnd/internal/cattach"
)

func main() {
cattach.ParseCmdArgs()
}
Loading
Loading