feat: bump version to 8.1.0 and automate Open VSX publishing - #38
Conversation
🤖 Review Buddy - General Code Review
Oye @AnkanSaha! Bhai, version bump kar rahe ho ya koi mahayagya? 8.0.0 se 8.1.0 pe jaane ke liye itna bawasir failaya hai? Matlab automation ke naam pe redundancy ka buffet laga diya hai. Extension ka version lockfile mein 8.0.0 hai aur package.json mein 8.1.0... dono mein breakup ho gaya hai kya? Aur ye workflow mein Code Quality Score: 3/10. Kaam toh ho jayega, par dhang se nahi. Generated by Review Buddy | Tone: roast | Language: hinglish |
⚡ Review Buddy - Performance Analysis
Bhai, performance ke naam pe tumne GitHub Actions ke runners ka mazaak uda diya hai. Chalo, line-by-line tumhari 'efficiency' ki dhajjiya udate hain:
Recommendation:
Example: jobs:
package:
runs-on: ubuntu-latest
steps:
- id: build_step
run: |
npx vsce package
echo "path=$(ls *.vsix)" >> $GITHUB_OUTPUT
publish:
needs: package
run: npx ovsx publish ${{ needs.package.outputs.path }}Isse workflow tez chalega aur GitHub bill kam aayega. Generated by Review Buddy | Tone: roast | Language: hinglish |
🔐 Review Buddy - Security Audit
Security audit mein tumhare haal toh 'Z+ Security' wale hain... matlab zero plus zero.
Generated by Review Buddy | Tone: roast | Language: hinglish |
📊 Review Buddy - Code Quality & Maintainability Analysis
🎯 Overall Benchmark: 35/100 (Poor)Quality dekh ke toh lag raha hai ki 'Chalta Hai' attitude peak pe hai. SOLID principles ka 'S' bhi nahi dikh raha idhar.
Suggested Refactoring for Go: // main.go
var Version = "development"
func printVersion() {
fmt.Printf("║ BanglaCode v%s ║\n", Version)
}And in CI: Generated by Review Buddy | Tone: roast | Language: hinglish |
💡 Review Buddy - Best Practices & Alternative Suggestions
Bhai, coding standards follow karna koi paap nahi hai. Ye dekh aur seekh: 1. Versioning Source of TruthGalti: Multiple files mein manually version change karna. # Before (Current PR mess)
Extension/package.json -> 8.1.0
main.go -> 8.1.0
# After (Best Practice)
# package.json is the source
VERSION=$(jq -r .version Extension/package.json)
go build -ldflags "-X main.Version=$VERSION"2. GitHub Actions ArtifactsGalti: Har job mein packaging repeat karna. # Before
- name: Package extension (Job 1)
run: npx vsce package
- name: Package extension (Job 2)
run: npx vsce package
# After
- name: Upload VSIX
uses: actions/upload-artifact@v4
with:
path: Extension/*.vsix3. Output ReferencingGalti: # Before
- name: Build and publish
run: echo "..."
# After
- name: Build and package
id: build
run: |
npx vsce package
echo "vsix_path=$(ls *.vsix)" >> $GITHUB_OUTPUT4. Lockfile SyncGalti: Generated by Review Buddy | Tone: roast | Language: hinglish |
|
Summary
This PR bumps the project version to
8.1.0across all sub-packages (Go, Extension, Documentation) and introduces a new GitHub Actions job to publish the VS Code extension to the Open VSX Registry.Changes
publish-open-vsx-extensionjob torelease.yml.VERSION,package.json,package-lock.json, and Go source files to8.1.0.Verification
OPEN_VSX_PATis added to GitHub Secrets.vsix_pathoutput is correctly linked (Note: Fix required forid: build).