Skip to content

Commit 621b0ce

Browse files
chore: hardening pass — smart CI, docs
- ci: add paths-ignore for doc-only changes - docs: update changelog and readme
1 parent b8f2d4e commit 621b0ce

3 files changed

Lines changed: 20 additions & 1 deletion

File tree

.github/workflows/ci.yml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,18 @@ on:
99
push:
1010
branches: [main]
1111
tags: ["v*.*.*"]
12+
paths-ignore:
13+
- "**.md"
14+
- "docs/**"
15+
- "LICENSE"
16+
- ".gitignore"
1217
pull_request:
1318
branches: [main]
19+
paths-ignore:
20+
- "**.md"
21+
- "docs/**"
22+
- "LICENSE"
23+
- ".gitignore"
1424
workflow_dispatch:
1525

1626
concurrency:

CHANGELOG.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,15 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
77

88
## [Unreleased]
99

10+
### Changed
11+
- **Smart CI** — doc-only changes (`.md`, `docs/`, `LICENSE`, `.gitignore`) no
12+
longer trigger full build+push pipeline.
13+
- **Production Redis migrated to shared redis-ha cluster.** The deployment now
14+
uses `redis-ha-master.redis-ha.svc.cluster.local` (DB index 1) instead of a
15+
local per-namespace Redis deployment. The local redis container has been removed
16+
from the ops-fe Kustomize stack. Config changes: `REDIS_HOST`, `REDIS_DB=1`,
17+
`REDIS_PASSWORD` from `redis-ha-password` secret.
18+
1019
### Fixed — GetBulk hang from unset SNMP max-repetitions
1120
- **SNMP connections now always set a non-zero GETBULK max-repetitions.**
1221
`createConnection` (and the seed builder in `pkg/snmp`) configured `Timeout`,

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ REST API service for monitoring ZTE **C320 and C300** OLT devices via SNMP proto
2020
* [Go 1.26](https://go.dev/) - Programming language
2121
* [Chi](https://github.com/go-chi/chi/) - Lightweight HTTP router
2222
* [GoSNMP](https://github.com/gosnmp/gosnmp) - SNMP library with BulkWalk support
23-
* [Redis](https://github.com/redis/go-redis/v9) - Caching layer with background refresh
23+
* [Redis](https://github.com/redis/go-redis/v9) - Caching layer with background refresh (production: shared redis-ha cluster, DB 1)
2424
* [robfig/cron](https://github.com/robfig/cron) - Cron scheduling for power monitor
2525
* [Zap](https://github.com/uber-go/zap) - Structured JSON logger (standardized across all ISP adapters)
2626
* [Prometheus client_golang](https://github.com/prometheus/client_golang) - Metrics collection

0 commit comments

Comments
 (0)