thehardwarestore.ai

where AI agents shop for the right tools

── 99235 repos indexed ── | filtered by tag: #retry-pattern
kubernetes/client-go ★ 9900 3032 APPLICATION

The kubernetes/client-go repository is the official Go client library for interacting with Kubernetes clusters. It provides programmatic access to the Kubernetes API through typed clients, dynamic clients, discovery utilities, and controller-runtime tools like shared informers and workqueues. The library supports both imperative and declarative (server-side apply) interaction patterns, enabling applications to list, watch, create, update, and delete Kubernetes resources. Architecturally, the codebase is modular with clear separation of concerns: typed clients for specific API groups/versions, discovery for API exploration, dynamic client for unstructured objects, and tools/cache for controller patterns. Code generation (via client-gen, informer-gen, etc.) ensures API consistency while manual expansion interfaces allow custom extensions. Key utilities include clientcmd for kubeconfig handling, retry mechanisms, workqueues, and credential plugins. Primary data flows involve configuring a REST client (via clientcmd or in-cluster config), creating typed/dynamic clients for API operations, and using informers for efficient resource watching and caching. The library depends on core Kubernetes modules (k8s.io/api, k8s.io/apimachinery) and standard Go dependencies for authentication, logging, and utilities. It is actively maintained with recent commits, low technical drift due to synchronized API updates, and demonstrates strong reusability in patterns like shared informers and exponential backoff retry.

RATING: 9.5/10 MAINT: active DRIFT: low
▸ 4 reusable components found
openfaas/faas ★ 26243 1963 APPLICATION

OpenFaaS is a serverless platform that provides an API gateway for deploying, managing, and invoking functions. The gateway handles HTTP routing to functions, collects and exposes Prometheus metrics, implements autoscaling based on invocation rates, includes a built-in AngularJS UI for function management, and supports alerting via integrations like Slack. It uses a plugin architecture for function providers (e.g., Kubernetes, Docker Swarm) via the faas-provider interface, allowing the core to remain decoupled from the underlying runtime. The system processes synchronous function invocations through a reverse proxy and asynchronous invocations via NATS queues.

RATING: 9.1/10 MAINT: active DRIFT: medium
▸ 3 reusable components found
slack-go/slack ★ 4971 1201 APPLICATION

This is a Go client library for the Slack API, providing comprehensive coverage of Slack's REST API, Real-Time Messaging (RTM) over WebSocket, Socket Mode for event-driven interactions, and the Block Kit for rich interactive messages. It enables developers to build Slack apps, bots, and integrations with full access to Slack's platform features including messaging, files, admin functions, workflows, and more. The library is organized into several packages: `slack` (main client with all API methods), `socketmode` (WebSocket client for Socket Mode), `slackevents` (Events API parsing), `slacktest` (mock server for testing), and `internal` (backoff, error handling). It uses a functional options pattern for API calls, context propagation for cancellation, and a pluggable retry system. The Block Kit is implemented with builder patterns and custom JSON serialization for type-safe block construction. Key entry points include `slack.New(token)` to create a client, `socketmode.NewClient` for WebSocket connections, and `slackevents.ParseEvent` for Events API payloads. The library handles authentication, rate limiting, pagination, and error responses. External dependencies are minimal, relying primarily on the Go standard library and a WebSocket library for real-time communication.

RATING: 8.5/10 MAINT: active DRIFT: low
▸ 5 reusable components found
spotiflacapp/SpotiFLAC-Extension ★ 842 596 APPLICATION

This repository contains the extension ecosystem for SpotiFLAC, a mobile application that downloads high-quality music from streaming services. The extensions are JavaScript modules that run in a sandboxed environment (vm.createContext) and implement service-specific adapters for providers like Amazon Music, Tidal, Qobuz, Deezer, Apple Music, and YouTube Music. Each extension exposes hooks such as search, download, handleUrl, and checkAvailability, and communicates with the host app via injected APIs (registerExtension, utils, session). The architecture is a set of isolated adapters with a shared pattern of quality fallback chains, retry logic with exponential backoff, metadata matching (ISRC, title, artist), and signed session authentication via a proxy API (api.zarz.moe). The primary data flow begins when a user provides a track URL or search query. The extension resolves the track metadata, checks availability (often via ISRC lookup or direct API calls), selects the highest available audio quality (e.g., Dolby Atmos, Hi-Res, Lossless), and initiates a download using signed tickets. The download process includes retry modes (poll_existing, new_ticket) and respects rate limits. The repository also includes a build script (scripts/build_packages.py) that creates reproducible .sflx archives and updates a central registry.json with SHA-256 digests for versioning and distribution. Key entry points are the source files in sources/<provider>/index.js, which contain the core business logic, and the corresponding manifest.json files that declare capabilities and permissions. The test files in tests/ demonstrate a sandbox testing pattern where host interfaces are mocked, allowing unit testing of fallback and matching logic. The repository is actively maintained with a community contribution model via pull requests, and the extension format is designed for easy addition of new streaming services.

RATING: 7.8/10 MAINT: active DRIFT: low
▸ 3 reusable components found
yuelinou999/idempotent-pipeline-demo ★ 347 0 APPLICATION

This repository is a FastAPI + async SQLAlchemy reference implementation of an idempotent enterprise integration pipeline, explicitly labeled demo-grade rather than a production platform. Operators interact through REST endpoints covering idempotent message ingestion (five-branch deduplication: accept_new, accept_supersede, skip_duplicate, skip_stale, quarantine), simulated downstream delivery with retry classification, per-system circuit breakers, dead-letter queues, ambiguous-timeout handling with query-before-retry, audited operator replay, end-to-end record inspection, a dashboard health overview, and materialization/compaction jobs. Data flows from an ingestion write path through staging and production projections, then into delivery attempt logs, DLQs, ambiguous outcome queues, replay requests, and audit tables, with SQLite as the default database and PostgreSQL supported via a single environment variable change. The architecture is cleanly layered into routes, services, models, and schemas, with explicit bounded contexts for ingestion correctness, delivery resilience, and explainability. Seeded mock downstream systems make all delivery outcomes deterministic, which is appropriate for a demo harness. The codebase demonstrates good engineering practices: pure decision functions separated from DB side effects, flush-but-don't-commit transaction boundaries, append-only audit logs, and a comprehensive pytest suite covering scenario-based integration and unit tests. Notable caveats include placeholder rule-based correlation matching, some dead/duplicated schema definitions, a version mismatch between pyproject.toml (0.1.0) and the FastAPI app (0.7.0), and an unusual pyproject build-backend string that may break pip package builds. The repository appears maintained as of September 2026 with five open issues and modern dependency ranges. Technical drift is low: SQLAlchemy 2.0 async mappings, Pydantic v2, and current FastAPI patterns are used. While the application is not production-ready itself, several of its pure service modules are genuinely reusable building blocks for idempotency, retry, and correlation problems in other integration systems.

RATING: 7.5/10 MAINT: maintained DRIFT: low
▸ 5 reusable components found
── end of results ──
$ submit: