Skip to content

Commit 9e01677

Browse files
committed
merge edge
2 parents 4cc3fb0 + 19a94a6 commit 9e01677

File tree

3,524 files changed

+216834
-126293
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

3,524 files changed

+216834
-126293
lines changed

.eslintignore

+1
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
**/CHANGELOG.md
1313
!api/release-notes.md
1414
!app-shell/build/release-notes.md
15+
**/.yarn-cache/**
1516

1617
# components library
1718
storybook-static

.eslintrc.js

+20
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@ module.exports = {
3939
'no-case-declarations': 'warn',
4040
'prefer-regex-literals': 'warn',
4141
'react/prop-types': 'warn',
42+
'react/jsx-curly-brace-presence': 'warn',
4243

4344
// Enforce notification hooks
4445
'no-restricted-imports': [
@@ -179,13 +180,32 @@ module.exports = {
179180
files: ['./protocol-designer/src/**/*.@(ts|tsx)'],
180181
rules: {
181182
'opentrons/no-imports-up-the-tree-of-life': 'warn',
183+
'opentrons/no-margins-in-css': 'warn',
184+
'opentrons/no-margins-inline': 'warn',
182185
},
183186
},
184187
// apply application structure import requirements to app
185188
{
186189
files: ['./app/src/**/*.@(ts|tsx)'],
187190
rules: {
188191
'opentrons/no-imports-across-applications': 'error',
192+
'opentrons/no-margins-in-css': 'warn',
193+
'opentrons/no-margins-inline': 'warn',
194+
},
195+
},
196+
{
197+
files: ['./opentrons-ai-client/src/**/*.@(ts|tsx)'],
198+
rules: {
199+
'opentrons/no-imports-up-the-tree-of-life': 'warn',
200+
'opentrons/no-margins-in-css': 'warn',
201+
'opentrons/no-margins-inline': 'warn',
202+
},
203+
},
204+
{
205+
files: ['./components/src/**/*.@(ts|tsx)'],
206+
rules: {
207+
'opentrons/no-margins-in-css': 'warn',
208+
'opentrons/no-margins-inline': 'warn',
189209
},
190210
},
191211
],

.github/actions/.gitattributes

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
odd-resource-analysis/dist/* binary
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
name: 'Set Complex Environment Variables'
2+
description: Composite action using github-script to set complex environment variables.
3+
inputs: {}
4+
runs:
5+
using: 'composite'
6+
steps:
7+
- name: 'Set complex environment variables'
8+
id: set-vars
9+
uses: actions/github-script@v7
10+
with:
11+
script: |
12+
const { buildComplexEnvVars } = require(`${process.env.GITHUB_WORKSPACE}/.github/workflows/utils.js`)
13+
buildComplexEnvVars(core, context)
+17
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
name: 'Fix Checkout Tags'
2+
description: >
3+
Composite action to fix actions/checkout odd handling of tags
4+
by fetching and checking out the exact tag reference.
5+
See https://github.com/actions/checkout/issues/290
6+
inputs: {}
7+
runs:
8+
using: 'composite'
9+
steps:
10+
- name: 'Fix actions/checkout odd handling of tags'
11+
if: startsWith(github.ref, 'refs/tags')
12+
shell: bash
13+
env:
14+
REF: ${{ github.ref }}
15+
run: |
16+
git fetch -f origin "${REF}:${REF}"
17+
git checkout "${REF}"

.github/actions/js/setup/action.yml

+28
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
name: 'Setup JS Environment'
2+
description: >
3+
Composite action to fix tag handling in checkout,
4+
setup Node.js, install udev for USB detection, cache Yarn/NPM caches,
5+
and perform JS setup.
6+
7+
inputs: {}
8+
9+
runs:
10+
using: 'composite'
11+
steps:
12+
- uses: ./.github/actions/git/resolve-tag
13+
- uses: ./.github/actions/environment/complex-variables
14+
- name: 'Setup Node'
15+
uses: actions/setup-node@v4
16+
with:
17+
node-version: '22.11.0'
18+
cache: 'yarn'
19+
20+
- name: 'Install udev for USB-detection'
21+
if: runner.os == 'Linux'
22+
shell: bash
23+
run: sudo apt-get update && sudo apt-get install libudev-dev
24+
25+
- name: 'Setup JS'
26+
shell: bash
27+
run: |
28+
make setup-js
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
.DS_Store
2+
.idea
3+
*.log
4+
tmp/
5+
6+
*.tern-port
7+
node_modules/
8+
npm-debug.log*
9+
yarn-debug.log*
10+
yarn-error.log*
11+
*.tsbuildinfo
12+
.npm
13+
.eslintcache
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
dist/
2+
node_modules/
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
'use strict'
2+
3+
module.exports = {
4+
printWidth: 80, // default
5+
tabWidth: 2, // default
6+
useTabs: false, // default
7+
semi: false,
8+
singleQuote: true,
9+
jsxSingleQuote: false, // default
10+
trailingComma: 'es5',
11+
bracketSpacing: true, // default
12+
jsxBracketSameLine: false, // default
13+
arrowParens: 'avoid', // default
14+
endOfLine: 'lf',
15+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
name: 'ODD Memory Usage Analysis'
2+
description: >-
3+
Analyzes memory usage trends across ODD versions using Mixpanel data.
4+
Note that only processes with positive correlation or explicitly whitelisted processes are shown.
5+
6+
inputs:
7+
mixpanel-user:
8+
description: 'Mixpanel service account username'
9+
required: true
10+
mixpanel-secret:
11+
description: 'Mixpanel service account password'
12+
required: true
13+
mixpanel-project-id:
14+
description: 'Mixpanel project ID'
15+
required: true
16+
previous-version-count:
17+
description: 'Number of previous versions to analyze'
18+
required: false
19+
default: '2'
20+
21+
outputs:
22+
analysis-results:
23+
description: 'JSON string containing the complete analysis results'
24+
25+
runs:
26+
using: 'node16'
27+
main: 'dist/index.js'

0 commit comments

Comments
 (0)