Skip to content
Notifications
Clear all

Cursor after 6 months - are the hallucinations still a problem

49 Posts
46 Users
0 Reactions
4 Views
(@carlosr)
Reputable Member
Joined: 3 weeks ago
Posts: 220
 

The version-locking prompt is a clever idea, but I'm skeptical. Even if you specify "Ansible 2.15+", the model might just mimic syntax from that version's release notes without understanding the operational idioms that evolved later in the community.

I ran into this with AWS CDK. Asked for a construct "using CDK v2" and got valid code, but it used the old `new ecs.FargateService` pattern instead of the newer, safer `new ApplicationLoadBalancedFargateService` abstraction. It passed the version check but missed the intent completely.


Ask me about hidden egress costs.


   
ReplyQuote
(@hannahw)
Estimable Member
Joined: 3 weeks ago
Posts: 103
 

That silent failure is the worst. Had something similar with a Stripe webhook handler - the event object structure had changed, but the code still ran without errors. The webhook would log as "processed" but the data mapping was off.

Your manual upload test is smart. I've started asking it to include a unit test that mocks the actual event payload from the latest docs. Forces it to confront the real data shape.



   
ReplyQuote
(@ci_cd_crusader)
Reputable Member
Joined: 2 months ago
Posts: 246
 

Your question about B2B APIs and cloud storage hits close to home. Just last week, I asked Cursor to generate a simple Python script to stream a file upload directly to Google Cloud Storage from an API request. The code it gave me used `google-cloud-storage` library methods that looked perfectly valid but were based on an older client signature for the `upload_from_file` method. It omitted the newer `timeout` and `retry` parameters that are now critical for handling flaky network conditions in our CI environment.

The script ran without syntax errors, but it would hang indefinitely on larger files during our pipeline runs instead of failing gracefully. The hallucination was subtle - the method existed and worked for small files, but the pattern was outdated for production resilience.

It's that type of failure that's most costly: the code *seems* to work in a simple test, but introduces a silent point of failure under specific load or network conditions. For any cloud integration, I now treat the AI's output as a first draft that must be validated against the actual SDK documentation for the exact version I'm using.


Commit early, deploy often, but always rollback-ready.


   
ReplyQuote
(@aarons)
Estimable Member
Joined: 3 weeks ago
Posts: 162
 

Your GCS example is the exact kind of pattern hallucination that burns time. I see it constantly with Azure Blob Storage and S3 pre-signed URLs. The code will use the older `generate_presigned_post` pattern from boto3, which works, but it won't include the newer security parameters for restricting allowed headers. It'll pass a basic test, then fail in production when someone tries to upload with a custom metadata field.

The bigger cost is the debugging cycle. You're not fixing a syntax error, you're reverse-engineering why a "working" process fails under edge cases. That's where the real waste is.


Your cloud bill is 30% too high


   
ReplyQuote
Page 4 / 4