Skip to content

Merge main into Multiple Export Formats (resolve conflicts)#8

Draft
Copilot wants to merge 2 commits intoauto-claude/013-multiple-export-formats-csv-json-summaryfrom
copilot/sub-pr-7
Draft

Merge main into Multiple Export Formats (resolve conflicts)#8
Copilot wants to merge 2 commits intoauto-claude/013-multiple-export-formats-csv-json-summaryfrom
copilot/sub-pr-7

Conversation

Copy link

Copilot AI commented Mar 1, 2026

PR #7 had conflicts with main after it received three independent feature merges: swift-glob migration, coverage threshold gating, and the trend command.

Conflict Resolution

Package / dependency changes

  • Replaced GlobPattern with swift-glob in Package.swift and Package.resolved
  • Added Trend target definition and dependency

Collection+Glob.swift

  • import GlobPatternimport Glob

CoverageCommand.swift — merged both sides

  • Kept --format (this PR) + added --min-coverage / --max-drop and loadThresholdSettings() (from main)

CoverageTool.swift — merged both sides

  • Kept format property and format-based routing (this PR) + added thresholdSettings and validateThresholds() (from main)

GithubExport.swift — merged both sides

  • Kept CSV/JSON/Markdown format routing (this PR) + added optional validationResults parameter to createMarkDownReport (from main), passing it through to MarkdownEncoderType

MarkDownEncoder.swift

  • Updated to accept validationResults: [ThresholdValidationResult]? on all ranked/detailed/header cases, rendering threshold pass/fail indicators when present

New files pulled from main

  • Sources/Command/Trend/TrendCommand, TrendTool, TrendError, DerivedDataCommand+Helpers
  • Sources/Helper/Exporters/Charts/SVGChartGenerator, TrendChartData
  • Sources/Helper/Threshold/ThresholdValidator.swift
  • Sources/Command/Coverage/ThresholdValidator.swift
  • Sources/Shared/Config/Config+Thresholds.swift, ThresholdSettings.swift, ThresholdValidationResult.swift

Other files updated to main

App.swift, Config.swift, Config+Tool.swift, CoverageError.swift (threshold error cases), DBHandler models/repository (getLatestReport, fetch helpers, public access modifiers)


💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.

Co-authored-by: elmoritz <2924483+elmoritz@users.noreply.github.com>
Copilot AI changed the title [WIP] Fix merge conflicts for multiple export formats Merge main into Multiple Export Formats (resolve conflicts) Mar 1, 2026
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.

2 participants