Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 0 additions & 5 deletions .github/CODEOWNERS

This file was deleted.

30 changes: 0 additions & 30 deletions .github/TEAM_MEMBERS

This file was deleted.

23 changes: 0 additions & 23 deletions .github/VOUCHED.td

This file was deleted.

13 changes: 0 additions & 13 deletions .github/meta/commit.txt

This file was deleted.

39 changes: 0 additions & 39 deletions .github/workflows/beta.yml

This file was deleted.

2 changes: 1 addition & 1 deletion .github/workflows/opencode.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
startsWith(github.event.comment.body, '/altimate') ||
contains(github.event.comment.body, ' /ac') ||
startsWith(github.event.comment.body, '/ac')
runs-on: blacksmith-4vcpu-ubuntu-2404
runs-on: ubuntu-latest
permissions:
id-token: write
contents: read
Comment on lines 13 to 19
Copy link

Choose a reason for hiding this comment

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

Bug: A script executed during the release CI workflow (release.yml) attempts to read the deleted .github/TEAM_MEMBERS file, which will cause the release process to fail.
Severity: CRITICAL

Suggested Fix

Remove the code from packages/script/src/index.ts that reads the now-deleted .github/TEAM_MEMBERS file to prevent the runtime error in the CI release workflow.

Prompt for AI Agent
Review the code at the location below. A potential bug has been identified by an AI
agent.
Verify if this is a real issue. If it is, propose a fix; if not, explain why it's not
valid.

Location: .github/workflows/opencode.yml#L13-L19

Potential issue: The file `.github/TEAM_MEMBERS` was deleted, but the script at
`packages/script/src/index.ts` attempts to read it during module initialization. This
script is a dependency for other build and publish scripts (`build.ts`, `publish.ts`)
that are executed by the `release.yml` CI workflow. When the release workflow runs, it
will trigger the execution of these scripts, leading to a runtime error because the
required file is missing. This will cause the release pipeline to fail.

Did we get this right? 👍 / 👎 to inform future reviews.

Expand Down
66 changes: 0 additions & 66 deletions .github/workflows/pr-management.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,72 +5,6 @@ on:
types: [opened]

jobs:
check-duplicates:
runs-on: ubuntu-latest
permissions:
contents: read
pull-requests: write
steps:
- name: Checkout repository
uses: actions/checkout@v4
with:
fetch-depth: 1

- name: Check team membership
id: team-check
run: |
LOGIN=$(echo "${{ github.event.pull_request.user.login }}" | tr '[:upper:]' '[:lower:]')
if [ "$LOGIN" = "opencode-agent[bot]" ] || grep -qixF "$LOGIN" .github/TEAM_MEMBERS; then
echo "is_team=true" >> "$GITHUB_OUTPUT"
echo "Skipping: $LOGIN is a team member or bot"
else
echo "is_team=false" >> "$GITHUB_OUTPUT"
fi

- name: Setup Bun
if: steps.team-check.outputs.is_team != 'true'
uses: ./.github/actions/setup-bun

- name: Install dependencies
if: steps.team-check.outputs.is_team != 'true'
run: bun install

- name: Install altimate-code
if: steps.team-check.outputs.is_team != 'true'
run: npm install -g @altimateai/altimate-code

- name: Build prompt
if: steps.team-check.outputs.is_team != 'true'
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
PR_NUMBER: ${{ github.event.pull_request.number }}
run: |
{
echo "Check for duplicate PRs related to this new PR:"
echo ""
echo "CURRENT_PR_NUMBER: $PR_NUMBER"
echo ""
echo "Title: $(gh pr view "$PR_NUMBER" --json title --jq .title)"
echo ""
echo "Description:"
gh pr view "$PR_NUMBER" --json body --jq .body
} > pr_info.txt

- name: Check for duplicate PRs
if: steps.team-check.outputs.is_team != 'true'
env:
OPENCODE_API_KEY: ${{ secrets.OPENCODE_API_KEY }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
PR_NUMBER: ${{ github.event.pull_request.number }}
run: |
COMMENT=$(bun script/duplicate-pr.ts -f pr_info.txt "Check the attached file for PR details and search for duplicates")

if [ "$COMMENT" != "No duplicate PRs found" ]; then
gh pr comment "$PR_NUMBER" --body "_The following comment was made by an LLM, it may be inaccurate:_

$COMMENT"
fi

add-contributor-label:
runs-on: ubuntu-latest
permissions:
Expand Down
35 changes: 0 additions & 35 deletions .github/workflows/stats.yml

This file was deleted.

3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,9 @@ target
.scripts
.direnv/

# Commit message scratch files
.github/meta/

# Local dev files
opencode-dev
logs/
Expand Down
9 changes: 0 additions & 9 deletions .zed/settings.json

This file was deleted.

131 changes: 0 additions & 131 deletions FEATURES_COMPARISON.md

This file was deleted.

Loading
Loading