Claude/windows tests - #3
Merged
Merged
Conversation
swift test builds, discovers, and runs on Windows (via the CodexBarLinuxTests non-macOS target), so add coverage for the new code: - WindowsSecretStorageTests (#if os(Windows)): real public-API round-trips proving encrypt-at-rest + decrypt for the config, token-accounts, and Antigravity stores (no plaintext on disk; dpapi:v1: marker present), plus plaintext->ciphertext migration. Back-fills the token-accounts and Antigravity paths that have no CLI entry point. - OpenAIDashboardScrapeIngestLinuxTests (cross-platform): snapshot build from a scrape payload, and the login/cloudflare/workspace/empty rejection paths. All 10 pass on Windows. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Add a build-windows-cli job so the Windows port is guarded by CI (it was previously build/tested only on macOS + Linux). Sets up MSVC (x64) and the Swift 6.2.1 Windows toolchain, compiles the committed sqlite3 amalgamation into a static lib (mirroring Scripts/win-build-sqlite.cmd), wires LIB/INCLUDE the way Scripts/win-build.cmd does, then `swift build --product CodexBarCLI`, `swift test` (runs the CodexBarLinuxTests target on Windows, incl. the new DPAPI + ingest suites), and a CLI smoke test. First validation happens on the next PR run. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
…UsageViewModelBuilder This update introduces a new `ProviderCost` class to represent cost-related data, including usage and limits. The `UsageData` class is updated to include a reference to `ProviderCost`. Additionally, the `UsageViewModelBuilder` is modified to handle the new cost data, allowing for the display of on-demand usage costs in the UI. The `RateWindowViewModel` is also enhanced to support optional text overrides for displaying cost information.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.