Skip to content

Fix space issue in some of the CI workflows - #2332

Merged
findolor merged 3 commits into
mainfrom
fix-ci
Nov 25, 2025
Merged

Fix space issue in some of the CI workflows#2332
findolor merged 3 commits into
mainfrom
fix-ci

Conversation

@findolor

@findolor findolor commented Nov 25, 2025

Copy link
Copy Markdown
Collaborator

Motivation

We were getting space issues on some of the workflows. This we are aims to fix that.

Solution

  • Add a new prep script built for webapp
  • Update some of the workflows to run the new prep script

Checks

By submitting this for review, I'm confirming I've done the following:

  • made this PR as small as possible
  • unit-tested any new functionality
  • linked any relevant issues or PRs
  • included screenshots (if this involves a front-end change)

Summary by CodeRabbit

  • Chores
    • Optimized CI/CD pipeline by updating preparation scripts across test, preview, and production deployment workflows.

✏️ Tip: You can customize this high-level summary in your review settings.

@findolor
findolor requested review from 0xgleb and hardyjosh November 25, 2025 12:08
@findolor findolor self-assigned this Nov 25, 2025
@coderabbitai

coderabbitai Bot commented Nov 25, 2025

Copy link
Copy Markdown
Contributor

Walkthrough

The PR replaces the prep-all.sh preparation script with prep-webapp.sh across five GitHub Actions workflow files. A new shell script prep-webapp.sh is added with strict error handling that calls prep-base.sh, builds packages using nix develop, sets locale variables, and displays completion feedback. The REUSE.toml file is updated to track the new script.

Changes

Cohort / File(s) Change Summary
Workflow Script Replacement
.github/workflows/test-ui-components.yaml, .github/workflows/test-webapp.yaml, .github/workflows/vercel-preview-pr-target.yaml, .github/workflows/vercel-preview.yaml, .github/workflows/vercel-prod.yaml
Replace prep-all.sh invocation with prep-webapp.sh in pre-build/pre-test preparation steps across five workflows
New Preparation Script
prep-webapp.sh
Add new shell script with strict error handling (set -euxo pipefail) that sources environment variables, calls prep-base.sh, builds packages via nix develop, configures locale, and displays stylized completion message
Annotations Configuration
REUSE.toml
Add prep-webapp.sh to tracked annotations file list

Estimated code review effort

🎯 2 (Simple) | ⏱️ ~10 minutes

  • Five workflow file changes follow the same homogeneous replacement pattern (identical modifications across multiple files)
  • New shell script is straightforward with clear command sequencing and standard error handling practices
  • Consider verifying that prep-webapp.sh maintains feature parity with the prep-all.sh it replaces, particularly for environment variable handling and build requirements

Possibly related PRs

  • mod prep scripts #2289: Modifies CI prep scripts by adding prep-base.sh and simplifying prep-all.sh, directly related to the new prep-webapp.sh structure
  • fix npm release issue #2288: Replaces prep-all.sh usage with alternative nix-based preparation commands in workflow steps
  • fix CI issues #2283: Modifies CI workflow prep scripts to optimize when heavy builds are invoked

Suggested labels

bug

Suggested reviewers

  • hardyjosh
  • 0xgleb

Pre-merge checks and finishing touches

✅ Passed checks (3 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title 'Fix space issue in some of the CI workflows' refers to the changes but is vague about what 'space issue' means; however, it accurately describes that CI workflows are being modified to address a space-related problem.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
✨ Finishing touches
  • 📝 Generate docstrings
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment
  • Commit unit tests in branch fix-ci

Comment @coderabbitai help to get the list of available commands and usage tips.

@findolor findolor changed the title Fix CI workflows Fix space issue in some of the CI workflows Nov 25, 2025

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Actionable comments posted: 2

📜 Review details

Configuration used: CodeRabbit UI

Review profile: ASSERTIVE

Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between 2a4d72d and a2f748a.

📒 Files selected for processing (7)
  • .github/workflows/test-ui-components.yaml (1 hunks)
  • .github/workflows/test-webapp.yaml (1 hunks)
  • .github/workflows/vercel-preview-pr-target.yaml (1 hunks)
  • .github/workflows/vercel-preview.yaml (1 hunks)
  • .github/workflows/vercel-prod.yaml (1 hunks)
  • REUSE.toml (1 hunks)
  • prep-webapp.sh (1 hunks)
🧰 Additional context used
🧠 Learnings (3)
📓 Common learnings
Learnt from: rouzwelt
Repo: rainlanguage/rain.orderbook PR: 0
File: :0-0
Timestamp: 2025-05-21T21:26:31.566Z
Learning: For PR #1884 and future PRs in rainlanguage/rain.orderbook repository, provide PR size reports in a separate comment with ONLY the exact format "TOTAL=number\nADDITIONS=number\nDELETIONS=number", without any additional text or explanation. Reports should exclude irrelevant files such as lock files (package-lock.json, yarn.lock, pnpm-lock.yaml, cargo.lock).
Learnt from: rouzwelt
Repo: rainlanguage/rain.orderbook PR: 0
File: :0-0
Timestamp: 2025-05-21T23:09:27.578Z
Learning: For PR #1884 in rainlanguage/rain.orderbook repository, I must always reassess the PR size after each new commit, calculating the total changes up to the very latest commit and ensuring accuracy of the report. The calculation must exclude lock files (package-lock.json, yarn.lock, pnpm-lock.yaml, cargo.lock) and report in the exact format "TOTAL=number\nADDITIONS=number\nDELETIONS=number".
Learnt from: rouzwelt
Repo: rainlanguage/rain.orderbook PR: 0
File: :0-0
Timestamp: 2025-05-21T22:14:22.646Z
Learning: For PR #1884 in rainlanguage/rain.orderbook, I must consistently report the PR size after EVERY new commit in the exact format "TOTAL=number\nADDITIONS=number\nDELETIONS=number" without any additional text or formatting blocks. The report must exclude lock files (package-lock.json, yarn.lock, pnpm-lock.yaml, cargo.lock) and can be included either as part of the review or as a separate comment.
Learnt from: rouzwelt
Repo: rainlanguage/rain.orderbook PR: 0
File: :0-0
Timestamp: 2025-05-21T22:14:22.646Z
Learning: For PR #1884 in rainlanguage/rain.orderbook, I must consistently report the PR size after EVERY new commit in the exact format "TOTAL=number\nADDITIONS=number\nDELETIONS=number" without any formatting blocks. The report must exclude lock files (package-lock.json, yarn.lock, pnpm-lock.yaml, cargo.lock) and can be included either as part of the review or as a separate comment.
Learnt from: rouzwelt
Repo: rainlanguage/rain.orderbook PR: 0
File: :0-0
Timestamp: 2025-05-21T21:24:53.708Z
Learning: For PR #1884 in rainlanguage/rain.orderbook, provide a separate comment after each review with PR size statistics in the format: `TOTAL=number ADDITIONS=number DELETIONS=number`, excluding lock files like package-lock.json and cargo.lock.
Learnt from: rouzwelt
Repo: rainlanguage/rain.orderbook PR: 0
File: :0-0
Timestamp: 2025-05-21T21:24:53.708Z
Learning: For PR #1884 in rainlanguage/rain.orderbook, provide a separate comment after each review with PR size statistics in the format: `TOTAL=number ADDITIONS=number DELETIONS=number`, excluding lock files like package-lock.json and cargo.lock.
Learnt from: rouzwelt
Repo: rainlanguage/rain.orderbook PR: 0
File: :0-0
Timestamp: 2025-05-21T21:24:53.708Z
Learning: For PR #1884 in rainlanguage/rain.orderbook, provide a separate comment after each review with PR size statistics in the format: `TOTAL=number ADDITIONS=number DELETIONS=number`, excluding lock files like package-lock.json and cargo.lock.
Learnt from: rouzwelt
Repo: rainlanguage/rain.orderbook PR: 0
File: :0-0
Timestamp: 2025-05-21T21:24:53.708Z
Learning: For PR #1884 in rainlanguage/rain.orderbook, provide a separate comment after each review with PR size statistics in the format: `TOTAL=number ADDITIONS=number DELETIONS=number`, excluding lock files like package-lock.json and cargo.lock.
Learnt from: rouzwelt
Repo: rainlanguage/rain.orderbook PR: 0
File: :0-0
Timestamp: 2025-05-21T21:25:47.873Z
Learning: After each new commit review for rainlanguage/rain.orderbook repository, generate a PR size report in a separate comment with the format: "TOTAL=number ADDITIONS=number DELETIONS=number". This report should exclude irrelevant files such as lock files (e.g., package-lock.json, cargo.lock).
Learnt from: rouzwelt
Repo: rainlanguage/rain.orderbook PR: 0
File: :0-0
Timestamp: 2025-05-21T23:09:46.344Z
Learning: For PR #1884 in rainlanguage/rain.orderbook, I must reassess the PR size after each new commit to ensure the report includes the latest changes, and calculate the total size up to the very latest commit.
Learnt from: findolor
Repo: rainlanguage/rain.orderbook PR: 1971
File: .github/workflows/vercel-docs-prod.yaml:32-34
Timestamp: 2025-07-11T12:30:09.245Z
Learning: findolor prefers not to pin Node versions explicitly in GitHub Actions workflows when using Nix with webapp-shell, considering the current setup sufficient for deterministic builds in the rainlanguage/rain.orderbook project.
📚 Learning: 2025-08-20T06:59:07.794Z
Learnt from: hardyjosh
Repo: rainlanguage/rain.orderbook PR: 2087
File: .github/workflows/vercel-preview.yaml:69-77
Timestamp: 2025-08-20T06:59:07.794Z
Learning: In the rain.orderbook project, for Vercel preview workflows, the PUBLIC_WALLETCONNECT_PROJECT_ID should be hardcoded to "test" rather than using the secret with fallback, as the real ID is not needed for preview builds and will be available when it matters in production contexts.

Applied to files:

  • .github/workflows/vercel-preview-pr-target.yaml
  • .github/workflows/vercel-prod.yaml
  • .github/workflows/vercel-preview.yaml
  • .github/workflows/test-webapp.yaml
  • .github/workflows/test-ui-components.yaml
📚 Learning: 2025-07-11T12:30:09.245Z
Learnt from: findolor
Repo: rainlanguage/rain.orderbook PR: 1971
File: .github/workflows/vercel-docs-prod.yaml:32-34
Timestamp: 2025-07-11T12:30:09.245Z
Learning: findolor prefers not to pin Node versions explicitly in GitHub Actions workflows when using Nix with webapp-shell, considering the current setup sufficient for deterministic builds in the rainlanguage/rain.orderbook project.

Applied to files:

  • .github/workflows/vercel-preview-pr-target.yaml
  • .github/workflows/vercel-prod.yaml
🪛 Shellcheck (0.11.0)
prep-webapp.sh

[error] 33-33: Double quote array expansions to avoid re-splitting elements.

(SC2068)


[error] 34-34: Double quote array expansions to avoid re-splitting elements.

(SC2068)


[warning] 42-42: GREEN appears unused. Verify use (or export if used externally).

(SC2034)


[warning] 43-43: NC appears unused. Verify use (or export if used externally).

(SC2034)

⏰ Context from checks skipped due to timeout of 90000ms. You can increase the timeout in your CodeRabbit configuration to a maximum of 15 minutes (900000ms). (17)
  • GitHub Check: test
  • GitHub Check: Deploy-Docs-Preview
  • GitHub Check: standard-tests (ubuntu-latest, rainix-rs-artifacts, true)
  • GitHub Check: standard-tests (ubuntu-latest, rainix-rs-static)
  • GitHub Check: standard-tests (ubuntu-latest, rainix-sol-static)
  • GitHub Check: standard-tests (ubuntu-latest, rainix-sol-legal)
  • GitHub Check: standard-tests (ubuntu-latest, rainix-sol-artifacts)
  • GitHub Check: standard-tests (ubuntu-latest, rainix-wasm-artifacts)
  • GitHub Check: standard-tests (ubuntu-latest, rainix-sol-test)
  • GitHub Check: standard-tests (ubuntu-latest, rainix-wasm-test)
  • GitHub Check: standard-tests (ubuntu-latest, test-js-bindings)
  • GitHub Check: standard-tests (ubuntu-latest, ob-rs-test, true)
  • GitHub Check: test
  • GitHub Check: test
  • GitHub Check: git-clean
  • GitHub Check: build-tauri (ubuntu-22.04, true)
  • GitHub Check: Deploy-Preview-Push
🔇 Additional comments (7)
REUSE.toml (1)

39-39: LGTM!

Adding prep-webapp.sh to the annotations path maintains consistency with other tracked scripts.

.github/workflows/vercel-preview.yaml (1)

57-57: LGTM!

The prep script replacement is straightforward and maintains all environment context needed for the Vercel deployment.

.github/workflows/vercel-prod.yaml (1)

40-40: LGTM!

The prep script replacement is consistent with other workflow updates.

.github/workflows/test-ui-components.yaml (1)

43-43: LGTM!

The prep script replacement maintains all test environment context.

.github/workflows/test-webapp.yaml (1)

43-43: LGTM!

The prep script replacement is consistent with other workflows.

.github/workflows/vercel-preview-pr-target.yaml (1)

54-54: LGTM!

The prep script replacement aligns with the security model for PR-target previews, and the PUBLIC_WALLETCONNECT_PROJECT_ID is correctly hardcoded to 'test'.

prep-webapp.sh (1)

29-30: No issues found—prep-base.sh exists and is executable.

Verification confirms that prep-base.sh exists in the repository and has executable permissions. The call to ./prep-base.sh at line 30 will execute without failures related to missing or non-executable files.

Comment thread prep-webapp.sh
Comment on lines +33 to +34
nix develop -i ${keep[@]} -c bash -c '(npm run build -w @rainlanguage/orderbook)'
nix develop -i ${keep[@]} -c bash -c '(npm run build -w @rainlanguage/ui-components && npm run build -w @rainlanguage/webapp)'

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

⚠️ Potential issue | 🟠 Major

Fix array expansion to prevent re-splitting.

Double-quote the array expansion to follow shell best practices and avoid unintended re-splitting if array elements contain spaces.

Apply this diff:

-nix develop -i ${keep[@]} -c bash -c '(npm run build -w @rainlanguage/orderbook)'
-nix develop -i ${keep[@]} -c bash -c '(npm run build -w @rainlanguage/ui-components && npm run build -w @rainlanguage/webapp)'
+nix develop -i "${keep[@]}" -c bash -c '(npm run build -w @rainlanguage/orderbook)'
+nix develop -i "${keep[@]}" -c bash -c '(npm run build -w @rainlanguage/ui-components && npm run build -w @rainlanguage/webapp)'
📝 Committable suggestion

‼️ IMPORTANT
Carefully review the code before committing. Ensure that it accurately replaces the highlighted code, contains no missing lines, and has no issues with indentation. Thoroughly test & benchmark the code to ensure it meets the requirements.

Suggested change
nix develop -i ${keep[@]} -c bash -c '(npm run build -w @rainlanguage/orderbook)'
nix develop -i ${keep[@]} -c bash -c '(npm run build -w @rainlanguage/ui-components && npm run build -w @rainlanguage/webapp)'
nix develop -i "${keep[@]}" -c bash -c '(npm run build -w @rainlanguage/orderbook)'
nix develop -i "${keep[@]}" -c bash -c '(npm run build -w @rainlanguage/ui-components && npm run build -w @rainlanguage/webapp)'
🧰 Tools
🪛 Shellcheck (0.11.0)

[error] 33-33: Double quote array expansions to avoid re-splitting elements.

(SC2068)


[error] 34-34: Double quote array expansions to avoid re-splitting elements.

(SC2068)

🤖 Prompt for AI Agents
In prep-webapp.sh around lines 33 to 34, the array expansion ${keep[@]} is
unquoted which can cause elements with spaces to be split; update both commands
to use the quoted expansion "${keep[@]}" so each array element is preserved as a
single word when passed to nix develop.

Comment thread prep-webapp.sh
Comment on lines +42 to +43
GREEN='\033[0;32m'
NC='\033[0m' # No Color

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

⚠️ Potential issue | 🟡 Minor

Remove unused variables.

Lines 42-43 define GREEN and NC variables that are never used in the script; the ANSI codes are hardcoded directly in the printf statements. Remove these dead-code definitions.

Apply this diff:

 export LANG=en_US.UTF-8
 export LC_ALL=en_US.UTF-8

-GREEN='\033[0;32m'
-NC='\033[0m' # No Color
-
 # Print the completion message
📝 Committable suggestion

‼️ IMPORTANT
Carefully review the code before committing. Ensure that it accurately replaces the highlighted code, contains no missing lines, and has no issues with indentation. Thoroughly test & benchmark the code to ensure it meets the requirements.

Suggested change
GREEN='\033[0;32m'
NC='\033[0m' # No Color
export LANG=en_US.UTF-8
export LC_ALL=en_US.UTF-8
# Print the completion message
🧰 Tools
🪛 Shellcheck (0.11.0)

[warning] 42-42: GREEN appears unused. Verify use (or export if used externally).

(SC2034)


[warning] 43-43: NC appears unused. Verify use (or export if used externally).

(SC2034)

🤖 Prompt for AI Agents
In prep-webapp.sh around lines 42 to 43, the script defines unused color
variables GREEN and NC; remove these dead-variable definitions so the script no
longer contains unused ANSI color assignments and relies on the existing
hardcoded escape sequences in printf statements.

@findolor
findolor merged commit 43c104a into main Nov 25, 2025
19 checks passed
@github-actions

Copy link
Copy Markdown
Contributor

@coderabbitai assess this PR size classification for the totality of the PR with the following criterias and report it in your comment:

S/M/L PR Classification Guidelines:

This guide helps classify merged pull requests by effort and complexity rather than just line count. The goal is to assess the difficulty and scope of changes after they have been completed.

Small (S)

Characteristics:

  • Simple bug fixes, typos, or minor refactoring
  • Single-purpose changes affecting 1-2 files
  • Documentation updates
  • Configuration tweaks
  • Changes that require minimal context to review

Review Effort: Would have taken 5-10 minutes

Examples:

  • Fix typo in variable name
  • Update README with new instructions
  • Adjust configuration values
  • Simple one-line bug fixes
  • Import statement cleanup

Medium (M)

Characteristics:

  • Feature additions or enhancements
  • Refactoring that touches multiple files but maintains existing behavior
  • Breaking changes with backward compatibility
  • Changes requiring some domain knowledge to review

Review Effort: Would have taken 15-30 minutes

Examples:

  • Add new feature or component
  • Refactor common utility functions
  • Update dependencies with minor breaking changes
  • Add new component with tests
  • Performance optimizations
  • More complex bug fixes

Large (L)

Characteristics:

  • Major feature implementations
  • Breaking changes or API redesigns
  • Complex refactoring across multiple modules
  • New architectural patterns or significant design changes
  • Changes requiring deep context and multiple review rounds

Review Effort: Would have taken 45+ minutes

Examples:

  • Complete new feature with frontend/backend changes
  • Protocol upgrades or breaking changes
  • Major architectural refactoring
  • Framework or technology upgrades

Additional Factors to Consider

When deciding between sizes, also consider:

  • Test coverage impact: More comprehensive test changes lean toward larger classification
  • Risk level: Changes to critical systems bump up a size category
  • Team familiarity: Novel patterns or technologies increase complexity

Notes:

  • the assessment must be for the totality of the PR, that means comparing the base branch to the last commit of the PR
  • the assessment output must be exactly one of: S, M or L (single-line comment) in format of: SIZE={S/M/L}
  • do not include any additional text, only the size classification
  • your assessment comment must not include tips or additional sections
  • do NOT tag me or anyone else on your comment

@coderabbitai

coderabbitai Bot commented Nov 25, 2025

Copy link
Copy Markdown
Contributor

Tip

For best results, initiate chat on the files or code changes.

🧩 Analysis chain

🏁 Script executed:

#!/bin/bash
# Get the diff stats for the entire PR from base to HEAD
git fetch origin main
git diff --stat origin/main...HEAD

# Get total line changes excluding lock files
git diff --numstat origin/main...HEAD | grep -v -E '(package-lock\.json|yarn\.lock|pnpm-lock\.yaml|cargo\.lock)' | awk '{added+=$1; removed+=$2} END {print "Added:", added, "Removed:", removed, "Total:", added+removed}'

# Count files changed (excluding lock files)
git diff --name-only origin/main...HEAD | grep -v -E '(package-lock\.json|yarn\.lock|pnpm-lock\.yaml|cargo\.lock)' | wc -l

Length of output: 253


🏁 Script executed:

#!/bin/bash
# Try different approach - compare HEAD with origin/main directly
git diff --stat origin/main HEAD

# Get total line changes excluding lock files
git diff --numstat origin/main HEAD | grep -v -E '(package-lock\.json|yarn\.lock|pnpm-lock\.yaml|cargo\.lock)' | awk '{added+=$1; removed+=$2} END {print "Added:", added, "Removed:", removed, "Total:", added+removed}'

# Count files changed (excluding lock files)
git diff --name-only origin/main HEAD | grep -v -E '(package-lock\.json|yarn\.lock|pnpm-lock\.yaml|cargo\.lock)' | wc -l

# Show the actual files changed
git diff --name-only origin/main HEAD

Length of output: 28


🏁 Script executed:

#!/bin/bash
# Check current branch and commits
git branch -a
git log --oneline -10

# Try using GitHub CLI to get the PR diff stats
gh pr view 2332 --json additions,deletions,changedFiles

# Get the diff from the PR directly
gh pr diff 2332 --patch | wc -l

Length of output: 616


SIZE=M


🧠 Learnings used
Learnt from: rouzwelt
Repo: rainlanguage/rain.orderbook PR: 0
File: :0-0
Timestamp: 2025-05-21T21:24:42.275Z
Learning: For PR #1884, after each commit review, I should provide a new comment with a PR size report in the format: `TOTAL=number ADDITIONS=number DELETIONS=number`, excluding irrelevant files such as lock files (package-lock.json, cargo.lock, etc.).

Learnt from: rouzwelt
Repo: rainlanguage/rain.orderbook PR: 0
File: :0-0
Timestamp: 2025-05-21T21:24:42.275Z
Learning: After each commit in PR #1884, I should provide a new comment with the PR size report in the format: `TOTAL=number ADDITIONS=number DELETIONS=number`. The report should exclude irrelevant files such as lock files (e.g., package-lock.json, cargo.lock).

Learnt from: rouzwelt
Repo: rainlanguage/rain.orderbook PR: 0
File: :0-0
Timestamp: 2025-05-21T21:25:47.873Z
Learning: After each new commit review for rainlanguage/rain.orderbook repository, generate a PR size report in a separate comment with the format: "TOTAL=number ADDITIONS=number DELETIONS=number". This report should exclude irrelevant files such as lock files (e.g., package-lock.json, cargo.lock).

Learnt from: rouzwelt
Repo: rainlanguage/rain.orderbook PR: 0
File: :0-0
Timestamp: 2025-05-21T21:25:47.873Z
Learning: After each new commit review for rainlanguage/rain.orderbook repository, generate a PR size report in a separate comment with the exact format: "TOTAL=number\nADDITIONS=number\nDELETIONS=number". This report should exclude irrelevant files such as lock files (package-lock.json, yarn.lock, pnpm-lock.yaml, cargo.lock).

Learnt from: rouzwelt
Repo: rainlanguage/rain.orderbook PR: 0
File: :0-0
Timestamp: 2025-05-21T22:14:22.646Z
Learning: For PR #1884 in rainlanguage/rain.orderbook, I must consistently report the PR size after EVERY new commit in the exact format "TOTAL=number\nADDITIONS=number\nDELETIONS=number" without any formatting blocks. The report must exclude lock files (package-lock.json, yarn.lock, pnpm-lock.yaml, cargo.lock) and can be included either as part of the review or as a separate comment.

Learnt from: rouzwelt
Repo: rainlanguage/rain.orderbook PR: 0
File: :0-0
Timestamp: 2025-05-21T22:14:22.646Z
Learning: For PR #1884 in rainlanguage/rain.orderbook, I must consistently report the PR size after EVERY new commit in the exact format "TOTAL=number\nADDITIONS=number\nDELETIONS=number" without any additional text or formatting blocks. The report must exclude lock files (package-lock.json, yarn.lock, pnpm-lock.yaml, cargo.lock) and can be included either as part of the review or as a separate comment.

Learnt from: rouzwelt
Repo: rainlanguage/rain.orderbook PR: 0
File: :0-0
Timestamp: 2025-05-21T22:46:08.530Z
Learning: For PR #1884 in rainlanguage/rain.orderbook, the PR size report should be the only content in the comment - no text before it, no text after it, no formatting blocks, just the raw report in the exact format: "TOTAL=number\nADDITIONS=number\nDELETIONS=number". The report must exclude lock files (package-lock.json, yarn.lock, pnpm-lock.yaml, cargo.lock).

Learnt from: rouzwelt
Repo: rainlanguage/rain.orderbook PR: 0
File: :0-0
Timestamp: 2025-05-21T21:24:53.708Z
Learning: For PR #1884 in rainlanguage/rain.orderbook, provide a separate comment after each review with PR size statistics in the format: `TOTAL=number ADDITIONS=number DELETIONS=number`, excluding lock files like package-lock.json and cargo.lock.

Learnt from: rouzwelt
Repo: rainlanguage/rain.orderbook PR: 0
File: :0-0
Timestamp: 2025-05-21T21:24:53.708Z
Learning: For PR #1884 in rainlanguage/rain.orderbook, provide a separate comment after each review with PR size statistics in the format: `TOTAL=number ADDITIONS=number DELETIONS=number`, excluding lock files like package-lock.json and cargo.lock.

Learnt from: rouzwelt
Repo: rainlanguage/rain.orderbook PR: 0
File: :0-0
Timestamp: 2025-05-21T21:24:53.708Z
Learning: For PR #1884 in rainlanguage/rain.orderbook, provide a separate comment after each review with PR size statistics in the format: `TOTAL=number ADDITIONS=number DELETIONS=number`, excluding lock files like package-lock.json and cargo.lock.

Learnt from: findolor
Repo: rainlanguage/rain.orderbook PR: 1971
File: .github/workflows/vercel-docs-prod.yaml:32-34
Timestamp: 2025-07-11T12:30:09.245Z
Learning: findolor prefers not to pin Node versions explicitly in GitHub Actions workflows when using Nix with webapp-shell, considering the current setup sufficient for deterministic builds in the rainlanguage/rain.orderbook project.

Learnt from: findolor
Repo: rainlanguage/rain.orderbook PR: 1971
File: .github/workflows/vercel-docs-prod.yaml:10-14
Timestamp: 2025-07-11T12:29:49.284Z
Learning: In GitHub Actions workflows for the rainlanguage/rain.orderbook project, findolor is comfortable with job names that may seem misleading (like "Deploy-Docs-Preview" in a production workflow) when there's only one job in the workflow, as the context makes it clear enough.

Learnt from: rouzwelt
Repo: rainlanguage/rain.orderbook PR: 0
File: :0-0
Timestamp: 2025-05-21T21:26:31.566Z
Learning: For PR #1884 and future PRs in rainlanguage/rain.orderbook repository, provide PR size reports in a separate comment with ONLY the exact format "TOTAL=number\nADDITIONS=number\nDELETIONS=number", without any additional text or explanation. Reports should exclude irrelevant files such as lock files (package-lock.json, yarn.lock, pnpm-lock.yaml, cargo.lock).

Learnt from: rouzwelt
Repo: rainlanguage/rain.orderbook PR: 0
File: :0-0
Timestamp: 2025-05-21T23:09:27.578Z
Learning: For PR #1884 in rainlanguage/rain.orderbook repository, I must always reassess the PR size after each new commit, calculating the total changes up to the very latest commit and ensuring accuracy of the report. The calculation must exclude lock files (package-lock.json, yarn.lock, pnpm-lock.yaml, cargo.lock) and report in the exact format "TOTAL=number\nADDITIONS=number\nDELETIONS=number".

Learnt from: rouzwelt
Repo: rainlanguage/rain.orderbook PR: 0
File: :0-0
Timestamp: 2025-05-21T21:24:53.708Z
Learning: For PR #1884 in rainlanguage/rain.orderbook, provide a separate comment after each review with PR size statistics in the format: `TOTAL=number ADDITIONS=number DELETIONS=number`, excluding lock files like package-lock.json and cargo.lock.

Learnt from: rouzwelt
Repo: rainlanguage/rain.orderbook PR: 0
File: :0-0
Timestamp: 2025-05-21T23:09:46.344Z
Learning: For PR #1884 in rainlanguage/rain.orderbook, I must reassess the PR size after each new commit to ensure the report includes the latest changes, and calculate the total size up to the very latest commit.

@coderabbitai coderabbitai Bot mentioned this pull request Dec 9, 2025
4 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants