Skip to content

fix bsd upload paths#1497

Closed
Akshay2191 wants to merge 677 commits intodev-v2from
bsd-upload
Closed

fix bsd upload paths#1497
Akshay2191 wants to merge 677 commits intodev-v2from
bsd-upload

Conversation

@Akshay2191
Copy link
Contributor

While doing the v2 release we found an issue while uploading the packages to Github and azure and this is a fix for that.

dhurley and others added 30 commits July 23, 2025 09:56
Fixing Unit Test failling in main branch.
* check for invalid characters in allowedDirectories when loading config

* add sanitising of allowed directories when loading configuration

* remove log

* fix lint issues

* fix test

* add check for symlinks, disallow all symlinks

* fix lint

* fix lint

* fix lint

* fix default paths

* update comment

* fix default collector config test

* return bool + error from isAllowedDirs

* fix lint

* rename tests

* remove needless logs

* fix lint warning

* refactor to remove unessessary logs

* fix lint

* fix test names

* fix test

* add unit test for isSymlink

* use require in place of assert

* update regex

* update comment

* fix unit test

* Remove symlink check

* fix unit test after merging main
* fix versioning

* get version from env var

* use VERSION
* Add direct fallback if go proxy fails

* set GOPROXY to direct in cases where secrets re not present, or the repo is a fork

* Add missing closing fi
* fix version check, and reenable perf test results upload

* fetch tags

* fetch tags

* update step title
…ults (#1206)

* add write permissions for updating badge and pushing test results

* set benchmark alert back to 175%

* set both thresholds to 150%
dhurley and others added 18 commits December 15, 2025 16:57
* fix typo in SLES path, add ubuntu questing

* fix typo in SLES path, add ubuntu questing
Merge release-3.6.1 back into main
Bumps [github/codeql-action](https://github.com/github/codeql-action) from 4.31.7 to 4.31.8.
- [Release notes](https://github.com/github/codeql-action/releases)
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)
- [Commits](github/codeql-action@cf1bb45...1b168cd)

---
updated-dependencies:
- dependency-name: github/codeql-action
  dependency-version: 4.31.8
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps [codecov/codecov-action](https://github.com/codecov/codecov-action) from 5.5.1 to 5.5.2.
- [Release notes](https://github.com/codecov/codecov-action/releases)
- [Changelog](https://github.com/codecov/codecov-action/blob/main/CHANGELOG.md)
- [Commits](codecov/codecov-action@5a10915...671740a)

---
updated-dependencies:
- dependency-name: codecov/codecov-action
  dependency-version: 5.5.2
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps [actions/cache](https://github.com/actions/cache) from 4.3.0 to 5.0.1.
- [Release notes](https://github.com/actions/cache/releases)
- [Changelog](https://github.com/actions/cache/blob/main/RELEASES.md)
- [Commits](actions/cache@0057852...9255dc7)

---
updated-dependencies:
- dependency-name: actions/cache
  dependency-version: 5.0.1
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps [github.com/shirou/gopsutil/v4](https://github.com/shirou/gopsutil) from 4.25.10 to 4.25.11.
- [Release notes](https://github.com/shirou/gopsutil/releases)
- [Commits](shirou/gopsutil@v4.25.10...v4.25.11)

---
updated-dependencies:
- dependency-name: github.com/shirou/gopsutil/v4
  dependency-version: 4.25.11
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps [github.com/spf13/cobra](https://github.com/spf13/cobra) from 1.10.1 to 1.10.2.
- [Release notes](https://github.com/spf13/cobra/releases)
- [Commits](spf13/cobra@v1.10.1...v1.10.2)

---
updated-dependencies:
- dependency-name: github.com/spf13/cobra
  dependency-version: 1.10.2
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps [actions/download-artifact](https://github.com/actions/download-artifact) from 6.0.0 to 7.0.0.
- [Release notes](https://github.com/actions/download-artifact/releases)
- [Commits](actions/download-artifact@018cc2c...37930b1)

---
updated-dependencies:
- dependency-name: actions/download-artifact
  dependency-version: 7.0.0
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from 5.0.0 to 6.0.0.
- [Release notes](https://github.com/actions/upload-artifact/releases)
- [Commits](actions/upload-artifact@330a01c...b7c566a)

---
updated-dependencies:
- dependency-name: actions/upload-artifact
  dependency-version: 6.0.0
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps [github.com/docker/docker](https://github.com/docker/docker) from 28.5.1+incompatible to 28.5.2+incompatible.
- [Release notes](https://github.com/docker/docker/releases)
- [Commits](moby/moby@v28.5.1...v28.5.2)

---
updated-dependencies:
- dependency-name: github.com/docker/docker
  dependency-version: 28.5.2+incompatible
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Merge release-3.6.2 back into main
@Akshay2191 Akshay2191 requested a review from a team as a code owner January 22, 2026 15:28
@github-actions github-actions bot added the bug Something isn't working label Jan 22, 2026
@codecov
Copy link

codecov bot commented Jan 22, 2026

Codecov Report

❌ Patch coverage is 83.67271% with 441 lines in your changes missing coverage. Please review.
⚠️ Please upload report for BASE (dev-v2@66d9d31). Learn more about missing BASE report.

Files with missing lines Patch % Lines
internal/bus/message_pipe.go 21.15% 82 Missing ⚠️
internal/datasource/config/nginx_config_parser.go 75.19% 53 Missing and 11 partials ⚠️
internal/file/file_manager_service.go 71.15% 44 Missing and 16 partials ⚠️
internal/collector/otel_collector_plugin.go 75.57% 22 Missing and 10 partials ⚠️
...collector/securityviolationsprocessor/processor.go 88.88% 20 Missing and 10 partials ⚠️
internal/file/file_operator.go 59.01% 16 Missing and 9 partials ⚠️
internal/command/command_plugin.go 52.17% 19 Missing and 3 partials ⚠️
internal/config/mapper.go 41.17% 20 Missing ⚠️
internal/config/config.go 92.72% 13 Missing and 6 partials ⚠️
internal/datasource/nginx/log_tailer.go 33.33% 9 Missing and 9 partials ⚠️
... and 12 more
Additional details and impacted files
@@            Coverage Diff            @@
##             dev-v2    #1497   +/-   ##
=========================================
  Coverage          ?   85.13%           
=========================================
  Files             ?      102           
  Lines             ?    13217           
  Branches          ?        0           
=========================================
  Hits              ?    11252           
  Misses            ?     1475           
  Partials          ?      490           
Files with missing lines Coverage Δ
internal/backoff/backoff.go 100.00% <ø> (ø)
...rnal/collector/containermetricsreceiver/factory.go 90.00% <ø> (ø)
...containermetricsreceiver/internal/config/config.go 100.00% <ø> (ø)
...icsreceiver/internal/scraper/cpuscraper/factory.go 88.88% <ø> (ø)
...internal/scraper/cpuscraper/internal/cgroup/cpu.go 84.21% <100.00%> (ø)
...icsreceiver/internal/scraper/cpuscraper/scraper.go 92.00% <100.00%> (ø)
...receiver/internal/scraper/memoryscraper/factory.go 88.88% <ø> (ø)
...llector/containermetricsreceiver/internal/utils.go 83.78% <ø> (ø)
internal/collector/factories.go 100.00% <100.00%> (ø)
internal/collector/logsgzipprocessor/processor.go 85.54% <ø> (ø)
... and 56 more

Continue to review full report in Codecov by Sentry.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 66d9d31...27b6bc5. Read the comment docs.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@Akshay2191 Akshay2191 added the v2.x Issues and Pull Requests related to the major version v2 label Jan 30, 2026
@aphralG aphralG changed the base branch from main to dev-v2 February 6, 2026 10:56
@aphralG aphralG closed this Feb 6, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working v2.x Issues and Pull Requests related to the major version v2

Projects

None yet

Development

Successfully merging this pull request may close these issues.