Skip to content

Improvements to repository management - #16

Merged
diogoascarneiro merged 4 commits into
mainfrom
repo-management
Jul 6, 2026
Merged

Improvements to repository management#16
diogoascarneiro merged 4 commits into
mainfrom
repo-management

Conversation

@diogoascarneiro

@diogoascarneiro diogoascarneiro commented Jul 6, 2026

Copy link
Copy Markdown
Collaborator

What does this PR do?

Adds maintainer-triggered /review automation backed by the pollystellabot GitHub App. The workflow mints a scoped app installation token, runs a locked OpenCode reviewer agent, and posts PR review feedback as pollystellabot[bot].

This also fixes the Changesets release workflow command shape by moving compound commands into package scripts.

No linked issue.

Type of change

  • Bug fix
  • Feature
  • Refactor (no behavior change)
  • Documentation
  • Tests
  • CI / tooling
  • Chore

PolyStella invariants touched

  • None
  • Cache key formula
  • Translation batching / segment grouping
  • Apply-before-PUT cache write order
  • Local cache index isolation
  • Runtime bridge timing
  • URL-rewrite idempotence
  • Provider permanent vs retriable errors
  • R2 key / local path separator handling

Checklist

  • I have read CONTRIBUTING.md
  • I have added or updated tests, or this change does not need tests
  • I have added a changeset, or this change does not affect the published package
  • I have updated docs, or this change does not affect public behavior
  • pnpm test passes, or I have explained why it was not run
  • pnpm exec tsc --noEmit passes, or I have explained why it was not run
  • Docs checks/builds pass if docs or public APIs changed

AI-generated code disclosure

  • This PR includes AI-generated code - model/tool: OpenCode / gpt-5.5

Screenshots / logs / test output

  • pnpm exec prettier --check ".github/workflows/review.yml" "package.json" "pnpm-workspace.yaml"
  • YAML parse check for .github/workflows/review.yml
  • git diff --check
  • pnpm exec opencode --version1.15.7
  • pnpm test
  • pnpm exec tsc --noEmit

Move `changeset version` and `changeset publish` commands from inline workflow definitions into dedicated `release:version` and `release:publish` npm scripts in package.json for better maintainability and consistency.
@github-actions github-actions Bot added area/github GitHub workflows and repo management size/L 200-499 changed lines labels Jul 6, 2026
@cloudflare-workers-and-pages

cloudflare-workers-and-pages Bot commented Jul 6, 2026

Copy link
Copy Markdown

Deploying with  Cloudflare Workers  Cloudflare Workers

The latest updates on your project. Learn more about integrating Git with Workers.

Status Name Latest Commit Preview URL Updated (UTC)
✅ Deployment successful!
View logs
polystella-docs b2fc417 Commit Preview URL

Branch Preview URL
Jul 06 2026, 04:40 PM


- name: Install opencode
if: steps.verify-pr.outputs.exists == 'true'
run: npm install --global "opencode-ai@1.15.7"
@cloudflare-workers-and-pages

cloudflare-workers-and-pages Bot commented Jul 6, 2026

Copy link
Copy Markdown

🚀 Deploying Preview to Cloudflare 🚀

Preview Deployments by commit

Status Deployment URL Commit Updated (UTC) See this deployment's details
  • Build: Failed ❌

View logs ↗
b2fc417 2026-07-06T16:39:51.982Z View logs ↗
  • Build: Failed ❌

View logs ↗
fed01fc 2026-07-06T15:02:07.459Z View logs ↗
  • Build: Failed ❌

View logs ↗
3f44e47 2026-07-06T13:51:37.961Z View logs ↗
  • Build: Failed ❌

View logs ↗
c54f410 2026-07-06T12:32:18.666Z View logs ↗

@pkg-pr-new

pkg-pr-new Bot commented Jul 6, 2026

Copy link
Copy Markdown

Open in StackBlitz

npm i https://pkg.pr.new/@cloudflare/polystella@b2fc417

commit: b2fc417

Add Semgrep workflow to run static analysis on pull requests, pushes to main/master, manual triggers, and monthly schedule (20th of each month). Pin semgrep to v1.160.0 with caching, use ubuntu-slim runner, and set 10-minute timeout. Configure concurrency grouping to cancel in-progress runs. Pin actions/checkout to v7.0.0 and actions/cache to v5 commit hashes.
Update all references from POLLYBOT to POLYSTELLABOT in workflow secrets, environment variables, step IDs, and changeset description. Update MODEL variable reference from POLLYBOT_MODEL to POLYSTELLABOT_MODEL with same default value.
Remove `|| secrets.CF_AI_GATEWAY_*` fallback logic from CLOUDFLARE_ACCOUNT_ID, CLOUDFLARE_API_TOKEN, and CLOUDFLARE_GATEWAY_ID environment variables in the review workflow's pollystellabot step.
@diogoascarneiro

Copy link
Copy Markdown
Collaborator Author

/review

@diogoascarneiro
diogoascarneiro marked this pull request as ready for review July 6, 2026 17:09
@diogoascarneiro
diogoascarneiro merged commit 7012cd6 into main Jul 6, 2026
18 of 20 checks passed
@diogoascarneiro
diogoascarneiro deleted the repo-management branch July 6, 2026 17:09
@github-actions github-actions Bot added the review/needs-rereview New commits since last review label Jul 6, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area/github GitHub workflows and repo management review/needs-rereview New commits since last review size/L 200-499 changed lines

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants