Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit443b0c8

Browse files
authored
chore: upgradecoder/serpent to allow more readable durations (#20886)
coder/serpent#28 added this capability.coder/serpent@v0.11.0...v0.12.0---------Signed-off-by: Danny Kopping <danny@coder.com>
1 parenta6581c7 commit443b0c8

File tree

7 files changed

+11
-8
lines changed

7 files changed

+11
-8
lines changed

‎cli/testdata/coder_server_--help.golden‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ AIBRIDGE OPTIONS:
106106
See
107107
https://docs.claude.com/en/docs/claude-code/settings#environment-variables.
108108

109-
--aibridge-retention duration, $CODER_AIBRIDGE_RETENTION (default:1440h)
109+
--aibridge-retention duration, $CODER_AIBRIDGE_RETENTION (default:60d)
110110
Length of time to retain data such as interceptions and all related
111111
records (token, prompt, tool use).
112112

‎cli/testdata/server-config.yaml.golden‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -753,5 +753,5 @@ aibridge:
753753
inject_coder_mcp_tools: false
754754
# Length of time to retain data such as interceptions and all related records
755755
# (token, prompt, tool use).
756-
# (default:1440h, type: duration)
756+
# (default:60d, type: duration)
757757
retention: 1440h0m0s

‎codersdk/deployment.go‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3355,7 +3355,7 @@ Write out the current server config as YAML to stdout.`,
33553355
Flag:"aibridge-retention",
33563356
Env:"CODER_AIBRIDGE_RETENTION",
33573357
Value:&c.AI.BridgeConfig.Retention,
3358-
Default:"1440h",// 60 days.
3358+
Default:"60d",
33593359
Group:&deploymentGroupAIBridge,
33603360
YAML:"retention",
33613361
Annotations: serpent.Annotations{}.Mark(annotationFormatDuration,"true"),

‎docs/reference/cli/server.md‎

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more aboutcustomizing how changed files appear on GitHub.

‎enterprise/cli/testdata/coder_server_--help.golden‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ AIBRIDGE OPTIONS:
107107
See
108108
https://docs.claude.com/en/docs/claude-code/settings#environment-variables.
109109

110-
--aibridge-retention duration, $CODER_AIBRIDGE_RETENTION (default:1440h)
110+
--aibridge-retention duration, $CODER_AIBRIDGE_RETENTION (default:60d)
111111
Length of time to retain data such as interceptions and all related
112112
records (token, prompt, tool use).
113113

‎go.mod‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ require (
100100
github.com/coder/prettyv0.0.0-20230908205945-e89ba86370e0
101101
github.com/coder/quartzv0.3.0
102102
github.com/coder/retryv1.5.1
103-
github.com/coder/serpentv0.11.0
103+
github.com/coder/serpentv0.12.0
104104
github.com/coder/terraform-provider-coder/v2v2.13.1
105105
github.com/coder/websocketv1.8.13
106106
github.com/coder/wgtunnelv0.1.13-0.20240522110300-ade90dfb2da0
@@ -548,6 +548,7 @@ require (
548548
github.com/ulikunitz/xzv0.5.15// indirect
549549
github.com/vektah/gqlparser/v2v2.5.28// indirect
550550
github.com/wk8/go-ordered-map/v2v2.1.8// indirect
551+
github.com/xhit/go-str2duration/v2v2.1.0// indirect
551552
github.com/yosida95/uritemplate/v3v3.0.2// indirect
552553
github.com/zeebo/xxh3v1.0.2// indirect
553554
go.opentelemetry.io/contrib/detectors/gcpv1.37.0// indirect

‎go.sum‎

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -946,8 +946,8 @@ github.com/coder/quartz v0.3.0 h1:bUoSEJ77NBfKtUqv6CPSC0AS8dsjqAqqAv7bN02m1mg=
946946
github.com/coder/quartzv0.3.0/go.mod h1:BgE7DOj/8NfvRgvKw0jPLDQH/2Lya2kxcTaNJ8X0rZk=
947947
github.com/coder/retryv1.5.1 h1:iWu8YnD8YqHs3XwqrqsjoBTAVqT9ml6z9ViJ2wlMiqc=
948948
github.com/coder/retryv1.5.1/go.mod h1:blHMk9vs6LkoRT9ZHyuZo360cufXEhrxqvEzeMtRGoY=
949-
github.com/coder/serpentv0.11.0 h1:VKIIbBg0ManopqqDsutBGf7YYTUXsPQgBx//m1SJQ90=
950-
github.com/coder/serpentv0.11.0/go.mod h1:cZFW6/fP+kE9nd/oRkEHJpG6sXCtQ+AX7WMMEHv0Y3Q=
949+
github.com/coder/serpentv0.12.0 h1:fUu3qVjeRvVy3DB/C2EFFvOctm+f2HKyckyfA86O63Q=
950+
github.com/coder/serpentv0.12.0/go.mod h1:mPEpD8Cq106E0glBs5ROAAGoALLtD5HAAMVZmjf4zO0=
951951
github.com/coder/sshv0.0.0-20231128192721-70855dedb788 h1:YoUSJ19E8AtuUFVYBpXuOD6a/zVP3rcxezNsoDseTUw=
952952
github.com/coder/sshv0.0.0-20231128192721-70855dedb788/go.mod h1:aGQbuCLyhRLMzZF067xc84Lh7JDs1FKwCmF1Crl9dxQ=
953953
github.com/coder/tailscalev1.1.1-0.20250829055706-6eafe0f9199e h1:9RKGKzGLHtTvVBQublzDGtCtal3cXP13diCHoAIGPeI=
@@ -1913,6 +1913,8 @@ github.com/xeipuuv/gojsonreference v0.0.0-20180127040603-bd5ef7bd5415 h1:EzJWgHo
19131913
github.com/xeipuuv/gojsonreferencev0.0.0-20180127040603-bd5ef7bd5415/go.mod h1:GwrjFmJcFw6At/Gs6z4yjiIwzuJ1/+UwLxMQDVQXShQ=
19141914
github.com/xeipuuv/gojsonschemav1.2.0 h1:LhYJRs+L4fBtjZUfuSZIKGeVu0QRy8e5Xi7D17UxZ74=
19151915
github.com/xeipuuv/gojsonschemav1.2.0/go.mod h1:anYRn/JVcOK2ZgGU+IjEV4nwlhoK5sQluxsYJ78Id3Y=
1916+
github.com/xhit/go-str2duration/v2v2.1.0 h1:lxklc02Drh6ynqX+DdPyp5pCKLUQpRT8bp8Ydu2Bstc=
1917+
github.com/xhit/go-str2duration/v2v2.1.0/go.mod h1:ohY8p+0f07DiV6Em5LKB0s2YpLtXVyJfNt1+BlmyAsU=
19161918
github.com/xi2/xzv0.0.0-20171230120015-48954b6210f8 h1:nIPpBwaJSVYIxUFsDv3M8ofmx9yWTog9BfvIu0q41lo=
19171919
github.com/xi2/xzv0.0.0-20171230120015-48954b6210f8/go.mod h1:HUYIGzjTL3rfEspMxjDjgmT5uz5wzYJKVo23qUhYTos=
19181920
github.com/xo/terminfov0.0.0-20220910002029-abceb7e1c41e h1:JVG44RsyaB9T2KIHavMF/ppJZNG9ZpyihvCd0w101no=

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp