Visitar URL original
ghcide: Log which implicit cradle is used when there is no hie.yaml by RyosukeDTomita · Pull Request #5159 · haskell/haskell-language-server · GitHub
Skip to content

ghcide: Log which implicit cradle is used when there is no hie.yaml - #5159

Open
RyosukeDTomita wants to merge 2 commits into
haskell:masterfrom
RyosukeDTomita:feat-4575-implicit-cradle-log
Open

RyosukeDTomita wants to merge 2 commits into
haskell:masterfrom
RyosukeDTomita:feat-4575-implicit-cradle-log

Conversation

@RyosukeDTomita

Copy link
Copy Markdown
Contributor

`fix 4575

AI Policy

  • LLM assistance: Claude Code was used while preparing this contribution.
    I used it as a research aid while investigating the issue, and then had it
    review the changes as an additional pair of eyes. However, I wrote all of
    the code myself.
  • As a non-native English speaker, I also used machine translation to help
    write the English text (commit messages, comments, and this description).
    I have carefully reviewed all submitted material and take full responsibility
    for it under GHC Policy on LLM contributions (P3).

Fix

When no hie.yaml is found, loadImplicitCradle now logs at INFO level which implicit cradle was inferred, or that it fell back to the default cradle.


How I tested

  • I checked the log output in my local environment.

no hie.yaml, with cabal.project and a .cabal file

before

Details log all output
ghcide version: 2.15.0.0 (GHC: 9.10) (PATH: /home/sigma/github-haskell/haskell-language-server/dist-newstyle/build/x86_64-linux/ghc-9.10.3/ghcide-2.15.0.0/x/ghcide/build/ghcide/ghcide) (GIT hash: 5905e8b9674eb5b2cf761faafabb55a0e976a538)
Info | Logging heap statistics every 60.00s
 ghcide setup tester in /home/sigma/github-haskell/4575-haskell-language-server.
Report bugs at https://github.com/haskell/haskell-language-server/issues

Step 1/4: Finding files to test in /home/sigma/github-haskell/4575-haskell-language-server
Found 1 files

Step 2/4: Looking for hie.yaml files that control setup
Found 1 cradle # これ直してもいいかも別のPRで
  ()

Step 3/4: Initializing the IDE
Debug | Initializing exports map from hiedb
Debug | Shake session initialized

StDebug | Done initializing exports map from hiedb. Size: 1
ep 4/4: Type checking the files
Debug | Looking up session cache for /home/sigma/github-haskell/4575-haskell-language-server/src/Main.hs
Debug | Worker starting a unit of work:  SessionLoaderTQueue
Debug | Loop: getOptions for /home/sigma/github-haskell/4575-haskell-language-server/src/Main.hs
Info | Cradle path: src/Main.hs
Warning | No [cradle](https://github.com/mpickering/hie-bios#hie-bios) found for src/Main.hs. # cradleなしのログ。これしかわからない
Proceeding with [implicit cradle](https://hackage.haskell.org/package/implicit-hie).
You should ignore this message, unless you see a 'Multi Cradle: No prefixes matched' error.
Debug | Resolved Cradles [ResolvedCradle {prefix = "/home/sigma/github-haskell/4575-haskell-language-server", cradleDeps = [], concreteCradle = ConcreteCabal Cabal { component = Nothing, projectFile = Nothing}}]
Debug | Cradle: Cradle{ cradleRootDir = "/home/sigma/github-haskell/4575-haskell-language-server", cradleOptsProg = CradleAction: Cabal}
Info | invoking build tool to determine build flags (this may take some time depending on the cache)
Debug | Requested to load Cabal cradle using all files (multi-components):
    /home/sigma/github-haskell/4575-haskell-language-server/src/Main.hs[]
Debug | cabal --numeric-version
Debug | cabal --builddir=/home/sigma/.cache/hie-bios/dist-4575-haskell-language-server-0a0d829d9134ed412cbaff4e841da6d3 path --output-format=json
Debug | /nix/store/k493jzz83044mqayvlb6247l35780kxy-ghc-9.10.3/bin/ghc --numeric-version
Info | Load cabal cradle using all files (multi-components)
Debug | Cabal Loading file /home/sigma/github-haskell/4575-haskell-language-server/src/Main.hs
    from project:  [/home/sigma/github-haskell/4575-haskell-language-server]
    with prefixes:
    with actual loading files: [ /home/sigma/github-haskell/4575-haskell-language-server/src/Main.hs ]
Info | cabal --builddir=/home/sigma/.cache/hie-bios/dist-4575-haskell-language-server-0a0d829d9134ed412cbaff4e841da6d3 v2-repl --with-repl /home/sigma/.cache/hie-bios/repl-wrapper-fae20739a232ed1b9dcdf40eca9cf71e --enable-multi-repl --keep-temp-files /home/sigma/github-haskell/4575-haskell-language-server/src/Main.hs
  Environment Variables
    HIE_BIOS_OUTPUT: /tmp/nix-shell.SCgguR/HIE_BIOS_OUTPUT1626295-0
Debug | Build profile: -w ghc-9.10.3 -O1
Debug | In order, the following will be built (use -v for more details):
Debug |  - implicit-sample-0.1.0.0 (interactive) (exe:implicit-sample) (first run)
Debug | Preprocessing executable 'implicit-sample' for implicit-sample-0.1.0.0...
Debug | cabal --builddir=/home/sigma/.cache/hie-bios/dist-4575-haskell-language-server-0a0d829d9134ed412cbaff4e841da6d3 path --output-format=json
Debug | /nix/store/k493jzz83044mqayvlb6247l35780kxy-ghc-9.10.3/bin/ghc --print-libdir
Debug | cabal --builddir=/home/sigma/.cache/hie-bios/dist-4575-haskell-language-server-0a0d829d9134ed412cbaff4e841da6d3 path --output-format=json
Debug | /nix/store/k493jzz83044mqayvlb6247l35780kxy-ghc-9.10.3/bin/ghc --numeric-version
Debug | Session loading result: Right (ComponentOptions {componentOptions = ["-package-env=-","-fbuilding-cabal-package","-O0","-outputdir","/home/sigma/.cache/hie-bios/dist-4575-haskell-language-server-0a0d829d9134ed412cbaff4e841da6d3/build/x86_64-linux/ghc-9.10.3/implicit-sample-0.1.0.0/x/implicit-sample/build/implicit-sample/implicit-sample-tmp","-odir","/home/sigma/.cache/hie-bios/dist-4575-haskell-language-server-0a0d829d9134ed412cbaff4e841da6d3/build/x86_64-linux/ghc-9.10.3/implicit-sample-0.1.0.0/x/implicit-sample/build/implicit-sample/implicit-sample-tmp","-hidir","/home/sigma/.cache/hie-bios/dist-4575-haskell-language-server-0a0d829d9134ed412cbaff4e841da6d3/build/x86_64-linux/ghc-9.10.3/implicit-sample-0.1.0.0/x/implicit-sample/build/implicit-sample/implicit-sample-tmp","-hiedir","/home/sigma/.cache/hie-bios/dist-4575-haskell-language-server-0a0d829d9134ed412cbaff4e841da6d3/build/x86_64-linux/ghc-9.10.3/implicit-sample-0.1.0.0/x/implicit-sample/build/implicit-sample/implicit-sample-tmp/extra-compilation-artifacts/hie","-stubdir","/home/sigma/.cache/hie-bios/dist-4575-haskell-language-server-0a0d829d9134ed412cbaff4e841da6d3/build/x86_64-linux/ghc-9.10.3/implicit-sample-0.1.0.0/x/implicit-sample/build/implicit-sample/implicit-sample-tmp","-i","-isrc","-i/home/sigma/.cache/hie-bios/dist-4575-haskell-language-server-0a0d829d9134ed412cbaff4e841da6d3/build/x86_64-linux/ghc-9.10.3/implicit-sample-0.1.0.0/x/implicit-sample/build/implicit-sample/implicit-sample-tmp","-i/home/sigma/.cache/hie-bios/dist-4575-haskell-language-server-0a0d829d9134ed412cbaff4e841da6d3/build/x86_64-linux/ghc-9.10.3/implicit-sample-0.1.0.0/x/implicit-sample/build/implicit-sample/autogen","-i/home/sigma/.cache/hie-bios/dist-4575-haskell-language-server-0a0d829d9134ed412cbaff4e841da6d3/build/x86_64-linux/ghc-9.10.3/implicit-sample-0.1.0.0/x/implicit-sample/build/global-autogen","-I/home/sigma/.cache/hie-bios/dist-4575-haskell-language-server-0a0d829d9134ed412cbaff4e841da6d3/build/x86_64-linux/ghc-9.10.3/implicit-sample-0.1.0.0/x/implicit-sample/build/implicit-sample/autogen","-I/home/sigma/.cache/hie-bios/dist-4575-haskell-language-server-0a0d829d9134ed412cbaff4e841da6d3/build/x86_64-linux/ghc-9.10.3/implicit-sample-0.1.0.0/x/implicit-sample/build/global-autogen","-I/home/sigma/.cache/hie-bios/dist-4575-haskell-language-server-0a0d829d9134ed412cbaff4e841da6d3/build/x86_64-linux/ghc-9.10.3/implicit-sample-0.1.0.0/x/implicit-sample/build/implicit-sample/implicit-sample-tmp","-optP-include","-optP/home/sigma/.cache/hie-bios/dist-4575-haskell-language-server-0a0d829d9134ed412cbaff4e841da6d3/build/x86_64-linux/ghc-9.10.3/implicit-sample-0.1.0.0/x/implicit-sample/build/implicit-sample/autogen/cabal_macros.h","-this-unit-id","implicit-sample-0.1.0.0-inplace-implicit-sample","-hide-all-packages","-Wmissing-home-modules","-no-user-package-db","-package-db","/home/sigma/.cabal/store/ghc-9.10.3-21af/package.db","-package-db","/home/sigma/.cache/hie-bios/dist-4575-haskell-language-server-0a0d829d9134ed412cbaff4e841da6d3/packagedb/ghc-9.10.3","-package-db","/home/sigma/.cache/hie-bios/dist-4575-haskell-language-server-0a0d829d9134ed412cbaff4e841da6d3/build/x86_64-linux/ghc-9.10.3/implicit-sample-0.1.0.0/x/implicit-sample/package.conf.inplace","-package-id","base-4.20.2.0-4d66","-XGHC2021","src/Main.hs","-hide-all-packages"], componentRoot = "/home/sigma/github-haskell/4575-haskell-language-server", componentDependencies = ["implicit-sample.cabal","cabal.project","cabal.project.local"]},"/nix/store/k493jzz83044mqayvlb6247l35780kxy-ghc-9.10.3/lib/ghc-9.10.3/lib","9.10.3")
Info | Interface files cache directory: /home/sigma/.cache/ghcide/implicit-sample-0.1.0.0-inplace-implicit-sample-4e3d631bd8f8b52072b561c76b3e39e629948eb5
Info | Making new HscEnv. In-place unit ids: [ implicit-sample-0.1.0.0-inplace-implicit-sample ]
Debug | New component cache HscEnvEq: (([],Just HscEnvEq 4),fromList [("/home/sigma/github-haskell/4845-haskell-language-server/cabal.project",Just 2026-10-25 01:32:51.223269 UTC),("/home/sigma/github-haskell/4575-haskell-language-server/cabal.project.local",Nothing),("/home/sigma/github-haskell/4575-haskell-language-server/implicit-sample.cabal",Just 2026-10-25 01:32:51.220268902 UTC)])
Debug | Worker starting a unit of work:  RestartTQueue
Debug | Finished build session
Info | New loaded files: [ /home/sigma/github-haskell/4575-haskell-language-server/src/Main.hs ]
Debug | Known files updated:
  fromList [(TargetFile NormalizedFilePath "/home/sigma/github-haskell/4575-haskell-language-server/src/Main.hs",fromList ["/home/sigma/github-haskell/4575-haskell-language-server/src/Main.hs"])]
Debug | Restarting build session due to new component
Action Queue: [User TypeCheck]
Keys: [GhcSessionIO; , GetKnownTargets; ]
Aborting previous build session took 0.00s
Debug | Worker ended a unit of work:  RestartTQueue
Debug | Looking up session cache for /home/sigma/github-haskell/4575-haskell-language-server/src/Main.hs
Debug | Finished: User TypeCheck Took: 0.01s
Debug | Worker starting a unit of work:  hiedb thread
Debug | Finished: GetHie Took: 0.00s
Debug | Finished: GenerateCore Took: 0.00s

Completed (1 file worked, 0 files failed)
Debug | Worker thread ending: SessionLoaderTQueue
Debug | Worker thread ended: SessionLoaderTQueue
Debug | Worker thread ending: RestartTQueue
Debug | Worker thread ended: RestartTQueue
Debug | Worker thread ending: hiedb thread
Debug | Worker thread ended: hiedb thre

after

I find new log output.

Info | Implicit cradle: CradleConfig {cradleDependencies = [], cradleTree = Cabal { component = Nothing, projectFile = Nothing}} in /home/sigma/github-haskell/4575-haskell-language-server

all log output
ghcide version: 2.15.0.0 (GHC: 9.10) (PATH: /home/sigma/github-haskell/haskell-language-server/dist-newstyle/build/x86_64-linux/ghc-9.10.3/ghcide-2.15.0.0/x/ghcide/build/ghcide/ghcide) (GIT hash: b9247ef88ffb52ea0a3692feba9e3a10edf80539)
Info | Logging heap statistics every 60.00s
 ghcide setup tester in /home/sigma/github-haskell/4575-haskell-language-server.
Report bugs at https://github.com/haskell/haskell-language-server/issues

Step 1/4: Finding files to test in /home/sigma/github-haskell/4575-haskell-language-server
Found 1 files

Step 2/4: Looking for hie.yaml files that control setup
Found 1 cradle
  ()

Step 3/4: Initializing the IDE
Debug | Initializing exports map from hiedb
Debug | Shake session initialized
Debug | Done initializing exports map from hiedb. Size: 0

Step 4/4: Type checking the files
Debug | Looking up session cache for /home/sigma/github-haskell/4575-haskell-language-server/src/Main.hs
Debug | Worker starting a unit of work:  SessionLoaderTQueue
Debug | Loop: getOptions for /home/sigma/github-haskell/4575-haskell-language-server/src/Main.hs
Info | Cradle path: src/Main.hs
Warning | No [cradle](https://github.com/mpickering/hie-bios#hie-bios) found for src/Main.hs.
Proceeding with [implicit cradle](https://hackage.haskell.org/package/implicit-hie).
You should ignore this message, unless you see a 'Multi Cradle: No prefixes matched' error.
Info | Implicit cradle: CradleConfig {cradleDependencies = [], cradleTree = Cabal { component = Nothing, projectFile = Nothing}} in /home/sigma/github-haskell/4575-haskell-language-server # 追加されたのはこれ
Debug | Resolved Cradles [ResolvedCradle {prefix = "/home/sigma/github-haskell/4575-haskell-language-server", cradleDeps = [], concreteCradle = ConcreteCabal Cabal { component = Nothing, projectFile = Nothing}}]
Debug | Cradle: Cradle{ cradleRootDir = "/home/sigma/github-haskell/4575-haskell-language-server", cradleOptsProg = CradleAction: Cabal}
Info | invoking build tool to determine build flags (this may take some time depending on the cache)
Debug | Requested to load Cabal cradle using all files (multi-components):
    /home/sigma/github-haskell/4575-haskell-language-server/src/Main.hs[]
Debug | cabal --numeric-version
Debug | cabal --builddir=/home/sigma/.cache/hie-bios/dist-4575-haskell-language-server-3d4e49768de9ecc51a0db972ad011d7f path --output-format=json
Debug | /nix/store/k493jzz83044mqayvlb6247l35780kxy-ghc-9.10.3/bin/ghc --numeric-version
Info | Load cabal cradle using all files (multi-components)
Debug | Cabal Loading file /home/sigma/github-haskell/4575-haskell-language-server/src/Main.hs
    from project:  [/home/sigma/github-haskell/4575-haskell-language-server]
    with prefixes:
    with actual loading files: [ /home/sigma/github-haskell/4575-haskell-language-server/src/Main.hs ]
Info | cabal --builddir=/home/sigma/.cache/hie-bios/dist-4575-haskell-language-server-3d4e49768de9ecc51a0db972ad011d7f v2-repl --with-repl /home/sigma/.cache/hie-bios/repl-wrapper-fae20739a232ed1b9dcdf40eca9cf71e --enable-multi-repl --keep-temp-files /home/sigma/github-haskell/4575-haskell-language-server/src/Main.hs
  Environment Variables
    HIE_BIOS_OUTPUT: /tmp/nix-shell.WBvPyl/HIE_BIOS_OUTPUT1742362-0
Debug | Resolving dependencies...
Debug | Build profile: -w ghc-9.10.3 -O1
Debug | In order, the following will be built (use -v for more details):
Debug |  - implicit-sample-0.1.0.0 (interactive) (exe:implicit-sample) (first run)
Debug | Configuring executable 'implicit-sample' for implicit-sample-0.1.0.0...
Debug | Preprocessing executable 'implicit-sample' for implicit-sample-0.1.0.0...
Debug | cabal --builddir=/home/sigma/.cache/hie-bios/dist-4575-haskell-language-server-3d4e49768de9ecc51a0db972ad011d7f path --output-format=json
Debug | /nix/store/k493jzz83044mqayvlb6247l35780kxy-ghc-9.10.3/bin/ghc --print-libdir
Debug | cabal --builddir=/home/sigma/.cache/hie-bios/dist-4575-haskell-language-server-3d4e49768de9ecc51a0db972ad011d7f path --output-format=json
Debug | /nix/store/k493jzz83044mqayvlb6247l35780kxy-ghc-9.10.3/bin/ghc --numeric-version
Debug | Session loading result: Right (ComponentOptions {componentOptions = ["-package-env=-","-fbuilding-cabal-package","-O0","-outputdir","/home/sigma/.cache/hie-bios/dist-4575-haskell-language-server-3d4e49768de9ecc51a0db972ad011d7f/build/x86_64-linux/ghc-9.10.3/implicit-sample-0.1.0.0/x/implicit-sample/build/implicit-sample/implicit-sample-tmp","-odir","/home/sigma/.cache/hie-bios/dist-4575-haskell-language-server-3d4e49768de9ecc51a0db972ad011d7f/build/x86_64-linux/ghc-9.10.3/implicit-sample-0.1.0.0/x/implicit-sample/build/implicit-sample/implicit-sample-tmp","-hidir","/home/sigma/.cache/hie-bios/dist-4575-haskell-language-server-3d4e49768de9ecc51a0db972ad011d7f/build/x86_64-linux/ghc-9.10.3/implicit-sample-0.1.0.0/x/implicit-sample/build/implicit-sample/implicit-sample-tmp","-hiedir","/home/sigma/.cache/hie-bios/dist-4575-haskell-language-server-3d4e49768de9ecc51a0db972ad011d7f/build/x86_64-linux/ghc-9.10.3/implicit-sample-0.1.0.0/x/implicit-sample/build/implicit-sample/implicit-sample-tmp/extra-compilation-artifacts/hie","-stubdir","/home/sigma/.cache/hie-bios/dist-4575-haskell-language-server-3d4e49768de9ecc51a0db972ad011d7f/build/x86_64-linux/ghc-9.10.3/implicit-sample-0.1.0.0/x/implicit-sample/build/implicit-sample/implicit-sample-tmp","-i","-isrc","-i/home/sigma/.cache/hie-bios/dist-4575-haskell-language-server-3d4e49768de9ecc51a0db972ad011d7f/build/x86_64-linux/ghc-9.10.3/implicit-sample-0.1.0.0/x/implicit-sample/build/implicit-sample/implicit-sample-tmp","-i/home/sigma/.cache/hie-bios/dist-4575-haskell-language-server-3d4e49768de9ecc51a0db972ad011d7f/build/x86_64-linux/ghc-9.10.3/implicit-sample-0.1.0.0/x/implicit-sample/build/implicit-sample/autogen","-i/home/sigma/.cache/hie-bios/dist-4575-haskell-language-server-3d4e49768de9ecc51a0db972ad011d7f/build/x86_64-linux/ghc-9.10.3/implicit-sample-0.1.0.0/x/implicit-sample/build/global-autogen","-I/home/sigma/.cache/hie-bios/dist-4575-haskell-language-server-3d4e49768de9ecc51a0db972ad011d7f/build/x86_64-linux/ghc-9.10.3/implicit-sample-0.1.0.0/x/implicit-sample/build/implicit-sample/autogen","-I/home/sigma/.cache/hie-bios/dist-4575-haskell-language-server-3d4e49768de9ecc51a0db972ad011d7f/build/x86_64-linux/ghc-9.10.3/implicit-sample-0.1.0.0/x/implicit-sample/build/global-autogen","-I/home/sigma/.cache/hie-bios/dist-4575-haskell-language-server-3d4e49768de9ecc51a0db972ad011d7f/build/x86_64-linux/ghc-9.10.3/implicit-sample-0.1.0.0/x/implicit-sample/build/implicit-sample/implicit-sample-tmp","-optP-include","-optP/home/sigma/.cache/hie-bios/dist-4575-haskell-language-server-3d4e49768de9ecc51a0db972ad011d7f/build/x86_64-linux/ghc-9.10.3/implicit-sample-0.1.0.0/x/implicit-sample/build/implicit-sample/autogen/cabal_macros.h","-this-unit-id","implicit-sample-0.1.0.0-inplace-implicit-sample","-hide-all-packages","-Wmissing-home-modules","-no-user-package-db","-package-db","/home/sigma/.cabal/store/ghc-9.10.3-21af/package.db","-package-db","/home/sigma/.cache/hie-bios/dist-4575-haskell-language-server-3d4e49768de9ecc51a0db972ad011d7f/packagedb/ghc-9.10.3","-package-db","/home/sigma/.cache/hie-bios/dist-4575-haskell-language-server-3d4e49768de9ecc51a0db972ad011d7f/build/x86_64-linux/ghc-9.10.3/implicit-sample-0.1.0.0/x/implicit-sample/package.conf.inplace","-package-id","base-4.20.2.0-4d66","-XGHC2021","src/Main.hs","-hide-all-packages"], componentRoot = "/home/sigma/github-haskell/4575-haskell-language-server", componentDependencies = ["implicit-sample.cabal","cabal.project","cabal.project.local"]},"/nix/store/k493jzz83044mqayvlb6247l35780kxy-ghc-9.10.3/lib/ghc-9.10.3/lib","9.10.3")
Info | Interface files cache directory: /home/sigma/.cache/ghcide/implicit-sample-0.1.0.0-inplace-implicit-sample-a342c376229bebcf4adc8b30a2d55ac10de735c7
Info | Making new HscEnv. In-place unit ids: [ implicit-sample-0.1.0.0-inplace-implicit-sample ]
Debug | New component cache HscEnvEq: (([],Just HscEnvEq 4),fromList [("/home/sigma/github-haskell/4575-haskell-language-server/cabal.project",Just 2026-10-25 01:32:51.223269 UTC),("/home/sigma/github-haskell/4575-haskell-language-server/cabal.project.local",Nothing),("/home/sigma/github-haskell/4575-haskell-language-server/implicit-sample.cabal",Just 2026-10-25 01:32:51.220268902 UTC)])
Debug | Worker starting a unit of work:  RestartTQueue
Debug | Finished build session
Info | New loaded files: [ /home/sigma/github-haskell/4575-haskell-language-server/src/Main.hs ]
Debug | Known files updated:
  fromList [(TargetFile NormalizedFilePath "/home/sigma/github-haskell/4575-haskell-language-server/src/Main.hs",fromList ["/home/sigma/github-haskell/4575-haskell-language-server/src/Main.hs"])]
Debug | Restarting build session due to new component
Action Queue: [User TypeCheck]
Keys: [GhcSessionIO; , GetKnownTargets; ]
Aborting previous build session took 0.00s
Debug | Worker ended a unit of work:  RestartTQueue
Debug | Looking up session cache for /home/sigma/github-haskell/4575-haskell-language-server/src/Main.hs
Debug | Finished: User TypeCheck Took: 0.01s
Debug | Worker starting a unit of work:  hiedb thread
Debug | Finished: GetHie Took: 0.00s
Debug | Finished: GenerateCore Took: 0.00s

Completed (1 file worked, 0 files failed)
Debug | Worker thread ending: SessionLoaderTQueue
Debug | Worker thread ended: SessionLoaderTQueue
Debug | Worker thread ending: RestartTQueue
Debug | Worker thread ended: RestartTQueue
Debug | Worker thread ending: hiedb thread
Debug | Worker thread ended: hiedb thread


Something I'd like to discuss

I kept this change minimal and would like your opinion before going further.

Should we also log the branches that did not match (e.g. "no stack.yaml found", "no .cabal file found")?

I am considering the following two options.

  • Option A: Change inferCradleTree able to log.
  • Option B: ChangeinferCradleTree return the patterns it tried along with the result, and log them from loadImplicitCradle.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@fendor

fendor commented Oct 26, 2026

Copy link
Copy Markdown
Collaborator

Hi!

I think changing inferCradleTree to log the reasons is fine.
I am wondering whether we could allow users to influence the cradle selection by using showMessageRequest 🤔
Not sure how/whether this would work, though.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Implicit cradle discovery should have an explanation

2 participants