mirror of
https://github.com/hasura/graphql-engine.git
synced 2024-12-16 09:51:59 +03:00
4d2dbe68fa
Writing to a mutable var is a particularly potent source of leaks since it mostly defeats GHC's analysis. Here we add assertions to all mutable writes, and fix a couple spots where we wrote some thunks to a mutable var (compiled with -O2). Some of these thunks were probably benign, but others looked liked they might be retaining big args. Didn't do much analysis, just fixed. Actually pretty happy with how easy this was to use and as a diagnostic, once I sorted out some issues. We should consider using it elsewhere, and maybe extending so that we can use it with tests, enable when `-fenable-assertsions` etc. Relates #3388 Also simplified codepaths that use `AcceptWith`, which has unnecessary `Maybe` fields.
353 lines
14 KiB
Plaintext
353 lines
14 KiB
Plaintext
constraints: any.Cabal ==2.4.0.1,
|
|
any.Glob ==0.9.3,
|
|
any.HUnit ==1.6.0.0,
|
|
any.Only ==0.1,
|
|
any.QuickCheck ==2.12.6.1,
|
|
QuickCheck +templatehaskell,
|
|
any.RSA ==2.3.1,
|
|
any.SHA ==1.6.4.4,
|
|
SHA -exe,
|
|
any.Spock-core ==0.13.0.0,
|
|
any.StateVar ==1.1.1.1,
|
|
any.abstract-deque ==0.3,
|
|
abstract-deque -usecas,
|
|
any.abstract-par ==0.3.3,
|
|
any.adjunctions ==4.4,
|
|
any.aeson ==1.4.2.0,
|
|
aeson -bytestring-builder -cffi -developer -fast,
|
|
any.aeson-casing ==0.1.1.0,
|
|
any.ansi-terminal ==0.8.2,
|
|
ansi-terminal -example,
|
|
any.ansi-wl-pprint ==0.6.8.2,
|
|
ansi-wl-pprint -example,
|
|
any.appar ==0.1.7,
|
|
any.array ==0.5.3.0,
|
|
any.asn1-encoding ==0.9.5,
|
|
any.asn1-parse ==0.9.4,
|
|
any.asn1-types ==0.3.2,
|
|
any.async ==2.2.1,
|
|
async -bench,
|
|
any.attoparsec ==0.13.2.2,
|
|
attoparsec -developer,
|
|
any.attoparsec-iso8601 ==1.0.1.0,
|
|
attoparsec-iso8601 -developer -fast,
|
|
any.authenticate-oauth ==1.6,
|
|
any.auto-update ==0.1.4.1,
|
|
any.base ==4.12.0.0,
|
|
any.base-compat ==0.10.5,
|
|
any.base-compat-batteries ==0.10.5,
|
|
any.base-orphans ==0.8.1,
|
|
any.base-prelude ==1.3,
|
|
any.base16-bytestring ==0.1.1.6,
|
|
any.base64-bytestring ==1.0.0.2,
|
|
any.basement ==0.0.10,
|
|
any.bifunctors ==5.5.4,
|
|
bifunctors +semigroups +tagged,
|
|
any.binary ==0.8.6.0,
|
|
any.binary-parser ==0.5.5,
|
|
any.blaze-builder ==0.4.1.0,
|
|
any.blaze-html ==0.9.1.1,
|
|
any.blaze-markup ==0.8.2.2,
|
|
any.bsb-http-chunked ==0.0.0.4,
|
|
any.byteable ==0.1.1,
|
|
any.byteorder ==1.0.4,
|
|
any.bytestring ==0.10.8.2,
|
|
any.bytestring-builder ==0.10.8.2.0,
|
|
bytestring-builder +bytestring_has_builder,
|
|
any.bytestring-strict-builder ==0.4.5.1,
|
|
any.bytestring-tree-builder ==0.2.7.2,
|
|
any.cabal-doctest ==1.0.8,
|
|
any.call-stack ==0.1.0,
|
|
any.case-insensitive ==1.2.0.11,
|
|
any.cassava ==0.5.1.0,
|
|
cassava -bytestring--lt-0_10_4,
|
|
any.cereal ==0.5.8.0,
|
|
cereal -bytestring-builder,
|
|
any.charset ==0.3.7.1,
|
|
any.clock ==0.7.2,
|
|
clock -llvm,
|
|
any.cmdargs ==0.10.20,
|
|
cmdargs +quotation -testprog,
|
|
any.code-page ==0.2,
|
|
any.colour ==2.3.5,
|
|
any.comonad ==5.0.5,
|
|
comonad +containers +distributive +test-doctests,
|
|
any.concise ==0.1.0.1,
|
|
any.concurrent-output ==1.10.9,
|
|
any.conduit ==1.3.1.1,
|
|
any.connection ==0.2.8,
|
|
any.constraints ==0.10.1,
|
|
any.containers ==0.6.0.1,
|
|
any.contravariant ==1.5.1,
|
|
contravariant +semigroups +statevar +tagged,
|
|
any.contravariant-extras ==0.3.4,
|
|
any.cookie ==0.4.4,
|
|
any.criterion ==1.5.5.0,
|
|
criterion -embed-data-files -fast,
|
|
any.criterion-measurement ==0.1.1.0,
|
|
criterion-measurement -fast,
|
|
any.crypto-api ==0.13.3,
|
|
crypto-api -all_cpolys,
|
|
any.crypto-pubkey-types ==0.4.3,
|
|
any.cryptohash-md5 ==0.11.100.1,
|
|
any.cryptohash-sha1 ==0.11.100.1,
|
|
any.cryptonite ==0.25,
|
|
cryptonite -check_alignment +integer-gmp -old_toolchain_inliner +support_aesni +support_deepseq -support_pclmuldq +support_rdrand -support_sse,
|
|
any.data-bword ==0.1.0.1,
|
|
any.data-checked ==0.3,
|
|
any.data-default ==0.7.1.1,
|
|
any.data-default-class ==0.1.2.0,
|
|
any.data-default-instances-containers ==0.0.1,
|
|
any.data-default-instances-dlist ==0.0.1,
|
|
any.data-default-instances-old-locale ==0.0.1,
|
|
any.data-dword ==0.3.1.2,
|
|
any.data-endian ==0.1.1,
|
|
any.data-has ==0.3.0.0,
|
|
any.data-serializer ==0.3.4,
|
|
any.data-textual ==0.3.0.2,
|
|
any.deepseq ==1.4.4.0,
|
|
any.deferred-folds ==0.9.10,
|
|
any.dense-linear-algebra ==0.1.0.0,
|
|
any.dependent-map ==0.2.4.0,
|
|
any.dependent-sum ==0.4,
|
|
any.directory ==1.3.3.0,
|
|
any.distributive ==0.6,
|
|
distributive +semigroups +tagged,
|
|
any.dlist ==0.8.0.6,
|
|
any.easy-file ==0.2.2,
|
|
any.either ==5.0.1.1,
|
|
any.ekg-core ==0.1.1.6,
|
|
any.ekg-json ==0.1.0.6,
|
|
any.entropy ==0.4.1.4,
|
|
entropy -halvm,
|
|
any.erf ==2.0.0.0,
|
|
any.errors ==2.3.0,
|
|
any.exceptions ==0.10.2,
|
|
any.fast-logger ==2.4.15,
|
|
any.file-embed ==0.0.11,
|
|
any.filepath ==1.4.2.1,
|
|
any.focus ==1.0.1.3,
|
|
any.foldl ==1.4.5,
|
|
any.free ==5.1.1,
|
|
any.generic-arbitrary ==0.1.0,
|
|
any.ghc-boot-th ==8.6.5,
|
|
any.ghc-prim ==0.5.3,
|
|
any.ghc-heap-view ==0.6.0,
|
|
any.happy ==1.19.12,
|
|
happy +small_base,
|
|
any.hashable ==1.2.7.0,
|
|
hashable -examples +integer-gmp +sse2 -sse41,
|
|
any.hashtables ==1.2.3.1,
|
|
hashtables -bounds-checking -debug -portable -sse42 +unsafe-tricks,
|
|
any.haskell-lexer ==1.0.2,
|
|
any.hasql ==1.3.0.5,
|
|
any.hasql-pool ==0.5.0.2,
|
|
any.hasql-transaction ==0.7.1,
|
|
any.hedgehog ==0.6.1,
|
|
any.hourglass ==0.2.12,
|
|
any.hsc2hs ==0.68.6,
|
|
hsc2hs -in-ghc-tree,
|
|
any.hspec ==2.6.1,
|
|
any.hspec-core ==2.6.1,
|
|
any.hspec-discover ==2.6.1,
|
|
any.hspec-expectations ==0.8.2,
|
|
any.hspec-expectations-lifted ==0.10.0,
|
|
any.http-api-data ==0.4,
|
|
http-api-data -use-text-show,
|
|
any.http-client ==0.5.14,
|
|
http-client +network-uri,
|
|
any.http-client-tls ==0.3.5.3,
|
|
any.http-date ==0.0.8,
|
|
any.http-types ==0.12.3,
|
|
any.http2 ==1.6.5,
|
|
http2 -devel,
|
|
any.hvect ==0.4.0.0,
|
|
any.insert-ordered-containers ==0.2.1.0,
|
|
any.integer-gmp ==1.0.2.0,
|
|
any.integer-logarithms ==1.0.3,
|
|
integer-logarithms -check-bounds +integer-gmp,
|
|
any.invariant ==0.5.3,
|
|
any.iproute ==1.7.7,
|
|
any.jose ==0.8.0.0,
|
|
any.js-flot ==0.8.3,
|
|
any.js-jquery ==3.3.1,
|
|
any.kan-extensions ==5.2,
|
|
any.keys ==3.12.2,
|
|
any.lens ==4.17.1,
|
|
lens -benchmark-uniplate -dump-splices +inlining -j -old-inline-pragmas -safe +test-doctests +test-hunit +test-properties +test-templates +trustworthy,
|
|
any.lens-aeson ==1.0.2,
|
|
lens-aeson +test-doctests,
|
|
any.libyaml ==0.1.1.0,
|
|
libyaml -no-unicode -system-libyaml,
|
|
any.lifted-async ==0.10.0.4,
|
|
any.lifted-base ==0.2.3.12,
|
|
any.list-t ==1.0.3.1,
|
|
any.loch-th ==0.2.2,
|
|
any.math-functions ==0.3.1.0,
|
|
math-functions -system-expm1,
|
|
any.memory ==0.14.18,
|
|
memory +support_basement +support_bytestring +support_deepseq +support_foundation,
|
|
any.microstache ==1.0.1.1,
|
|
any.mime-types ==0.1.0.9,
|
|
any.mmorph ==1.1.3,
|
|
any.monad-control ==1.0.2.3,
|
|
any.monad-par ==0.3.4.8,
|
|
monad-par -chaselev -newgeneric,
|
|
any.monad-par-extras ==0.3.3,
|
|
any.monad-time ==0.3.1.0,
|
|
any.monad-validate ==1.2.0.0,
|
|
any.mono-traversable ==1.0.11.0,
|
|
any.mtl ==2.2.2,
|
|
any.mtl-compat ==0.2.2,
|
|
mtl-compat -two-point-one -two-point-two,
|
|
any.mustache ==2.3.0,
|
|
any.mwc-probability ==2.0.4,
|
|
any.mwc-random ==0.14.0.0,
|
|
any.natural-transformation ==0.4,
|
|
any.network ==2.8.0.1,
|
|
any.network-byte-order ==0.0.0.0,
|
|
any.network-info ==0.2.0.10,
|
|
any.network-ip ==0.3.0.2,
|
|
any.network-uri ==2.6.1.0,
|
|
any.old-locale ==1.0.0.7,
|
|
any.old-time ==1.1.0.3,
|
|
any.optparse-applicative ==0.14.3.0,
|
|
any.parallel ==3.2.2.0,
|
|
any.parsec ==3.1.13.0,
|
|
any.parsers ==0.12.10,
|
|
parsers +attoparsec +binary +parsec,
|
|
any.pem ==0.2.4,
|
|
any.placeholders ==0.1,
|
|
any.pointed ==5.0.1,
|
|
pointed +comonad +containers +kan-extensions +semigroupoids +semigroups +stm +tagged +transformers +unordered-containers,
|
|
any.postgresql-binary ==0.12.1.2,
|
|
any.postgresql-libpq ==0.9.4.2,
|
|
postgresql-libpq -use-pkg-config,
|
|
any.pretty ==1.1.3.6,
|
|
any.pretty-show ==1.9.5,
|
|
any.prettyprinter ==1.2.1,
|
|
prettyprinter -buildreadme,
|
|
any.primitive ==0.6.4.0,
|
|
any.primitive-extras ==0.7.1,
|
|
any.process ==1.6.5.0,
|
|
any.profunctors ==5.3,
|
|
any.protolude ==0.2.3,
|
|
any.psqueues ==0.2.7.1,
|
|
any.quickcheck-instances ==0.3.19,
|
|
quickcheck-instances -bytestring-builder,
|
|
any.quickcheck-io ==0.2.0,
|
|
any.random ==1.1,
|
|
any.reflection ==2.1.4,
|
|
reflection -slow +template-haskell,
|
|
any.regex-base ==0.93.2,
|
|
regex-base +newbase +splitbase,
|
|
any.regex-tdfa ==1.2.3.1,
|
|
regex-tdfa -devel,
|
|
any.reroute ==0.5.0.0,
|
|
any.resource-pool ==0.2.3.2,
|
|
resource-pool -developer,
|
|
any.resourcet ==1.2.2,
|
|
any.retry ==0.7.7.0,
|
|
retry -lib-werror,
|
|
any.rts ==1.0,
|
|
any.safe ==0.3.17,
|
|
any.scientific ==0.3.6.2,
|
|
scientific -bytestring-builder -integer-simple,
|
|
any.semigroupoids ==5.3.2,
|
|
semigroupoids +comonad +containers +contravariant +distributive +doctests +tagged +unordered-containers,
|
|
any.semigroups ==0.18.5,
|
|
semigroups +binary +bytestring -bytestring-builder +containers +deepseq +hashable +tagged +text +transformers +unordered-containers,
|
|
any.semver ==0.3.3.1,
|
|
any.setenv ==0.1.1.3,
|
|
any.shakespeare ==2.0.22,
|
|
shakespeare -test_coffee -test_export -test_roy,
|
|
any.simple-sendfile ==0.2.28,
|
|
simple-sendfile +allow-bsd,
|
|
any.socks ==0.5.6,
|
|
any.split ==0.2.3.3,
|
|
any.statistics ==0.15.0.0,
|
|
any.stm ==2.5.0.0,
|
|
any.stm-containers ==1.1.0.4,
|
|
any.stm-hamt ==1.2.0.2,
|
|
any.streaming-commons ==0.2.1.0,
|
|
streaming-commons -use-bytestring-builder,
|
|
any.string-conversions ==0.4.0.1,
|
|
any.superbuffer ==0.3.1.1,
|
|
any.tagged ==0.8.6,
|
|
tagged +deepseq +transformers,
|
|
any.template-haskell ==2.14.0.0,
|
|
any.terminal-size ==0.3.2.1,
|
|
any.text ==1.2.3.1,
|
|
any.text-builder ==0.6.5,
|
|
any.text-conversions ==0.3.0,
|
|
any.text-latin1 ==0.3.1,
|
|
any.text-printer ==0.5,
|
|
any.text-short ==0.1.2,
|
|
text-short -asserts,
|
|
any.tf-random ==0.5,
|
|
any.th-abstraction ==0.2.11.0,
|
|
any.th-lift ==0.7.11,
|
|
any.th-lift-instances ==0.1.12,
|
|
any.these ==0.7.6,
|
|
any.time ==1.8.0.2,
|
|
any.time-locale-compat ==0.1.1.5,
|
|
time-locale-compat -old-locale,
|
|
any.tls ==1.4.1,
|
|
tls +compat -hans +network,
|
|
any.transformers ==0.5.6.2,
|
|
any.transformers-base ==0.4.5.2,
|
|
transformers-base +orphaninstances,
|
|
any.transformers-compat ==0.6.4,
|
|
transformers-compat -five +five-three -four +generic-deriving +mtl -three -two,
|
|
any.tuple-th ==0.2.5,
|
|
any.type-hint ==0.1,
|
|
any.unix ==2.7.2.2,
|
|
any.unix-compat ==0.5.1,
|
|
unix-compat -old-time,
|
|
any.unix-time ==0.4.5,
|
|
any.unliftio-core ==0.1.2.0,
|
|
any.unordered-containers ==0.2.9.0,
|
|
unordered-containers -debug,
|
|
any.uri-encode ==1.5.0.5,
|
|
uri-encode +network-uri -tools,
|
|
any.utf8-string ==1.0.1.1,
|
|
any.uuid ==1.3.13,
|
|
any.uuid-types ==1.0.3,
|
|
any.vault ==0.3.1.2,
|
|
vault +useghc,
|
|
any.vector ==0.12.0.3,
|
|
vector +boundschecks -internalchecks -unsafechecks -wall,
|
|
any.vector-algorithms ==0.8.0.1,
|
|
vector-algorithms +bench +boundschecks -internalchecks -llvm +properties -unsafechecks,
|
|
any.vector-binary-instances ==0.2.5.1,
|
|
any.vector-builder ==0.3.7.2,
|
|
any.vector-instances ==3.4,
|
|
vector-instances +hashable,
|
|
any.vector-th-unbox ==0.2.1.6,
|
|
any.void ==0.7.2,
|
|
void -safe,
|
|
any.wai ==3.2.2,
|
|
any.wai-app-static ==3.1.6.3,
|
|
wai-app-static -print,
|
|
any.wai-extra ==3.0.26,
|
|
wai-extra -build-example,
|
|
any.wai-logger ==2.3.4,
|
|
any.wai-websockets ==3.0.1.2,
|
|
wai-websockets +example,
|
|
any.warp ==3.2.27,
|
|
warp +allow-sendfilefd -network-bytestring -warp-debug,
|
|
any.websockets ==0.12.5.3,
|
|
websockets -example,
|
|
any.wl-pprint-annotated ==0.1.0.1,
|
|
any.word8 ==0.1.3,
|
|
any.wreq ==0.5.3.1,
|
|
wreq -aws -developer +doctest -httpbin,
|
|
any.x509 ==1.7.5,
|
|
any.x509-store ==1.6.7,
|
|
any.x509-system ==1.6.6,
|
|
any.x509-validation ==1.6.11,
|
|
any.yaml ==0.11.0.0,
|
|
yaml +no-examples +no-exe,
|
|
any.zlib ==0.6.2,
|
|
zlib -non-blocking-ffi -pkg-config
|