Skip to content

Conversation

@kujtimiihoxha
Copy link
Member

This updates the file attach behavior so that we record when a file is read and also do not attach files that have been already read and did not change

@kujtimiihoxha kujtimiihoxha requested a review from a team as a code owner January 6, 2026 13:31
@kujtimiihoxha kujtimiihoxha requested review from aymanbagabas and meowgorithm and removed request for a team January 6, 2026 13:31
this also makes sure that we do not reattach a file that did not chage
and we already read
@kujtimiihoxha kujtimiihoxha merged commit 2bdac87 into main Jan 6, 2026
15 checks passed
@kujtimiihoxha kujtimiihoxha deleted the file-attachment-fix branch January 6, 2026 14:27
Clauscomputing pushed a commit to Clauscomputing/crush that referenced this pull request Jan 7, 2026
BrunoKrugel pushed a commit to BrunoKrugel/crush that referenced this pull request Jan 7, 2026
Comment on lines +4 to +7
// TODO: Consider moving this to persistent storage (e.g., the database) to
// preserve file access history across sessions.
// We would need to make sure to handle the case where we reload a session and the underlying files did change.
package filetracker

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should this be a GitHub Issue on it's own?

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants