Skip to content

Feat/perf upgrade#177

Merged
Kibnet merged 2 commits intomainfrom
feat/perf-upgrade
Mar 16, 2026
Merged

Feat/perf upgrade#177
Kibnet merged 2 commits intomainfrom
feat/perf-upgrade

Conversation

@Kibnet
Copy link
Owner

@Kibnet Kibnet commented Mar 16, 2026

No description provided.

…ents; change IncludeSubdirectories to false

Enhance MainWindowViewModel to initialize tab states and refactor task projections for better performance and clarity

Improve App initialization by adding logging and ensuring scheduler setup; handle reactive exceptions more gracefully

Update FileStorage to filter out non-JSON files and migration reports when retrieving tasks

Refactor FileTaskMigrator to streamline child and parent property handling; improve task migration logic and reporting

Modify ServerStorage to use Debug for error logging instead of Console

Adjust TaskStorageFactory to disable watcher during initialization for better control

Refactor UnifiedTaskStorage to improve task availability checks and migration reporting; add metadata checks for task files
- Updated test classes to replace Xunit with TUnit, changing [Fact] attributes to [Test] and adapting assertions to TUnit syntax.
- Modified assertions in StartupProjectionAndRelationsTests, TaskAvailabilityCalculationTests, TaskCompletionChangeTests, TaskMigratorTests, UnifiedTaskStorageMigrationRegressionTests, and other test files for consistency with TUnit.
- Removed Xunit package references from the project file and added TUnit package.
- Ensured all tests are asynchronous where applicable, improving performance and reliability.
@Kibnet Kibnet merged commit 460fba3 into main Mar 16, 2026
4 checks passed
@Kibnet Kibnet deleted the feat/perf-upgrade branch March 16, 2026 12:16
Copy link

@chatgpt-codex-connector chatgpt-codex-connector bot left a comment

Choose a reason for hiding this comment

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

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 7e9dbfa5df

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment on lines +456 to +457
var issues = issuesToken.ToObject<string[]>() ?? Array.Empty<string>();
return issues.Length > 0;

Choose a reason for hiding this comment

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

P1 Badge Re-run reverse-link migration when task files change

ShouldForceReverseLinkRecheck only trusts migration.report content (Version/Issues) and does not compare the report to current task files, so a clean old report can suppress migration even after tasks are replaced (for example after git pull/manual sync). In that case MigrateReverseLinks is skipped and one-sided ContainsTasks/BlocksTasks links remain unhealed, which can leave relations and availability inconsistent on startup.

Useful? React with 👍 / 👎.

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.

1 participant