unoverse 0.1.121 → 0.1.123

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -184,7 +184,15 @@ services:
184
184
  # configures.
185
185
  - AUTH_ENABLED=${AUTH_ENABLED:-}
186
186
  - AUTH_ISSUER=${AUTH_ISSUER:-}
187
+ # AND SO DOES THE CLIENT ID. It is documented everywhere as a browser value
188
+ # (VITE_AUTH_CLIENT_ID) because for a long time only the browser needed it. The
189
+ # server needs it now: `/.well-known/unoverse-universe` is how Studio learns where
190
+ # to send someone to sign in, and it answers from AUTH_CLIENT_ID. Unforwarded, that
191
+ # endpoint returned `clientId: null` and Studio correctly refused to connect,
192
+ # against a universe whose .env had the value all along. Public by definition — an
193
+ # OAuth client id is not a secret.
187
194
  - AUTH_AUDIENCE=${AUTH_AUDIENCE:-}
195
+ - AUTH_CLIENT_ID=${AUTH_CLIENT_ID:-}
188
196
  # WHERE THE MARKETPLACE IS. The catalogue this universe can install from, served as
189
197
  # static files (catalogue.json plus each item's own definition). No default: a baked
190
198
  # URL ties the image to one deployment and hides a missing setting. Empty means no
@@ -306,7 +314,15 @@ services:
306
314
  # configures.
307
315
  - AUTH_ENABLED=${AUTH_ENABLED:-}
308
316
  - AUTH_ISSUER=${AUTH_ISSUER:-}
317
+ # AND SO DOES THE CLIENT ID. It is documented everywhere as a browser value
318
+ # (VITE_AUTH_CLIENT_ID) because for a long time only the browser needed it. The
319
+ # server needs it now: `/.well-known/unoverse-universe` is how Studio learns where
320
+ # to send someone to sign in, and it answers from AUTH_CLIENT_ID. Unforwarded, that
321
+ # endpoint returned `clientId: null` and Studio correctly refused to connect,
322
+ # against a universe whose .env had the value all along. Public by definition — an
323
+ # OAuth client id is not a secret.
309
324
  - AUTH_AUDIENCE=${AUTH_AUDIENCE:-}
325
+ - AUTH_CLIENT_ID=${AUTH_CLIENT_ID:-}
310
326
  - OPENAI_API_KEY=${OPENAI_API_KEY:-}
311
327
  - WORKFLOW_SERVICE_URL=http://unoverse:4101
312
328
  labels:
@@ -318,8 +318,28 @@ resource "aws_db_instance" "postgres" {
318
318
 
319
319
  backup_retention_period = 7
320
320
  backup_window = "03:00-04:00"
321
- skip_final_snapshot = false
322
- final_snapshot_identifier = "${var.name}-pg-final"
321
+ # NO FINAL SNAPSHOT, which is what `unoverse destroy` already promises: "this deletes data
322
+ # that no backup here can restore" (destroy.sh). The code said otherwise, and the two
323
+ # disagreed silently.
324
+ #
325
+ # A FIXED snapshot name cannot survive a SECOND teardown. `<name>-pg-final` derives only
326
+ # from the universe name, so teardown one creates it, it persists for ever, and teardown
327
+ # two is rejected by AWS before the delete even starts:
328
+ #
329
+ # Cannot create the snapshot because a snapshot with the identifier
330
+ # unoversedevtest-pg-final already exists
331
+ #
332
+ # The instance then sits at `available`, never `deleting`, and everything behind it
333
+ # strands: the data SG holds its network interface, the app SG is referenced by data's
334
+ # rules, the alb SG by app's. One rejected call, five resources left billing, and a
335
+ # teardown that reports it did not finish without saying why. Found 2026-08-05, blocked by
336
+ # a snapshot a teardown three days earlier had left behind.
337
+ #
338
+ # Making the name unique would need a new resource (a random suffix), and `terraform
339
+ # destroy` cannot create one on its way past. A one-command teardown means no snapshot.
340
+ # Automated backups (7 days, above) live and die with the instance: take a MANUAL snapshot
341
+ # before destroying if you want to keep anything.
342
+ skip_final_snapshot = true
323
343
  # POC: no deletion_protection so teardown stays one command. Turn it on at graduation.
324
344
  }
325
345
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "unoverse",
3
- "version": "0.1.121",
3
+ "version": "0.1.123",
4
4
  "description": "The Unoverse front door — create a Studio project, a universe, or a client app, and launch Studio.",
5
5
  "license": "SEE LICENSE IN README.md",
6
6
  "type": "module",