:hedgehog: PostHog is the leading platform for building self-driving products. Our developer tools – AI observability, analytics, session replay, flags, experiments, error tracking, logs, and more – capture all the context agents need to diagnose problems, uncover opportunities, and ship fixes. Steer it all from Slack, web, desktop, or the MCP.
Python ab-testingai-analyticsanalyticscdpdata-warehouseexperimentsfeature-flagsjavascriptproduct-analyticspythonreactsession-replaysurveystypescriptweb-analytics
chore(lint): stop oxlint/oxfmt churning generated MCP client (#73291)
Rafael Audibertaa74641491a0
diff --git a/.oxfmtrc.json b/.oxfmtrc.jsonindex a159fd1a03dd..8e6a326dc521 100644--- a/.oxfmtrc.json+++ b/.oxfmtrc.json@@ -115,6 +115,7 @@"frontend/src/layout.html","**/fixtures/**","services/mcp/**/generated.ts",+ "services/mcp/**/generated/**","services/mcp/src/**/*.md","services/mcp/worker-configuration.d.ts","frontend/src/taxonomy/core-filter-definitions-by-group.json",diff --git a/.oxlintrc.json b/.oxlintrc.jsonindex b361932e5ac3..320b66db2ef6 100644--- a/.oxlintrc.json+++ b/.oxlintrc.json@@ -22,6 +22,7 @@"frontend/src/queries/validators.js","frontend/src/generated/**","services/mcp/**/generated.ts",+ "services/mcp/**/generated/**","services/mcp/schema/tool-inputs.json","products/**/frontend/generated/**"],diff --git a/frontend/src/lib/components/TaxonomicFilter/TaxonomicFilter.tsx b/frontend/src/lib/components/TaxonomicFilter/TaxonomicFilter.tsxindex edaf377e34e9..5bcb0e7dbc9f 100644--- a/frontend/src/lib/components/TaxonomicFilter/TaxonomicFilter.tsx+++ b/frontend/src/lib/components/TaxonomicFilter/TaxonomicFilter.tsx@@ -129,7 +129,7 @@ export function TaxonomicFilter({if (taxonomicFilterRef.current) {setRefReady(true)}- }, [taxonomicFilterRef.current])+ }, [])const style = {...(width ? { width } : {}),diff --git a/frontend/src/lib/lemon-ui/LemonInput/RawInputAutosize.tsx b/frontend/src/lib/lemon-ui/LemonInput/RawInputAutosize.tsxindex e345f99be321..79f6e8e78c8b 100644--- a/frontend/src/lib/lemon-ui/LemonInput/RawInputAutosize.tsx+++ b/frontend/src/lib/lemon-ui/LemonInput/RawInputAutosize.tsx@@ -21,7 +21,7 @@ export const RawInputAutosize = React.forwardRef<HTMLInputElement, RawInputAutosif (inputRef.current) {setInputStyles(getComputedStyle(inputRef.current))}- }, [inputRef.current])+ }, [])useLayoutEffect(() => {if (inputStyles) {@@ -47,7 +47,7 @@ export const RawInputAutosize = React.forwardRef<HTMLInputElement, RawInputAutosif (newInputWidth !== inputWidth) {setInputWidth(newInputWidth)}- }, [sizerRef.current, placeHolderSizerRef.current, inputProps.placeholder, inputProps.value, inputWidth])+ }, [inputProps.placeholder, inputProps.value, inputWidth])return (<div className={clsx('relative min-w-0', wrapperClassName)}>diff --git a/frontend/src/queries/nodes/HogQLQuery/HogQLQueryEditor.tsx b/frontend/src/queries/nodes/HogQLQuery/HogQLQueryEditor.tsxindex 0cd00710e807..a433b91dc58e 100644--- a/frontend/src/queries/nodes/HogQLQuery/HogQLQueryEditor.tsx+++ b/frontend/src/queries/nodes/HogQLQuery/HogQLQueryEditor.tsx@@ -44,6 +44,7 @@ export function HogQLQueryEditor(props: HogQLQueryEditorProps): JSX.Element {if (router.values.location.pathname.includes(urls.sqlEditor())) {setKey(router.values.location.pathname)}+ // eslint-disable-next-line react-hooks/exhaustive-deps -- intentionally re-run to reset the editor key when the SQL editor route changes}, [router.values.location.pathname])const [monacoAndEditor, setMonacoAndEditor] = useState(diff --git a/frontend/src/scenes/settings/user/scopes/ScopeAccessSelector/RequiredOrganizationAccessSelector.tsx b/frontend/src/scenes/settings/user/scopes/ScopeAccessSelector/RequiredOrganizationAccessSelector.tsxindex c831e01a9f64..8f1a56cc8499 100644--- a/frontend/src/scenes/settings/user/scopes/ScopeAccessSelector/RequiredOrganizationAccessSelector.tsx+++ b/frontend/src/scenes/settings/user/scopes/ScopeAccessSelector/RequiredOrganizationAccessSelector.tsx@@ -29,6 +29,7 @@ export const RequiredOrganizationAccessSelector = ({if (autoSelectFirst && arrayValue.length === 0 && organizations.length > 0) {onChange([organizations[0].id])}+ // eslint-disable-next-line react-hooks/exhaustive-deps -- autoSelectFirst is a reactive prop; keep it so the effect re-runs if it changes}, [autoSelectFirst, arrayValue.length, onChange])return (diff --git a/frontend/src/scenes/settings/user/scopes/ScopeAccessSelector/RequiredTeamAccessSelector.tsx b/frontend/src/scenes/settings/user/scopes/ScopeAccessSelector/RequiredTeamAccessSelector.tsxindex 2cecba576b6c..d5dc1ccd771d 100644--- a/frontend/src/scenes/settings/user/scopes/ScopeAccessSelector/RequiredTeamAccessSelector.tsx+++ b/frontend/src/scenes/settings/user/scopes/ScopeAccessSelector/RequiredTeamAccessSelector.tsx@@ -31,6 +31,7 @@ export const RequiredTeamAccessSelector = ({if (autoSelectFirst && arrayValue.length === 0 && teams && teams.length > 0) {onChange([teams[0].id])}+ // eslint-disable-next-line react-hooks/exhaustive-deps -- autoSelectFirst is a reactive prop; keep it so the effect re-runs if it changes}, [autoSelectFirst, arrayValue.length, onChange])return (