Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
63 commits
Select commit Hold shift + click to select a range
5fdf06f
Rename Go module to github.com/cloudticon/ct and harden CI
krs2k Oct 5, 2026
d4604de
Fix rendered manifests: keep {} objects, skip namespace on cluster ki…
krs2k Oct 5, 2026
c6ef355
Fix values loading: --set without a file, empty files, typed numbers,…
krs2k Oct 5, 2026
3edf424
Report errors with .ct source positions; --error-format json
krs2k Oct 5, 2026
4589242
Validate rendered manifests before output or apply
krs2k Oct 5, 2026
46b39bd
ct init: never clobber files, scaffold a valid app, add AGENTS.md
krs2k Oct 5, 2026
2eb510d
Fix package cache and resolution edge cases
krs2k Oct 5, 2026
c869319
ct apply: keep objects from a failed run in the inventory
krs2k Oct 5, 2026
b949175
Blame project files first when locating errors
krs2k Oct 5, 2026
53145c5
Rewrite README for validation-first ct; add direction RFC
krs2k Oct 5, 2026
4619fef
Hint at the name, not its format, when metadata.name is missing
krs2k Oct 5, 2026
ff465fc
ct delete: undo install order; plain ct list output off a terminal
krs2k Oct 5, 2026
5a305bb
ct list: count only ct-inventory-* ConfigMaps as releases
krs2k Oct 5, 2026
00f1e4d
Hints for a missing namespace on apply and non-string values
krs2k Oct 5, 2026
6246a33
Name every diagnostic code as a constant and list them in the README
krs2k Oct 5, 2026
e9fa980
Drop only null/undefined from rendered objects, like JSON.stringify
krs2k Oct 5, 2026
8c465e4
Copy rendered objects; skip nameless duplicates; group-aware ordering
krs2k Oct 5, 2026
67dcf64
Validation: drop false positives found in review, catch kind typos
krs2k Oct 5, 2026
4cf562b
Keep package downloads and imports inside their directories
krs2k Oct 5, 2026
a76b1c1
Transpiler fixes from review: async detection, remote paths, refresh
krs2k Oct 5, 2026
ebb75bd
Bound runaway scripts; never panic on odd thrown values; NaN stays a …
krs2k Oct 5, 2026
8c930a4
Prune by server identity, not by raw apiVersion and namespace
krs2k Oct 5, 2026
21c2d49
JSON-only stderr with --error-format json; safer ct init
krs2k Oct 5, 2026
99590b5
Docs: cleaning semantics, volume rule, ct init [dir], review fixes in…
krs2k Oct 5, 2026
a4150ff
Patch the right dev container and drop args on command override
krs2k Oct 5, 2026
9a157a5
Exec sync and the terminal in the target container
krs2k Oct 5, 2026
1705e25
Resolve the default container for live exec and log requests
krs2k Oct 5, 2026
23a0f5e
Do not start the terminal when the initial sync failed
krs2k Oct 5, 2026
5e1a410
Start watching before the initial sync and surface watcher failures
krs2k Oct 5, 2026
b413b02
Sync files inside directories that appear with content
krs2k Oct 5, 2026
93a5935
Only archive regular files and size tar entries from their content
krs2k Oct 5, 2026
0731467
Batch remote deletes into a few rm calls
krs2k Oct 5, 2026
3a90008
Report what sync commands printed when they fail
krs2k Oct 5, 2026
7a87e79
Follow pod replacements in sync
krs2k Oct 5, 2026
7b6930d
Reconnect on pod loss, back off between attempts, exit 0 on Ctrl+C
krs2k Oct 5, 2026
6300dee
Cancel ct dev on Ctrl+C/SIGTERM instead of being killed
krs2k Oct 5, 2026
6c787cc
Validate port rules: range 1-65535 and unique local ports
krs2k Oct 5, 2026
7c6acd8
Stop port-forward from retrying in a tight loop and leaking
krs2k Oct 5, 2026
90233c2
Stream logs without line-length limits or replays on reconnect
krs2k Oct 5, 2026
54b78e1
Explain why a pending pod does not start, and survive watch timeouts
krs2k Oct 5, 2026
6d0f06e
Print a pod's crash logs once per problem, not once per waiter
krs2k Oct 5, 2026
c39021f
Fix prompt() with piped stdin and stop caching missing answers
krs2k Oct 5, 2026
ff08da3
Coerce env() booleans and reject unparsable typed values
krs2k Oct 5, 2026
4894028
Parse .env files like other dotenv loaders
krs2k Oct 5, 2026
cf3c3c6
Reject mistyped dev()/config() options instead of ignoring them
krs2k Oct 5, 2026
a8882ad
Resolve sync sources against the project dir and check them early
krs2k Oct 5, 2026
aa2b799
Silence library logs during the terminal without swapping os.Stderr
krs2k Oct 5, 2026
72d7a00
Never delete excluded directories in the container
krs2k Oct 5, 2026
2ef9d59
Create the sync target directory even for an empty source
krs2k Oct 5, 2026
34f02f8
Serialize log output of concurrent targets
krs2k Oct 5, 2026
cb27134
Reject dev targets whose workload options cannot be applied
krs2k Oct 5, 2026
15bb422
Fail on a missing explicit --env-file; explain missing selectors
krs2k Oct 5, 2026
394bcf0
Skip unreadable files in sync instead of aborting it
krs2k Oct 5, 2026
0652523
Render main.ct with the release name under ct dev
krs2k Oct 5, 2026
032672d
Run the terminal in the pod the health watcher watches
krs2k Oct 5, 2026
10bf2b6
Deliver the latest terminal size after a burst of resizes
krs2k Oct 5, 2026
0477d2c
Bound the periodic pod check of sync
krs2k Oct 5, 2026
e762f63
Rebuild the pending watcher batch only when it changed
krs2k Oct 5, 2026
c99ef0e
Keep the resize queue test portable to Windows
krs2k Oct 5, 2026
b3c9123
Make two runner tests independent of scheduling delays
krs2k Oct 5, 2026
ada7baa
ct types: dev.d.ts accepts boolean env defaults; use ct dev's release…
krs2k Oct 5, 2026
45919cd
Show API server warnings; mute client-go's klog noise
krs2k Oct 5, 2026
1bdf092
Validate finalizer names like the API server
krs2k Oct 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
14 changes: 10 additions & 4 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,11 @@ jobs:
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
go-version: "1.22"
- run: go test ./...
go-version-file: go.mod
- name: gofmt
run: test -z "$(gofmt -l .)" || (gofmt -l . && exit 1)
- run: go vet ./...
- run: go test -race ./...

build:
needs: test
Expand All @@ -25,6 +28,9 @@ jobs:
- goos: linux
goarch: amd64
suffix: ""
- goos: linux
goarch: arm64
suffix: ""
- goos: darwin
goarch: amd64
suffix: ""
Expand All @@ -41,13 +47,13 @@ jobs:
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
go-version: "1.22"
go-version-file: go.mod
- name: Build
env:
CGO_ENABLED: "0"
GOOS: ${{ matrix.goos }}
GOARCH: ${{ matrix.goarch }}
run: go build -ldflags="-s -w" -o ct-${{ matrix.goos }}-${{ matrix.goarch }}${{ matrix.suffix }} ./cmd/ct
run: go build -ldflags="-s -w -X github.com/cloudticon/ct/internal/cli.version=dev-${{ github.sha }}" -o ct-${{ matrix.goos }}-${{ matrix.goarch }}${{ matrix.suffix }} ./cmd/ct
- uses: actions/upload-artifact@v4
with:
name: ct-${{ matrix.goos }}-${{ matrix.goarch }}
Expand Down
14 changes: 10 additions & 4 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,11 @@ jobs:
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
go-version: "1.22"
- run: go test ./...
go-version-file: go.mod
- name: gofmt
run: test -z "$(gofmt -l .)" || (gofmt -l . && exit 1)
- run: go vet ./...
- run: go test -race ./...

release:
needs: test
Expand All @@ -25,6 +28,9 @@ jobs:
- goos: linux
goarch: amd64
suffix: ""
- goos: linux
goarch: arm64
suffix: ""
- goos: darwin
goarch: amd64
suffix: ""
Expand All @@ -41,13 +47,13 @@ jobs:
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
go-version: "1.22"
go-version-file: go.mod
- name: Build
env:
CGO_ENABLED: "0"
GOOS: ${{ matrix.goos }}
GOARCH: ${{ matrix.goarch }}
run: go build -ldflags="-s -w" -o ct-${{ matrix.goos }}-${{ matrix.goarch }}${{ matrix.suffix }} ./cmd/ct
run: go build -ldflags="-s -w -X github.com/cloudticon/ct/internal/cli.version=${{ github.ref_name }}" -o ct-${{ matrix.goos }}-${{ matrix.goarch }}${{ matrix.suffix }} ./cmd/ct
- uses: softprops/action-gh-release@v2
with:
files: ct-${{ matrix.goos }}-${{ matrix.goarch }}${{ matrix.suffix }}
Loading
Loading