screenpipe icon indicating copy to clipboard operation
screenpipe copied to clipboard

$300 - deno runtime crashes on macos when CLI is built in github action (does not happen on local builds)

Open louis030195 opened this issue 1 year ago • 9 comments

https://github.com/denoland/deno_core/issues/916

louis030195 avatar Sep 28 '24 17:09 louis030195

/bounty 400

to make this work

louis030195 avatar Sep 30 '24 21:09 louis030195

💎 $400 bounty • Screenpi.pe

Steps to solve:

  1. Start working: Comment /attempt #375 with your implementation plan
  2. Submit work: Create a pull request including /claim #375 in the PR body to claim the bounty
  3. Receive payment: 100% of the bounty is received 2-5 days post-reward. Make sure you are eligible for payouts

Thank you for contributing to mediar-ai/screenpipe!

Add a bountyShare on socials

Attempt Started (GMT+0) Solution
🔴 @urbit-pilled Oct 3, 2024, 7:49:18 AM WIP

algora-pbc[bot] avatar Sep 30 '24 21:09 algora-pbc[bot]

@louis030195 Hi, Could you upload a sample mac binary from CI?

neo773 avatar Sep 30 '24 21:09 neo773

@louis030195 Hi, Could you upload a sample mac binary from CI?

any news on this? upgraded to $300

i guess things to try:

use https://github.com/nektos/act to build in local ci

tweak pipes.rs, try to set some memory thing

anything else?

louis030195 avatar Oct 01 '24 22:10 louis030195

not sure how complex this will be yet but I'll look into it. /attempt #375

Algora profile Completed bounties Tech Active attempts Options
@urbit-pilled 6 bounties from 3 projects
Rust, JavaScript,
Python & more
Cancel attempt

urbit-pilled avatar Oct 03 '24 07:10 urbit-pilled

update: this does not seem to happen on all macos, mine crashes:

crash: 14.5, mac book pro m3 max 32 gb ram

louis030195 avatar Oct 04 '24 00:10 louis030195

@urbit-pilled

btw most reliable way to reproduce:

  • build app using the release-app.yml ci (in github runner or local runner somehow)
  • install
mkdir /tmp/rnd
echo "console.log('hi')" > /tmp/rnd/pipe.js
/Applications/screenpipe.app/Contents/MacOS/screenpipe pipe download /tmp/rnd
/Applications/screenpipe.app/Contents/MacOS/screenpipe pipe enable rnd 
/Applications/screenpipe.app/Contents/MacOS/screenpipe

louis030195 avatar Oct 04 '24 00:10 louis030195

what i tried:

  • running the built CLI before the tauri app build https://github.com/mediar-ai/screenpipe/actions/runs/11169907285 (can download CLI here)
  • it does not crash
  • when i run the CLI built into the app it does crash (eg only different is apple signing + other dark stuff idk)

louis030195 avatar Oct 04 '24 00:10 louis030195

i fxied the issue (i dont know how 😂)

louis030195 avatar Oct 04 '24 19:10 louis030195

ok, great to see that it works now

urbit-pilled avatar Oct 04 '24 21:10 urbit-pilled