Skip to content
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(setup): faster DirEnv #7512

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

Conversation

bebstein-pass
Copy link
Contributor

c'est comme cette PR #7449 mais avec moins de commits

Flakiness

If I had to re-run tests in the CI due to flakiness, I add the incident on Notion

@cgerrard-pass
Copy link
Contributor

direnv allow 🟥 ✅ (fonctionne la deuxième fois):

➜  pass-culture-app-native git:(faster-direnv) ✗ direnv allow              
direnv: loading ~/Desktop/pass-culture-app-native/.envrc                                              
direnv: loading https://raw.githubusercontent.com/nix-community/nix-direnv/2.2.0/direnvrc (sha256-5EwyKnkJNQeXrRkYbwwRBcXbibosCJqyIUuz9Xq+LRc=)
direnv: loading ~/Desktop/pass-culture-app-native/scripts/load_certificate.sh
direnv: loading ~/Desktop/pass-culture-app-native/scripts/ensure_nix_use_certificate.sh
direnv: using flake
ln: /nix/var/nix/gcroots/per-user/christopher/Users-christopher-Desktop-pass--culture--app--native-.direnv-flake--profile--a5d5b61aa8a61b7d9d765e1daf971a9a578f1cfa: No such file or directory
environment:1431: pop_var_context: head of shell_variables not a function context
./.envrc:1: pop_var_context: head of shell_variables not a function context
direnv: error exit status 1
➜  pass-culture-app-native git:(faster-direnv) ✗ direnv allow
direnv: loading ~/Desktop/pass-culture-app-native/.envrc                                              
direnv: loading https://raw.githubusercontent.com/nix-community/nix-direnv/2.2.0/direnvrc (sha256-5EwyKnkJNQeXrRkYbwwRBcXbibosCJqyIUuz9Xq+LRc=)
direnv: loading ~/Desktop/pass-culture-app-native/scripts/load_certificate.sh
direnv: loading ~/Desktop/pass-culture-app-native/scripts/ensure_nix_use_certificate.sh
direnv: using flake
direnv: nix-direnv: using cached dev shell
direnv: using devbox
Info: Ensuring packages are installed.
direnv: loading ~/Desktop/pass-culture-app-native/scripts/install_node_modules_when_not_installed.sh
direnv: export +AR +AS +CC +CONFIG_SHELL +CXX +DETERMINISTIC_BUILD +DEVBOX_CONFIG_DIR +DEVBOX_COREPACK_ENABLED +DEVBOX_INIT_PATH +DEVBOX_NIX_ENV_PATH_2af4f5b138f8c10013a9ee3987f0f2161a88699bbba854634c33592808ea63e8 +DEVBOX_PACKAGES_DIR +DEVBOX_PATH_STACK +DEVBOX_PROJECT_ROOT +DEVBOX_SYSTEM_BASH +DEVBOX_SYSTEM_SED +GEMRC +HOST_PATH +IN_NIX_SHELL +LD +LD_DYLD_PATH +MACOSX_DEPLOYMENT_TARGET +NIX_BINTOOLS +NIX_BINTOOLS_WRAPPER_TARGET_HOST_aarch64_apple_darwin +NIX_BUILD_CORES +NIX_CC +NIX_CC_WRAPPER_TARGET_HOST_aarch64_apple_darwin +NIX_CFLAGS_COMPILE +NIX_CONFIG +NIX_DONT_SET_RPATH +NIX_DONT_SET_RPATH_FOR_BUILD +NIX_DONT_SET_RPATH_FOR_TARGET +NIX_ENFORCE_NO_NATIVE +NIX_HARDENING_ENABLE +NIX_IGNORE_LD_THROUGH_GCC +NIX_LDFLAGS +NIX_NO_SELF_RPATH +NIX_STORE +NM +NODE_PATH +PATH_LOCALE +PYTHONHASHSEED +PYTHONNOUSERSITE +PYTHONPATH +RANLIB +RUBYLIB +RUBY_CONFDIR +SENTRY_AUTH_TOKEN +SENTRY_ORG +SENTRY_PROJECT +SENTRY_URL +SIZE +SOURCE_DATE_EPOCH +STRINGS +STRIP +VENV_DIR +__DEVBOX_SHELLENV_HASH_2af4f5b138f8c10013a9ee3987f0f2161a88699bbba854634c33592808ea63e8 +__darwinAllowLocalNetworking +__impureHostDeps +__propagatedImpureHostDeps +__propagatedSandboxProfile +__sandboxProfile +__structuredAttrs +buildInputs +buildPhase +builder +cmakeFlags +configureFlags +depsBuildBuild +depsBuildBuildPropagated +depsBuildTarget +depsBuildTargetPropagated +depsHostHost +depsHostHostPropagated +depsTargetTarget +depsTargetTargetPropagated +doCheck +doInstallCheck +dontAddDisableDepTrack +mesonFlags +name +nativeBuildInputs +out +outputs +patches +phases +preferLocalBuild +propagatedBuildInputs +propagatedNativeBuildInputs +shell +shellHook +stdenv +strictDeps +system ~GEM_HOME ~GEM_PATH ~NIX_SSL_CERT_FILE ~PATH ~XDG_DATA_DIRS

yarn ios:testing 🟥

❌  error: Internal inconsistency error: never received target ended message for target ID '81' (in target 'RCT-Folly' from project 'Pods'). Build again to continue.

Dans XCode le build ✅

@bebstein-pass
Copy link
Contributor Author

@cgerrard-pass il me semble qu'on a oublié de tester des choses hier :

  • aller sur master
  • direnv allow
  • yarn ios:testing

je suppose que sur ta machine, ça va échouer, car il semble il y avoir un problème avec DevBox et le build iOS sur ta machine (que je n'explique pas encore)

autre cas à tester :

  • aller sur cette branche
  • direnv deny
  • yarn ios:testing

je suppose que ça va fonctionner

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.

2 participants