-
Notifications
You must be signed in to change notification settings - Fork 20
Labels
Description
The new inlay hint feature implemented in #431 (or something related) to show when an image was last pushed appears to block other Docker DX extension completions while it is being processed and resolved.
- Editor: VS Code (Version: 1.103.2)
- Extension: Docker DX (Version: 0.16.0)
To reproduce:
- Shut down VS Code completely
- Create and open an empty
Dockerfilein VS Code - Add a
FROM <image>line (eg.FROM golang:latestorFROM php:8.3-apacheetc) and hit enter - Type the first letter of another
Dockerfilecommand on the new line (eg.ADD,CMDetc) - Observe the inline suggestion spinner for Docker in status bar
- Observe that no inline editor completion is able to be displayed for the new command
(See attached video for the reproduction steps in action)
The issue will persist until the "last pushed" message is finally returned and rendered inline in the editor (which can take a while in some instances). During this time all other edit completions provided by Docker DX are unusable.
- Are others able to reproduce this issue? And is there a way to either make this call async so that it is non-blocking or add an option to be able to disable it?
Excerpt from Docker Language Server logs:
[Trace - 19:10:35] Received response 'textDocument/inlayHint - (4)' in 17607ms.
Result: [
{
"position": {
"line": 0,
"character": 18
},
"label": "(last pushed 1 week ago)",
"textEdits": null,
"tooltip": "2025-08-25 12:23:20 AEST",
"paddingLeft": true
}
]