Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Show "build log number" in UI/CLI #1906

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
Tracked by #1939
ammario opened this issue May 30, 2022 · 1 comment · Fixed by #2234
Closed
Tracked by #1939

Show "build log number" in UI/CLI #1906

ammario opened this issue May 30, 2022 · 1 comment · Fixed by #2234
Assignees
Labels
api Area: HTTP API site Area: frontend dashboard
Milestone

Comments

@ammario
Copy link
Member

ammario commented May 30, 2022

I can't remember who I discussed this issue with, but someone explained to me that build logs would have an internal representation as a per workspace sequential ID.

I like this approach for the following reasons:

  • It's easy to glance at the number and know whether you're looking at an old build.
  • Build URLs become clearer and shorter.
    • workspaces/coadler/colin/builds/105 instead of /builds/2a243358-aa3a-4ec3-acf9-d24234d2212d
@ketang
Copy link
Contributor

ketang commented May 30, 2022

I think being able to tell whether it's old or new will require a little bit more, e.g. labels and decoration in the UI, perhaps a canonical /latest that we redirect you to if the number you choose is the latest (though that has the drawback of taking the number out of the URL)...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
api Area: HTTP API site Area: frontend dashboard
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants