Commit Graph

129 Commits

Author SHA1 Message Date
Robin Olsen
a7b2698309 use tea model for showing server runnign and closing 2026-03-11 11:09:38 +01:00
Robin Olsen
cd46db7440 Merge pull request #45 from LazyBachelor/LPM-94
Implement task for git operation
2026-03-10 13:48:59 -07:00
Moira Daniella A Sebastian
6aa6233c76 Implement task for git operation 2026-03-10 15:00:46 +01:00
Robin Olsen
72a2e8acf5 Metrics and logs - MongoDB Submission (#43)
Adds MongoDB-backed submission for survey statistics/metrics and introduces MongoDB ObjectID-based participant/task identifiers to support upserts and linking metrics to a participant.

It introduces breaking changes to the exsisting json stat and metric files. Delete the old ones

Changes:

Add internal/storage/MongoStorage and wire pm survey submit / pm start to submit local .pm/*.json files to MongoDB.
Extend stats/metrics models to include MongoDB _id / participant_id fields and add participant ID propagation into task metrics.
Update app initialization to generate ObjectIDs for new participants and expose GetParticipantID() via StatsService.
2026-03-10 14:09:31 +01:00
Ine Maria Nilssen Aanonsen
e64950879d FIXED COMMENTS. TASK BACKLOG REFINEMENT ISSUE 2026-03-06 21:04:58 +01:00
Ine Maria Nilssen Aanonsen
68054f7409 TASK BACKLOG REFINEMENT ISSUE 2026-03-06 12:52:13 +01:00
Robin Olsen
2fc612c7c7 update coding task to align with spec and improve expetion handling 2026-03-05 12:03:13 +01:00
Robin Olsen
28add3f4dd (hotfix) simplify expetion logic 2026-03-05 11:36:09 +01:00
Robin Olsen
4a023caebb (hotfix) Align create issue task with new spec 2026-03-05 11:22:01 +01:00
Robin Olsen
7d2c00c582 update coding task for better readability 2026-03-04 17:50:24 +01:00
Robin Olsen
a907de5b94 Update cmd/pm/tasks/codingTask.go
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2026-03-04 17:33:48 +01:00
Robin Olsen
4f70142316 Update cmd/pm/tasks/codingTask.go
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2026-03-04 17:33:30 +01:00
Robin Olsen
1f51336288 Update cmd/pm/tasks/codingTask.go
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2026-03-04 17:33:18 +01:00
Robin Olsen
003fae4193 Update cmd/pm/tasks/codingTask.go
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2026-03-04 17:33:08 +01:00
Robin Olsen
f0025f8929 Update cmd/pm/tasks/codingTask.go
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2026-03-04 17:32:55 +01:00
Robin Olsen
077cbc96e8 Update cmd/pm/tasks/codingTask.go
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2026-03-04 17:32:37 +01:00
Robin Olsen
817dbc57b7 Update cmd/pm/tasks/codingTask.go
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2026-03-04 17:32:13 +01:00
Robin Olsen
c3bbcfd832 update coding task to alignt with latest iteration 2026-03-04 15:14:45 +01:00
Robin Olsen
6b1bdde561 Merge branch 'main' into Metrics-and-Logs 2026-03-04 14:32:54 +01:00
Robin Olsen
a47ff2a39b Update cmd/pm/tasks/createIssue.go
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2026-03-04 14:21:13 +01:00
Robin Olsen
81a046e935 Update cmd/pm/tasks/createIssue.go
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2026-03-04 14:20:47 +01:00
Robin Olsen
77b38692c6 align task with description
add a complete with message in case we need that
2026-03-04 14:00:35 +01:00
Robin Olsen
763f079063 refactor for separation of concern for better readabiliy and maintainability 2026-03-03 11:41:07 +01:00
Robin Olsen
e8d9f9d1b6 need this for issue id completion 2026-03-03 10:50:15 +01:00
Robin Olsen
c36599c96a reduce deps 2026-03-03 10:46:37 +01:00
Robin Olsen
5ebe95b62f add metrics to tasks 2026-03-02 23:09:49 +01:00
Robin Olsen
04191b5a97 we need app 2026-03-02 23:09:03 +01:00
Robin Olsen
cb10aeff6b (hotfix) make sure app is initialized only when we need it 2026-03-02 11:41:57 +01:00
Robin Olsen
447f97ec3e Update cmd/pm/init.go
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2026-03-01 20:54:17 +01:00
Robin Olsen
9612cb9338 refactor to make cli better and simplify the code 2026-03-01 20:42:56 +01:00
Robin Olsen
258ee4f0b0 (hotfix) make sure to use issue type and status 2026-03-01 10:39:16 +01:00
Robin Olsen
44fe0e8c46 Update cmd/survey/tasks/base.go
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2026-02-28 23:41:28 +01:00
Robin Olsen
aabce0b0b2 refactor to use app package instead of service
refactor app to be composable
2026-02-28 23:30:31 +01:00
Robin Olsen
ba4d3df669 refactor names and minimize dependencies 2026-02-28 22:17:55 +01:00
Robin Olsen
8df8e466e6 use context 2026-02-28 16:54:11 +01:00
Robin Olsen
ba0115d1bc lots of changes and reducing dependency imports 2026-02-28 16:39:50 +01:00
Robin Olsen
697b17e890 fix bug where using a issue command in the repl would crash a task 2026-02-28 11:39:05 +01:00
Robin Olsen
8cdaf93f26 add completions to survey 2026-02-28 10:44:41 +01:00
Robin Olsen
9ce9b6ee07 add it to survey config 2026-02-28 10:44:00 +01:00
Robin Olsen
d83422104b add the pm command to survey cli
use command context to store app service
2026-02-25 21:57:30 +01:00
Robin Olsen
93cd62f29b should be able to have any assignee 2026-02-25 15:44:20 +01:00
Robin Olsen
5504574746 remove extra precentage sign 2026-02-25 15:43:14 +01:00
Robin Olsen
8fad95857a Update cmd/survey/tasks/gitTask.go
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2026-02-25 15:39:53 +01:00
Robin Olsen
42c01bbf73 Update cmd/survey/runner.go
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2026-02-25 15:39:28 +01:00
Robin Olsen
5e6811da9c Update cmd/survey/tasks/gitTask.go
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2026-02-25 15:38:45 +01:00
Robin Olsen
8d6b71d1c4 add multiple new tasks, validation not implemented 2026-02-25 15:14:09 +01:00
Robin Olsen
e7b644c307 Merge remote-tracking branch 'origin/main' into LPM-77 2026-02-25 14:18:04 +01:00
Robin Olsen
cca6b2f477 Merge pull request #27 from LazyBachelor/LPM-67
Feature : Add comments
2026-02-25 05:15:21 -08:00
Moira Daniella A Sebastian
d721bba29f Fix comment commands, comments reads multiple words, fix user as author, and implemented a function to list comments 2026-02-25 13:10:42 +01:00
Robin Olsen
87bb49cc64 return error if it fails 2026-02-24 15:09:58 +01:00