mirror of
https://github.com/BaaRai/ARTEX.git
synced 2026-12-03 13:11:05 +00:00
- Each worker and proxy pod gets a new name per generation (artex-w-<hash>-<6 hex>). Exec targets the exact pod of the task state, so an exec delayed at the API server fails with 404 instead of running in a replacement pod before that pod passed its network probes. - setupTask lists the task's pods by label and deletes every pod except the ones it keeps, with a UID precondition, before it creates new ones. Same-named pods are no longer deleted without an ownership check. - Recover adopts only pods whose name matches artex-[wp]-<32 hex>-<6 hex> and whose name, labels and task annotation agree. - podAlive returns an error for API failures. Only 404, a UID mismatch, a deletion timestamp, or a pod that is not running and ready count as dead. On other errors (a cancelled request too) the exec fails and the task's pods and policies stay. - waitPodReady fails fast on CrashLoopBackOff and on exited containers. - The deny probes print one token per outcome. Only timed out, refused or unroutable connections count as blocked. Any other result (missing timeout binary, failed fork, no API env) fails setup at once. - Probe output, stderr and HTTP client errors go to the runner log only. The returned errors are generic. A cancelled API request returns a cancellation error, not "runner unavailable". - Add fd20:ce::254/128 (GCE IPv6 metadata) to the never-reachable ranges. - Document that ARTEX_KUBE_CLUSTER_CIDRS must also list the API server endpoint addresses when they lie outside the cluster ranges (managed clusters). - Exec, Kill and Delete reject task IDs with surrounding whitespace. - go.mod: gopkg.in/yaml.v3 back to indirect (go mod tidy). - Test: a cancelled exec keeps the task. The scope and probe tests move to the test PR to stay inside the size limit.
83 lines
3.8 KiB
Modula-2
83 lines
3.8 KiB
Modula-2
module github.com/Autumn-27/artex
|
|
|
|
go 1.26.11
|
|
|
|
require (
|
|
github.com/Autumn-27/norma v0.4.11
|
|
github.com/andybalholm/brotli v1.2.7
|
|
github.com/aws/aws-sdk-go-v2 v1.47.5
|
|
github.com/aws/aws-sdk-go-v2/aws/protocol/eventstream v1.7.25
|
|
github.com/aws/aws-sdk-go-v2/config v1.33.13
|
|
github.com/aws/aws-sdk-go-v2/credentials v1.20.13
|
|
github.com/aws/aws-sdk-go-v2/feature/s3/manager v1.23.19
|
|
github.com/aws/aws-sdk-go-v2/service/s3 v1.114.6
|
|
github.com/golang-jwt/jwt/v5 v5.3.1
|
|
github.com/google/uuid v1.6.0
|
|
github.com/gorilla/websocket v1.5.4-0.20240701034025-d67f41855da4
|
|
github.com/jackc/pgx/v5 v5.10.0
|
|
github.com/klauspost/compress v1.20.2
|
|
github.com/lqqyt2423/go-mitmproxy v1.9.2
|
|
github.com/miekg/dns v1.1.72
|
|
github.com/projectdiscovery/dnsx v1.2.3
|
|
golang.org/x/crypto v0.59.0
|
|
golang.org/x/net v0.62.0
|
|
golang.org/x/text v0.44.0
|
|
modernc.org/sqlite v1.52.0
|
|
mvdan.cc/sh/v3 v3.14.1
|
|
)
|
|
|
|
require (
|
|
github.com/asaskevich/govalidator v0.0.0-20230301143203-a9d515a09cc2 // indirect
|
|
github.com/aws/aws-sdk-go-v2/feature/ec2/imds v1.20.5 // indirect
|
|
github.com/aws/aws-sdk-go-v2/internal/configsources v1.5.8 // indirect
|
|
github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.8.8 // indirect
|
|
github.com/aws/aws-sdk-go-v2/internal/v4a v1.5.8 // indirect
|
|
github.com/aws/aws-sdk-go-v2/service/internal/accept-encoding v1.13.23 // indirect
|
|
github.com/aws/aws-sdk-go-v2/service/internal/checksum v1.11.9 // indirect
|
|
github.com/aws/aws-sdk-go-v2/service/internal/presigned-url v1.14.8 // indirect
|
|
github.com/aws/aws-sdk-go-v2/service/internal/s3shared v1.20.8 // indirect
|
|
github.com/aws/aws-sdk-go-v2/service/signin v1.12.1 // indirect
|
|
github.com/aws/aws-sdk-go-v2/service/sso v1.39.1 // indirect
|
|
github.com/aws/aws-sdk-go-v2/service/ssooidc v1.44.1 // indirect
|
|
github.com/aws/aws-sdk-go-v2/service/sts v1.51.6 // indirect
|
|
github.com/aws/smithy-go v1.28.7 // indirect
|
|
github.com/aymerick/douceur v0.2.0 // indirect
|
|
github.com/creack/pty v1.1.24 // indirect
|
|
github.com/dustin/go-humanize v1.0.1 // indirect
|
|
github.com/gaissmai/bart v0.26.0 // indirect
|
|
github.com/golang/groupcache v0.0.0-20210331224755-41bb18bfe9da // indirect
|
|
github.com/gorilla/css v1.0.1 // indirect
|
|
github.com/hinshun/vt10x v0.0.0-20220301184237-5011da428d02 // indirect
|
|
github.com/jackc/pgpassfile v1.0.0 // indirect
|
|
github.com/jackc/pgservicefile v0.0.0-20240606120523-5a60cdf6a761 // indirect
|
|
github.com/jackc/puddle/v2 v2.2.2 // indirect
|
|
github.com/mattn/go-isatty v0.0.20 // indirect
|
|
github.com/microcosm-cc/bluemonday v1.0.27 // indirect
|
|
github.com/ncruces/go-strftime v1.0.0 // indirect
|
|
github.com/pkg/errors v0.9.1 // indirect
|
|
github.com/projectdiscovery/blackrock v0.0.1 // indirect
|
|
github.com/projectdiscovery/cdncheck v1.2.13 // indirect
|
|
github.com/projectdiscovery/retryabledns v1.0.111 // indirect
|
|
github.com/projectdiscovery/utils v0.7.3 // indirect
|
|
github.com/remyoudompheng/bigfft v0.0.0-20230129092748-24d4a6f8daec // indirect
|
|
github.com/saintfish/chardet v0.0.0-20230101081208-5e3ef4b5456d // indirect
|
|
github.com/satori/go.uuid v1.2.0 // indirect
|
|
github.com/sirupsen/logrus v1.9.4 // indirect
|
|
github.com/tidwall/gjson v1.18.0 // indirect
|
|
github.com/tidwall/match v1.2.0 // indirect
|
|
github.com/tidwall/pretty v1.2.1 // indirect
|
|
github.com/weppos/publicsuffix-go v0.40.3-0.20250408071509-6074bbe7fd39 // indirect
|
|
go.uber.org/atomic v1.11.0 // indirect
|
|
go.uber.org/multierr v1.11.0 // indirect
|
|
golang.org/x/exp v0.0.0-20250106191152-7588d65b2ba8 // indirect
|
|
golang.org/x/mod v0.42.0 // indirect
|
|
golang.org/x/sync v0.25.0 // indirect
|
|
golang.org/x/sys v0.50.0
|
|
golang.org/x/tools v0.52.0 // indirect
|
|
gopkg.in/yaml.v3 v3.0.1 // indirect
|
|
modernc.org/libc v1.72.3 // indirect
|
|
modernc.org/mathutil v1.7.1 // indirect
|
|
modernc.org/memory v1.11.0 // indirect
|
|
)
|
|
|
|
replace github.com/Autumn-27/norma => github.com/BaaRai/Norma v0.4.13
|