Title: The data copy preflight misses extension arrays, extensions in other schemas, and some auth references · Issue #173 · cloudfall-dev/cloudfall · GitHub
Open Graph Title: The data copy preflight misses extension arrays, extensions in other schemas, and some auth references · Issue #173 · cloudfall-dev/cloudfall
X Title: The data copy preflight misses extension arrays, extensions in other schemas, and some auth references · Issue #173 · cloudfall-dev/cloudfall
Description: Found in the review of #171 (spec S-007 preflight, #125). The data copy preflight refuses what it can see, but three common Supabase shapes get past it. Each still fails safe: pg_restore --single-transaction rolls back and the copy exits...
Open Graph Description: Found in the review of #171 (spec S-007 preflight, #125). The data copy preflight refuses what it can see, but three common Supabase shapes get past it. Each still fails safe: pg_restore --single-t...
X Description: Found in the review of #171 (spec S-007 preflight, #125). The data copy preflight refuses what it can see, but three common Supabase shapes get past it. Each still fails safe: pg_restore --single-t...
Opengraph URL: https://github.com/cloudfall-dev/cloudfall/issues/173
X: @github
Domain: github.com
IPv4 address: 140.82.112.3
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"The data copy preflight misses extension arrays, extensions in other schemas, and some auth references","articleBody":"Found in the review of #171 (spec S-007 preflight, #125).\n\nThe data copy preflight refuses what it can see, but three common Supabase shapes get past it. Each still fails safe: `pg_restore --single-transaction` rolls back and the copy exits `ENGINE_STEP_FAILED`. But the preflight's point is to say why before dumping, and the operator gets a raw restore error instead.\n\n1. **Array types of an extension type.** The `pg_depend` walk in `engine/ansible/roles/cloudfall_data_migration/defaults/main.yml` misses a `citext[]` column: the array type isn't a direct member of the extension, so `citext` is neither reported under `extensions` nor passed to `pg_dump --extension`.\n2. **An extension installed in an unselected schema.** Supabase installs extensions in schema `extensions`. Copying `--source-schema public` dumps `CREATE EXTENSION ... WITH SCHEMA extensions`, which fails on a target without that schema. The preflight doesn't detect it.\n3. **`auth.` references beyond functions and policies.** A foreign key to `auth.users`, a column `DEFAULT auth.uid()`, and a view calling `auth.` aren't named under `authReferences`.\n\nNot reproduced on a live server (no PostgreSQL in the review environment); read from the queries and PostgreSQL's catalog rules.\n\nItems 1 and 2 are bugs in the preflight S-007-7 describes. Item 3 widens `authReferences` beyond what S-007 names, so it needs a spec change first.\n\nRelated: #82, #125, spec `docs/specs/007-data-copy-schemas.md`.\n\n\u003c!-- shipmill:agent -->","author":{"url":"https://github.com/apps/shipmill-romamo","@type":"Person","name":"shipmill-romamo"},"datePublished":"2026-10-30T14:26:37Z","url":"https://github.com/cloudfall-dev/cloudfall/issues/173"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:c77a180b-7a19-25d9-bd56-613d0ca58375 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | C4C2:3A1DA4:EFDA7F:1471ACC:6B0558A8 |
| html-safe-nonce | e39d795f0bf68c3b450508702de8418cd17ddd4b6588346bc203506a9bad6ee2 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDNEMyOjNBMURBNDpFRkRBN0Y6MTQ3MUFDQzo2QjA1NThBOCIsInZpc2l0b3JfaWQiOiI0MDIzODY0NjQ1NjI5ODYwMDA4IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 4411231ed7ac26236c60e59953e1530f85b3ca9692b18dabe82c0118b890064d |
| hovercard-subject-tag | issue:6120922824 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/cloudfall-dev/cloudfall/173/issue_layout |
| twitter:image | https://opengraph.githubassets.com/14180c4c8accbe97851026de0b3690a0d545b7467938ba4e53a09f53d28f61f3/cloudfall-dev/cloudfall/issues/173 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/14180c4c8accbe97851026de0b3690a0d545b7467938ba4e53a09f53d28f61f3/cloudfall-dev/cloudfall/issues/173 |
| og:image:alt | Found in the review of #171 (spec S-007 preflight, #125). The data copy preflight refuses what it can see, but three common Supabase shapes get past it. Each still fails safe: pg_restore --single-t... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | shipmill-romamo[bot] |
| hostname | github.com |
| expected-hostname | github.com |
| None | a79a02b7e7546ea306864e922ed2103ef4c04fac63168e11c2b2d4d816793080 |
| turbo-cache-control | no-preview |
| go-import | github.com/cloudfall-dev/cloudfall git https://github.com/cloudfall-dev/cloudfall.git |
| octolytics-dimension-user_id | 339512759 |
| octolytics-dimension-user_login | cloudfall-dev |
| octolytics-dimension-repository_id | 1360999777 |
| octolytics-dimension-repository_nwo | cloudfall-dev/cloudfall |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 1360999777 |
| octolytics-dimension-repository_network_root_nwo | cloudfall-dev/cloudfall |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 10dff83edfd4f3617a7792a152d44991587b434c |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
| Server | github.com |
| Content-Type | text/html; charset=utf-8 |
| Cache-Control | max-age=0, private, must-revalidate |
Viewport: width=device-width