Commit Graph

501 Commits

Author SHA1 Message Date
5382a7672a fix(build): capture type aliases in ActualTypes hub export list
Some checks failed
Build and Deploy / build-push-deploy (push) Has been cancelled
IHP entity pattern: data Foo' params = Foo {...} (primed type, unprimed ctor)
                   type Foo = Foo' arg1 arg2    (concrete alias, kind *)

Include type instances use [Foo] — needs the concrete type alias (kind *),
not the primed data type. Previous awk only matched data/newtype, missing
the type alias. Add /^type [A-Z]/ match (no (..) suffix — type aliases are
not ADTs). type instance lines start with lowercase 'i' and don't match.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-01 23:13:26 +02:00
e19d7deef4 chore(consistency): sync task status from DB [auto]
Some checks failed
Build and Deploy / build-push-deploy (push) Has been cancelled
Updated by fix-consistency on 2026-05-01:
  - update .custodian-brief.md for inter-hub
2026-05-01 23:05:22 +02:00
1bdbce96e6 fix(build): rewrite ActualTypes hub with explicit T(..) re-exports
Some checks failed
Build and Deploy / build-push-deploy (push) Has been cancelled
Previous attempt (stubs + direct imports) broke qualified constructor
references like Generated.ActualTypes.WidgetVersion in Include files —
removing the hub from scope invalidated all qualified names through it.

New approach: rewrite Generated.ActualTypes.hs in postUnpack to replace
the `module M` export list with explicit T(..) re-exports. Explicit
re-exports store only name references in the .hi file (compact), while
`module M` embeds the full sub-interface (~287 MB for 61 modules). Hub
stays functional — consumers still qualify via Generated.ActualTypes.

Also deduplicate with sort -u in case PrimaryKeys and entity files both
declare the same ID type.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-01 23:04:57 +02:00
fba86d845f chore(consistency): sync task status from DB [auto]
Some checks failed
Build and Deploy / build-push-deploy (push) Has been cancelled
Updated by fix-consistency on 2026-05-01:
  - update .custodian-brief.md for inter-hub
2026-05-01 22:50:19 +02:00
98a6d3bde4 chore(consistency): sync task status from DB [auto]
Some checks failed
Build and Deploy / build-push-deploy (push) Has been cancelled
Updated by fix-consistency on 2026-05-01:
  - update .custodian-brief.md for inter-hub
2026-05-01 22:35:38 +02:00
881fef28cc fix(build): stub ActualTypes hub + patch importers to avoid 274 MB .hi crash
Some checks failed
Build and Deploy / build-push-deploy (push) Has been cancelled
Generated.ActualTypes uses `module M` re-export syntax for 61 sub-modules;
GHC 9.10.3 embeds all 61 full sub-interfaces into ActualTypes.hi (~287 MB),
hitting the binary-deserialization limit at position 287686318.

Revert Cabal sub-library split (did not help — models-inner also crashed
with only 61 modules at the same invariant position). Apply the same fix
already working for Generated.Types in inter-hub-lib:

- inter-hub-models postUnpack: stub Generated.ActualTypes.hs + Generated.Types.hs
  to empty modules; patch every importer with direct sub-module imports (reads
  original ActualTypes.hs before stubbing to build the replacement import list)
- inter-hub-lib postUnpack: same for both hubs (each package has its own
  sourceRoot with originals intact)

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-01 22:34:09 +02:00
9a7e6ad9f8 chore(consistency): sync task status from DB [auto]
Some checks failed
Build and Deploy / build-push-deploy (push) Has been cancelled
Updated by fix-consistency on 2026-05-01:
  - update .custodian-brief.md for inter-hub
2026-05-01 22:20:53 +02:00
ce18636038 fix(nix): cabal-version 3.0 for sublibrary dependency syntax
Some checks failed
Build and Deploy / build-push-deploy (push) Has been cancelled
cabal-version: 2.2 does not support the pkg:sublibrary reference
syntax. Bump to 3.0 which explicitly supports it.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-01 22:18:03 +02:00
a9648f302f chore(consistency): sync task status from DB [auto]
Some checks failed
Build and Deploy / build-push-deploy (push) Has been cancelled
Updated by fix-consistency on 2026-05-01:
  - update .custodian-brief.md for inter-hub
2026-05-01 22:06:00 +02:00
5378eb881e fix(nix): split inter-hub-models into two Cabal library components
Some checks failed
Build and Deploy / build-push-deploy (push) Has been cancelled
GHC 9.10.3 crashes with Data.Binary.Get.runGet at position 287686318
invariantly when compiling all 476 inter-hub-models modules in a single
--make invocation. Split into two library components to force two
separate GHC compilations:

  models-inner (~63 modules): Generated.ActualTypes.* + Generated.Enums
    Pure type definitions; zero inter-hub-models dependencies.
  main library (~413 modules): entity ops + Include instances
    Depends on models-inner.

Longer-term this is the right architecture: explicit boundaries reduce
build cost, isolate changes, and make diagnostics cheaper.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-01 21:51:47 +02:00
76347ae1b5 chore(consistency): sync task status from DB [auto]
Some checks failed
Build and Deploy / build-push-deploy (push) Has been cancelled
Updated by fix-consistency on 2026-05-01:
  - update .custodian-brief.md for inter-hub
2026-05-01 21:51:38 +02:00
6526aa66c3 chore(consistency): sync task status from DB [auto]
Some checks failed
Build and Deploy / build-push-deploy (push) Has been cancelled
Updated by fix-consistency on 2026-05-01:
  - update .custodian-brief.md for inter-hub
2026-05-01 21:36:23 +02:00
a1dda36e50 chore(consistency): sync task status from DB [auto]
Some checks failed
Build and Deploy / build-push-deploy (push) Has been cancelled
Updated by fix-consistency on 2026-05-01:
  - update .custodian-brief.md for inter-hub
2026-05-01 21:21:26 +02:00
2adade749e chore(consistency): sync task status from DB [auto]
Some checks failed
Build and Deploy / build-push-deploy (push) Has been cancelled
Updated by fix-consistency on 2026-05-01:
  - update .custodian-brief.md for inter-hub
2026-05-01 21:06:18 +02:00
827c78287f chore(consistency): sync task status from DB [auto]
Some checks failed
Build and Deploy / build-push-deploy (push) Has been cancelled
Updated by fix-consistency on 2026-05-01:
  - update .custodian-brief.md for inter-hub
2026-05-01 20:51:28 +02:00
563e19089a chore(consistency): sync task status from DB [auto]
Some checks failed
Build and Deploy / build-push-deploy (push) Has been cancelled
Updated by fix-consistency on 2026-05-01:
  - update .custodian-brief.md for inter-hub
2026-05-01 20:36:30 +02:00
f75d4196c3 chore(consistency): sync task status from DB [auto]
Some checks failed
Build and Deploy / build-push-deploy (push) Has been cancelled
Updated by fix-consistency on 2026-05-01:
  - update .custodian-brief.md for inter-hub
2026-05-01 20:22:49 +02:00
5ba771c95c chore(consistency): sync task status from DB [auto]
Some checks failed
Build and Deploy / build-push-deploy (push) Has been cancelled
Updated by fix-consistency on 2026-05-01:
  - update .custodian-brief.md for inter-hub
2026-05-01 20:06:37 +02:00
92a362d91a chore(consistency): sync task status from DB [auto]
Some checks failed
Build and Deploy / build-push-deploy (push) Has been cancelled
Updated by fix-consistency on 2026-05-01:
  - update .custodian-brief.md for inter-hub
2026-05-01 19:51:40 +02:00
e9f8e168ed chore(consistency): sync task status from DB [auto]
Some checks failed
Build and Deploy / build-push-deploy (push) Has been cancelled
Updated by fix-consistency on 2026-05-01:
  - update .custodian-brief.md for inter-hub
2026-05-01 19:36:42 +02:00
007d1a2658 chore(consistency): sync task status from DB [auto]
Some checks failed
Build and Deploy / build-push-deploy (push) Has been cancelled
Updated by fix-consistency on 2026-05-01:
  - update .custodian-brief.md for inter-hub
2026-05-01 19:21:42 +02:00
e7a9a92b0f chore(consistency): sync task status from DB [auto]
Some checks failed
Build and Deploy / build-push-deploy (push) Has been cancelled
Updated by fix-consistency on 2026-05-01:
  - update .custodian-brief.md for inter-hub
2026-05-01 19:06:49 +02:00
b45a3020ea chore(consistency): sync task status from DB [auto]
Some checks failed
Build and Deploy / build-push-deploy (push) Has been cancelled
Updated by fix-consistency on 2026-05-01:
  - update .custodian-brief.md for inter-hub
2026-05-01 18:51:48 +02:00
7386d3b357 chore(consistency): sync task status from DB [auto]
Some checks failed
Build and Deploy / build-push-deploy (push) Has been cancelled
Updated by fix-consistency on 2026-05-01:
  - update .custodian-brief.md for inter-hub
2026-05-01 18:36:46 +02:00
b6afbbfdf3 chore(consistency): sync task status from DB [auto]
Some checks failed
Build and Deploy / build-push-deploy (push) Has been cancelled
Updated by fix-consistency on 2026-05-01:
  - update .custodian-brief.md for inter-hub
2026-05-01 18:21:45 +02:00
adf3a3c5ab chore(consistency): sync task status from DB [auto]
Some checks failed
Build and Deploy / build-push-deploy (push) Has been cancelled
Updated by fix-consistency on 2026-05-01:
  - update .custodian-brief.md for inter-hub
2026-05-01 18:06:43 +02:00
650abda494 chore(consistency): sync task status from DB [auto]
Some checks failed
Build and Deploy / build-push-deploy (push) Has been cancelled
Updated by fix-consistency on 2026-05-01:
  - update .custodian-brief.md for inter-hub
2026-05-01 17:51:40 +02:00
00edb83101 chore(consistency): sync task status from DB [auto]
Some checks failed
Build and Deploy / build-push-deploy (push) Has been cancelled
Updated by fix-consistency on 2026-05-01:
  - update .custodian-brief.md for inter-hub
2026-05-01 17:36:39 +02:00
7ba33f0ea4 chore(consistency): sync task status from DB [auto]
Some checks failed
Build and Deploy / build-push-deploy (push) Has been cancelled
Updated by fix-consistency on 2026-05-01:
  - update .custodian-brief.md for inter-hub
2026-05-01 17:21:34 +02:00
1a9ac7f974 chore(consistency): sync task status from DB [auto]
Some checks failed
Build and Deploy / build-push-deploy (push) Has been cancelled
Updated by fix-consistency on 2026-05-01:
  - update .custodian-brief.md for inter-hub
2026-05-01 17:06:34 +02:00
d42352f46c chore(consistency): sync task status from DB [auto]
Some checks failed
Build and Deploy / build-push-deploy (push) Has been cancelled
Updated by fix-consistency on 2026-05-01:
  - update .custodian-brief.md for inter-hub
2026-05-01 16:51:33 +02:00
dfd8582095 fix(nix): strip module-M re-export syntax from Generated.ActualTypes
Some checks failed
Build and Deploy / build-push-deploy (push) Has been cancelled
Generated.ActualTypes uses "module M" for 61 sub-modules, causing GHC
to embed each sub-interface verbatim into ActualTypes.hi. That file hits
the GHC 9.10.3 Data.Binary.Get 274 MB limit (position 287686318) when
WidgetVersionInclude reads it during inter-hub-models compilation.

Removing the explicit (module M, ...) export list keeps the same
re-export semantics (no explicit list = export all imports) but forces
GHC to store compact name-reference entries instead of embedded copies.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-01 16:48:56 +02:00
5b8f0b9175 chore(consistency): sync task status from DB [auto]
Some checks failed
Build and Deploy / build-push-deploy (push) Has been cancelled
Updated by fix-consistency on 2026-05-01:
  - update .custodian-brief.md for inter-hub
2026-05-01 16:36:21 +02:00
e017169390 chore(consistency): sync task status from DB [auto]
Some checks failed
Build and Deploy / build-push-deploy (push) Has been cancelled
Updated by fix-consistency on 2026-05-01:
  - update .custodian-brief.md for inter-hub
2026-05-01 16:21:13 +02:00
168a7ba763 chore(consistency): sync task status from DB [auto]
Some checks failed
Build and Deploy / build-push-deploy (push) Has been cancelled
Updated by fix-consistency on 2026-05-01:
  - update .custodian-brief.md for inter-hub
2026-05-01 16:06:06 +02:00
c3fd74fe03 chore(consistency): sync task status from DB [auto]
Some checks failed
Build and Deploy / build-push-deploy (push) Has been cancelled
Updated by fix-consistency on 2026-05-01:
  - update .custodian-brief.md for inter-hub
2026-05-01 15:50:59 +02:00
922998ddd5 chore(consistency): sync task status from DB [auto]
Some checks failed
Build and Deploy / build-push-deploy (push) Has been cancelled
Updated by fix-consistency on 2026-05-01:
  - update .custodian-brief.md for inter-hub
2026-05-01 15:35:56 +02:00
13b57c3482 chore(consistency): sync task status from DB [auto]
Some checks failed
Build and Deploy / build-push-deploy (push) Has been cancelled
Updated by fix-consistency on 2026-05-01:
  - update .custodian-brief.md for inter-hub
2026-05-01 15:20:48 +02:00
bc9cfabc6b chore(consistency): sync task status from DB [auto]
Some checks failed
Build and Deploy / build-push-deploy (push) Has been cancelled
Updated by fix-consistency on 2026-05-01:
  - update .custodian-brief.md for inter-hub
2026-05-01 15:05:52 +02:00
81567d78d2 chore(consistency): sync task status from DB [auto]
Some checks failed
Build and Deploy / build-push-deploy (push) Has been cancelled
Updated by fix-consistency on 2026-05-01:
  - update .custodian-brief.md for inter-hub
2026-05-01 14:50:56 +02:00
a38a5d021b chore(consistency): sync task status from DB [auto]
Some checks failed
Build and Deploy / build-push-deploy (push) Has been cancelled
Updated by fix-consistency on 2026-05-01:
  - update .custodian-brief.md for inter-hub
2026-05-01 14:35:31 +02:00
49b21e5467 chore(consistency): sync task status from DB [auto]
Some checks failed
Build and Deploy / build-push-deploy (push) Has been cancelled
Updated by fix-consistency on 2026-05-01:
  - update .custodian-brief.md for inter-hub
2026-05-01 14:20:03 +02:00
13e626e5fe chore(consistency): sync task status from DB [auto]
Some checks failed
Build and Deploy / build-push-deploy (push) Has been cancelled
Updated by fix-consistency on 2026-05-01:
  - update .custodian-brief.md for inter-hub
2026-05-01 14:04:49 +02:00
17688993c4 chore(consistency): sync task status from DB [auto]
Some checks failed
Build and Deploy / build-push-deploy (push) Has been cancelled
Updated by fix-consistency on 2026-05-01:
  - update .custodian-brief.md for inter-hub
2026-05-01 13:49:23 +02:00
f758fabb8a chore(consistency): sync task status from DB [auto]
Some checks failed
Build and Deploy / build-push-deploy (push) Has been cancelled
Updated by fix-consistency on 2026-05-01:
  - update .custodian-brief.md for inter-hub
2026-05-01 13:34:11 +02:00
9a3232d743 chore(consistency): sync task status from DB [auto]
Some checks failed
Build and Deploy / build-push-deploy (push) Has been cancelled
Updated by fix-consistency on 2026-05-01:
  - update .custodian-brief.md for inter-hub
2026-05-01 13:19:29 +02:00
21f591815d chore(consistency): sync task status from DB [auto]
Some checks failed
Build and Deploy / build-push-deploy (push) Has been cancelled
Updated by fix-consistency on 2026-05-01:
  - update .custodian-brief.md for inter-hub
2026-05-01 13:03:36 +02:00
0ad18ed6a6 chore(consistency): sync task status from DB [auto]
Some checks failed
Build and Deploy / build-push-deploy (push) Has been cancelled
Updated by fix-consistency on 2026-05-01:
  - update .custodian-brief.md for inter-hub
2026-05-01 12:48:33 +02:00
fc76a5f58f chore(consistency): sync task status from DB [auto]
Some checks failed
Build and Deploy / build-push-deploy (push) Has been cancelled
Updated by fix-consistency on 2026-05-01:
  - update .custodian-brief.md for inter-hub
2026-05-01 12:32:59 +02:00
c19fa40ca6 Scope update from repo-scoping refactor
Some checks failed
Build and Deploy / build-push-deploy (push) Has been cancelled
2026-05-01 12:26:13 +02:00