mirror of
https://github.com/gotempsh/temps.git
synced 2026-04-24 22:06:00 +03:00
[PR #14] [MERGED] fix(platform): proxy log retention, service UX improvements, vulnerability scanner filtering, and resource monitoring #18
Labels
No labels
bug
enhancement
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/temps#18
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/gotempsh/temps/pull/14
Author: @dviejokfs
Created: 2/25/2026
Status: ✅ Merged
Merged: 2/26/2026
Merged by: @dviejokfs
Base:
main← Head:fix/project-services-improvements📝 Commits (10+)
94194f7fix(services): proxy log retention, service header layout, and browse data for linked services03f3451fix(migrations): enable compression on proxy_logs before adding compression policyf7d6991fix(scanner): only report project dependency vulnerabilities, skip OS packages and embedded binariesb93c30fchore(ci): enable cargo clippy in pre-commit hooksea5cdc7feat(monitoring): add resource monitoring, status code class filter, and fix CPU stats calculation622dbb0chore(gitignore): add .env.local to ignore list2889efcdocs(changelog): add entries for proxy log retention, service UX, scanner filtering, and resource monitoring744a40efix(docs): update installation commands in README and related files to use bash instead of sh for compatibility with Ubuntu 241961472fix(web): consolidate service detail header actions into dropdown menu18c0bb6fix(web): move stop/start into dropdown danger section with confirmation dialog📊 Changes
24 files changed (+2385 additions, -101 deletions)
View changed files
📝
.gitignore(+4 -0)📝
.pre-commit-config.yaml(+6 -6)📝
CHANGELOG.md(+9 -0)📝
crates/temps-captcha-wasm/Cargo.toml(+3 -0)📝
crates/temps-captcha-wasm/pkg/temps_captcha_wasm.js(+322 -1)📝
crates/temps-captcha-wasm/pkg/temps_captcha_wasm_bg.wasm(+0 -0)📝
crates/temps-deployer/src/docker.rs(+33 -21)➕
crates/temps-migrations/src/migration/m20260225_000001_add_proxy_logs_retention.rs(+47 -0)📝
crates/temps-migrations/src/migration/mod.rs(+2 -0)📝
crates/temps-proxy/src/handler/proxy_logs.rs(+8 -0)📝
crates/temps-proxy/src/service/proxy_log_service.rs(+42 -1)📝
crates/temps-vulnerability-scanner/src/trivy.rs(+22 -0)📝
web/src/App.tsx(+1 -1)📝
web/src/api/client/types.gen.ts(+4 -0)➕
web/src/components/monitoring/EnvironmentMetricsCard.tsx(+526 -0)📝
web/src/components/monitoring/MonitoringSettings.tsx(+12 -1)➕
web/src/components/monitoring/ResourceMonitoring.tsx(+597 -0)📝
web/src/components/project/ProjectDetailSidebar.tsx(+6 -0)➕
web/src/components/project/ProjectMonitoring.tsx(+581 -0)📝
web/src/components/project/ProjectStorage.tsx(+38 -8)...and 4 more files
📄 Description
Summary
Changes
Proxy Log Retention
proxy_logshypertablecompress_segmentby = 'project_id'before adding the compression policyService Detail Header
Browse Data for Linked Services
ProjectStorage.tsx)Vulnerability Scanner Filtering
--pkg-types libraryto Trivy image scans to exclude OS-level package vulnerabilitiesgobinaryandrustbinaryresult types during parsing to skip CVEs from compiled binaries baked into Docker images (e.g., Go stdlib CVEs from a Hugo binary in a static site image)CI / Pre-commit
cargo-clippyhook in.pre-commit-config.yaml— clippy now runs on every commit touching Rust filesResource Monitoring & Proxy Stats
ResourceMonitoring,EnvironmentMetricsCard, andProjectMonitoringcomponentsstatus_code_classfilter (1xx/2xx/3xx/4xx/5xx) to proxy log stats endpointscpu_statsandprecpu_statsinstead of absolute valuesavg_response_timetofloat8for correct type handling in time bucket statsCrates Modified
temps-migrations,temps-vulnerability-scanner,temps-deployer,temps-proxy,temps-providers,temps-backup🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.