8000 pynix-lsp: the tfref hover test expects 'generated random string' and gets the random_password description · Issue #865 · nixidae/nixidae · GitHub
[go: up one dir, main page]

Skip to content

pynix-lsp: the tfref hover test expects 'generated random string' and gets the random_password description #865

Open

Description

@Lillecarl

pynix-lsp/tests/test_lsp_scenarios.py::test_hover_inside_a_tfref_string_resolves_the_cross_resource_reference fails on main 8e01cdbc, for both in_process and wire:

AssertionError: 'generated random string' not in hover contents: 'The generated random password.\n\ntype: `"string"`\n\ncomputed\n\nsensitive'

The hover resolves the reference, and the schema text it shows is the one of random_password.result, not the one the scenario expects. Either the provider schema in the pin changed its description, or the hover resolves the wrong resource type.

Reproduce in nanopynix/: pynix develop --file ./shell.nix -- pytest pynix-lsp/tests/test_lsp_scenarios.py -k tfref_string_resolves.


Assisted-By: Claude Opus 5.5

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    source: nanopynix

    Type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

      0