Skip to content

Fix import tests and improve plugin loading#246

Merged
datlechin merged 5 commits intomainfrom
fix/import-tests-and-plugin-loading
Mar 10, 2026
Merged

Fix import tests and improve plugin loading#246
datlechin merged 5 commits intomainfrom
fix/import-tests-and-plugin-loading

Conversation

@datlechin
Copy link
Copy Markdown
Collaborator

Summary

  • Fix ImportStateTests and ImportServiceStateTests that referenced stale property names (currentStatement, currentStatementIndex, totalStatements) — updated to match current ImportState struct (processedStatements, estimatedTotalStatements)
  • Move plugin bundle loading to a deferred Task at app startup instead of blocking on first view open (ConnectionFormView, ExportDialog, ImportDialog, SettingsView), eliminating ~1s delay when opening those views

Test plan

  • All 7 import-related tests pass via Xcode MCP
  • Project builds successfully
  • Verify no plugin loading delay when opening ConnectionFormView or SettingsView
  • Verify plugins are available by the time user clicks "New Connection"

@chatgpt-codex-connector
Copy link
Copy Markdown

You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard.

@datlechin datlechin merged commit c10fbe7 into main Mar 10, 2026
2 checks passed
@datlechin datlechin deleted the fix/import-tests-and-plugin-loading branch March 10, 2026 01:53
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