Uploaded image for project: 'OpenShift Bugs'
  1. OpenShift Bugs
  2. OCPBUGS-44576

Address circular references in @console/internal

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Major Major
    • 4.18.0
    • 4.18.0
    • Management Console
    • None
    • 3
    • ODC Sprint 3265
    • 1
    • False
    • Hide

      None

      Show
      None
    • N/A
    • Release Note Not Required
    • In Progress

      Description of problem:

          Circular dependencies in OCP Console prevent migration of Webpack 5 

      Version-Release number of selected component (if applicable):

          4.18.0

      How reproducible:

          Always

      Steps to Reproduce:

          1. Enable the CHECK_CYCLES env var while building
          2. Observe errors
          3.
          

      Actual results:

          There are errors

      Expected results:

          No errors

      Additional info:

       

      These are the cycles I can observe in public:

       webpack compilation dbe21e029f8714842299
      
      41 total cycles, 26 min-length cycles (A -> B -> A)
      
      Cycle count per directory:
        public (41)
      
      Index files occurring within cycles:
        public/components/secrets/create-secret/index.tsx (9)
        public/components/utils/index.tsx (4)
        public/module/k8s/index.ts (2)
        public/components/graphs/index.tsx (1)
      
      frontend/public/tokener.html
        public/tokener.html
        public/tokener.html
      
      frontend/public/index.html
        public/index.html
        public/index.html
      
      frontend/public/redux.ts
        public/redux.ts
        public/reducers/features.ts
        public/actions/features.ts
        public/redux.ts
      
      frontend/public/co-fetch.ts
        public/co-fetch.ts
        public/module/auth.js
        public/co-fetch.ts
      
      frontend/public/actions/features.ts
        public/actions/features.ts
        public/redux.ts
        public/reducers/features.ts
        public/actions/features.ts
      
      frontend/public/components/masthead.jsx
        public/components/masthead.jsx
        public/components/masthead-toolbar.jsx
        public/components/about-modal.tsx
        public/components/masthead.jsx
      
      frontend/public/components/utils/index.tsx
        public/components/utils/index.tsx
        public/components/utils/kebab.tsx
        public/components/utils/index.tsx
      
      frontend/public/module/k8s/index.ts
        public/module/k8s/index.ts
        public/module/k8s/k8s.ts
        public/module/k8s/index.ts
      
      frontend/public/reducers/features.ts
        public/reducers/features.ts
        public/actions/features.ts
        public/redux.ts
        public/reducers/features.ts
      
      frontend/public/module/auth.js
        public/module/auth.js
        public/co-fetch.ts
        public/module/auth.js
      
      frontend/public/components/cluster-settings/cluster-settings.tsx
        public/components/cluster-settings/cluster-settings.tsx
        public/components/cluster-settings/cluster-operator.tsx
        public/components/cluster-settings/cluster-settings.tsx
      
      frontend/public/components/monitoring/receiver-forms/alert-manager-receiver-forms.tsx
        public/components/monitoring/receiver-forms/alert-manager-receiver-forms.tsx
        public/components/monitoring/receiver-forms/pagerduty-receiver-form.tsx
        public/components/monitoring/receiver-forms/alert-manager-receiver-forms.tsx
      
      frontend/public/components/secrets/create-secret/index.tsx
        public/components/secrets/create-secret/index.tsx
        public/components/secrets/create-secret/utils.ts
        public/components/secret.jsx
        public/components/secrets/create-secret/index.tsx
      
      frontend/public/components/masthead-toolbar.jsx
        public/components/masthead-toolbar.jsx
        public/components/about-modal.tsx
        public/components/masthead.jsx
        public/components/masthead-toolbar.jsx
      
      frontend/public/actions/features.gql
        public/actions/features.gql
        public/actions/features.gql
      
      frontend/public/components/utils/kebab.tsx
        public/components/utils/kebab.tsx
        public/components/utils/index.tsx
        public/components/utils/kebab.tsx
      
      frontend/public/module/k8s/k8s.ts
        public/module/k8s/k8s.ts
        public/module/k8s/index.ts
        public/module/k8s/k8s.ts
      
      frontend/public/module/k8s/swagger.ts
        public/module/k8s/swagger.ts
        public/module/k8s/index.ts
        public/module/k8s/swagger.ts
      
      frontend/public/graphql/client.gql
        public/graphql/client.gql
        public/graphql/client.gql
      
      frontend/public/components/cluster-settings/cluster-operator.tsx
        public/components/cluster-settings/cluster-operator.tsx
        public/components/cluster-settings/cluster-settings.tsx
        public/components/cluster-settings/cluster-operator.tsx
      
      frontend/public/components/monitoring/receiver-forms/pagerduty-receiver-form.tsx
        public/components/monitoring/receiver-forms/pagerduty-receiver-form.tsx
        public/components/monitoring/receiver-forms/alert-manager-receiver-forms.tsx
        public/components/monitoring/receiver-forms/pagerduty-receiver-form.tsx
      
      frontend/public/components/monitoring/receiver-forms/webhook-receiver-form.tsx
        public/components/monitoring/receiver-forms/webhook-receiver-form.tsx
        public/components/monitoring/receiver-forms/alert-manager-receiver-forms.tsx
        public/components/monitoring/receiver-forms/webhook-receiver-form.tsx
      
      frontend/public/components/monitoring/receiver-forms/email-receiver-form.tsx
        public/components/monitoring/receiver-forms/email-receiver-form.tsx
        public/components/monitoring/receiver-forms/alert-manager-receiver-forms.tsx
        public/components/monitoring/receiver-forms/email-receiver-form.tsx
      
      frontend/public/components/monitoring/receiver-forms/slack-receiver-form.tsx
        public/components/monitoring/receiver-forms/slack-receiver-form.tsx
        public/components/monitoring/receiver-forms/alert-manager-receiver-forms.tsx
        public/components/monitoring/receiver-forms/slack-receiver-form.tsx
      
      frontend/public/components/secrets/create-secret/utils.ts
        public/components/secrets/create-secret/utils.ts
        public/components/secret.jsx
        public/components/secrets/create-secret/index.tsx
        public/components/secrets/create-secret/utils.ts
      
      frontend/public/components/secrets/create-secret/CreateConfigSubform.tsx
        public/components/secrets/create-secret/CreateConfigSubform.tsx
        public/components/secrets/create-secret/index.tsx
        public/components/secrets/create-secret/CreateConfigSubform.tsx
      
      frontend/public/components/secrets/create-secret/UploadConfigSubform.tsx
        public/components/secrets/create-secret/UploadConfigSubform.tsx
        public/components/secrets/create-secret/index.tsx
        public/components/secrets/create-secret/UploadConfigSubform.tsx
      
      frontend/public/components/secrets/create-secret/WebHookSecretForm.tsx
        public/components/secrets/create-secret/WebHookSecretForm.tsx
        public/components/secrets/create-secret/index.tsx
        public/components/secrets/create-secret/WebHookSecretForm.tsx
      
      frontend/public/components/secrets/create-secret/SSHAuthSubform.tsx
        public/components/secrets/create-secret/SSHAuthSubform.tsx
        public/components/secrets/create-secret/index.tsx
        public/components/secrets/create-secret/SSHAuthSubform.tsx
      
      frontend/public/components/secrets/create-secret/GenericSecretForm.tsx
        public/components/secrets/create-secret/GenericSecretForm.tsx
        public/components/secrets/create-secret/index.tsx
        public/components/secrets/create-secret/GenericSecretForm.tsx
      
      frontend/public/components/secrets/create-secret/KeyValueEntryForm.tsx
        public/components/secrets/create-secret/KeyValueEntryForm.tsx
        public/components/secrets/create-secret/index.tsx
        public/components/secrets/create-secret/KeyValueEntryForm.tsx
      
      frontend/public/components/secrets/create-secret/CreateSecret.tsx
        public/components/secrets/create-secret/CreateSecret.tsx
        public/components/secrets/create-secret/index.tsx
        public/components/secrets/create-secret/CreateSecret.tsx
      
      frontend/public/components/secrets/create-secret/SecretSubForm.tsx
        public/components/secrets/create-secret/SecretSubForm.tsx
        public/components/secrets/create-secret/index.tsx
        public/components/secrets/create-secret/SecretSubForm.tsx
      
      frontend/public/components/about-modal.tsx
        public/components/about-modal.tsx
        public/components/masthead.jsx
        public/components/masthead-toolbar.jsx
        public/components/about-modal.tsx
      
      frontend/public/components/graphs/index.tsx
        public/components/graphs/index.tsx
        public/components/graphs/status.jsx
        public/components/graphs/index.tsx
      
      frontend/public/components/modals/error-modal.tsx
        public/components/modals/error-modal.tsx
        public/components/utils/index.tsx
        public/components/utils/webhooks.tsx
        public/components/modals/error-modal.tsx
      
      frontend/public/components/image-stream.tsx
        public/components/image-stream.tsx
        public/components/image-stream-timeline.tsx
        public/components/image-stream.tsx
      
      frontend/public/components/graphs/status.jsx
        public/components/graphs/status.jsx
        public/components/graphs/index.tsx
        public/components/graphs/status.jsx
      
      frontend/public/components/build-pipeline.tsx
        public/components/build-pipeline.tsx
        public/components/utils/index.tsx
        public/components/utils/build-strategy.tsx
        public/components/build.tsx
        public/components/build-pipeline.tsx
      
      frontend/public/components/build-logs.jsx
        public/components/build-logs.jsx
        public/components/utils/index.tsx
        public/components/utils/build-strategy.tsx
        public/components/build.tsx
        public/components/build-logs.jsx
      
      frontend/public/components/image-stream-timeline.tsx
        public/components/image-stream-timeline.tsx
        public/components/image-stream.tsx
        public/components/image-stream-timeline.tsx
      
          

              rh-ee-jaclee Jackson Lee
              rh-ee-jaclee Jackson Lee
              YaDan Pei YaDan Pei
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated: