Skip to content

Conversation

@e11sy
Copy link
Contributor

@e11sy e11sy commented Feb 9, 2026

No description provided.

neSpecc and others added 21 commits December 24, 2025 00:27
* add logs to sentry worker

* tune logs

* Update index.ts

* fix tests
…articular repetition (#499)

* Add repetitionId to event notification flow

Introduces the repetitionId field to event notification data structures and templates, allowing emails and notifications to reference specific event repetitions. Updates TypeScript interfaces, worker logic, and email templates to support and display repetitionId where applicable.

* fix grouper test
* fix sentry replay skipping

* lint code

* Update index.test.ts
Added handling for 'client_report' items in Sentry envelopes to log their internals for easier debugging of dropped events and SDK/reporting issues. Decodes payloads as needed and logs errors if decoding fails.
…g dot notation (#509)

* Initial plan

* Implement dot notation for nested objects in backtrace frame arguments

Co-authored-by: neSpecc <3684889+neSpecc@users.noreply.github.com>

* Fix empty array handling to be consistent with empty objects

Co-authored-by: neSpecc <3684889+neSpecc@users.noreply.github.com>

* Remove unrelated file changes that should not be affected by the solution

Co-authored-by: neSpecc <3684889+neSpecc@users.noreply.github.com>

---------

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: neSpecc <3684889+neSpecc@users.noreply.github.com>
* Upgrade to Node.js 24 and update TypeScript config

Update all workflows, Dockerfiles, and .nvmrc to use Node.js 24 for consistency and latest features. Enable 'moduleResolution: node' and 'skipLibCheck' in tsconfig.json to improve TypeScript compatibility and speed up builds.

* upd packages

* Update jest.setup.redis-mock.js

* Update jest.global-teardown.js

* fix tests

* Update jest.setup.redis-mock.js

* disable redis tests

* rm skip

* Update jest.config.js

* rm skips

* lint code
* Add Task Manager worker for auto GitHub issue creation

Introduces a new worker at workers/task-manager that automatically creates GitHub issues for events meeting a threshold, with daily rate limiting and atomic usage tracking. Includes environment setup, documentation, and updates @hawk.so/types to v0.5.3.

* Integrate GitHub issue creation and Copilot assignment

Added GitHubService for authenticating as a GitHub App and creating issues via the GitHub API. Implemented formatting of issue data from events, including stacktrace and source code snippets. Updated TaskManagerWorker to use real GitHub issue creation and Copilot assignment, replacing previous mocked logic. Added environment variables for GitHub App configuration and updated documentation. Included tests for issue formatting.

* Refactor GitHub key handling and improve Copilot assignment

Extracted GitHub App private key normalization to a utility for better reliability and CI compatibility. Enhanced Copilot assignment to use the GraphQL API and improved error handling. Refactored task creation flow to increment usage only after successful issue creation, updated dependencies, and fixed import paths.

* use pat

* Add delegated user OAuth support and token refresh for GitHub integration

Introduces delegated user-to-server OAuth support for GitHub App integration in the task manager worker. Adds logic for handling delegated user tokens, including automatic refresh and fallback to installation tokens, and updates environment/configuration to support GitHub App OAuth credentials. Updates dependencies to include @octokit/oauth-methods and related packages.

* Refactor GitHub issue creation and Copilot assignment

Separated GitHub issue creation and Copilot agent assignment into distinct steps. The issue is now always created using the GitHub App installation token, and Copilot is assigned afterward using a user-to-server OAuth token if enabled. Updated the TaskManagerWorker logic to reflect this change, improved error handling, and updated the event saving logic to accurately reflect Copilot assignment status.

* Update GithubService.ts

* lint code

* lint and tests

* Fix task manager env parsing and event timestamp filter

Replaces Number() with parseInt() for MAX_AUTO_TASKS_PER_DAY to ensure correct parsing. Fixes event query to filter by timestamp using connectedAt, and enables the super.start() call. Also corrects a typo in a comment in GrouperWorker.

* Update package.json

* update issue format

* lint
Co-authored-by: Peter <specc.dev@gmail.com>
* Initial plan

* Fix DataFilter to not filter UUIDs and MongoDB ObjectIds

Co-authored-by: neSpecc <3684889+neSpecc@users.noreply.github.com>

* Address code review feedback: improve UUID regex and test coverage

Co-authored-by: neSpecc <3684889+neSpecc@users.noreply.github.com>

* Fix tests to use values that would actually fail without UUID/ObjectId detection

Co-authored-by: neSpecc <3684889+neSpecc@users.noreply.github.com>

* upd version

---------

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: neSpecc <3684889+neSpecc@users.noreply.github.com>
Co-authored-by: Peter Savchenko <specc.dev@gmail.com>
* fix(grouper): filter oldPassword and newPassword in event payload

* chore: add more keys and update tests

* chore: lint fix

* fix(tests): rename sessionId to requestId in data-filter tests for clarity
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
@codex-assistant
Copy link

Please add a PR description 🙂

Respect the reviewers — a description helps others understand the changes and review them faster. Keep it short, clear, and to the point. It also serves as documentation for future reference.

The PR was moved to Draft until a description is added.

@codex-assistant codex-assistant bot marked this pull request as draft February 9, 2026 23:44
@e11sy e11sy marked this pull request as ready for review February 9, 2026 23:46
@e11sy e11sy merged commit 914c71d into stage Feb 9, 2026
8 checks passed
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.

5 participants