hackclub / hackclub/hackatime

Bug: Files from multiple unrelated project directories are aggregated into single session

Open
#1,682 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Ruby
Stars
204
Forks
167
Avg merge
19h 55m
Merged PRs (30d)
27

Description

## Problem Description
The extension tracks and merges files from completely different workspace folders and root directories into a single session view. Additionally, temporary files (such as VS Code system/extension files) are being logged.

## Steps to Reproduce
1. Open multiple project roots or work with different projects across editor windows.
2. Edit files in different folders (e.g., `raise-your-builder-page`, `website`, `app`).
3. Check the tracked files list in Hackatime.

## Expected Behavior
- Only files belonging to the active/selected project root should be grouped together.
- Temporary editor files (like `toolu_bdrk_..._vscode-.../content.txt`) should be ignored automatically.

## Actual Behavior
Files from distinct directories (`/raise-your-builder-page/`, `/website/`, `/app/`) and internal editor temp files appear mixed together under the same file listing.

## Screenshots
![Tracked Files Overview](https://github.com/user-attachments/assets/8758d233-383a-4e7c-bc22-e831c52e2b36)

Contributor guide

Open the contributing guide

Research direction

No implementation files or tests are named in the issue. Reproduce the problem with multiple project roots, then trace where tracked file paths are grouped into sessions and where editor temporary files enter tracking. Done means unrelated roots remain separate and temporary VS Code files are excluded.

Written by the indexing model from the issue text.

Assessment

Tech stack
ruby, vscode
Domain
developer-experience, tooling
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Active
Clarity
Mostly clear
Newbie friendliness
52/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.