feat: new branches use the shorter t3/ prefix (#16220)
Co-authored-by: Claude Opus 5.5 (1M context) <[email protected]>
This commit is contained in:
1 parent
cbb731beb3
commit
2afe87ea4b
9 files changed
+59
-53
No files matched your search
@@ -1085,10 +1085,10 @@ it("validates remote device hosts and rejects ambiguous host ids", () => {
|
||||
});
|
||||
|
||||
describe("branch naming settings", () => {
|
||||
it("defaults existing settings to the t3code static prefix", () => {
|
||||
it("defaults existing settings to the t3 static prefix", () => {
|
||||
expect(decodeServerSettings({})).toMatchObject({
|
||||
branchNamingMode: "static",
|
||||
branchNamePrefix: "t3code",
|
||||
branchNamePrefix: "t3",
|
||||
branchNameInstructions: "",
|
||||
});
|
||||
});
|
||||
|
||||
@@ -1368,7 +1368,7 @@ export const ServerSettings = Schema.Struct({
|
||||
branchNamingMode: BranchNamingMode.pipe(
|
||||
Schema.withDecodingDefault(Effect.succeed("static" as const)),
|
||||
),
|
||||
branchNamePrefix: TrimmedString.pipe(Schema.withDecodingDefault(Effect.succeed("t3code"))),
|
||||
branchNamePrefix: TrimmedString.pipe(Schema.withDecodingDefault(Effect.succeed("t3"))),
|
||||
branchNameInstructions: TrimmedString.pipe(Schema.withDecodingDefault(Effect.succeed(""))),
|
||||
removeAgentCreditsOnMerge: Schema.Boolean.pipe(Schema.withDecodingDefault(Effect.succeed(false))),
|
||||
sourceControlWritingStyle: SourceControlWritingStyleSettings.pipe(
|
||||
|
||||
Reference in new issue
Block a user