Fix benchmark, profiler, and CLI exit-code quirks found in the 0.14 docs audit
Maintainers usually reply within 2 days
Nobody has claimed this yet.
Assessment
- Difficulty
- 5/5
- Estimated time
- Over a week
- Newbie friendliness
- 35/100
- Issue type
- Bug
- Clarity
- Mostly clear
- Activity status
- Active
- Domain
- build-system, cli, networking, performance, security
Research direction
Reproduce the listed cases around GocciaBenchmarkRunner, the --profile and --mode options, host grants, usage-error flags, and GocciaBundler output handling. Treat the bullets as independent fixes and verify each expected exit code, error class, warning, profile total, and output-directory behavior before considering the issue done.
Written by the indexing model from the issue text.
Description
Summary
Smaller CLI, benchmark and profiler issues. Found in the 0.14.0 docs audit.
Current behavior
GocciaBenchmarkRunnerexits 0 when an input file fails to load.--profile=functionsreports an inflated total time (131 s for a run of about 14 ms), likely recursive double-counting.--profile=all --mode=interpretedsilently runs bytecode. The mode switch is documented for--profile, but no warning mentions that it overrode an explicit--mode.--profile-format=flamegraphwith--profile=opcodesexits 0 and writes an empty file.- Shortened IPv4 host literals under a net grant (
127.1,0x7f.0.0.1) fail withTypeError: Failed to resolve hostrather thanPermissionDenied. They are refused as intended, but with a different error class. - Inconsistent exit codes.
--host-environmentcombined with--deterministic, and a bare--allow-import, exit 1, where other usage errors exit 2. GocciaBundler --output=dist/x.gbcfails unlessdist/exists, and the directory-target cases give misleading errors.
Expected behavior
- A load failure makes the benchmark runner exit non-zero.
- Profile totals are correct.
- An explicit
--modeeither wins or triggers a warning. - A flamegraph with no stacks is a usage error.
- Shortened IPv4 hosts get
PermissionDenied. - Usage errors consistently exit 2.
- The bundler creates the output directory or reports clearly that it's missing.
Scope notes
Each is independent.
- Dominant language
- Pascal
- Stars
- 20
- Forks
- 3
- Avg merge
- 3d 21h
- Merged PRs (30d)
- 51
Getting set up
- No Dockerfile or Docker Compose file
- Has a pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from frostney/GocciaScript
-
documentation internal
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
frostney/GocciaScript#1271 ·
Maintainers usually reply within 2 days
-
internal
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
frostney/GocciaScript#1187 · 1 comment ·
Maintainers usually reply within 2 days
-
bug internal
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
frostney/GocciaScript#1129 ·
Maintainers usually reply within 2 days
-
runtime
Difficulty 4/5 3-5 days Newbie friendliness 52/100
frostney/GocciaScript#1278 · 1 comment ·
Maintainers usually reply within 2 days
-
runtime
Difficulty 4/5 3-5 days Newbie friendliness 52/100
frostney/GocciaScript#1277 ·
Maintainers usually reply within 2 days
All issues in frostney/GocciaScript
Similar issues
-
package-update
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
oSoWoSo/vOid_Community_repOsitory#207 · 1 comment ·
Maintainers usually reply within 1 day
-
factory
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
jessepollak/home#1625 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
apache/iceberg-cpp#973 ·
Maintainers usually reply within 1 day
-
feature request
Difficulty 1/5 Under an hour Newbie friendliness 86/100
Maintainers usually reply within 2 days
-
CI: composer install fails — league/flysystem 1.x blocked by security advisory GHSA-cxf4-7mrp-vvprOpendevops type: bug
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
Maintainers usually reply within 1 day