-
Notifications
You must be signed in to change notification settings - Fork 961
feat(envs): remove core envs from the manifest and their sources from the workspace #10465
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
davidfirst
wants to merge
203
commits into
master
Choose a base branch
from
remove-core-envs-from-manifest
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.
Open
Changes from all commits
Commits
Show all changes
203 commits
Select commit
Hold shift + click to select a range
f2757aa
feat(envs): remove core envs from the manifest, load them as regular …
davidfirst c7dd1a7
fix(envs): load legacy core envs from installed packages instead of s…
davidfirst d9f77c0
fix(envs): enforce single instance for legacy core envs, silence expe…
davidfirst e6418b9
Merge branch 'master' into remove-core-envs-from-manifest
davidfirst c9eca3d
Merge branch 'master' into remove-core-envs-from-manifest
davidfirst a277cdb
feat(envs): add core EmptyEnv as the default env, restore react-free …
davidfirst 3f5c24e
Merge branch 'remove-core-envs-from-manifest' of https://github.com/t…
davidfirst 0607c7d
fix(envs): persist legacy core env config entries versionless, load e…
davidfirst b23b273
feat(envs): remove aspect and env envs from the core manifest
davidfirst 94eddce
fix(workspace): resolve name-only legacy envs to their workspace vers…
davidfirst ac4b7d0
fix(generator): use the canonical symphony env id in the harmony work…
davidfirst ab21e34
refactor(compiler): avoid duplicate env resolution in missing-dists c…
davidfirst 66fd06b
Merge branch 'master' into remove-core-envs-from-manifest
davidfirst 5487276
fix(workspace): load versionless legacy env as the versioned workspac…
davidfirst 684cdf6
fix(workspace): suppress legacy-env load failures only when the env p…
davidfirst 47194d4
refactor(workspace): index-based dequeue in getGraphDescendants BFS
davidfirst 3df0fcd
fix(react): avoid importing the react env in the apply-providers ui c…
davidfirst eedfdcd
fix(harmony): make load-aspect and unit tests work with the empty-env…
davidfirst efbc4e3
fix(envs): add a clear-error build() to the fallback compiler to sati…
davidfirst 784c31a
fix(bitmap): remove stale legacy env configs resurrected by an earlie…
davidfirst d4c7969
fix(preview): skip env-template generation for envs without preview m…
davidfirst 59ec61a
fix(workspace): skip env verification when setting a legacy core env
davidfirst df17985
Merge branch 'master' into remove-core-envs-from-manifest
davidfirst eafd77b
fix(envs): prefer the host component when fetching a legacy core env …
davidfirst b95165e
fix(envs): resolve variant-configured legacy core envs from the slot,…
davidfirst 03511a4
fix(envs): match legacy core envs ignoring version in isEnvRegistered
davidfirst c91b190
fix(workspace): exclude seed ids from getDependentsIds results in cyc…
davidfirst edbdde7
fix(e2e): install legacy env packages in aspect-env and publish fixtures
davidfirst 10a3995
fix(e2e): install the aspect env packages in the extensions-config fi…
davidfirst 01ae6f4
fix(compiler): skip MissingDists issue when getCompiler returns undef…
davidfirst d269325
fix(e2e): install the node env package in the watch fixtures
davidfirst eacfcdf
fix(workspace): unwind the visiting set in resolveInstalledAspectRecu…
davidfirst dd6495d
refactor(envs): drop a stale eslint suppression comment
davidfirst f424a7a
fix(preview): treat legacy core envs as core in preview data calc and…
davidfirst 1b5cc28
fix(install): avoid passing link deps to pnpm hoisted resolution, res…
davidfirst 04b5578
fix(e2e): configure and install the node env in the app-root-componen…
davidfirst 8464a63
fix(envs): use a cheap host lookup instead of listing all ids when re…
davidfirst a885155
fix(e2e): install the node env and strip ansi in the jest tester fixt…
davidfirst 39351c4
fix(install): count non-loaded legacy core envs for the recurring-ins…
davidfirst ce0a7e2
fix(e2e): run a second install in app-root-components fixtures to app…
davidfirst d6e0cc5
fix(e2e): install the node env in test-harmony and validate fixtures
davidfirst 2fe2be0
fix(e2e): run a second install in setNodeEnv to apply the env depende…
davidfirst cbde672
fix(e2e): install legacy env packages in env and reset command fixtures
davidfirst 4163df4
docs(empty-env): add the aspect docs file
davidfirst 37d3339
fix(e2e): install the node env in the scope-rename fixtures
davidfirst eac49fd
fix(e2e): install the node env and strip ansi in the merge-lanes loos…
davidfirst 062ee3c
fix(compiler): skip env ids that are not on the workspace graph when …
davidfirst dc03518
fix(generator): merge builtin templates into a single slot registrati…
davidfirst dfa1e9a
fix(e2e): install legacy env packages and load ex-core templates via …
davidfirst 288fd56
fix(envs): resolve variant-configured legacy core envs from the slot …
davidfirst 8d88698
fix(e2e): run a second install after forking an env so its policies a…
davidfirst 5d6c4f6
fix(scope): resolve and import only non-loaded aspects in getNonLoade…
davidfirst 3480a1a
fix(deps): log the swallowed error when the env root dir cannot be de…
davidfirst ffeda69
fix(workspace): skip env-component fetch on env-set when the env is r…
davidfirst d312e5f
fix(envs): resolve versioned env ids registered versionless in the slot
davidfirst 4c4cdf4
fix(generator): load template envs from the workspace instead of the …
davidfirst fcf852c
fix(e2e): install pinned envs and set the node env in multiple-envs, …
davidfirst 8ed15ef
perf(envs): cache the legacy core envs ids list and set
davidfirst dca65ba
fix(workspace): resolve workspace aspects from their compiled workspa…
davidfirst 829501b
fix(compiler): compile-and-retry aspects that fail loading on ts file…
davidfirst 44619f9
fix(e2e): skip type-checking dev-repo fixtures in capsules, use core-…
davidfirst 739d47e
fix(deps): anchor getRuntimeModulePath existence checks to the worksp…
davidfirst ec35199
fix(install): honor the scope-trust guard when reloading aspect plugi…
davidfirst bbbcac1
fix(workspace): load legacy core envs configured via envs-config with…
davidfirst 8ff52c4
fix(envs): match versioned ids of versionless-registered envs in isEn…
davidfirst 80b2a8e
fix(e2e): install pinned legacy envs and adjust default-env expectati…
davidfirst 8781858
fix(workspace): require the compiled dist main when a stale source-ma…
davidfirst 03bdd2c
fix(install): converge recurring-install for old-style workspace envs
davidfirst 70a20c9
fix(e2e): install yarn-missing env peers, align old-envs install warn…
davidfirst 0f48973
fix(workspace): match workspace aspects ignoring version when resolvi…
davidfirst 449523c
fix(envs): match versionless env references against versioned slot re…
davidfirst e8d7c66
fix(generator): run recurring install during workspace generation to …
davidfirst 40a6dbc
fix(e2e): use a workspace env in ci-commands env-set tests, explicit …
davidfirst 123a5b3
fix(envs): return a copy of the legacy core envs ids list
davidfirst 6d0af2d
fix(e2e): install the env chain in dev-deps and scope-aspect-capsule …
davidfirst 53ad9f8
fix(e2e): skip type-checking node-env fixture in capsules, scope lint…
davidfirst e21c295
fix(e2e): revert env-chain install in scope-aspect-capsule fixture (t…
davidfirst 0f796d9
fix(scope): break re-entrant aspect-load cycles with an in-flight guard
davidfirst 9e969d2
fix(envs): recognize core envs in findFirstEnv before the core-aspect…
davidfirst f121f05
fix(e2e): remove accidentally committed .only from root-components
davidfirst 3415ff8
chore: retrigger ci after transient bit.cloud 522
davidfirst caf30a0
fix(ci): cap node heap below the container memory limit in e2e runs
davidfirst 698f97c
fix(workspace): widen the dist-main fallback to more source extensions
davidfirst fbe874f
fix(deps): anchor the bit-roots dir existence check to the workspace …
davidfirst 2c95426
Revert "fix(ci): cap node heap below the container memory limit in e2…
davidfirst ff0a547
fix(workspace): try all parent chains when resolving installed aspects
davidfirst 446416e
fix(envs): resolve versionless env references deterministically when …
davidfirst b34990a
fix(e2e): tolerate typescript 6 in tsconfig-mismatch fixtures, skip t…
davidfirst d4bb772
Merge remote-tracking branch 'origin/master' into remove-core-envs-fr…
davidfirst cd9e726
Merge remote-tracking branch 'origin/master' into remove-core-envs-fr…
davidfirst 317f480
fix(scope): type loadCustomEnvs option as boolean
davidfirst 3fae4bf
chore: update empty-env to core-aspect-env 1.0.0
davidfirst 6de8740
fix(workspace): match installed root aspects ignoring version, restor…
davidfirst 150dfe8
fix(e2e): switch to yarn only after installing the legacy env chain t…
davidfirst 796f76c
fix(workspace): key in-flight aspect loads by full id, collapse versi…
davidfirst 4fd87e8
refactor(workspace): type the aspect-sources result map explicitly
davidfirst 5dd1c00
fix(envs): support mts/cts in the fallback typescript compiler
davidfirst 7bad71b
chore: merge master into remove-core-envs-from-manifest
davidfirst aa8e29d
fix(envs): keep explicitly configured env version in getEnvId config …
davidfirst a771e4e
ci: raise e2e no_output_timeout for silent env-chain installs
davidfirst d49c9de
perf(workspace): batch-import deps per level when building filtered a…
davidfirst 9209097
test(e2e): switch compile-only suites to a modern pinned node env
davidfirst b4b4211
fix(workspace): chunk batched graph imports to bound memory
davidfirst 97656dc
chore: merge master into remove-core-envs-from-manifest
davidfirst c5b009a
fix(workspace): skip locally-present ids in lazy graph import prefetch
davidfirst 7bfc332
test(e2e): fix build-cmd/custom-env/readme-env suites for non-core envs
davidfirst a73d92c
test(e2e): expect custom env in old-envs install warning
davidfirst cf7a05f
fix(deps): use embedded legacy core env policies when env is not loaded
davidfirst 020955b
Merge branch 'master' into remove-core-envs-from-manifest
davidfirst 685c5df
test(e2e): fail aspect-loading fixture explicitly now that created as…
davidfirst f964bd9
Merge branch 'remove-core-envs-from-manifest' of https://github.com/t…
davidfirst 1821cdf
test(e2e): use minimal envs in capsule suites to avoid yarn OOM
davidfirst c11b0f6
test(e2e): fail validate lint checks via error-severity oxlint env
davidfirst 2aedf12
fix(envs): normalize version in isCoreEnv, semver-order env slot matc…
davidfirst dd51219
ci(e2e): rebalance test split from branch timings, add --branch to ti…
davidfirst 722282a
ci(e2e): pre-warm package-manager cache with legacy core env chains
davidfirst 6171233
ci(e2e): add the legacy env packages print script used by the warm-ca…
davidfirst a2dfa9f
ci(e2e): point warm cache at pnpm's real store/cache dirs, refresh ti…
davidfirst a4b3984
test(e2e): use minimal env fixture in custom-env suite to avoid full …
davidfirst c40a523
Merge remote-tracking branch 'origin/master' into remove-core-envs-fr…
davidfirst 097d502
refactor: simplify legacy core envs handling
davidfirst 1151fae
Merge origin/master into remove-core-envs-from-manifest
davidfirst e38504a
ci: remove pnpm warm-cache (measured no benefit) and restore default …
davidfirst 2eb5a94
test(e2e): use minimal env fixture in custom-env-operations to cut su…
davidfirst 22ecb2e
docs: revert accidental prettier reformat and entry reorder
davidfirst 14f994f
test(e2e): recognize env.jsonc components as envs pre-load; zero-dep …
davidfirst 9b5f9dc
test(e2e): replace unneeded legacy env installs with simple/bitdev envs
davidfirst 75eb25c
Merge remote-tracking branch 'origin/master' into remove-core-envs-fr…
davidfirst 16a4fac
Merge branch 'master' into remove-core-envs-from-manifest
davidfirst c9efaf5
test(e2e): use bitdev node env in create.e2e variant-env test
davidfirst efb12ff
Merge remote-tracking branch 'origin/remove-core-envs-from-manifest' …
davidfirst 8d11416
fix(install): don't fail install when a not-yet-compiled env fails to…
davidfirst a2f16c7
fix(yarn): fix workspace ident of versioned .bit_roots dirs
davidfirst faa7d47
fix: keep source main for empty-env components, tighten types
davidfirst 32b0e6f
ci(e2e): restore no-output timeout, regenerate cli skill file
davidfirst 1a2cbb4
refactor(envs): recognize unloaded envs by their .bit-env plugin file…
davidfirst de03b0f
Merge remote-tracking branch 'origin/master' into remove-core-envs-fr…
davidfirst 2c04053
chore: regenerate cli reference after master merge
davidfirst dac4f7a
Merge remote-tracking branch 'origin/master' into remove-core-envs-fr…
davidfirst 4f672dd
test(e2e): add setTsEnv zero-install compiling env and convert suites…
davidfirst 3281192
chore: retrigger ci (checkout infra failure)
davidfirst 5422e3c
test(e2e): use a plain-js plugin file in the env-recognition test (de…
davidfirst b46d725
chore(e2e): refresh e2e timings manifest from this branch's runs
davidfirst 9c25b12
test(e2e): split five slowest e2e files so parallel nodes can balance…
davidfirst e45aa83
chore(e2e): recalibrate e2e timings from the split-files run
davidfirst 4650fc5
Merge remote-tracking branch 'origin/master' into remove-core-envs-fr…
davidfirst fce89b4
fix(linker): point main at dist when empty-env is only a fallback for…
davidfirst 1596dca
chore: regenerate pnpm-lock with bit after master merge
davidfirst 34e4544
fix(e2e): use install-free envs in yarn peer-hoisting test to avoid C…
davidfirst 5b7b9cb
test(e2e): verify former-core-env components stay versionless and unm…
davidfirst 4caa63f
fix(envs): return configured env id from calculateEnvId when no aspec…
davidfirst 11930cb
fix(preview): guard legacy core envs in doesScaling and isSupportSkip…
davidfirst bae1ea4
Merge remote-tracking branch 'origin/master' into remove-core-envs-fr…
davidfirst 797ec4d
fix(envs): revert calculateEnvId configured-env fallback that regress…
davidfirst 44a19e6
ci(e2e): lower no_output_timeout back to 10m
davidfirst 6588503
docs(compiler): note environment param is a pass-through, not an env …
davidfirst ce1476f
ci(e2e): raise no_output_timeout to 40m for slow former-core env inst…
davidfirst c4c2d5e
perf(workspace): resolve installed legacy-core env closure from node_…
davidfirst 8d4017b
ci(e2e): remove no_output_timeout override now that env installs don'…
davidfirst 66cee11
Revert "ci(e2e): remove no_output_timeout override now that env insta…
davidfirst f092bd3
Revert "perf(workspace): resolve installed legacy-core env closure fr…
davidfirst df7a823
experiment: remove former-core envs (node/react/aspect/env/mdx/readme…
davidfirst a457f94
chore(types): decouple root type-check from env-source ambient module…
davidfirst 833fca6
fix(dependency-resolver): resolve source-removed legacy core envs fro…
davidfirst 4ae5289
chore(diag): temporary legacy-core-env resolution logging + custom-re…
davidfirst 94a9d3c
chore(diag): trace env load pipeline (requireables + batch harmony.lo…
davidfirst a58aa2d
fix(aspect-loader): don't drop requested env on resolution collisions…
davidfirst af7f30b
fix(workspace): skip dep detection in node-env fixtures; match abs-pa…
davidfirst 2cef557
fix(preview): load ESM-only mdx options with a native import in pre-b…
davidfirst d10ffc7
fix(dependency-resolver): baseline md/mdx import detection when the m…
davidfirst bee89d1
fix(dependency-resolver): skip code fences, inline code and comments …
davidfirst 354eea7
fix(bit): recover require() of ESM files when a test hook hijacked th…
davidfirst ee4be74
chore: remove temporary env-load diagnostics
davidfirst 664af60
Merge remote-tracking branch 'origin/master' into experiment/remove-e…
davidfirst ce9fc61
chore: reconcile lockfile after master merge (env sources removed)
davidfirst 7934cf4
fix(envs): bump node-babel-mocha env to 1.0.3, revert hook-require es…
davidfirst d8c3d33
fix(builder): restore require extension hooks after each build task
davidfirst b501f6f
ci(e2e): restore branch-measured e2e timings lost in master merge
davidfirst 8bcda45
Merge remote-tracking branch 'origin/master' into experiment/remove-e…
davidfirst 32ed2dd
ci(e2e): lower e2e no_output_timeout from 40m to 20m
davidfirst 01ae9d8
feat(deps): remove @teambit/legacy installation and linking
davidfirst cfea063
refactor(envs): remove dead versionless fallback in getEnv, supersede…
davidfirst 3422fdf
Merge remote-tracking branch 'origin/master' into remove-core-envs-fr…
davidfirst 86ede67
test(e2e): use setTsEnv in the chokidar-fallback watch suite (node en…
davidfirst 4c11e29
fix(install): fail install on genuine env plugin errors, tolerate onl…
davidfirst 50d29a5
Merge remote-tracking branch 'origin/master' into remove-core-envs-fr…
davidfirst 3ebce3b
fix(install): tolerate esm/cjs-mismatch loader errors during env reload
davidfirst 3d8f969
Merge remote-tracking branch 'origin/master' into remove-core-envs-fr…
davidfirst 9b931b8
fix(workspace): use DEFAULT_DIST_DIRNAME in getDistMain, log pruned c…
davidfirst 71fe0d4
docs(envs): clarify why versionless slot matching applies to all envs…
davidfirst 841136a
fix(envs): gate versionless slot match to legacy core env ids only
davidfirst 680c1e8
Merge remote-tracking branch 'origin/master' into remove-core-envs-fr…
davidfirst a846713
fix(ci): keep the env version when restoring lane config changes in c…
davidfirst e9adba6
chore: drop redundant node-babel-mocha env configs from .bitmap
davidfirst b0175b9
ci: rerun e2e (deps-graph-reimport OOM flake)
davidfirst e9924d4
ci: rerun e2e (remote aborted fetch flake in root-components)
davidfirst 62982e5
chore: fix component-descriptor version and align empty-env env versi…
davidfirst 994599c
Merge remote-tracking branch 'origin/master' into remove-core-envs-fr…
davidfirst 8541cd2
docs: clarify empty-env description
davidfirst 35b91bf
chore: restore lint-error-env fixture replaced by a symlink during in…
davidfirst 86d1aed
Merge remote-tracking branch 'origin/master' into remove-core-envs-fr…
davidfirst 886f6a2
Merge remote-tracking branch 'origin/master' into remove-core-envs-fr…
davidfirst 53f7c45
chore: reconcile pnpm-lock after master merge
davidfirst 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
4 changes: 4 additions & 0 deletions
4
components/legacy/e2e-helper/excluded-fixtures/extensions/babel-env/babel-env.extension.ts
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,3 +1,7 @@ | ||
| // @ts-nocheck | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 1. @ts-nocheck disables fixture checking The added @ts-nocheck directive suppresses strict TypeScript checking for the entire fixture instead of resolving the incompatible types. Similar suppressions were added across several modified environment fixtures, allowing future type errors to pass unnoticed. Agent Prompt
|
||
| // the e2e runs inside the bit repo, where core-aspect types (e.g. @teambit/compiler) resolve | ||
| // to the repo sources while the env tree in the capsule brings the published @teambit/builder. | ||
| // the two BuildContext types are structurally identical but nominally different - skip checking. | ||
| import { EnvsMain, EnvsAspect } from '@teambit/envs'; | ||
| import { ReactAspect, ReactMain } from '@teambit/react'; | ||
| import { BabelAspect, BabelMain } from '@teambit/babel'; | ||
|
|
||
4 changes: 4 additions & 0 deletions
4
...e2e-helper/excluded-fixtures/extensions/custom-react-env/custom-react-env.main.runtime.ts
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
1 change: 1 addition & 0 deletions
1
...s/legacy/e2e-helper/excluded-fixtures/extensions/dev-files-env/dev-files-env.extension.ts
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
1 change: 1 addition & 0 deletions
1
...cy/e2e-helper/excluded-fixtures/extensions/env-add-dependencies/add-deps-env.extension.ts
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
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.
Uh oh!
There was an error while loading. Please reload this page.