Skip to content

Agent builder#1786

Merged
hulto merged 10 commits intomainfrom
agent-builder
Feb 15, 2026
Merged

Agent builder#1786
hulto merged 10 commits intomainfrom
agent-builder

Conversation

@hulto
Copy link
Collaborator

@hulto hulto commented Feb 9, 2026

What type of PR is this?

What this PR does / why we need it:

Which issue(s) this PR fixes:

Fixes #

Copy link
Collaborator Author

@hulto hulto left a comment

Choose a reason for hiding this comment

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

@claude Fix these issues

@github-actions
Copy link
Contributor

github-actions bot commented Feb 10, 2026

Summary

Tests 📝 Passed ✅ Failed ❌ Skipped ⏭️ Other ❓ Flaky 🍂 Duration ⏱️
2560    ±0 2560    ±0 0    ±0 0    ±0 0    ±0 0    ±0 1ms    ±0

Previous Results

Build 🏗️ Result 🧪 Tests 📝 Passed ✅ Failed ❌ Skipped ⏭️ Other ❓ Flaky 🍂 Duration ⏱️
#981 2560 2560 0 0 0 0 29.7s

Insights

Average Tests per Run Total Flaky Tests Total Failed Slowest Test (p95)
2560 0 0 5.2s

Slowest Tests

Test 📝 Results 📊 Duration (avg) ⏱️ Duration (p95) ⏱️
eldritch-libsys: std::dll_inject_impl::tests::test_dll_inject_simple 1 5.2s 5.2s
imix::bin/imix: install::tests::test_install_execution 3 1.2s 3.4s
imix::bin/imix: install::tests::test_install_execution 3 1.2s 3.4s
imix::bin/imix: install::tests::test_install_execution 3 1.2s 3.4s
imix::bin/imix: tests::task_tests::test_task_streaming_output 3 3.0s 3.0s
imix::bin/imix: tests::task_tests::test_task_streaming_output 3 3.0s 3.0s
imix::bin/imix: tests::task_tests::test_task_streaming_output 3 3.0s 3.0s
imix::bin/imix: tests::task_tests::test_task_streaming_error 3 3.0s 3.0s
imix::bin/imix: tests::task_tests::test_task_streaming_error 3 3.0s 3.0s
imix::bin/imix: tests::task_tests::test_task_streaming_error 3 3.0s 3.0s

🎉 No failed tests in this run. | 🍂 No flaky tests in this run.

Github Test Reporter by CTRF 💚

🔄 This comment has been updated

@hulto hulto marked this pull request as ready for review February 10, 2026 02:00
@hulto hulto requested a review from KCarretto February 10, 2026 02:00
KCarretto
KCarretto previously approved these changes Feb 15, 2026
Copy link
Collaborator

@KCarretto KCarretto left a comment

Choose a reason for hiding this comment

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

Main concern is with the NewSchema method, imo it'd be better to use a functional API to help keep this method manageable. Otherwise lgtm.


// NewSchema creates a graphql executable schema.
func NewSchema(client *ent.Client, importer RepoImporter) graphql.ExecutableSchema {
func NewSchema(client *ent.Client, importer RepoImporter, builderCA *x509.Certificate, builderCAKey ed25519.PrivateKey) graphql.ExecutableSchema {
Copy link
Collaborator

Choose a reason for hiding this comment

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

Semi-important change

Instead of adding more arguments here that will be passed as nil, nil in tests etc., let's use a functional API:

func NewSchema(client *ent.Client, importer RepoImporter, options ...func(*Resolver)) graphql.ExecutableSchema  {
    resolver := &Resolver{
	  client:       client,
	  importer:     importer,
    }
    for _, opt := range options {
      opt(resolver)
    }
    // ...
}

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Updated - lemme know if this is what you're thinking tho

KCarretto
KCarretto previously approved these changes Feb 15, 2026
Copy link
Collaborator

@KCarretto KCarretto left a comment

Choose a reason for hiding this comment

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

nice!

@hulto hulto enabled auto-merge February 15, 2026 22:27
@hulto hulto disabled auto-merge February 15, 2026 22:55
@hulto hulto merged commit 6e40fb6 into main Feb 15, 2026
11 of 12 checks passed
@hulto hulto deleted the agent-builder branch February 15, 2026 23:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants