fix: stuck sst deployment
Some checks are pending
deploy / deploy (push) Waiting to run
generate / generate (push) Waiting to run
nix-eval / nix-eval (push) Waiting to run
nix-hashes / compute-hash (blacksmith-4vcpu-ubuntu-2404, x86_64-linux) (push) Waiting to run
nix-hashes / compute-hash (blacksmith-4vcpu-ubuntu-2404-arm, aarch64-linux) (push) Waiting to run
nix-hashes / compute-hash (macos-15-intel, x86_64-darwin) (push) Waiting to run
nix-hashes / compute-hash (macos-latest, aarch64-darwin) (push) Waiting to run
nix-hashes / update-hashes (push) Blocked by required conditions
publish / version (push) Waiting to run
publish / build-cli (push) Blocked by required conditions
publish / sign-cli-windows (push) Blocked by required conditions
publish / build-electron (map[bun_install_flags:--os=darwin --cpu=arm64 host:macos-26 platform_flag:--mac --arm64 target:aarch64-apple-darwin]) (push) Blocked by required conditions
publish / build-electron (map[bun_install_flags:--os=darwin --cpu=x64 host:macos-26-intel platform_flag:--mac --x64 target:x86_64-apple-darwin]) (push) Blocked by required conditions
publish / build-electron (map[host:blacksmith-4vcpu-ubuntu-2404 platform_flag:--linux target:x86_64-unknown-linux-gnu]) (push) Blocked by required conditions
publish / build-electron (map[host:blacksmith-4vcpu-ubuntu-2404-arm platform_flag:--linux --arm64 target:aarch64-unknown-linux-gnu]) (push) Blocked by required conditions
publish / build-electron (map[host:blacksmith-4vcpu-windows-2025 platform_flag:--win target:x86_64-pc-windows-msvc]) (push) Blocked by required conditions
publish / build-electron (map[host:windows-2025 platform_flag:--win --arm64 target:aarch64-pc-windows-msvc]) (push) Blocked by required conditions
publish / publish (push) Blocked by required conditions
storybook / storybook build (push) Waiting to run
test / unit (linux) (push) Waiting to run
test / unit (windows) (push) Waiting to run
test / e2e (linux) (push) Waiting to run
test / e2e (windows) (push) Waiting to run
typecheck / typecheck (push) Waiting to run

This commit is contained in:
vimtor 2026-05-26 18:07:50 +02:00
parent 922903e410
commit 715589fea4
No known key found for this signature in database
3 changed files with 0 additions and 34 deletions

View file

@ -1,27 +0,0 @@
// Temporary destroy prep: keep only non-empty resources declared so SST updates forceDestroy before omission.
new aws.s3tables.TableBucket("LakeTableBucket", {
name: `opencode-${$app.stage}-lake`,
forceDestroy: true,
})
const athenaResultsBucket = new aws.s3.Bucket("LakeAthenaResults", {
bucket: `opencode-${$app.stage}-lake-athena-results`,
forceDestroy: true,
})
new aws.s3.Bucket("LakeFirehoseErrors", {
bucket: `opencode-${$app.stage}-lake-firehose-errors`,
forceDestroy: true,
})
new aws.athena.Workgroup("LakeAthenaWorkgroup", {
name: `opencode-${$app.stage}-lake-workgroup`,
forceDestroy: true,
configuration: {
enforceWorkgroupConfiguration: true,
publishCloudwatchMetricsEnabled: true,
resultConfiguration: {
outputLocation: $interpolate`s3://${athenaResultsBucket.bucket}/`,
},
},
})

View file

@ -7,7 +7,6 @@ export const domain = (() => {
export const zoneID = "430ba34c138cfb5360826c4909f99be8"
// Dev owns the shared AWS lake/stats infra for all non-production stages.
export const awsStage = $app.stage === "production" ? "production" : "dev"
export const prepareAwsDestroy = $app.stage === "production" || $app.stage === "dev"
// Temporarily omit AWS infra so SST removes the lake/stats resources.
export const deployAws = false

View file

@ -2,9 +2,6 @@
export default $config({
app(input) {
const prepareAwsDestroy = input.stage === "production" || input.stage === "dev"
// Temporarily omit AWS infra so SST removes the lake/stats resources.
const deployAws = false
return {
name: "opencode",
removal: input?.stage === "production" ? "retain" : "remove",
@ -33,9 +30,6 @@ export default $config({
async run() {
const stage = await import("./infra/stage.js")
await import("./infra/app.js")
if (stage.prepareAwsDestroy) {
await import("./infra/lake-destroy-prep.js")
}
if (stage.deployAws) {
await import("./infra/lake.js")
await import("./infra/stats.js")