Open
Conversation
feat: debounce every 500ms
fix debounce and env var config show update details & comments in cards
Rename package to larkstack, bump edition from 2021 to 2024, add authors/license fields, and split LICENSE into MIT + Apache-2.0.
Split single serial job into parallel fmt/clippy/test jobs, add concurrency control to cancel stale runs, and skip CI on non-Rust file changes.
Introduce a three-layer architecture (sources/ → Event → sinks/) so that adding a new source or sink requires no changes to the other layer. - Add `event.rs` with `Priority` enum and `Event` enum as the middle layer - Add `dispatch.rs` to route events to all registered sinks - Move Linear webhook models, client, and handler into `sources/linear/` - Move Lark card builders, bot client, and webhook into `sinks/lark/` - Generalize `debounce.rs` to hold `Event` instead of `Issue` - Rewrite all comments to follow rustdoc conventions (//! and ///) - Add `.claude/skills/rust-doc-comments` for reusable doc audit
Replace scattered env::var() calls with declarative LinearConfig, LarkConfig, and ServerConfig structs loaded via figment's Env provider.
- Strip emoji headings and promotional language - Cut significance inflation and copula avoidance - Simplify boldface inline-header lists - Tone down copy to be factual and direct
Introduce a `cf-worker` feature flag that compiles the same codebase as a Cloudflare Worker (wasm32-unknown-unknown cdylib). Debounce semantics are preserved via a Durable Object with alarms replacing the in-memory DebounceMap + tokio::spawn pattern. Key changes: - Restructure into lib + bin dual target - Cfg-gate config, debounce, handler, and bot modules - Decouple sinks from AppState for reuse in DO alarm handler - Add DebounceObject Durable Object implementation - Manual request dispatch in CF entry to bypass axum Handler Send bounds - Guard against simultaneous native + cf-worker feature activation - Add deployment documentation for Cloudflare Workers
Move environment variable reference to docs/configuration.md and Railway deployment steps to docs/deploy-railway.md. READMEs now serve as a concise overview with links to the detailed guides. Updated badges and descriptions to reflect Cloudflare Workers support.
AprilNEA
requested changes
Mar 2, 2026
Contributor
AprilNEA
left a comment
There was a problem hiding this comment.
use octocrab instead of building yourself
| "receive_id": chat_id, | ||
| "msg_type": "interactive", | ||
| "content": serde_json::to_string(card).unwrap_or_default(), | ||
| }); |
Contributor
6e49cbc to
1526f5d
Compare
- Introduced octocrab models for type-safe GitHub webhook handling - Replaced json!() macros with proper struct serialization refactor: introduced octocrab models for Github webhook
1526f5d to
4b07699
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.