Skip to content

feat(builtins): implement caller builtin - #812

Merged
reubeno merged 3 commits into
mainfrom
caller-builtin
Dec 2, 2025
Merged

reubeno merged 3 commits into
mainfrom
caller-builtin

Conversation

@reubeno

@reubeno reubeno commented Dec 2, 2025

Copy link
Copy Markdown
Owner

No description provided.

@github-actions

github-actions Bot commented Dec 2, 2025 •

Copy link
Copy Markdown

Performance Benchmark Report

Benchmark name Baseline (μs) Test/PR (μs) Delta (μs) Delta %
clone_shell_object 17.72 μs 17.29 μs -0.43 μs 🟢 -2.42%
eval_arithmetic 0.14 μs 0.14 μs 0.00 μs ⚪ Unchanged
expand_one_string 1.77 μs 1.72 μs -0.05 μs ⚪ Unchanged
for_loop 22.77 μs 23.09 μs 0.32 μs ⚪ Unchanged
function_call 2.39 μs 2.49 μs 0.10 μs ⚪ Unchanged
instantiate_shell 53.45 μs 54.58 μs 1.13 μs 🟠 +2.11%
instantiate_shell_with_init_scripts 25028.91 μs 24717.67 μs -311.24 μs ⚪ Unchanged
parse_bash_completion 2015.94 μs 2001.76 μs -14.18 μs 🟢 -0.70%
parse_sample_script 1.90 μs 1.98 μs 0.08 μs 🟠 +4.05%
run_echo_builtin_command 15.88 μs 15.99 μs 0.11 μs ⚪ Unchanged
tokenize_sample_script 3.45 μs 3.47 μs 0.01 μs ⚪ Unchanged

Code Coverage Report: Only Changed Files listed

Package Base Coverage New Coverage Difference
brush-builtins/src/caller.rs 🔴 0% 🟢 95.65% 🟢 95.65%
brush-builtins/src/unimp.rs 🟠 75% 🔴 0% 🔴 -75%
brush-core/src/callstack.rs 🟠 73.82% 🟠 74.61% 🟢 0.79%
brush-core/src/commands.rs 🟢 91.65% 🟢 91.87% 🟢 0.22%
Overall Coverage 🟢 74.03% 🟢 74.02% 🔴 -0.01%

Minimum allowed coverage is 70%, this run produced 74.02%

Test Summary: bash-completion test suite

Outcome Count Percentage
✅ Pass 1353 64.15
❗️ Error 231 10.95
❌ Fail 172 8.16
⏩ Skip 338 16.03
❎ Expected Fail 14 0.66
✔️ Unexpected Pass 1 0.05
📊 Total 2109 100.00

@github-actions

github-actions Bot commented Dec 2, 2025 •

Copy link
Copy Markdown

Test Results

    3 files     23 suites   8m 30s ⏱️
1 284 tests 1 284 ✅ 0 💤 0 ❌
3 832 runs  3 832 ✅ 0 💤 0 ❌

Results for commit 6be6b6d.

♻️ This comment has been updated with latest results.

@reubeno
reubeno merged commit 6540eac into main Dec 2, 2025
@reubeno
reubeno deleted the caller-builtin branch December 2, 2025 05:05
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.

1 participant