Ivan Kalashnikov
356278fc87
feat: enhance migration tests for settings and operations handling
2026-01-19 14:21:09 +07:00
Ivan Kalashnikov
218e74f882
feat: implement migration of settings from misc to tasks with operation handling
2026-01-19 14:19:31 +07:00
Ivan Kalashnikov
aad5cfd892
fix: update tests to reflect current schema version 2 after migration
2026-01-19 14:18:25 +07:00
Ivan Kalashnikov
263495b8cd
feat: update migration functions to support splitting operations into multiple results
2026-01-19 13:58:27 +07:00
Ivan Kalashnikov
b3da4e4850
fix: update CURRENT_SCHEMA_VERSION to 2 for upcoming migration
2026-01-19 13:16:48 +07:00
Kuntal Das
d5b4238d17
test(focus-mode): mock focus mode config for session completion effect
2026-01-18 19:26:51 +00:00
Kuntal Das
6b2822121c
fix(focus-mode): do not auto-complete session when manual breaks enabled
2026-01-18 19:01:07 +00:00
Ivan Kalashnikov
5002bae1c0
fix: add todo comment to bump CURRENT_SCHEMA_VERSION for upcoming migration
2026-01-19 01:09:00 +07:00
Ivan Kalashnikov
773ca2514f
fix: update project and task configurations to use 'tasks' instead of 'misc' in tests
2026-01-19 01:04:59 +07:00
Ivan Kalashnikov
e8d5dff3b9
fix: update getMigrations method to accept version range parameters and fix tests
2026-01-19 01:04:29 +07:00
Ivan Kalashnikov
48148a5a27
fix: update GlobalConfigService mock to use tasks$ for add-task-bar-spec
2026-01-19 00:50:44 +07:00
Ivan Kalashnikov
9294a8b4f3
fix: replace date formatting with getDbDateStr for consistency in plugin tests
2026-01-19 00:43:02 +07:00
Ivan Kalashnikov
778ef2e31d
fix: update globalConfigServiceMock to use tasks$ instead of misc$ for consistency
2026-01-19 00:42:49 +07:00
Ivan Kalashnikov
f0e2e12984
fix: update GlobalConfigService mock to use 'tasks' instead of 'misc' for notes template
2026-01-19 00:33:32 +07:00
Ivan Kalashnikov
a27fff8a2f
fix: correct property name in GlobalConfigService from misc$ to tasks$
2026-01-19 00:29:17 +07:00
Ivan Kalashnikov
e000f2568f
fix: rename defaultTaskNoteTemplate to defaultTaskNotesTemplate for consistency
2026-01-19 00:21:47 +07:00
Ivan Kalashnikov
325e24f461
fix: revert CURRENT_SCHEMA_VERSION to 1
2026-01-19 00:03:33 +07:00
Ivan Kalashnikov
7920067fa4
fix: rename isMarkdownFormattingInNotesEnabled to isMarkdownFormattingEnabled for consistency
2026-01-18 23:51:30 +07:00
Ivan Kalashnikov
b4bdf94040
Merge remote-tracking branch 'origin/master' into task-settings
2026-01-18 23:41:19 +07:00
Ivan Kalashnikov
5540ddf5b2
fix: correct typo in isAutoMarkParentAsDone property to isAutMarkParentAsDone
2026-01-18 23:37:32 +07:00
Ivan Kalashnikov
6705033d15
feat: implement migration to move settings from MiscConfig to TasksConfig
2026-01-18 23:31:06 +07:00
Ivan Kalashnikov
2473b9698d
fix: update migration test to correctly structure migrated state with globalConfig
2026-01-18 23:30:57 +07:00
Johannes Millan
b723a63cf2
perf(e2e): reduce defensive waits after confirmed operations
...
Additional Phase 1 low-risk optimizations:
- Dialog settle waits: 500ms → 200ms (after dialog confirmed hidden)
- Sync buffer wait: 500ms → 200ms (after spinner confirmed hidden)
- Rate limit retry: 1000ms → 500ms (rare error condition)
- Setup fallback: 2000ms → 1000ms (rare app load delay)
All waits reduced come AFTER proper wait conditions, making them
very low risk. These are defensive buffers that can be safely reduced.
Expected impact: Additional 3-5s saved per test
Risk: Very low - all operations already properly verified before wait
2026-01-18 17:19:57 +01:00
Ivan Kalashnikov
d6506e95d1
refactor: rename test spec migration in format 'v1 to v2'
2026-01-18 23:18:42 +07:00
Johannes Millan
055e1959af
docs(e2e): add SuperSync test optimization results
...
Documents Phase 1 optimization results:
- 27% faster per-test execution (15.1s → 11.0s)
- 100% reduction in flaky tests (4 → 0)
- 28% faster total suite time (32min → 23min)
Includes baseline measurements and detailed change log.
2026-01-18 17:14:36 +01:00
Ivan Kalashnikov
651d5dc183
feat: add migration to move settings from MiscConfig to TasksConfig as separate file
2026-01-18 23:08:30 +07:00
Ivan Kalashnikov
f2940fd7ae
fix: remove outdated todo comment regarding schema version synchronization
2026-01-18 23:07:12 +07:00
Ivan Kalashnikov
0d6d17c103
fix: correct task confirmation field name in migration test
2026-01-18 23:06:37 +07:00
Johannes Millan
b230216e33
fix(docker): add missing shared-schema package to Dockerfile
...
The prepare script requires both plugin-api and shared-schema packages
to be available during the Docker build, but only plugin-api was being
copied into the build context. This caused the build to fail when trying
to run 'cd packages/shared-schema'.
2026-01-18 16:42:28 +01:00
Ivan Kalashnikov
fb6f7142d2
fix: update task confirmation and tray display labels for consistency across languages
2026-01-18 22:09:20 +07:00
Johannes Millan
b3ddfcbf20
perf(e2e): optimize polling intervals in helpers
...
Phase 1.4 of E2E test optimization:
- TASK_POLL_INTERVAL: 300ms → 150ms
- waitForSyncComplete() stable check: 300ms → 150ms
- waitForSyncComplete() spinner check: 200ms → 100ms
- Dialog loop polling: 200ms → 100ms
Expected impact: 5-10s saved per test (faster detection)
Risk: Low - still reasonable for network operations
2026-01-18 15:58:46 +01:00
Johannes Millan
aef7c07921
perf(e2e): reduce arbitrary delays in tests
...
Phase 1.3 of E2E test optimization:
- triggerSync(): 1000ms → 300ms initial wait
- Time tracking tests: 5000ms → 2000ms accumulation wait
- Auto-sync setup delay: 2000ms → 500ms
Expected impact: 3-8s saved per test
Risk: Very low - waits reduced but still safe for test purposes
2026-01-18 15:56:38 +01:00
Johannes Millan
8c62b87315
perf(e2e): optimize setupSuperSync() wait intervals
...
Phase 1.2 of E2E test optimization:
- Reduce toPass() intervals from [500, 1000, ...] to [200, 400, ...]
- Reduce explicit waits from 200-500ms to 100-200ms
- Faster retry polling for dialog operations
Expected impact: 5-10s saved per client setup
Risk: Low - still generous timeouts with proper retries
2026-01-18 15:54:32 +01:00
Ivan Kalashnikov
5f4e1cf24e
fix: correct task migration field names and add markdown formatting flag
2026-01-18 21:54:24 +07:00
Ivan Kalashnikov
73c9c05c32
refactor: rename task settings field
2026-01-18 21:53:16 +07:00
Johannes Millan
4c738186f3
perf(e2e): reduce post-sync settle delay from 300ms to 100ms
...
Phase 1.1 of E2E test optimization. Reduces the settle delay in
syncAndWait() since waitForSyncComplete() already polls for completion.
Expected impact: ~10-15s saved per test
Risk: Low - polling already ensures sync is complete
2026-01-18 15:52:32 +01:00
Ivan Kalashnikov
a617ff4e29
fix: update MiscConfig to mark isTurnOffMarkdown as deprecated
2026-01-18 21:50:11 +07:00
Johannes Millan
a8d154530e
ci(e2e): increase scheduled workflow timeout to 120 minutes
...
The E2E test suite has grown to 111+ spec files with an estimated
execution time of 80-100 minutes, exceeding the previous 60-minute
timeout limit. This increase prevents premature workflow termination.
2026-01-18 15:35:32 +01:00
Ivan Kalashnikov
bd2615e7d7
fix: update migration versions from 16 to 1 and 17 to 2 for consistency
2026-01-18 21:28:43 +07:00
Ivan Kalashnikov
088971d22b
refactor: update validateMigrationRegistry test comments for clarity
2026-01-18 21:14:22 +07:00
Ivan Kalashnikov
aedab573a0
test: add migration tests for moving settings from MiscConfig to TasksConfig
2026-01-18 21:10:05 +07:00
Ivan Kalashnikov
92d7d4aafe
fix: update CURRENT_SCHEMA_VERSION to 17 for new migrations
2026-01-18 21:08:31 +07:00
Ivan Kalashnikov
b565173664
feat: add migration to move settings from MiscConfig to TasksConfig
2026-01-18 21:08:19 +07:00
Ivan Kalashnikov
2b3e368315
refactor: reorder properties in TasksConfig for improved clarity
2026-01-18 20:38:09 +07:00
Ivan Kalashnikov
2937359be8
refactor: mark deprecated items in MiscConfig for future removal
2026-01-18 20:34:16 +07:00
Ivan Kalashnikov
814b1dd373
refactor: swap keys for 'isAutoMarkParentAsDone' and 'isAutoAddWorkedOnToToday' in tasks settings
2026-01-18 20:07:26 +07:00
Ivan Kalashnikov
dfd671122a
fix: conditional issue sections including and add emojis to enhance clarity in feature request template
2026-01-18 20:02:08 +07:00
Johannes Millan
6771fa77a2
17.0.0-RC.12
2026-01-18 14:00:52 +01:00
Ivan Kalashnikov
5fcd96b7b7
fix: conditionally include console output field in bug report template
2026-01-18 19:54:34 +07:00
Ivan Kalashnikov
f51edc4e9b
Merge remote-tracking branch 'origin/master' into task-settings
2026-01-18 19:43:35 +07:00