Skip to content

Deep_Debug Fix Reverts Itself and Breaks Functionality in a Loop #216

@stevgon

Description

@stevgon

Issue:
I asked for a font file conversion app using the opentype.js library. The initial tests returned invalid files, so I requested a fix, which triggered a deep_debug session. It correctly identified that it needed to use .toArrayBuffer() instead of .toBuffer().buffer. At this point, the conversion worked perfectly.

Problem:
However, when I asked for a fix to an unrelated cosmetic issue in the UI, a new deep_debug session was triggered. While the cosmetic issue was fixed, it also ran a static analysis that incorrectly flagged .toArrayBuffer() as invalid, and reverted the code to use the old method (.toBuffer().buffer) instead.

Even though I interrupted the session as soon as I noticed the change, it was too late—the app was broken again.

Image

I then gave the instruction: "The conversion was working fine before I asked to remove the sidebar, please check the changes since then." The tool correctly found the commit and reverted the change, and the conversion worked perfectly again.

Image

However, when I attempted to apply additional cosmetic changes, the same sequence occurred: new deep_debug session, static analysis, and reversion to .toBuffer().buffer.

Image

At that point, the conversion was working again, but I had already exhausted my credits, as the deep_debug tool seems to consume them very quickly.

I plan to try recreating the app later to see if I can reproduce the issue.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions