Declare dbm option as fleet_configurable for Oracle #25193
All Vouch review confidence checks passed
Residual risk 0.27 = Change Risk (0.68) × (1 − Review Confidence (0.60)).
Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.68 · 408 lines diff across 5 files
Model 2 · Review Depth (DistilBERT)
Depth Score: 0.17 · 1 substantive comment(s)
Model 3 · Review Timing & Attention
Session adequacy: 100% · Reviewer familiarity: 35%
Bedrock Claude 3 · Risk Narration
(disconnected)
Groq Risk Narration
AWS Bedrock is currently disconnected. Generate high-confidence PR triage narration on-demand using Groq.
Model 1 · Change Risk Attribution
SHAP Weights
Diff Size
diff_size
0.360
Shallow Review Depth
shallow_review_depth
0.289
Sensitive Paths
sensitive_paths
0.068
Real PR Conversation Timeline
1 comments
"Review active on #25193"
general
weight: 0.35
RyanPisuena
What does this PR do?
Declares the
dbmoption inoracle/assets/configuration/spec.yamlwithfleet_configurable: true, mirroring the existing pattern in mysql, postgres, and sqlserver's spec.yaml files.Motivation
Customer-reported (Zendesk 3013499): Fleet Automation's remote-config editor rejects
dbmwhen configuring the Oracle integration, even thoughdbm: trueis a real, documented, working option (see the shippedconf.yaml.exampleindatadog-agent'scmd/agent/dist/conf.d/oracle.d/, and the Oracle check'spkg/collector/corechecks/oracle/config/config.go, which parsesDBM boolyaml:"dbm"`).spec.yamlOracle's
in this repo never declareddbmat all, unlike the other DBM-enabled integrations.dbmNote: mongo has no
option in its spec.yaml at all, and clickhouse declaresdbmwithfleet_configurable: false(off by default there, for reasons specific to that integration, not applicable to Oracle) — neither is a counter-example against this change.__about__.pyWhat I verified locally
Using a temporary local package scaffold (
,__init__.py,data/) — since Oracle's actual check implementation is a Go core check indatadog-agent, not a Python package living in this repo — I ran:
ddev validate config oracle -s: generates aconf.yaml.exampledbmblock that is character-for-character identical to the one already shipped indatadog-agent.
ddev validate models oracle -s: generates a valid pydantic config model includingdbm: Optional[bool] = None.datadog_checks/oracleI also confirmed that since Oracle has no
package in this repo, it isn't part ofddev'sget_valid_checks()set, so theconfig/modelsCI validators skip Oracle entirely and will not attempt to regenerate or validate aconf.yaml.example/config_modelsthat don't exist. No CI breakage expected from this change.dd-source/domains/fleet-automation/apps/fleet-sync-workerHow this reaches Fleet Automation
Traced the actual sync mechanism in
: a scheduled workflow lists every top-level directory in this repo, fetches each<name>/assets/configuration/spec.yamldirectly (independent of any Python packaging), convertsfleet_configurable: truefields into theINSTALLER_CONFIGJSON schema, diffs against what's currently committed indd-source, and opens a bot PR only when something changed. Oracle isn't in any exclusion list; it simply never had afleet_configurablefield before, so every prior run produced identical output and no PR was ever opened for it. Once this PR merges, the next scheduled run should produce a real diff fororacle.jsonand open add-sourcePR fromdd-octo-sts[bot]— that PR is the thing to watch for and review to confirm this closes the loop end-to-end. Feature or bugfix MUST have appropriate tests (unit, integration, e2e)
Add qa/requiredReview checklist (to be filled by reviewers)
if this PR needs QA validation, orqa/skip-qaif it does not. Exactly one of the two is required.
If you need to backport this PR to another branch, you can add the backport/<branch-name>` label to the PR and it will automatically open a backport PR once this one is merged🤖 Generated with Claude Code