-
Notifications
You must be signed in to change notification settings - Fork 0
Sabbir #12
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Sabbir #12
Changes from 3 commits
e69d6a3
f88db86
2d3f6ec
eee4fe1
42448d3
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -14,12 +14,6 @@ jobs: | |
| - name: Checkout code | ||
| uses: actions/checkout@v4 | ||
| - name: Create Release for Tag | ||
| id: release_tag | ||
| uses: actions/create-release@v1 | ||
| run: echo "TODO: we have to create a Release notes genetor CI" | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 💡 Verification agent 🧩 Analysis chainAddress YAML syntax error flagged by static analysis tools. Multiple static analysis tools (actionlint and YAMLlint) are reporting syntax errors on this line. Please verify the YAML syntax is correct. Also, there's a typo in the TODO message: "genetor" should be "generator". 🏁 Script executed: #!/bin/bash
# Verify YAML syntax of the workflow file
yamllint .github/workflows/release-tag.yaml
actionlint .github/workflows/release-tag.yamlLength of output: 654 Fix YAML syntax and typos in your release-tag workflow YAMLLint and Actionlint report multiple issues in
Please address as follows: • Add 🧰 Tools🪛 actionlint (1.7.7)17-17: could not parse as YAML: yaml: line 17: mapping values are not allowed in this context (syntax-check) 🪛 YAMLlint (1.37.1)[error] 17-17: syntax error: mapping values are not allowed here (syntax) 🤖 Prompt for AI Agents |
||
| env: | ||
| RELEASE_NOTE_WRITE: ${{ secrets.RELEASE_NOTE_WRITE }} | ||
| with: | ||
| tag_name: ${{ github.ref }} | ||
| release_name: ${{ github.ref }} | ||
| body: | | ||
| Please refer to [changelog.md](https://github.com/devlopersabbir/executeme/blob/${{ github.ref_name }}/changelog.md) for details | ||
| Original file line number | Diff line number | Diff line change | ||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| @@ -0,0 +1,2 @@ | ||||||||||||||||
| RENDERER_VITE_SERVER_BASE_URL="" | ||||||||||||||||
| RENDERER_VITE_SERVER_BASE_URL_LOCAL="http://localhost:9091" | ||||||||||||||||
|
Comment on lines
+1
to
+2
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 🛠️ Refactor suggestion Missing documentation & mismatch with code – these vars are currently dead-weight Both keys are unexplained and are not consumed because -RENDERER_VITE_SERVER_BASE_URL=""
-RENDERER_VITE_SERVER_BASE_URL_LOCAL="http://localhost:9091"
+# Remote server the desktop app talks to (leave blank to fall back to production default)
+RENDERER_VITE_SERVER_BASE_URL=""
+
+# Local dev server for `npm run dev`
+RENDERER_VITE_SERVER_BASE_URL_LOCAL="http://localhost:9091"📝 Committable suggestion
Suggested change
🤖 Prompt for AI Agents |
||||||||||||||||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,4 +1,4 @@ | ||
| singleQuote: true | ||
| semi: false | ||
| singleQuote: false | ||
| semi: true | ||
| printWidth: 100 | ||
| trailingComma: none |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,21 @@ | ||
| { | ||
| "$schema": "https://ui.shadcn.com/schema.json", | ||
| "style": "new-york", | ||
| "rsc": false, | ||
| "tsx": true, | ||
| "tailwind": { | ||
| "config": "", | ||
| "css": "src/renderer/src/assets/main.css", | ||
| "baseColor": "neutral", | ||
| "cssVariables": true, | ||
| "prefix": "" | ||
| }, | ||
| "aliases": { | ||
| "components": "src/renderer/src/components", | ||
| "utils": "src/renderer/src/lib/utils", | ||
| "ui": "src/renderer/src/components/ui", | ||
| "lib": "src/renderer/src/lib", | ||
| "hooks": "src/renderer/src/hooks" | ||
| }, | ||
| "iconLibrary": "lucide" | ||
| } |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,6 +1,8 @@ | ||
| import { resolve } from 'path' | ||
| import { defineConfig, externalizeDepsPlugin } from 'electron-vite' | ||
| import react from '@vitejs/plugin-react' | ||
| import { resolve } from "path"; | ||
| import { defineConfig, externalizeDepsPlugin } from "electron-vite"; | ||
| import react from "@vitejs/plugin-react"; | ||
| // @ts-ignore | ||
| import tailwindcss from "@tailwindcss/vite"; | ||
|
Comment on lines
+4
to
+5
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 💡 Verification agent 🧩 Analysis chainAddress TypeScript ignore directive for Tailwind CSS import. The 🏁 Script executed: #!/bin/bash
# Check if @tailwindcss/vite has proper TypeScript definitions
npm info @tailwindcss/vite
# Look for alternative import methods or type definitions
rg -A 5 -B 5 "@tailwindcss/vite" --type tsLength of output: 1508 Add TypeScript declaration for @tailwindcss/vite plugin Verified that • Create a global declaration file (e.g. declare module "@tailwindcss/vite";Ensure your • Remove the ignore directive in - // @ts-ignore
import tailwindcss from "@tailwindcss/vite";• (Optional) If you prefer project-wide suppression of missing types, enable in {
"compilerOptions": {
"skipLibCheck": true,
// …
}
}With the declaration file in place, you can safely remove 🤖 Prompt for AI Agents |
||
|
|
||
| export default defineConfig({ | ||
| main: { | ||
|
|
@@ -12,9 +14,9 @@ export default defineConfig({ | |
| renderer: { | ||
| resolve: { | ||
| alias: { | ||
| '@renderer': resolve('src/renderer/src') | ||
| "@renderer": resolve("src/renderer/src") | ||
| } | ||
| }, | ||
| plugins: [react()] | ||
| plugins: [react(), tailwindcss()] | ||
| } | ||
| }) | ||
| }); | ||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
💡 Verification agent
🧩 Analysis chain
Verify artefact globs – are outputs really emitted directly to
desktop/?Electron-builder typically emits to
dist/orout/(e.g.dist/win-unpacked/*.exe).If build scripts keep the default paths, these new patterns will upload zero files and the release job will silently succeed with an empty release.
🏁 Script executed:
Length of output: 75
To verify where the build actually writes its output, let’s inspect the workflow and any Electron Builder configuration:
🏁 Script executed:
Length of output: 2124
To confirm where Electron Builder is outputting artifacts, let’s inspect the
desktop/package.jsonbuild config:🏁 Script executed:
Length of output: 53
Fix release job artifact path globs
Electron Builder is using its default output directory (
dist/), so the currentdesktop/*.…patterns will match no files. Update thefiles:section in.github/workflows/electron-build.yaml(lines 46–55) to point atdist/(or configure Builder to usedesktop/as its output directory).• File:
.github/workflows/electron-build.yaml• Lines: 46–55
Suggested diff:
with: draft: true files: | - desktop/*.exe - desktop/*.zip - desktop/*.dmg - desktop/*.AppImage - desktop/*.snap - desktop/*.deb - desktop/*.rpm - desktop/*.tar.gz - desktop/*.yml - desktop/*.blockmap + dist/*.exe + dist/*.zip + dist/*.dmg + dist/*.AppImage + dist/*.snap + dist/*.deb + dist/*.rpm + dist/*.tar.gz + dist/*.yml + dist/*.blockmapIf you’d rather keep
desktop/, add a"directories": { "output": "desktop" }section to your Electron Builder config.📝 Committable suggestion
🤖 Prompt for AI Agents