Skip to content

feat(cobuild): resolve object references to Dataiku UI links - #218

Merged
pmasiphelps merged 5 commits into
release/0.10.0from
feat/cobuild-object-links
Nov 20, 2026
Merged

pmasiphelps merged 5 commits into
release/0.10.0from
feat/cobuild-object-links

Conversation

@pmasiphelps

@pmasiphelps pmasiphelps commented Nov 18, 2026 •

Copy link
Copy Markdown
Collaborator

This is a V1 of returning Dataiku object links through headless to the agent. Starting by just propagating links generated by Cobuild through the Cobuild conversation tools.

Cobuild returns Dataiku object references such as [app](WEB_APP:PROJECT.id), which are not browser URLs outside Dataiku. Add object_links to terminal Cobuild responses, resolving supported references into absolute UI URLs on the conversation's pinned instance while preserving the original message.

The resolver handles local and project-qualified IDs, URL-encodes identifiers, deduplicates destinations, and leaves unknown or invalid references unresolved. The Cobuild guide tells agents to share relevant links after verified milestones and fall back to project_url when needed. Destinations follow Dataiku's default object views.

Stacked on #194 (feat/product-api-operations) to use the shared-helper organization. This PR changes only the Cobuild resolver, its tests, and related documentation.

Validation:

  • uv sync --locked
  • uv run pre-commit run --all-files --show-diff-on-failure
  • uv run pytest: 1,036 passed; two Linux-only TLS tests skipped on macOS
  • uv build and a clean Python 3.12 wheel import/link-resolution smoke test
  • Python compilation, license headers, and Conventional Commit validation

Base automatically changed from feat/product-api-operations to release/0.10.0 November 18, 2026 16:45
@pmasiphelps
pmasiphelps force-pushed the feat/cobuild-object-links branch from ec3c4df to 14675be Compare November 18, 2026 16:53

@crmapj crmapj left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The additive object_links field and instance pinning look good. Please fix the GenAI evaluation store URL and its test before merging. The Markdown parsing note is non-blocking.

"FINE_TUNED_MODEL": "savedmodels/{id}/versions/",
"GEN_AI_MODEL": "savedmodels/{id}/versions/",
"MODEL_EVALUATION_STORE": "modelevaluationstores/{id}/evaluations/",
"GENAI_EVALUATION_STORE": "modelevaluationstores/{id}/evaluations/",

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

GENAI_EVALUATION_STORE currently gets the classic model evaluation store URL. The DSS 15.1 and 15.2 routers register the GenAI view at /projects/{projectKey}/genaievaluationstores/{id}/evaluations/. Please use genaievaluationstores/{id}/evaluations/ for this type, keep modelevaluationstores/ for MODEL_EVALUATION_STORE, and update the test that currently expects the classic path.

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

fixed! ty!

"LABELING_TASK": "labelingtasks/{id}",
"FLOW_ZONE": "flow/?zoneId={id}",
}
_OBJECT_LINK = re.compile(r"\]\(([A-Z_]+):((?:\\.|[^)\\\r\n])+)\)", re.IGNORECASE)

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Non-blocking: this matches the ]( suffix even without an opening bracket, and it also extracts links from inline code. I verified that both name](DATASET:example) and a backticked [name](DATASET:example) produce an entry. Please consider limiting extraction to actual inline links and adding negative tests for those cases.

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

got it! ty!

@pmasiphelps
pmasiphelps requested a review from crmapj November 18, 2026 21:12

@crmapj crmapj left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for fixing the GenAI evaluation store route. I verified that GenAI and classic stores now resolve to their respective views and that the resolver skips the Markdown cases from the earlier review. All 41 focused Cobuild and link tests passed.

@pmasiphelps
pmasiphelps merged commit ef8d876 into release/0.10.0 Nov 20, 2026
10 checks passed
@pmasiphelps
pmasiphelps deleted the feat/cobuild-object-links branch November 20, 2026 23:54
@github-actions github-actions Bot locked and limited conversation to collaborators Nov 20, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants