resolve-sync-conflict
Skill3.8k starsChanged 5 days agoApache-2.0View on GitHub
Resolve a merge conflict while importing public DataDog/datadog-agent main into internal ddoghq/datadog-agent main, when the hourly sync workflow failed and disabled itself. Prepares and verifies the resolution for a human to publish.
Adopted by
Steady: 0 new projects took it in the last 4 weeks, none the 4 weeks before.thin data
Who's talking about DataDog/datadog-agent
- aws/aws-sdk-go-v2“[SOLUTION IN THREAD] "not found, ResolveEndpointV2" service modules before 11/15/23 are incompatible …”GitHub · Nov 16, 2023 · 45 reactions
- micrometer-metrics/micrometer“Unix Domain Socket support (StatsD)”GitHub · Aug 17, 2018 · 22 reactions
- golang/go“proposal: x/tools/go/analysis/passes/appends: check for incorrect slice length initialization ”GitHub · Oct 14, 2024 · 18 reactions
- airbytehq/airbyte“[STORAGE-S3] Add Support for Custom S3 Endpoint”GitHub · Aug 16, 2024 · 14 reactions
- prometheus/blackbox_exporter“List of metrics provided in a human-readable format”GitHub · Dec 15, 2021 · 13 reactions
The biggest 5 of 54 mentions linking to the repository that our crawl found. Each line is their own headline.
See all 54
Talked about on GitHub and Stack Overflow (54 times).
On GitHub · 46
- Nov 16, 2023[SOLUTION IN THREAD] "not found, ResolveEndpointV2" service modules before 11/15/23 are incompatible against newer root modules — aws/aws-sdk-go-v245 reactions · 33 comments
- Aug 17, 2018Unix Domain Socket support (StatsD) — micrometer-metrics/micrometer22 reactions · 23 comments
- Oct 14, 2024proposal: x/tools/go/analysis/passes/appends: check for incorrect slice length initialization — golang/go18 reactions · 28 comments
- Aug 16, 2024[STORAGE-S3] Add Support for Custom S3 Endpoint — airbytehq/airbyte14 reactions · 21 comments
- Dec 15, 2021List of metrics provided in a human-readable format — prometheus/blackbox_exporter13 reactions · 5 comments
41 more on GitHub
- Feb 26, 2026cmd/go: decide and document official recommendation for typical 'go' version in go.mod for open source libraries — golang/go9 reactions · 13 comments
- Dec 26, 2024[BUG] go.mod tidy fails due to unresolved module in dd-trace-go — DataDog/dd-trace-go9 reactions · 8 comments
- Oct 31, 2018[disk] Blacklist certain partitions by default — DataDog/integrations-core9 reactions · 6 comments
- Mar 27, 2024datadog-agent: panic: must be called from a bundle — NixOS/nixpkgs8 reactions · 5 comments
- Feb 3, 2026cmd/go: go list computes build info for test packages when not needed — golang/go7 reactions · 4 comments
- Jan 28, 2022v1.35.0 breaks any program trying to use a `-v` flag — DataDog/dd-trace-go6 reactions · 5 comments
- May 10, 2021Validator reports false duplicates — dependabot/dependabot-core6 reactions · 2 comments
- Feb 17, 2025[receiver/sqlserver] Support query-level log collection [Top Query] — open-telemetry/opentelemetry-collector-contrib4 reactions · 11 comments
- Nov 4, 2026CONTINT-5659: adds kubernetes_state.pod.unready metric to metadata.csv — DataDog/integrations-core3 reactions · 4 comments
- Jul 20, 2026chore(ci): update Datadog Agent version to 7.81.1 — DataDog/saluki3 reactions · 3 comments
- Jun 20, 2025datadog-agent: 7.56.2 -> 7.70.2 — NixOS/nixpkgs3 reactions · 3 comments
- May 17, 2024Service V2 collector — prometheus-community/windows_exporter3 reactions
- Nov 20, 2026chore(ddtrace/tracer): remove seelog dependency — DataDog/dd-trace-go2 reactions · 10 comments
- Nov 18, 2026[GPU] Rename kai_fraction to kai-fraction in sharing_fraction metadata — DataDog/integrations-core2 reactions · 4 comments
- Nov 13, 2026Publish signed images from registry.ddbuild.io — DataDog/datadog-operator2 reactions · 4 comments
- Nov 13, 2026[Backport v1.32] Remove Autopilot protocol classification workaround — DataDog/datadog-operator2 reactions · 2 comments
- Nov 12, 2026Update dd-pkg to 0.10.0 — DataDog/datadog-agent-buildimages2 reactions · 1 comment
- Nov 9, 2026chore(ci): update Datadog Agent version to 7.85.2 — DataDog/saluki2 reactions · 4 comments
- Nov 6, 2026chore(ci): render SMP regression reports locally — vectordotdev/vector2 reactions · 4 comments
- Nov 2, 2026[Backport v1.32] Update default Agent to `7.85.0` — DataDog/datadog-operator2 reactions · 2 comments
- Nov 2, 2026Update default Agent to `7.85.0` — DataDog/datadog-operator2 reactions · 2 comments
- Oct 26, 2026chore(ci): update Datadog Agent version to 7.84.6 — DataDog/saluki2 reactions · 3 comments
- Oct 21, 2026feat(nodeagent): add DD_POD_NAME as env var — DataDog/datadog-operator2 reactions · 4 comments
- Oct 19, 2026chore(ci): update Datadog Agent version to 7.84.3 — DataDog/saluki2 reactions · 3 comments
- Oct 12, 2026chore(ci): update Datadog Agent version to 7.84.2 — DataDog/saluki2 reactions · 3 comments
- Oct 9, 2026Revert Python version upgrade on 7.84.x — DataDog/integrations-core2 reactions · 6 comments
- Oct 5, 2026chore(ci): update Datadog Agent version to 7.84.1 — DataDog/saluki2 reactions · 2 comments
- Sep 29, 2026Install DotSlash in the standard build images — DataDog/datadog-agent-buildimages2 reactions · 2 comments
- Sep 28, 2026chore(ci): update Datadog Agent version to 7.83.3 — DataDog/saluki2 reactions · 2 comments
- Sep 28, 2026chore(deps): bump the docker-compose-dev group across 2 directories with 14 updates — DataDog/dd-trace-go2 reactions · 2 comments
- Sep 28, 2026Update go dependencies — DataDog/datadog-operator2 reactions · 3 comments
- Sep 21, 2026chore(ci): update Datadog Agent version to 7.83.2 — DataDog/saluki2 reactions · 2 comments
- Sep 15, 2026fix(datadog): configure Core Agent for PAR split mode — DataDog/helm-charts2 reactions
- Sep 4, 2026feat(orchestrator): grant KubeAI collection RBAC — DataDog/datadog-operator2 reactions · 1 comment
- Sep 3, 2026chore(ci): update Datadog Agent version to 7.83.0 — DataDog/saluki2 reactions · 2 comments
- Sep 3, 2026fix(metrics): normalize metric names prior to filtering — DataDog/saluki2 reactions · 4 comments
- Aug 26, 2026chore(ci): update Datadog Agent version to 7.82.3 — DataDog/saluki2 reactions · 2 comments
- Aug 21, 2026Revert "Revert "Make sure we keep the testing params when extra params does not override minor version"" — DataDog/agent-linux-install-scriptsays it tested it2 reactions · 4 comments
- Aug 18, 2026feat(datadog-agent-commons): add minimal IPC TLS feature — DataDog/saluki2 reactions · 2 comments
- Jul 29, 2026[ACIX-1887] Remove legacy devcontainer image — DataDog/datadog-agent-buildimages2 reactions · 1 comment
- Oct 5, 2024Update ecs_fargate docs to note DD_DOGSTATSD_TAG_CARDINALITY setting — DataDog/integrations-core2 reactions · 2 comments
On Stack Overflow · 8
- Mar 13, 2020How do you pass file_system_blacklist arg to Datadog Docker Agent run command?3 votes
- Dec 11, 2019Containers - Failed to get host IPs3 votes
- May 13, 2020Is there a serverless kubernetes datadog agent?2 votes
- Jun 29, 2018How to set docker labels on ECS agent container?2 votes · 1 answer
- Apr 28, 2022Issues with setting up Autodiscovery Auto-Configuration for Kubernetes integration in Datadog1 vote
3 more on Stack Overflow
- Nov 4, 2020How to configure hostname in ECS Fargate task definition1 vote
- Jan 26, 2023datadog local check setup same as check_mk local check for monitoring0 votes
- Mar 31, 2021How does the serverless datadog forwarder encrypt/encode their logs?0 votes
In this repository47 other files it gives its agents.
- AGENTS.mdAGENTS.md
- bazel/AGENTS.mdAGENTS.md
- omnibus/AGENTS.mdAGENTS.md
- packages/AGENTS.mdAGENTS.md
- tasks/AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- .cursor/rules/agent_corecheck.mdcCursor rule
- .cursor/rules/bazel-buildifier.mdcCursor rule
- .cursor/rules/e2e_tests.mdcCursor rule
- .cursor/rules/general-guidelines.mdcCursor rule
- .cursor/rules/system_probe_modules.mdcCursor rule
- .cursor/rules/system_probe_testing.mdcCursor rule
- agent-supply-chain-newsletterSkill
- alliumSkill
- anomalydetection-run-gensim-scenarioSkill
- auto-jiraSkill
- create-componentSkill
- create-config-fieldSkill
- create-core-checkSkill
- create-epic-recapSkill
- create-go-moduleSkill
- create-invoke-taskSkill
- create-prSkill
- create-release-noteSkill
- create-runtime-settingSkill
- create-status-providerSkill
- create-subcommandSkill
- cws-btfhub-syncSkill
- cws-iouring-coverageSkill
- describe-functional-changesSkill
- e2e-auditSkill
- explain-lading-configSkill
- export-to-publicSkill
- follow-prSkill
- gpu-live-metric-validationSkill
- handle-pr-ci-failureSkill
- injector-devSkill
- locate-config-settingSkill
- quality-gate-size-analysisSkill
- review-pr-commentsSkill
- run-e2eSkill
- run-jiraSkill
- run-windows-e2eSkill
- triage-ci-failureSkill
- update-3rd-party-libsSkill
- update-otel-depsSkill
- write-e2eSkill
The file
We split this skill into the rules it gives an agent
2 rules. About 0 are common, 1 is distinctive, and 1 is very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈1
Distinctive · estimate
This author's own choices. Worth a look.
1
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 22
Use a ddoghq/datadog-agent clone, where the sync script and workflow live.
- Distinctive: line 51
Do not replace whole files with either side unless you have checked all changes.
≈ “Common” is an estimate: at least 1 in 5 of the 408,460 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Resolve an internal main sync conflict
Ownership: maintained by @DataDog/agent-devx.
Internal main is a stable integration branch. The hourly workflow merges public
main without rebasing or force-pushing existing internal history. On a conflict
it leaves remote main unchanged, disables itself, and alerts #agent-devx-ops.
Prepare and verify the resolution; leave publication to the human. Do not run
--continue without --dry-run, push, or enable the workflow yourself.
1. Start a fresh merge
Use a ddoghq/datadog-agent clone, where the sync script and workflow live;
this public source repository only carries the shared skill. First check:
tools/ci/sync-public-main.sh --helpThe help must describe merging, not rebasing. If it still describes a rebase, stop: the merge-based sync implementation must land internally before using this procedure. Then run:
tools/ci/sync-public-main.sh --manualWork in the printed worktree. Do not reuse a worktree prepared by the former rebase workflow: keep any valuable resolution notes, then start a fresh merge. The script stores the original and upstream SHAs in worktree-specific state.
2. Understand both sides
base=$(git merge-base refs/sync-public-main/origin refs/sync-public-main/upstream)
git diff "$base" refs/sync-public-main/origin -- <file>
git diff "$base" refs/sync-public-main/upstream -- <file>During this merge, ours is internal and theirs is public upstream. Resolve hunk by hunk, preserving internal adaptations and upstream changes. Do not replace whole files with either side unless you have checked all changes. Retain internal CI identities and the public Go module/import paths. If upstream removed or moved edited code, follow the new structure and explain the resolution.
The script regenerates CODEOWNERS from upstream with the internal team/handle
mapping only when the old internal file exactly matches that rewrite at the
merge base. It also rewrites clean upstream additions. If internal CODEOWNERS
has custom rules, resolve it manually and preserve them. If a new personal handle
has no mapping, ask for its internal account and update CODEOWNERS_RULE before
regenerating; do not silently publish public personal handles.
Scan newly imported CI configuration for new public repository identity references that Git merged cleanly. Retain public Go imports, documentation links, dependency repositories, and explicit public-source remotes. Explain any additional internal identity rewrites in the hand-over.
3. Finish the merge
git diff --check
git add <resolved-files> # or git rm for accepted deletions
git merge --continueTo abandon this attempt: git merge --abort. Never rebase, reset, squash, or
force-push internal main to resolve the sync.
4. Verify
tools/ci/sync-public-main.sh --continue --dry-run
git show --stat HEAD
git diff refs/sync-public-main/origin HEAD # changes introduced into internal mainThe dry run checks that both the original internal tip and the captured public tip remain ancestors and that the working tree is clean. Run checks appropriate to the resolved files. Report each resolution and any additional identity rewrites.
5. Hand over publication
Provide these commands to the human, leaving the worktree in place:
tools/ci/sync-public-main.sh --continue --workdir <worktree>
git worktree remove <worktree>The first command performs a normal push and re-enables the workflow. If internal
main advanced meanwhile and the push is rejected, start a fresh --manual merge
from the updated main and reapply the reviewed resolution. Never force the push.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

