-
Notifications
You must be signed in to change notification settings - Fork 24
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
(BSR) chore(env): little faster when opening terminal #7449
Open
bebstein-pass
wants to merge
6
commits into
master
Choose a base branch
from
faster-direnv
base: master
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.
+35
−57
Conversation
This file contains 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
`devShell` was legacy and deprecated
without this, the following command produces the next error ```sh bundle exec pod install --repo-update ``` ```txt WARNING: CocoaPods requires your terminal to be using UTF-8 encoding. Consider adding the following to ~/.profile: export LANG=en_US.UTF-8 bundler: failed to load command: pod (/Users/eb/Project/pass-culture/pass-culture-app-native/.devbox/virtenv/ruby/bin/pod) Encoding::CompatibilityError: Unicode Normalization not appropriate for ASCII-8BIT /nix/store/inhgi4ksqzqnjk6v9fa49fgdf0zymmpn-ruby-2.7.5/lib/ruby/2.7.0/unicode_normalize/normalize.rb:141:in `normalize' /Users/eb/Project/pass-culture/pass-culture-app-native/.devbox/virtenv/ruby/gems/cocoapods-1.12.1/lib/cocoapods/config.rb:166:in `unicode_normalize' /Users/eb/Project/pass-culture/pass-culture-app-native/.devbox/virtenv/ruby/gems/cocoapods-1.12.1/lib/cocoapods/config.rb:166:in `installation_root' /Users/eb/Project/pass-culture/pass-culture-app-native/.devbox/virtenv/ruby/gems/cocoapods-1.12.1/lib/cocoapods/config.rb:226:in `podfile_path' /Users/eb/Project/pass-culture/pass-culture-app-native/.devbox/virtenv/ruby/gems/cocoapods-1.12.1/lib/cocoapods/user_interface/error_report.rb:105:in `markdown_podfile' /Users/eb/Project/pass-culture/pass-culture-app-native/.devbox/virtenv/ruby/gems/cocoapods-1.12.1/lib/cocoapods/user_interface/error_report.rb:30:in `report' /Users/eb/Project/pass-culture/pass-culture-app-native/.devbox/virtenv/ruby/gems/cocoapods-1.12.1/lib/cocoapods/command.rb:66:in `report_error' /Users/eb/Project/pass-culture/pass-culture-app-native/.devbox/virtenv/ruby/gems/claide-1.1.0/lib/claide/command.rb:396:in `handle_exception' /Users/eb/Project/pass-culture/pass-culture-app-native/.devbox/virtenv/ruby/gems/claide-1.1.0/lib/claide/command.rb:337:in `rescue in run' /Users/eb/Project/pass-culture/pass-culture-app-native/.devbox/virtenv/ruby/gems/claide-1.1.0/lib/claide/command.rb:324:in `run' /Users/eb/Project/pass-culture/pass-culture-app-native/.devbox/virtenv/ruby/gems/cocoapods-1.12.1/lib/cocoapods/command.rb:52:in `run' /Users/eb/Project/pass-culture/pass-culture-app-native/.devbox/virtenv/ruby/gems/cocoapods-1.12.1/bin/pod:55:in `<top (required)>' /Users/eb/Project/pass-culture/pass-culture-app-native/.devbox/virtenv/ruby/bin/pod:25:in `load' /Users/eb/Project/pass-culture/pass-culture-app-native/.devbox/virtenv/ruby/bin/pod:25:in `<top (required)>' ```
to try to have faster direnv and to do it at the right moment
XCode hardcode the PATH when building the app XCode didn't find Node XCode was requiring Node to be globally installed
Quality Gate passedIssues Measures |
Quality Gate passedIssues Measures |
cgerrard-pass
approved these changes
Jan 2, 2025
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Link to JIRA ticket: https://passculture.atlassian.net/browse/PC-XXXXX
J'ai :
mais le build en ligne de commande échoue sur
master
et sur cette branche, donc j'ai pas pu tester queyarn ios:testing
fonctionne et ajoute le certificat tout seulFlakiness
If I had to re-run tests in the CI due to flakiness, I add the incident on Notion
Checklist
I have:
Best Practices
Click to expand
These rules apply to files that you make changes to. If you can't respect one of these rules, be sure to explain why with a comment. If you consider correcting the issue is too time consuming/complex: create a ticket. Link the ticket in the code.as
(type assertions are removed at compile-time, there is no runtime checking associated with a type assertion. There won’t be an exception ornull
generated if the type assertion is wrong). In certain casesas const
is acceptable (for example when defining readonly arrays/objects). Usingas
in tests is tolerable.any
(when you want to accept anything because you will be blindly passing it through without interacting with it, you can useunknown
). Usingany
in tests is tolerable.!
when you know that the value can’t benull
orundefined
).@ts-expect-error
and@eslint-disable
.yarn test:lint
,yarn test:types
,yarn start:web
...).gap
(ViewGap
) instead of<Spacer.Column />
,<Spacer.Row />
or<Spacer.Flex />
.Test specific:
user
tofireEvent
.setFeatureFlags
. If not possible, mention which one(s) you want to mock in a comment (example:jest.spyOn(useFeatureFlagAPI, 'useFeatureFlag').mockReturnValue(true) // WIP_NEW_OFFER_TILE in renderPassPlaylist.tsx
)await act(async () => {})
andawait waitFor(/* ... */)
byawait screen.findBySomething()
.act
by default andwaitFor
as a last resort.Advice: