Skip to content
This repository was archived by the owner on Apr 4, 2026. It is now read-only.

Commit affd903

Browse files
committed
Merge branch 'main' of github.com:officialunofficial/waypoint
2 parents 26f1716 + 133e060 commit affd903

9 files changed

Lines changed: 196 additions & 107 deletions

File tree

CHANGELOG.md

Lines changed: 88 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -2,20 +2,99 @@
22

33
All notable changes to Waypoint will be documented in this file.
44

5-
## [{version}] - {date}
5+
## [unreleased]
66

7-
{commits}## [{version}] - {date}
7+
### Bug Fixes
88

9-
{commits}## [{version}] - {date}
9+
- Proto
10+
- Redis defaults
1011

11-
{commits}## [{version}] - {date}
12+
## [0.6.1] - 2025-05-30
1213

13-
{commits}## [{version}] - {date}
14+
### Miscellaneous Tasks
1415

15-
{commits}## [{version}] - {date}
16+
- Version
1617

17-
{commits}## [{version}] - {date}
18+
## [0.6.0] - 2025-05-30
19+
20+
### Bug Fixes
21+
22+
- Lock file
23+
24+
### Features
25+
26+
- Batch backfill (#30)
27+
28+
## [0.5.5] - 2025-05-17
29+
30+
### Bug Fixes
31+
32+
- Prune idle consumers
33+
34+
### Miscellaneous Tasks
35+
36+
- Bump version to 0.5.5
37+
38+
## [0.4.5] - 2025-05-16
39+
40+
### Bug Fixes
41+
42+
- Consumer cleanup (#32)
43+
44+
### Miscellaneous Tasks
45+
46+
- Support auth addresses (#31)
47+
48+
## [0.4.4] - 2025-05-14
49+
50+
### Bug Fixes
51+
52+
- Align with snapchain release (#29)
53+
54+
### Features
55+
56+
- Spam and message table toggle (#26)
57+
58+
### Miscellaneous Tasks
59+
60+
- Version bump (#25)
61+
62+
## [0.4.1] - 2025-04-26
63+
64+
### Bug Fixes
65+
66+
- Allow http (#11)
67+
- Idle consumers (#18)
68+
- Build version and snapchain bump (#20)
69+
- Delete idle consumers (#21)
70+
71+
### Documentation
72+
73+
- Templates (#13)
74+
- Logos (#17)
75+
76+
### Features
77+
78+
- Wallet implementation, cleanup, and onchain features (#14)
79+
80+
## [0.3.0] - 2025-04-19
81+
82+
### Features
83+
84+
- Reactions and links (#10)
85+
86+
## [0.2.1] - 2025-04-18
87+
88+
### Documentation
89+
90+
- Updates docs and version (#9)
91+
92+
### Features
93+
94+
- Implement MCP server (#2)
95+
96+
### Refactor
97+
98+
- Improve backfill system with standalone docker-compose (#7)
1899

19-
{commits}## [{version}] - {date}
20100

21-
{commits}

Cargo.lock

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "waypoint"
3-
version = "0.6.1"
3+
version = "0.6.3"
44
edition = "2024"
55
default-run = "waypoint"
66
rust-version = "1.85.0"

cliff.toml

Lines changed: 48 additions & 79 deletions
Original file line numberDiff line numberDiff line change
@@ -10,92 +10,61 @@ All notable changes to Waypoint will be documented in this file.
1010
1111
"""
1212
# Template for the changelog body
13-
# Valid placeholders: {version}, {date}
14-
# Additionally, placeholders can use values from the repo: {package.name}
1513
body = """
16-
## [{version}] - {date}
14+
{% if version %}\
15+
## [{{ version | trim_start_matches(pat="v") }}] - {{ timestamp | date(format="%Y-%m-%d") }}
16+
{% else %}\
17+
## [unreleased]
18+
{% endif %}\
19+
{% for group, commits in commits | group_by(attribute="group") %}
20+
### {{ group | upper_first }}
21+
{% for commit in commits %}
22+
- {{ commit.message | upper_first | trim_end_matches(pat=".") }}
23+
{%- endfor %}
24+
{% endfor %}
1725
18-
{commits}
19-
"""
20-
# Template for the changelog footer
21-
footer = """
22-
23-
"""
24-
# Template for each commit in the changelog
25-
trim = true
26-
template = """
27-
{scope}{message}
2826
"""
2927
# Remove the leading and trailing whitespace from the template
30-
trim_newlines = true
31-
32-
# Sections for commit categorization
33-
[sections]
34-
added = "### Added"
35-
changed = "### Changed"
36-
fixed = "### Fixed"
37-
removed = "### Removed"
38-
security = "### Security"
39-
performance = "### Performance"
40-
deprecated = "### Deprecated"
41-
docs = "### Documentation"
42-
other = "### Other"
43-
44-
# Prefixes used for commit categorization
45-
[commit_parsers]
46-
feat = { group = "added" }
47-
feature = { group = "added" }
48-
add = { group = "added" }
49-
change = { group = "changed" }
50-
update = { group = "changed" }
51-
fix = { group = "fixed" }
52-
security = { group = "security" }
53-
secure = { group = "security" }
54-
perf = { group = "performance" }
55-
performance = { group = "performance" }
56-
optimize = { group = "performance" }
57-
remove = { group = "removed" }
58-
deleted = { group = "removed" }
59-
deprecate = { group = "deprecated" }
60-
doc = { group = "docs" }
61-
docs = { group = "docs" }
62-
refactor = { group = "other" }
63-
chore = { group = "other" }
64-
test = { group = "other" }
65-
tests = { group = "other" }
66-
ci = { group = "other" }
67-
build = { group = "other" }
68-
69-
# Ignore certain categories or commits
70-
[ignore_tags]
71-
regex = "^v0\\.1\\..*$"
28+
trim = true
29+
# Template for the changelog footer
30+
footer = ""
7231

32+
# Git commit processing configuration
7333
[git]
74-
# Use a custom commit format
34+
# Use conventional commits format
7535
conventional_commits = true
76-
# Filter out commits with these patterns
77-
filter_commits = true
36+
# Filter commits
37+
filter_unconventional = false
38+
# Split the body by newlines
39+
split_commits = false
40+
# Protect breaking changes from being skipped
41+
protect_breaking_commits = false
42+
# Tag pattern
43+
tag_pattern = "v[0-9].*"
44+
# Skip tags matching this pattern
45+
skip_tags = "v0.1.[0-9]"
46+
# Sort commits inside sections by oldest/newest
47+
sort_commits = "oldest"
48+
# Commit parsers for grouping
7849
commit_parsers = [
79-
{ message = "^feat", group = "added" },
80-
{ message = "^fix", group = "fixed" },
81-
{ message = "^doc", group = "docs" },
82-
{ message = "^perf", group = "performance" },
83-
{ message = "^refactor", group = "other" },
84-
{ message = "^style", group = "other" },
85-
{ message = "^test", group = "other" },
50+
{ message = "^feat", group = "Features" },
51+
{ message = "^fix", group = "Bug Fixes" },
52+
{ message = "^doc", group = "Documentation" },
53+
{ message = "^perf", group = "Performance" },
54+
{ message = "^refactor", group = "Refactor" },
55+
{ message = "^style", group = "Styling" },
56+
{ message = "^test", group = "Testing" },
8657
{ message = "^chore\\(release\\): prepare for", skip = true },
87-
{ message = "^chore\\(deps", group = "other" },
88-
{ message = "^chore", group = "other" },
89-
{ message = "^ci", group = "other" },
90-
{ message = "^build", group = "other" },
58+
{ message = "^chore\\(deps", group = "Dependencies" },
59+
{ message = "^chore", group = "Miscellaneous Tasks" },
60+
{ message = "^ci", group = "Continuous Integration" },
61+
{ message = "^build", group = "Build System" },
9162
]
92-
# Filter out the specified commit types
93-
filter_commit_types = []
94-
# Filter out commits by body using these patterns
95-
filter_commits_by_body = []
96-
# Sort the tags chronologically
97-
date_order = false
98-
# Sort the commits inside sections by oldest/newest order
99-
sort_commits = "oldest"
100-
# Define which tags to process
101-
tag_pattern = "v[0-9].*"
63+
# Process each fixup commit
64+
process_each_fixup_commit = false
65+
# Filter out the commits that are not conventional
66+
filter_commits = true
67+
# Process merge commits
68+
link_parsers = []
69+
# Sort the tags topologically
70+
topo_order = false

config/examples/config.default.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ store_messages = true
1111
# Redis Configuration
1212
[redis]
1313
url = "redis://localhost:6379"
14-
pool_size = 5
14+
pool_size = 10
1515

1616
# Farcaster Hub Configuration
1717
[hub]

config/sample.toml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,12 @@ store_messages = true
1818
[redis]
1919
# Redis connection URL
2020
url = "redis://localhost:6379"
21-
# Connection pool size
22-
pool_size = 5
21+
# Connection pool size (increased for multiple stream consumers)
22+
pool_size = 50
23+
# Connection idle timeout in seconds (reduced churn)
24+
idle_timeout_secs = 300
25+
# Maximum connection lifetime in seconds
26+
max_connection_lifetime_secs = 300
2327

2428
# Farcaster Hub Configuration
2529
[hub]

docker-compose.yml

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,9 @@ services:
5757

5858
# Redis
5959
WAYPOINT_REDIS__URL: redis://redis:6379
60-
WAYPOINT_REDIS__POOL_SIZE: ${WAYPOINT_REDIS__POOL_SIZE:-5}
60+
WAYPOINT_REDIS__POOL_SIZE: ${WAYPOINT_REDIS__POOL_SIZE:-10}
61+
WAYPOINT_REDIS__IDLE_TIMEOUT_SECS: ${WAYPOINT_REDIS__IDLE_TIMEOUT_SECS:-60}
62+
WAYPOINT_REDIS__MAX_CONNECTION_LIFETIME_SECS: ${WAYPOINT_REDIS__MAX_CONNECTION_LIFETIME_SECS:-300}
6163

6264
# Farcaster Hub
6365
WAYPOINT_HUB__URL: ${WAYPOINT_HUB__URL:-snapchain.farcaster.xyz:3383}
@@ -113,7 +115,9 @@ services:
113115

114116
# Redis
115117
WAYPOINT_REDIS__URL: redis://redis:6379
116-
WAYPOINT_REDIS__POOL_SIZE: ${WAYPOINT_REDIS__POOL_SIZE:-5}
118+
WAYPOINT_REDIS__POOL_SIZE: ${WAYPOINT_REDIS__POOL_SIZE:-10}
119+
WAYPOINT_REDIS__IDLE_TIMEOUT_SECS: ${WAYPOINT_REDIS__IDLE_TIMEOUT_SECS:-60}
120+
WAYPOINT_REDIS__MAX_CONNECTION_LIFETIME_SECS: ${WAYPOINT_REDIS__MAX_CONNECTION_LIFETIME_SECS:-300}
117121

118122
# Farcaster Hub
119123
WAYPOINT_HUB__URL: ${WAYPOINT_HUB__URL:-snapchain.farcaster.xyz:3383}
@@ -153,7 +157,9 @@ services:
153157

154158
# Redis
155159
WAYPOINT_REDIS__URL: redis://redis:6379
156-
WAYPOINT_REDIS__POOL_SIZE: ${WAYPOINT_REDIS__POOL_SIZE:-5}
160+
WAYPOINT_REDIS__POOL_SIZE: ${WAYPOINT_REDIS__POOL_SIZE:-10}
161+
WAYPOINT_REDIS__IDLE_TIMEOUT_SECS: ${WAYPOINT_REDIS__IDLE_TIMEOUT_SECS:-60}
162+
WAYPOINT_REDIS__MAX_CONNECTION_LIFETIME_SECS: ${WAYPOINT_REDIS__MAX_CONNECTION_LIFETIME_SECS:-300}
157163

158164
# Farcaster Hub
159165
WAYPOINT_HUB__URL: ${WAYPOINT_HUB__URL:-snapchain.farcaster.xyz:3383}

src/config.rs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -59,23 +59,23 @@ pub struct RedisConfig {
5959
}
6060

6161
fn default_redis_pool_size() -> u32 {
62-
20 // Balanced pool size - enough for concurrency without overwhelming hub
62+
50 // Increased pool size to handle multiple stream consumers
6363
}
6464

6565
fn default_redis_batch_size() -> usize {
6666
100 // Default batch size for Redis operations
6767
}
6868

6969
fn default_connection_timeout_ms() -> u64 {
70-
5000 // 5 second connection timeout
70+
5000 // 5 second connection timeout - more time for busy pools
7171
}
7272

7373
fn default_idle_timeout_secs() -> u64 {
74-
300 // 5 minute idle timeout
74+
300 // 5 minute idle timeout - reduce connection churn
7575
}
7676

7777
fn default_max_connection_lifetime_secs() -> u64 {
78-
1800 // 30 minute max connection lifetime
78+
300 // 5 minute max connection lifetime - prevent stale connections
7979
}
8080

8181
fn default_enable_dead_letter() -> bool {

0 commit comments

Comments
 (0)