aws / aws/aws-toolkit-vscode

Generated code has unexpected "reference-tracker"

Open
#7,620 0 comments 0 reactions 0 assignees View on GitHub
bug
Dominant language
TypeScript
Stars
2k
Forks
807
Avg merge
10h 12m
Merged PRs (30d)
7

Description

## Problem

The generated code has unexpected "reference-tracker" flags. ie see the code below

```ts
const paramet0 reference-tracker>erName =
```

## Steps to reproduce the issue

In chat mode, ask to generate typescript CDK code using Sonnet 3.7.
But that's just an example prompt, that happens on all generated code

## Expected behavior

Like a few days ago, having clean generated code

## System details (run `AWS: About` and/or `Amazon Q: About`)

```
OS: Darwin arm64 24.5.0
Visual Studio Code extension host: 1.101.2
Amazon Q: 1.82.0
node: 22.15.1
electron: 35.5.1
```

Contributor guide

Open the contributing guide

Research direction

Reproduce the issue in Amazon Q chat mode by requesting TypeScript CDK code with Sonnet 3.7, then inspect the generated output for the unexpected "reference-tracker" text. Done means generated code is clean and no longer contains those flags across the reported reproduction prompts.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
devtools
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.