chore(infra): untrack zen buckets and trust dns now that they are retained (#62940)

This commit is contained in:
Dax
2026-11-09 13:59:31 -05:00
committed by GitHub
Unverified
parent 7ce50dde63
commit 7524e5f495
4 changed files with 0 additions and 51 deletions
-19
View File
@@ -1,19 +0,0 @@
// Archived Zen request/response dumps (writer removed May 2026). Nothing reads or writes them.
// Retained on delete so a follow-up can drop them from code without deleting the buckets.
new sst.cloudflare.Bucket("ZenData", {
transform: {
bucket: (_, opts) => {
opts.retainOnDelete = true
},
},
})
new sst.cloudflare.Bucket("ZenDataNew", {
transform: {
bucket: (_, opts) => {
opts.retainOnDelete = true
},
},
})
// Keep this file a module so sst.config.ts can import it.
export {}
-29
View File
@@ -7,32 +7,3 @@ export const domain = (() => {
export const zoneID = "430ba34c138cfb5360826c4909f99be8"
export const awsStage = $app.stage === "production" ? "production" : "dev"
export const deployStats = $app.stage === awsStage
if ($app.stage === "production") {
// Retained on delete so a follow-up can untrack it without deleting the live record.
new cloudflare.DnsRecord(
"TrustCenter",
{
zoneId: zoneID,
name: "trust.opencode.ai",
type: "CNAME",
content: "3a69a5bb27875189.vercel-dns-016.com",
proxied: false,
ttl: 60,
},
{ retainOnDelete: true },
)
// Retained on delete so a follow-up can untrack it without deleting the live record.
new cloudflare.DnsRecord(
"TrustCenterVerification",
{
zoneId: zoneID,
name: "opencode.ai",
type: "TXT",
content: "compai-domain-verification=org_6993a99c6200a2d642bb115d",
ttl: 60,
},
{ retainOnDelete: true },
)
}
-2
View File
@@ -28,8 +28,6 @@ declare module "sst" {
"type": "sst.cloudflare.StaticSite"
"url": string
}
"ZenData": import("@cloudflare/workers-types").R2Bucket
"ZenDataNew": import("@cloudflare/workers-types").R2Bucket
}
}
-1
View File
@@ -26,7 +26,6 @@ export default $config({
const stage = await import("./infra/stage.js")
await import("./infra/app.js")
const stats = stage.deployStats ? await import("./infra/stats.js") : undefined
await import("./infra/console.js")
return {
...(stats ? { StatsUrl: stats.publicUrl } : {}),