Skip to content

chore: add logs for bundle uploads and in-flight modification detection - #139

Draft
mihaibuzgau wants to merge 1 commit into
mainfrom
chore/CLI-1364_add_bundle_debug
Draft

chore: add logs for bundle uploads and in-flight modification detection#139
mihaibuzgau wants to merge 1 commit into
mainfrom
chore/CLI-1364_add_bundle_debug

Conversation

@mihaibuzgau

Copy link
Copy Markdown

Description

Provide description of this PR and changes, if linked Jira ticket doesn't cover it in full.

Checklist

  • Tests added and all succeed
  • Linted
  • README.md updated, if user-facing

🚨After having merged, please update the snyk-ls and CLI go.mod to pull in latest client.

@mihaibuzgau
mihaibuzgau requested review from a team as code owners February 23, 2026 09:57
@CLAassistant

CLAassistant commented Feb 23, 2026

Copy link
Copy Markdown

CLA assistant check
All committers have signed the CLA.

@snyk-io

snyk-io Bot commented Feb 23, 2026

Copy link
Copy Markdown

Snyk checks have passed. No issues have been found so far.

Status Scanner Critical High Medium Low Total (0)
Open Source Security 0 0 0 0 0 issues
Licenses 0 0 0 0 0 issues
Code Security 0 0 0 0 0 issues

💻 Catch issues earlier using the plugins for VS Code, JetBrains IDEs, Visual Studio, and Eclipse.

Comment thread bundle/bundle.go Outdated
Comment thread bundle/bundle.go
Comment thread bundle/bundle.go Outdated
Comment thread bundle/bundle_manager.go Outdated
Comment thread bundle/bundle_manager.go
}

// Store original hash and metadata before reading file
originalHash := bundleFile.Hash

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not sure I understand the scenario. How would we already have a hash before adding the content? We should never read the same file twice, and if we do, it's a bug.

@mihaibuzgau
mihaibuzgau force-pushed the chore/CLI-1364_add_bundle_debug branch from 700ca91 to 9ec0b8f Compare February 23, 2026 10:47
@mihaibuzgau
mihaibuzgau marked this pull request as draft February 23, 2026 10:54
@mihaibuzgau
mihaibuzgau force-pushed the chore/CLI-1364_add_bundle_debug branch 2 times, most recently from 628e612 to 9039809 Compare February 23, 2026 11:32
@mihaibuzgau
mihaibuzgau force-pushed the chore/CLI-1364_add_bundle_debug branch from 9039809 to 94bdfc9 Compare February 23, 2026 15:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants