SynapseML branch context
Use the PR base branch as the context. A feature branch name does not determine the runtime, sync policy, or CI that must pass.
Workflow
- Read root
AGENTS.md. - Resolve the target:
- For a PR, read
baseRefNamefrom GitHub. - For direct branch work, use the checked-out shared branch.
- For a PR, read
- Load the mapped reference. Filenames use
pfor the version decimal:master-> branch-spark3p5.md.masteris currently the canonical Spark 3.5 development baseline.spark3.5-> branch-spark3p5.md. This is the shared Spark 3.5 release branch.spark4.0-> branch-spark4p0.md.spark4.1-> branch-spark4p1.md.- Any other target -> branch-fallback.md.
- Verify every version, dependency, trigger, skip, and test command against
that branch's live
build.sbt,environment.yml, workflows, andpipeline.yaml. References are decision guides, not stale-value authority. - Recheck branch context at three points: before implementation, before validation, and immediately before push/readiness. Target movement or a changed base invalidates earlier evidence.
Responsibilities
- Ordinary PRs rebase onto their latest target with
--force-with-lease. - Shared port branches receive
masterby merge; never rebase or force-push the shared branch. - For conflict resolution, compare merge base,
master, and port branch; ancestry alone does not prove both sides survived. - Inspect CI definitions on the target branch and confirm builds actually
queued. Never infer port-branch coverage from
master. - Confirm the relevant suites ran by test result/class, not only job status.
- Treat
.github/skills/as authoritative..agents/is compatibility-only and may contain stale copies. - If no exact reference exists, follow the fallback, state uncertainty, and add a concise reference from the branch template when the branch is an active supported target.