palantir-ci-integration

v2026.09.24

Design and verify Foundry-native continuous-integration and review gates for Code Repositories and transforms. Use when a team needs branch checks, unit tests, dataset-impact review, or controlled promotion. Trigger with "Palantir CI" or "Foundry repository checks".

GitHub
安装命令
npx skhub add jeremylongshore/palantir-ci-integration
Markdown
SKILL.md

Palantir Foundry CI and Review Gates

Overview

Build the quality gate around Foundry Code Repository branches, automatic checks, unit tests, and pull-request review. External Git hosting may mirror evidence, but it must not replace the checks that Foundry runs against repository inputs, outputs, dependencies, and platform builds.

Prerequisites

  • Identify the Foundry enrollment, Code Repository, target branch, owned datasets, and release owner.
  • Confirm whether the repository uses Python transforms, TypeScript, or another supported project type.
  • Read references/official-docs.md and inspect the repository's effective CI and branch settings before proposing changes.
  • Use a sandbox branch and non-production data until the checks and rollback path are proven.

Current Contract

  • A commit to a Code Repository branch runs automatic checks; the Checks tab is the primary result surface.
  • Python unit tests can participate in repository CI when configured according to the repository's supported build layout.
  • Transform input and output declarations are evaluated by CI and cannot be chosen dynamically at build time.
  • A pull request can require approving review before merge, and reviewers can inspect dataset impact for transform changes.

Instructions

  1. Inventory current branch protection, checks, unit-test wiring, build ownership, and required reviewers.

  2. Create or update tests so each test isolates one unit of transform logic and avoids live external dependencies.

  3. Run the Foundry branch checks and preserve the exact failing check, build report, and dependency evidence.

  4. Open a Foundry pull request, review code plus dataset impact, and obtain the required independent approval.

  5. Merge only the exact reviewed commit, then verify the main-branch checks and downstream build behavior.

Tool Discipline

  • Use Glob to locate candidate repositories, manifests, configurations, and evidence without widening scope.
  • Use Grep to find relevant identifiers, declarations, permissions, errors, and stale claims.
  • Use Read to inspect the smallest required files and authoritative evidence.
  • Use Write only for a new approved local draft, test, manifest, or evidence artifact.
  • Use Edit only for a bounded approved change whose rollback is known.
  • Do not use file tools as a substitute for authenticated Foundry operations or owner approval.

Approval Boundaries

Require the Code Repository owner to approve branch-policy changes and the data owner to approve changes to dataset inputs, outputs, or production builds. Do not bypass a failed Foundry check or approving-review requirement.

Output

A CI gate map containing repository, branch, checks, tests, dataset impact, reviewers, exact commit, result links, and rollback. Separate Foundry evidence from any external Git mirror or notification evidence.

Error Handling

ConditionResponse
A check fails only in FoundryCompare preview inputs with full-build inputs, dependency resolution, ownership, and the detailed build report.
A branch is behindUpgrade or merge the required base changes on the sandbox branch, then rerun all checks.
A required dataset is not ownedStop and resolve project/resource ownership; do not weaken the check.
External CI is green but Foundry is redTreat the Foundry result as authoritative for Foundry execution and block merge.

Examples

Example 1

Add a lightweight pytest suite to a Python transforms repository, prove it appears in the Foundry Checks tab, and require an approving Foundry pull-request review before merge.

Example 2

Diagnose a transform that previews successfully but fails its full CI build by comparing the sampled preview with the production data, dependency set, and declared inputs.

Validation

  • Every required check is visible on the exact candidate commit.
  • The unit tests run in the supported Foundry repository check path.
  • Dataset inputs, outputs, owners, and lineage impact match the review record.
  • The main branch repeats the expected checks after merge.
  • The rollback commit or product version is identified before promotion.

Resources

发现
标签

此技能尚未发布标签。

版本
最新版本元数据

版本

v2026.09.24

发布时间

2026年9月24日

分类

未分类

许可证

MIT

源路径

skills/.curated/palantir-ci-integration

默认分支

main

最新提交

e5a6c3b

Tree SHA

c2dc8e8