Skip to content

Commit

Permalink
Merge branch 'edge' into hardware_testing_evt_stacker
Browse files Browse the repository at this point in the history
  • Loading branch information
Carlos-fernandez committed Feb 3, 2025
2 parents b2d45eb + b4831cf commit 56c1ce1
Show file tree
Hide file tree
Showing 3,737 changed files with 293,794 additions and 122,411 deletions.
The diff you're trying to view is too large. We only load the first 3000 changed files.
4 changes: 4 additions & 0 deletions .eslintignore
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
**/CHANGELOG.md
!api/release-notes.md
!app-shell/build/release-notes.md
**/.yarn-cache/**

# components library
storybook-static
Expand All @@ -28,6 +29,9 @@ robot-server/**
shared-data/python/**
hardware-testing/**

# abr-testing don't format the json protocols
abr-testing/protocols/**

# analyses-snapshot-testing don't format the json protocols
analyses-snapshot-testing/files
# don't format the snapshots
Expand Down
20 changes: 20 additions & 0 deletions .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ module.exports = {
'no-case-declarations': 'warn',
'prefer-regex-literals': 'warn',
'react/prop-types': 'warn',
'react/jsx-curly-brace-presence': 'warn',

// Enforce notification hooks
'no-restricted-imports': [
Expand Down Expand Up @@ -179,13 +180,32 @@ module.exports = {
files: ['./protocol-designer/src/**/*.@(ts|tsx)'],
rules: {
'opentrons/no-imports-up-the-tree-of-life': 'warn',
'opentrons/no-margins-in-css': 'warn',
'opentrons/no-margins-inline': 'warn',
},
},
// apply application structure import requirements to app
{
files: ['./app/src/**/*.@(ts|tsx)'],
rules: {
'opentrons/no-imports-across-applications': 'error',
'opentrons/no-margins-in-css': 'warn',
'opentrons/no-margins-inline': 'warn',
},
},
{
files: ['./opentrons-ai-client/src/**/*.@(ts|tsx)'],
rules: {
'opentrons/no-imports-up-the-tree-of-life': 'warn',
'opentrons/no-margins-in-css': 'warn',
'opentrons/no-margins-inline': 'warn',
},
},
{
files: ['./components/src/**/*.@(ts|tsx)'],
rules: {
'opentrons/no-margins-in-css': 'warn',
'opentrons/no-margins-inline': 'warn',
},
},
],
Expand Down
1 change: 1 addition & 0 deletions .github/actions/.gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
odd-resource-analysis/dist/* binary
13 changes: 13 additions & 0 deletions .github/actions/odd-resource-analysis/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
.DS_Store
.idea
*.log
tmp/

*.tern-port
node_modules/
npm-debug.log*
yarn-debug.log*
yarn-error.log*
*.tsbuildinfo
.npm
.eslintcache
2 changes: 2 additions & 0 deletions .github/actions/odd-resource-analysis/.prettierignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
dist/
node_modules/
15 changes: 15 additions & 0 deletions .github/actions/odd-resource-analysis/.prettierrc.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
'use strict'

module.exports = {
printWidth: 80, // default
tabWidth: 2, // default
useTabs: false, // default
semi: false,
singleQuote: true,
jsxSingleQuote: false, // default
trailingComma: 'es5',
bracketSpacing: true, // default
jsxBracketSameLine: false, // default
arrowParens: 'avoid', // default
endOfLine: 'lf',
}
27 changes: 27 additions & 0 deletions .github/actions/odd-resource-analysis/action.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: 'ODD Memory Usage Analysis'
description: >-
Analyzes memory usage trends across ODD versions using Mixpanel data.
Note that only processes with positive correlation or explicitly whitelisted processes are shown.
inputs:
mixpanel-user:
description: 'Mixpanel service account username'
required: true
mixpanel-secret:
description: 'Mixpanel service account password'
required: true
mixpanel-project-id:
description: 'Mixpanel project ID'
required: true
previous-version-count:
description: 'Number of previous versions to analyze'
required: false
default: '2'

outputs:
analysis-results:
description: 'JSON string containing the complete analysis results'

runs:
using: 'node16'
main: 'dist/index.js'
Loading

0 comments on commit 56c1ce1

Please sign in to comment.