-
Notifications
You must be signed in to change notification settings - Fork 0
⚡ Bolt: Pre-compile regex in entity rename plan #2591
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
SatoryKono
wants to merge
5
commits into
main
Choose a base branch
from
bolt-optimize-rename-regex-16801739255094068371
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
5 commits
Select commit
Hold shift + click to select a range
259cb19
⚡ Bolt: Pre-compile regex in entity rename plan
google-labs-jules[bot] bdafb9b
⚡ Bolt: Pre-compile regex in entity rename plan
google-labs-jules[bot] 69671af
⚡ Bolt: Pre-compile regex in entity rename plan
google-labs-jules[bot] 4d8cb13
⚡ Bolt: Pre-compile regex in entity rename plan
google-labs-jules[bot] 11bd965
⚡ Bolt: Pre-compile regex in entity rename plan
google-labs-jules[bot] File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🧩 Analysis chain
🏁 Script executed:
Repository: SatoryKono/BioactivityDataAcquisition
Length of output: 373
🏁 Script executed:
Repository: SatoryKono/BioactivityDataAcquisition
Length of output: 1568
🌐 Web query:
GitHub Actions bash shell default settings pipefail💡 Result:
In GitHub Actions on Linux/macOS runners (e.g., ubuntu-latest), the default shell for run steps (when no shell is specified) is bash with the command /usr/bin/bash -e {0} (equivalent to set -e), which exits on any command failure but does NOT include pipefail (set -o pipefail). To enable pipefail, explicitly set shell: bash, which uses bash --noprofile --norc -eo pipefail {0} (equivalent to set -e -o pipefail). This behavior is consistent across GitHub-hosted runners as of 2026. On Windows, the default is pwsh. Examples: - Default (no pipefail): steps: - run: echo "hello" | grep "no" | wc -l # Succeeds (exit 0), as pipefail off - With pipefail: steps: - shell: bash run: echo "hello" | grep "no" | wc -l # Fails (exit 1)
Citations:
bashshell doesn't seem to run with-o pipefailactions/runner-images#4459Enable
pipefailin the audit step to prevent masked export failures.In GitHub Actions, the default bash shell runs with
set -ebut NOTset -o pipefail. On line 58, ifuv exportfails after partial output, the pipeline continues andpip-auditruns on incomplete data. For a security gate, this is a critical reliability issue.Proposed fix
- name: Run pip-audit run: | + set -euo pipefail uv export --format requirements-txt | grep -v '^-e \.' > requirements-audit.txt uv run pip-audit -r requirements-audit.txt --require-hashes --disable-pip --strict📝 Committable suggestion
🤖 Prompt for AI Agents