Repository navigation
Stage CI and release artifacts from top-level dpr binaries - #169
Conversation
|
Warning Rate limit exceeded
Your organization is not enrolled in usage-based pricing. Contact your admin to enable usage-based pricing to continue reviews beyond the rate limit, or try again in 0 minutes and 9 seconds. ⌛ How to resolve this issue?After the wait time has elapsed, a review can be triggered using the We recommend that you space out your commits to avoid hitting the rate limit. 🚦 How do rate limits work?CodeRabbit enforces hourly rate limits for each developer per organization. Our paid plans have higher rate limits than the trial, open-source and free plans. In all cases, we re-allow further reviews after a brief timeout. Please see our FAQ for further information. ℹ️ Review info⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (3)
📝 WalkthroughWalkthroughThis PR introduces a new artifact staging mechanism for the CI/CD pipeline. A Bash script automatically discovers build entrypoints from top-level Changes
Estimated code review effort🎯 3 (Moderate) | ⏱️ ~22 minutes Possibly related PRs
Poem
🚥 Pre-merge checks | ✅ 3✅ Passed checks (3 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
There was a problem hiding this comment.
Actionable comments posted: 2
🤖 Prompt for all review comments with AI agents
Verify each finding against the current code and only fix it if needed.
Inline comments:
In @.github/workflows/ci.yml:
- Around line 530-531: The artifacts job runs
./.github/scripts/stage-build-artifacts.sh but never checks out the repo, so
top-level files (e.g., *.dpr) are missing and the script fails; add a checkout
step using actions/checkout (e.g., actions/checkout@v4) before the step that
runs ./ .github/scripts/stage-build-artifacts.sh so the repository files are
present when stage-build-artifacts.sh executes.
In `@docs/build-system.md`:
- Around line 253-263: The pr.yml subsection in docs/build-system.md is out of
date (still says "JS only" and omits the staged build-pr artifact and native
test/examples flow); update that subsection to match the ci.yml changes by
changing the pipeline diagram to "build → test (JS + native) → benchmark → PR
comment (comparison) → examples", update the prose for **build** to state it
"Installs FPC, compiles all binaries with --prod, stages the top-level *.dpr
binaries plus Pascal test executables and uploads them as build-pr", update
**test** to "Runs all JavaScript tests and Pascal unit tests", add an
**examples** entry describing it "Runs all example scripts from the examples/
folder", and ensure the benchmark paragraph remains accurate; also apply the
same wording/changes to AGENTS.md and README.md so all docs reflect the staged
build-pr artifact and native tests/examples flow.
🪄 Autofix (Beta)
Fix all unresolved CodeRabbit comments on this PR:
- Push a commit to this branch (recommended)
- Create a new PR with the fixes
ℹ️ Review info
⚙️ Run configuration
Configuration used: defaults
Review profile: CHILL
Plan: Pro
Run ID: 4037507d-a1da-4f46-923c-e56ce0e57241
📒 Files selected for processing (5)
.github/scripts/stage-build-artifacts.sh.github/workflows/ci.yml.github/workflows/pr.ymlAGENTS.mddocs/build-system.md
Suite Timing
Measured on ubuntu-latest x64. |
Benchmark Results263 benchmarks Interpreted: 🟢 26 improved · 🔴 120 regressed · 117 unchanged · avg -1.6% arraybuffer.js — Interp: 🟢 6, 🔴 3, 5 unch. · avg -0.1% · Bytecode: 🟢 4, 🔴 6, 4 unch. · avg -0.0%
arrays.js — Interp: 🟢 5, 🔴 6, 8 unch. · avg -0.2% · Bytecode: 🟢 14, 🔴 3, 2 unch. · avg +2.4%
async-await.js — Interp: 🔴 5, 1 unch. · avg -1.5% · Bytecode: 🟢 2, 4 unch. · avg +0.4%
classes.js — Interp: 🟢 4, 🔴 3, 24 unch. · avg -0.1% · Bytecode: 🟢 11, 🔴 3, 17 unch. · avg +3.0%
closures.js — Interp: 🟢 2, 🔴 2, 7 unch. · avg +0.1% · Bytecode: 🟢 7, 🔴 1, 3 unch. · avg +3.6%
collections.js — Interp: 🔴 10, 2 unch. · avg -5.2% · Bytecode: 🟢 2, 🔴 10 · avg -5.9%
destructuring.js — Interp: 🟢 1, 🔴 14, 7 unch. · avg -1.6% · Bytecode: 🟢 6, 🔴 4, 12 unch. · avg -0.5%
fibonacci.js — Interp: 🔴 1, 7 unch. · avg -1.0% · Bytecode: 🟢 2, 🔴 5, 1 unch. · avg -0.9%
for-of.js — Interp: 🔴 1, 6 unch. · avg -0.4% · Bytecode: 🟢 2, 5 unch. · avg +2.1%
helpers/bench-module.js — Interp: 0 · Bytecode: 0
iterators.js — Interp: 🟢 2, 🔴 2, 16 unch. · avg -0.1% · Bytecode: 🟢 14, 6 unch. · avg +3.9%
json.js — Interp: 🔴 14, 6 unch. · avg -2.8% · Bytecode: 🟢 9, 🔴 2, 9 unch. · avg +2.0%
jsx.jsx — Interp: 🔴 20, 1 unch. · avg -3.4% · Bytecode: 🟢 12, 🔴 1, 8 unch. · avg +1.9%
modules.js — Interp: 🔴 9 · avg -6.7% · Bytecode: 🟢 2, 🔴 6, 1 unch. · avg -1.8%
numbers.js — Interp: 🟢 3, 🔴 4, 4 unch. · avg -1.0% · Bytecode: 🟢 3, 🔴 4, 4 unch. · avg +2.1%
objects.js — Interp: 🟢 1, 🔴 2, 4 unch. · avg -1.4% · Bytecode: 🟢 4, 🔴 1, 2 unch. · avg +2.3%
promises.js — Interp: 🔴 8, 4 unch. · avg -1.9% · Bytecode: 🟢 9, 3 unch. · avg +3.8%
strings.js — Interp: 🔴 8, 3 unch. · avg -2.8% · Bytecode: 🟢 1, 🔴 5, 5 unch. · avg -0.7%
typed-arrays.js — Interp: 🟢 2, 🔴 8, 12 unch. · avg -1.6% · Bytecode: 🟢 7, 🔴 7, 8 unch. · avg +0.0%
Measured on ubuntu-latest x64. Benchmark ranges compare cached main-branch min/max ops/sec with the PR run; overlapping ranges are treated as unchanged noise. Percentage deltas are secondary context. |
Summary
*.dprentrypoints, with optional Pascal test executables.build/directory.tests/,benchmarks/, andexamples/.AGENTS.mdanddocs/build-system.md.Testing
ci.yml,pr.yml, and the release packaging job.build/.Summary by CodeRabbit
Chores
Documentation