Skip to content

PR 11 Modifications via VSC#12

Merged
SynTechRev merged 4 commits into
masterfrom
pr-11
Apr 13, 2026
Merged

PR 11 Modifications via VSC#12
SynTechRev merged 4 commits into
masterfrom
pr-11

Conversation

@SynTechRev
Copy link
Copy Markdown
Owner

Modifications were made and implemented for tagging pre-release along with all other necessary changes before completion.

Copilot AI and others added 2 commits April 13, 2026 05:43
…orkflows and docs

- Add desktop/resources/icon.png (512x512), icon.ico (multi-size), icon.icns (multi-size)
- Fix package.json: set artifactName per platform, remove hardcoded mac arch
- Update release-desktop.yml: split macOS into x64 (macos-13) and arm64 (macos-latest) runners, upgrade to action-gh-release@v2, use platform-specific build commands
- Update desktop-build.yml: split macOS build job into x64 and arm64
- Update README.md: accurate download table (4 platforms), correct direct download links
- Update desktop/README.md: separate macOS arm64/x64 entries, per-arch build commands

Agent-Logs-Url: https://github.com/SynTechRev/ODIA/sessions/7469ac40-b9fa-41ff-9ec2-0542dc809e3a

Co-authored-by: SynTechRev <235390103+SynTechRev@users.noreply.github.com>
- Bump version to 2.1.1 in pyproject.toml
- Add CHANGELOG entry for v2.1.1 (desktop icons, macOS multi-arch build fixes, CI workflow updates)
- Mark integration tests in test_automated_audit.py as skip (data-dependent, timeout on resource-constrained systems)
Copilot AI review requested due to automatic review settings April 13, 2026 17:37
@SynTechRev SynTechRev marked this pull request as draft April 13, 2026 17:39
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR prepares the repo for a 2.1.1 patch release focused on desktop packaging improvements (multi-arch macOS builds, icon assets) and release automation adjustments.

Changes:

  • Update desktop CI/release workflows to build and upload separate macOS x64 and arm64 DMGs.
  • Add desktop app icon assets for Windows/macOS/Linux and configure per-platform artifact naming.
  • Mark long-running/data-dependent automated audit tests as skipped to avoid CI timeouts.

Reviewed changes

Copilot reviewed 8 out of 11 changed files in this pull request and generated 3 comments.

Show a summary per file
File Description
tests/test_automated_audit.py Skips subprocess/data-dependent audit integration tests.
pyproject.toml Bumps Python project version to 2.1.1.
desktop/resources/icon.png Adds Linux icon asset.
desktop/resources/icon.ico Adds Windows icon asset.
desktop/resources/icon.icns Adds macOS icon asset.
desktop/package.json Sets per-platform artifactName, removes hardcoded mac arch config.
desktop/README.md Documents separate macOS arm64/x64 installer names and build commands.
README.md Updates download table to list separate macOS arm64/x64 artifacts.
CHANGELOG.md Adds 2.1.1 entry describing packaging/workflow fixes.
.github/workflows/release-desktop.yml Splits macOS builds by arch; uploads per-platform artifact globs; updates GH release action to v2.
.github/workflows/desktop-build.yml Splits macOS builds by arch; adjusts artifact naming and backend build step dependency install.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread desktop/package.json
Comment on lines +65 to 77
"icon": "resources/icon.ico",
"artifactName": "${productName}-Setup-${version}.${ext}"
},
"mac": {
"target": [
{
"target": "dmg",
"arch": ["x64", "arm64"]
"target": "dmg"
}
],
"icon": "resources/icon.icns",
"category": "public.app-category.productivity"
"category": "public.app-category.productivity",
"artifactName": "${productName}-${version}-${arch}.${ext}"
},
Copy link

Copilot AI Apr 13, 2026

Choose a reason for hiding this comment

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

The new per-platform artifactName values rely on ${version}, which comes from desktop/package.json's version field. In this PR the repo version is bumped to 2.1.1, but the desktop package.json still reports 2.1.0, so release artifacts may be named with the wrong version and not match the release tag/expectations. Align the desktop app version with the tag/pyproject version (or explicitly inject the tag version into electron-builder) so filenames and release uploads stay consistent.

Copilot uses AI. Check for mistakes.
Comment on lines 114 to 120
if: startsWith(github.ref, 'refs/tags/v')
uses: softprops/action-gh-release@v1
uses: softprops/action-gh-release@v2
with:
files: desktop/dist/*
files: desktop/dist/${{ matrix.artifact }}
draft: false
prerelease: false
generate_release_notes: true
Copy link

Copilot AI Apr 13, 2026

Choose a reason for hiding this comment

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

This workflow still forces prerelease: false. The PR description mentions tagging pre-releases; if pre-release tags (e.g. v2.1.1-rc.1) are expected, consider setting prerelease dynamically based on the tag name and/or expanding the tag trigger pattern so pre-release tags are included.

Copilot uses AI. Check for mistakes.
Comment thread README.md
Comment on lines 27 to 36
| **Windows** | `ODIA-Setup-2.1.0.exe` | x64 |
| **macOS** | `ODIA-2.1.0.dmg` | x64, arm64 (Universal) |
| **macOS (Apple Silicon)** | `ODIA-2.1.0-arm64.dmg` | arm64 (M1/M2/M3/M4) |
| **macOS (Intel)** | `ODIA-2.1.0-x64.dmg` | x64 |
| **Linux** | `ODIA-2.1.0.AppImage` | x64 |

**Direct download links (after v2.1.0 release):**
- [Windows x64](https://github.com/SynTechRev/ODIA/releases/download/v2.1.0/ODIA-Setup-2.1.0.exe)
- [macOS Universal](https://github.com/SynTechRev/ODIA/releases/download/v2.1.0/ODIA-2.1.0.dmg)
- [macOS Apple Silicon (arm64)](https://github.com/SynTechRev/ODIA/releases/download/v2.1.0/ODIA-2.1.0-arm64.dmg)
- [macOS Intel (x64)](https://github.com/SynTechRev/ODIA/releases/download/v2.1.0/ODIA-2.1.0-x64.dmg)
- [Linux AppImage](https://github.com/SynTechRev/ODIA/releases/download/v2.1.0/ODIA-2.1.0.AppImage)
Copy link

Copilot AI Apr 13, 2026

Choose a reason for hiding this comment

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

README hardcodes v2.1.0 in the installer filenames and direct download links, but this PR bumps the project version to 2.1.1. This will be stale/misleading for the next release; either update these references to 2.1.1 (including the /download/v2.1.1/ URLs) or switch the table/links to version placeholders and point users to the /releases/latest assets list.

Copilot uses AI. Check for mistakes.
@SynTechRev SynTechRev self-assigned this Apr 13, 2026
@SynTechRev SynTechRev marked this pull request as ready for review April 13, 2026 18:12
@SynTechRev SynTechRev merged commit 4a1f16e into master Apr 13, 2026
17 checks passed
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.

3 participants