This is more of a starting point for discussion; I don't know JavaScript very well and parts of this were written by Claude 4.0 Sonnet. The idea is that if we have read-marker available, we can retrieve a wide range of targets, ignore any channels (they don't need to be discovered), examine nicknames for which the read marker is either out of date or nonexistent, and retrieve some backlog for those nicknames. This is a partial solution to the cold start problem for missed DMs.
implement DM history fetching from cold start #19
Open
slingamn
wants to merge 1 commit from
slingamn/gamja:coldstart.1 into master
pull from: slingamn/gamja:coldstart.1
merge into: emersion:master
emersion:master
emersion:unnecessary-const
emersion:eslint-extra
slingamn
commented 2025年06月30日 00:49:47 +02:00
This is more of a starting point for discussion; I don't know JavaScript very well and parts of this were written by Claude 4.0 Sonnet. The idea is that if we have read-marker available, we can retrieve a wide range of targets, ignore any channels (they don't need to be discovered), examine nicknames for which the read marker is either out of date or nonexistent, and retrieve some backlog for those nicknames. This is a partial solution to the cold start problem for missed DMs.
slingamn
added 1 commit 2025年06月30日 00:49:48 +02:00
implement DM history fetching from cold start
66f89a35db
All checks were successful
builds.sr.ht Job completed
All checks were successful
builds.sr.ht Job completed
This pull request can be merged automatically.
This branch is out-of-date with the base branch
You are not authorized to merge this pull request.
View command line instructions
Checkout
From your project repository, check out a new branch and test the changes.git fetch -u coldstart.1:slingamn-coldstart.1
git switch slingamn-coldstart.1
Merge
Merge the changes and update on Forgejo.Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.
git switch master
git merge --no-ff slingamn-coldstart.1
git switch slingamn-coldstart.1
git rebase master
git switch master
git merge --ff-only slingamn-coldstart.1
git switch slingamn-coldstart.1
git rebase master
git switch master
git merge --no-ff slingamn-coldstart.1
git switch master
git merge --squash slingamn-coldstart.1
git switch master
git merge --ff-only slingamn-coldstart.1
git switch master
git merge slingamn-coldstart.1
git push origin master
Sign in to join this conversation.
No reviewers
Labels
No labels
bug
enhancement
Milestone
Clear milestone
No items
No milestone
Projects
Clear projects
No items
No project
Assignees
Clear assignees
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".
No due date set.
Dependencies
No dependencies set.
Reference
emersion/gamja!19
Loading...
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "slingamn/gamja:coldstart.1"
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?