mirror of
https://github.com/hhftechnology/vps-monitor.git
synced 2026-04-28 03:29:55 +00:00
Multiple fixes and enhancements across the scanner, DB, tests, and docs: - Surface stream read errors immediately in grype/trivy/syft flows to avoid masking I/O failures behind exit-code messages. - Improve ringBuffer to handle non-positive capacity, preallocate buffer, and copy trailing bytes to allow GC of large backing arrays. - Use os.OpenFile with explicit flags/mode when writing log files. - Make parseIntSetting accept a per-setting default, trim and atoi the value, and return the supplied default for missing/malformed/non-positive values; update DB to pass appropriate defaults. - Introduce package-level heartbeatTickInterval (default 5s) so tests can shorten the cadence; update heartbeat tests to use a helper and assert progress behavior. - Test and test helper fixes: countingWriter, file writes check errors, additional assertions, and strengthened manager_test to exercise each env var separately. - Frontend tests updated for explicit ScannerConfig typing, rename pollInterval to pollIntervalMinutes, add onNewCVEs notification flag, and minor expectations adjustments. - README: correct docker image reference. These changes improve error visibility, resource handling, test robustness, and tighten parsing of numeric settings.
36 lines
416 B
Text
36 lines
416 B
Text
# Logs
|
|
logs
|
|
*.log
|
|
npm-debug.log*
|
|
yarn-debug.log*
|
|
yarn-error.log*
|
|
pnpm-debug.log*
|
|
lerna-debug.log*
|
|
|
|
node_modules
|
|
dist
|
|
dist-ssr
|
|
*.local
|
|
|
|
# Editor directories and files
|
|
.vscode/*
|
|
!.vscode/extensions.json
|
|
.idea
|
|
.DS_Store
|
|
*.suo
|
|
*.ntvs*
|
|
*.njsproj
|
|
*.sln
|
|
*.sw?
|
|
|
|
# Android
|
|
android/app/build/
|
|
android/.gradle/
|
|
*.keystore
|
|
!debug.keystore
|
|
google-services.json
|
|
|
|
# iOS
|
|
ios/App/Pods/
|
|
ios/App/DerivedData/
|
|
*.xcworkspace/xcuserdata/
|