rhyolite
rhyolite copied to clipboard
The forced polymorphism in handlePersonalAuthMapQuery was preventing use of ErrorV for handling authorization failures (because its operations are intentionally monomorphic). liftErrorV was not a good primitive to make queries, it...
This means that when you drop into `nix-shell -A proj.shells.ghc`, cabal will build all of the local packages that are dependencies you have, instead of them being built as part...
https://github.com/obsidiansystems/rhyolite/issues/200 turned out to be caused by the test not being yet finished in time. Duplicating the delay here https://github.com/obsidiansystems/rhyolite/blob/151649c516061dc766d46b526aba068274f7e0e6/beam/task/backend/test/Test.hs#L254 consistently yield test success for me. FWIW, I'm running Ryzen...
A couple weeks ago I deployed a server where in local development beam automigrate complained about an unsafe edit. I was able to solve this locally by using gargoyle-postgresql /path/to/db...
``` mkdir rhyolite-test cd rhyolite-test ob init ``` replace `.obelisk/impl/github.json` with ``` { "owner": "obsidiansystems", "repo": "rhyolite", "branch": "master", "rev": "06b9851a101408a86a4ec0b7df5b2f71bc532ab0", "sha256": "18adbc1nnj94qhggpcxmpd5i1rz0zx93cpphl09mw4c7s65rzah7" } ``` ``` ob run -v ```...
``` $ git rev-parse HEAD eb9b8aee369f88eff5c5aa70af55518ce0b55e90 $ nix-build -A proj.shells.ghc ... No database migration required, continuing startup. runs parallel taskWorkers on a number of tasks FAILED [1] Failures: test/Test.hs:257:11: 1)...
The `HasNotification` and `HasChangeNotification` classes need to be accessible to GHCJS so they should be decoupled from the backend-specific beam code.
Consider ``` class HasChangeNotification n a | a -> n where changeNotification :: DatabaseEntity be db (TableEntity a) -> n (Change a) ``` It is difficult to imagine a scenario...