Skip to content

YC (S26) | Open Computer History | Continuously record your company computer work, map your workflows, help you find work worth automating, and power your agents' context

automate louis v2

Louis Beaumonte823f86f2a64
diff --git a/.github/ISSUE_TEMPLATE/release-test-bounty-template.md b/.github/ISSUE_TEMPLATE/release-test-bounty-template.md
new file mode 100644
index 000000000..25da187df
--- /dev/null
+++ b/.github/ISSUE_TEMPLATE/release-test-bounty-template.md
@@ -0,0 +1,74 @@
+---
+title: Testing Bounty for Release v${{ env.VERSION }}
+assignees: ''
+---
+
+# πŸ§ͺ testing bounty for release v${{ env.VERSION }}
+
+/bounty 20
+
+## overview
+
+this is a testing bounty for screenpipe release v${{ env.VERSION }}. we're looking for thorough testing across different environments to ensure this new release works as expected.
+
+## important links
+
+- [testing guide](https://github.com/mediar-ai/screenpipe/blob/main/TESTING.md)
+- [release download](${{ env.RELEASE_URL }})
+
+## testing instructions
+
+please follow our [testing guide](https://github.com/mediar-ai/screenpipe/blob/main/TESTING.md) and focus on testing core functionality in the new release.
+
+### how to participate
+
+1. comment on this issue to claim the bounty
+2. download and install the release from the link above
+3. test the release following our testing guide
+4. report your results in this issue
+5. each valid test report will receive a $20 bounty (multiple testers welcome!)
+
+### testing requirements
+
+please include the following in your test report:
+
+- [ ] your testing environment details (os, hardware, etc.)
+- [ ] steps you followed for testing
+- [ ] results of each test with screenshots/recordings
+- [ ] any issues encountered
+- [ ] system logs if relevant
+
+## submission format
+
+### environment details
+```
+os:
+version:
+cpu:
+ram:
+other relevant details:
+```
+
+### test results checklist
+- [ ] installation successful
+- [ ] permissions granted correctly
+- [ ] recording status works
+- [ ] screen capture functions correctly
+- [ ] audio capture functions correctly
+- [ ] performance within expected parameters
+
+### evidence
+
+please attach:
+- screen recordings of your testing process
+- screenshots of important behavior
+- logs if there were issues (from ~/.screenpipe or equivalent)
+
+## bounty rules
+
+- multiple testers can receive the bounty ($20 each)
+- testing should be thorough and follow the guide
+- bounties will be paid through algora
+- test reports must be submitted within 7 days of this issue
+
+thank you for helping make screenpipe better!
diff --git a/.github/workflows/release-app.yml b/.github/workflows/release-app.yml
index d281f88c5..a8cd92538 100644
--- a/.github/workflows/release-app.yml
+++ b/.github/workflows/release-app.yml
@@ -12,6 +12,10 @@ on:
version:
description: "Version to set in Cargo.toml (required if commit_hash is provided)"
required: false
+ needs_testing:
+ description: "Whether this release needs community testing"
+ type: boolean
+ default: false
push:
branches: [main]
@@ -21,6 +25,7 @@ jobs:
outputs:
should_release: ${{ steps.check.outputs.should_release }}
should_publish: ${{ steps.check.outputs.should_publish }}
+ should_test: ${{ steps.check.outputs.should_test }}
steps:
- uses: actions/checkout@v4
with:
@@ -38,6 +43,19 @@ jobs:
else
echo "should_publish=false" >> $GITHUB_OUTPUT
fi
+
+ # Check for explicit testing or skip flags first
+ if echo "$COMMIT_MSG" | grep -q "release-app"; then
+ echo "should_test=true" >> $GITHUB_OUTPUT
+ elif echo "$COMMIT_MSG" | grep -q "release-app-skip-test"; then
+ echo "should_test=false" >> $GITHUB_OUTPUT
+ # For regular release-app (not publish), default to testing=true
+ elif echo "$COMMIT_MSG" | grep -q "release-app" && ! echo "$COMMIT_MSG" | grep -q "release-app-publish"; then
+ echo "should_test=true" >> $GITHUB_OUTPUT
+ # For manual workflow runs, use the input parameter
+ else
+ echo "should_test=${{ github.event.inputs.needs_testing }}" >> $GITHUB_OUTPUT
+ fi
generate_changelog:
needs: check_commit
@@ -609,6 +627,8 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
+ with:
+ ref: ${{ github.event.inputs.commit_hash || github.ref }}
- name: Get version from Cargo.toml
id: get_version
@@ -621,3 +641,35 @@ jobs:
with:
command: release publish ${{ secrets.CN_APP_SLUG }} ${{ env.VERSION }}
api-key: ${{ secrets.CN_API_KEY }}
+
+ - name: Create testing notification
+ if: needs.check_commit.outputs.should_test == 'true'
+ uses: actions/github-script@v6
+ with:
+ github-token: ${{ secrets.GITHUB_TOKEN }}
+ script: |
+ // Get CrabNebula release URL from environment
+ const releaseUrl = "https://web.crabnebula.cloud/mediar/screenpipe/releases";
+
+ // Create release discussion issue
+ const message = `
+ ## πŸ§ͺ testing needed for v${{ env.VERSION }}
+
+ this release needs community testing. a testing bounty issue will be created shortly.
+
+ - download the release: [crabnebula cloud](${ releaseUrl })
+ - testing guidelines: [testing.md](https://github.com/mediar-ai/screenpipe/blob/main/TESTING.md)
+
+ each tester who provides quality feedback will receive a $20 bounty through algora.
+ `;
+
+ // Create a new issue for testing discussion
+ const issue = await github.rest.issues.create({
+ owner: context.repo.owner,
+ repo: context.repo.repo,
+ title: `πŸ§ͺ Testing Discussion: v${{ env.VERSION }}`,
+ body: message,
+ labels: ['testing', 'discussion']
+ });
+
+ console.log(`Created testing discussion issue: ${issue.data.html_url}`);
diff --git a/.github/workflows/release-test-bounty.yml b/.github/workflows/release-test-bounty.yml
new file mode 100644
index 000000000..235c48400
--- /dev/null
+++ b/.github/workflows/release-test-bounty.yml
@@ -0,0 +1,71 @@
+name: Release Test Bounty
+
+on:
+ workflow_run:
+ workflows: ["Release App"]
+ types:
+ - completed
+
+jobs:
+ create-release-test-bounty:
+ runs-on: ubuntu-latest
+ if: ${{ github.event.workflow_run.conclusion == 'success' }}
+ permissions:
+ issues: write
+ contents: read
+
+ steps:
+ - name: Checkout repository
+ uses: actions/checkout@v4
+ with:
+ ref: ${{ github.event.workflow_run.head_branch }}
+
+ - name: Get version info
+ id: get_version
+ run: |
+ VERSION=$(grep '^version = ' screenpipe-app-tauri/src-tauri/Cargo.toml | sed 's/version = "\(.*\)"/\1/')
+ echo "VERSION=$VERSION" >> $GITHUB_ENV
+
+ # Check if this is a test-needed release
+ git fetch origin ${{ github.event.workflow_run.head_branch }}
+ COMMIT_MSG=$(git log -1 --pretty=%B ${{ github.event.workflow_run.head_sha }})
+ if echo "$COMMIT_MSG" | grep -q "release-app"; then
+ echo "NEED_TEST=true" >> $GITHUB_ENV
+ else
+ echo "NEED_TEST=false" >> $GITHUB_ENV
+ fi
+
+ - name: Create test bounty issue
+ if: env.NEED_TEST == 'true'
+ id: create-issue
+ uses: actions/github-script@v6
+ with:
+ github-token: ${{ secrets.GITHUB_TOKEN }}
+ script: |
+ const fs = require('fs');
+ const version = process.env.VERSION;
+ const releaseUrl = "https://web.crabnebula.cloud/mediar/screenpipe/releases";
+
+ // Read template file
+ let templateContent = fs.readFileSync('.github/ISSUE_TEMPLATE/release-test-bounty-template.md', 'utf8');
+
+ // Skip YAML frontmatter
+ const frontmatterEnd = templateContent.indexOf('---', 3) + 3;
+ templateContent = templateContent.substring(frontmatterEnd);
+
+ // Replace variables
+ const replacedContent = templateContent
+ .replace(/\$\{\{ env\.VERSION \}\}/g, version)
+ .replace(/\$\{\{ env\.RELEASE_URL \}\}/g, releaseUrl);
+
+ // Create the issue
+ const issue = await github.rest.issues.create({
+ owner: context.repo.owner,
+ repo: context.repo.repo,
+ title: `πŸ§ͺ testing bounty: release v${version}`,
+ body: replacedContent,
+ labels: ['testing', 'bounty', 'release', 'algora']
+ });
+
+ console.log(`created issue #${issue.data.number}: ${issue.data.html_url}`);
+ return issue.data.html_url;
diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md
index 79c8d9f3e..05d2d7c5e 100644
--- a/CONTRIBUTING.md
+++ b/CONTRIBUTING.md
@@ -439,3 +439,32 @@ now you can either dev screenpipe on linux or run screenpipe in the cloud that r
say πŸ‘‹ in our [public discord channel](https://discord.gg/dU9EBuw7Uq). we discuss how to bring this lib to production, help each other with contributions, personal projects or just hang out β˜•.
thank you for contributing to screen pipe! πŸŽ‰
+
+## paid testing
+
+screenpipe has an automated release testing program to ensure quality across different platforms:
+
+### how it works
+
+- regular `release-app` commits automatically setup testing bounties
+- `release-app-publish` commits skip testing by default and ship to prod immediately
+- you can explicitly control testing with these flags:
+ - `release-app-skip-test`: skip testing even for regular builds
+
+### when testing is needed
+
+consider requesting testing when:
+
+- making significant ui changes
+- changing core recording functionality
+- updating dependencies that affect major features
+- fixing critical bugs that need verification
+
+### testing workflow
+
+1. make your changes and commit with the appropriate flag
+2. github actions will automatically setup testing if needed
+3. community testers will receive bounties for testing
+4. review test reports for issues before final release
+
+see [TESTING.md](TESTING.md) for more details on the testing process.