Skip to content

Add docs about dagger engine - #3648

Closed
AlvaroRaul7 wants to merge 11 commits into
dagger:mainfrom
AlvaroRaul7:3595-dagger-engine-docs
Closed

AlvaroRaul7 wants to merge 11 commits into
dagger:mainfrom
AlvaroRaul7:3595-dagger-engine-docs

Conversation

@AlvaroRaul7

Copy link
Copy Markdown
Contributor

Closes #3595 by adding an explanation about the dagger engine in the documentation.

@AlvaroRaul7
AlvaroRaul7 force-pushed the 3595-dagger-engine-docs branch from d1edff1 to bc9e92f Compare November 2, 2022 23:56

@TomChv TomChv left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Nice piece of documentation! I love your schemas.
I left minor comments, there's not much to do before merging this one :)

Comment thread docs/current/543069-index.md Outdated

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

I think it would make the lecture more fluent if this new part was in a sub section.
You could have

* How does it work?
  * Execution flow
  * Engine

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Thanks for the compliment but actually these diagrams belong to @shykes. I wil modify it for sure!

Comment thread docs/current/543069-index.md Resolved
Comment thread docs/current/543069-index.md Outdated
Comment on lines 103 to 128

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Since this part is only a possible future of Dagger, shall it be mentioned right now in the doc?

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.

I had a similar comment above.

@gerhard

gerhard commented Nov 3, 2022 •

Copy link
Copy Markdown
Contributor

This is what the current PR flow looks like:

gantt
    title Current PR flow
    dateFormat  YYYY-MM-DD HH:mm
    axisFormat %b, %d - %H:%M
    section Contributor
    Please merge :2022-11-02 23:42, 1h
    How about now? :crit, 2022-11-03 17:00, 30mins
    section Maintainer
    Please make these changes :crit, 2022-11-03 01:06, 30mins
    LGTM! Merged! :2022-11-03 18:00, 10mins
Loading

Since our aim is to keep PRs flowing through, I would encourage looking for opportunities to push improvements to the fork @TomChv and changing the approval direction from Contributor -> Maintainer to Maintainer -> Contributor, like this:

gantt
    title Suggested PR flow
    dateFormat  YYYY-MM-DD HH:mm
    axisFormat %b, %d - %H:%M
    section Contributor
    Please merge :2022-11-02 23:42, 1h
    LGTM! :active, 2022-11-03 17:00, 10mins
    section Maintainer
    I submitted some improvements. Can we merge? :active, 2022-11-03 01:06, 1h
    Merged! Thank you! :2022-11-03 18:00, 10mins
Loading

Notice the reduced burden on the contributor & a more involved maintainer.


I intend to update the above diagrams once this PR gets concluded & we have the full timeline.

FTR https://mermaid-js.github.io/mermaid/#/gantt

Comment thread docs/current/543069-index.md Resolved
Comment thread docs/current/543069-index.md Resolved
Comment thread docs/current/543069-index.md Resolved
Comment thread docs/current/543069-index.md Resolved
Comment thread docs/current/543069-index.md Outdated

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.

I'm not sure we need this information in this page. Is it OK to disclose this future plan publicly? Also, would this be a better fit for a roadmap page or (since we don't have one) the FAQ?

Comment thread docs/current/543069-index.md Outdated
Comment on lines 103 to 128

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.

I had a similar comment above.

Comment thread docs/current/543069-index.md Resolved
@gerhard

gerhard commented Nov 11, 2022

Copy link
Copy Markdown
Contributor

I suspect that this is in a limbo state, and I think that I understand why.

Most of it was copied from this comment by @shykes: #3595 (comment)

To my understanding, some of it exists today, while the rest we are still working towards. It is difficult to capture what we have, since things are moving extremely quickly right now: what was true yesterday, is no longer true today.

My proposal is to close this PR, and open a new one with the point-in-time reality when that happens. Alternatively, if @shykes @sipsma @aluzzardi @vikram-dagger are able to make the necessary changes - push to fork would be my suggestion - so that this can be merged, go for it.

I did this as a fly-by, not taking any further action since my focus is elsewhere.

@shykes

shykes commented Nov 11, 2022

Copy link
Copy Markdown
Contributor

I defer to @vikram-dagger

@vikram-dagger

Copy link
Copy Markdown
Contributor

My suggestion would be:

  • remove the detail about future architecture plans
  • move the information about the engine into an FAQ rather than have it on the SDK page considering that (a) most people will want to get started with the SDK and not care too much about engine internals and (b) we're not yet sure how the documentation pages for the Dagger engine will be structured and therefore where this information should live.

Let me know if you agree with this approach @shykes @gerhard and I can make the necessary changes in this PR

@gerhard

gerhard commented Nov 14, 2022

Copy link
Copy Markdown
Contributor

Sounds good to me @vikram-dagger 👍

@vikram-dagger
vikram-dagger requested a review from shykes November 16, 2022 15:15
@vikram-dagger

Copy link
Copy Markdown
Contributor

@shykes @gerhard updated PR as per my previous suggestion and now awaiting review.

Comment thread docs/current/162770-faq.md Resolved
Comment thread docs/current/162770-faq.md Resolved
@gerhard
gerhard force-pushed the 3595-dagger-engine-docs branch from 8299c49 to 0973358 Compare November 23, 2022 10:12
@gerhard
gerhard self-requested a review November 23, 2022 10:16

@gerhard gerhard 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.

OK to merge when all checks pass.

💡TIP: run ./hack/make docs:lint locally to catch any docs linting issues before pushing. Re 56a4f84

@gerhard

gerhard commented Nov 23, 2022

Copy link
Copy Markdown
Contributor

@AlvaroRaul7 I know that this took longer than expected, thank you for sticking with us! 💪

@vikram-dagger

Copy link
Copy Markdown
Contributor

@shykes OK to add this to the docs? Asking because the engine might change, so would you prefer to wait, or add this now and update it later when/if the changes land?

AlvaroRaul7 and others added 11 commits December 1, 2022 11:46
Signed-off-by: alvaroraul7 <[email protected]>
Co-authored-by: Vasek - Tom C. <[email protected]>
Signed-off-by: Alvaro Valarezo de la Fuente <[email protected]>
Change by vikram-dagger

Co-authored-by: vikram-dagger <[email protected]>
Signed-off-by: Alvaro Valarezo de la Fuente <[email protected]>
Co-authored-by: vikram-dagger <[email protected]>
Signed-off-by: Alvaro Valarezo de la Fuente <[email protected]>
Co-authored-by: vikram-dagger <[email protected]>
Signed-off-by: Alvaro Valarezo de la Fuente <[email protected]>
Co-authored-by: vikram-dagger <[email protected]>
Signed-off-by: Alvaro Valarezo de la Fuente <[email protected]>
Signed-off-by: vikram-dagger <[email protected]>
Signed-off-by: vikram-dagger <[email protected]>
@dolanor
dolanor force-pushed the 3595-dagger-engine-docs branch from a349de1 to 23e7238 Compare December 1, 2022 10:51
@dolanor

dolanor commented Dec 1, 2022

Copy link
Copy Markdown
Contributor

Rebased on main and fixed the conflicts.

@github-actions

Copy link
Copy Markdown
Contributor

This PR is stale because it has been open 14 days with no activity. Remove stale label or comment or this will be closed in 7 days.

@github-actions

Copy link
Copy Markdown
Contributor

This PR was closed because it has been stalled for 7 days with no activity.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Explain the engine architecture

6 participants