Skip to content

Comments

chore: add Dependabot config and security policy#1

Merged
Guimove merged 5 commits intomainfrom
chore/oss-setup
Feb 12, 2026
Merged

chore: add Dependabot config and security policy#1
Guimove merged 5 commits intomainfrom
chore/oss-setup

Conversation

@Guimove
Copy link
Owner

@Guimove Guimove commented Feb 12, 2026

Summary

  • Add Dependabot configuration for weekly Go module and GitHub Actions updates
  • Add SECURITY.md with responsible disclosure policy via GitHub Security Advisories

Context

Setting up the repo with standard OSS practices now that branch protection is enabled.

- Dependabot: weekly updates for Go modules and GitHub Actions
- SECURITY.md: responsible disclosure via GitHub Security Advisories
GitHub Actions runners have Go 1.25.6 — go.mod requiring 1.25.7
caused golangci-lint to fail with GOTOOLCHAIN=local.
- errcheck: handle f.Close() and resp.Body.Close() return values
- errcheck: use errWriter in markdown reporter to track write errors
- ineffassign: remove unused pct variable in prometheus collector
- unused: remove dead code (newAWSProviderForTest, queryCPURateInstant,
  queryMemoryInstant, mockProvider in orchestrator_test)
- staticcheck: suppress SA1019 for fake.NewSimpleClientset (replacement
  NewClientset requires generated apply configs not available here)
- ci: lower go directive to 1.25.0 for GitHub runner compatibility
DRY:
- Extract SumEffectiveResources() in model, remove duplicate in simulation/bfd.go

KISS:
- Remove dead http.Get call in detectBackend (result was unused)

Constants:
- Simulation thresholds: HighUtilThreshold, LowUtilThreshold,
  CriticalMemUtilThreshold, HighSpotRatio
- Prometheus: pingTimeout, defaultStep, minEffectiveCPUMillis,
  minEffectiveMemoryBytes
- AWS: defaultMaxPods, eksMaxPods

Also fixes remaining errcheck issues in inspect, pricing, orchestrator
and report/table (missed in prior lint fix commit).
@Guimove Guimove merged commit fe8175e into main Feb 12, 2026
3 checks passed
@Guimove Guimove deleted the chore/oss-setup branch February 12, 2026 10:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant