-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Improve engineering onboarding: tooling #31005
Comments
@jhchabran Would you please help me flesh this out? |
Idea: expand to welcome-to-sourcegraph functionality improvements. We could target:
^ unify across ci and local |
Scratchpad for ideas: https://docs.google.com/document/d/1NS_C3te-59P149LD_rrL1zcflNqqZOoSHVJfv8oPcqY/edit |
@bobheadxi Could you elaborate on why this is a measure of success? If this translates in more ad-hoc code for example on the Go side, I'm not sure that's an actual win, as most people are comfortable editing the config but not that much the code itself. So I'm curious about the motivations behind this reasoning, to make sure I'm not missing something 😊 |
Ah, I forgot to open an issue about this - some other approaches are better utilities within the YAML, splitting it up by team/domain, etc, though it's quite open to interpretation @jhchabran and even if folks are comfortable editing the config, I doubt that will stay that way for long as we reach over 1000 lines of YAML configuration (see "Problems to Solve") - it will soon (and IMO already has) become incredibly daunting to change. I think with something like https://github.com/sourcegraph/sourcegraph/issues/33871 we might even be better off having things be in code => https://github.com/sourcegraph/sourcegraph/issues/33913 |
There are only two core items left here:
This is almost done - we just need to merge https://github.com/sourcegraph/sourcegraph/pull/37528, replace the old
We are exporting some data here, but I think we should revisit our OkayHQ investment. That said, the core of the work - frameworks for collecting data and exporting it - is already done, so switching to a new backend will be trivial (though we will lose some data unfortunately) The remaining issues in the list are a long tail of improvements, and do not need to be part of this project. |
I'm closing this now - with the |
Problem to solve
sg
has become an integral part of engineering at Sourcegraph. There are several categories of issues that need to be resolved due to its rapid growth and adoption.sg setup
tool because we don't have an automated testing process in place, and similarly for some other features of thesg
sg lint
,sg generate
,sg test
, etc.)sg.config.yaml
is also nearing 1000 lines of configuration, which may become problematic.sg
sg doctor
, update experience, intro guide tosg
, half-migrated tools - many tasks can (and are) still invoked both directly and viasg
.Issues with
sg
are becoming increasingly prominent and disruptive (e.g. many engineers fixing ) so it is important we tackle improvements to smooth out the experience and lay the groundwork for future investments.Measure of success
sg
features better suggestions, completions, and convenience features for improved CLI UXsg
has robust internal frameworks for implementing lints, tests, and generate taskssg
has more robust features for getting started on "inner development loop":sg.config.yaml
sg
usageSolution summary
New teammates should be set up for success on day one of the job so that they can start contributing productively as soon as possible.
Artifacts: none
What specific customers are we iterating on the problem and solution with?
Sourcegraph developers
Impact on use cases
Delivery plan
sg
approachable as it scales: completions, suggestions, unified documentationsg
easy to scale: framework migration, implementation of internal frameworks for testing, code generation, and scripting taskssg
: checks, code generation, misc. toolingsg setup
gets automated testing and also supports the use case of ensuring an environment stays up to date (automated fixes)sg
sg
exports metrics indicating usage, timing, and error trends, and metrics are viewable in OkayHQTracked issues
@unassigned: 9.00d
Completed: 6.00d
@bobheadxi: 28.00d
Completed: 27.00d
#31879) 1.00d#31879) 3.00d@burmudar: 2.50d
Completed: 2.50d
@jhchabran: 1.00d
Completed: 1.00d
@marekweb: 1.00d
Completed: 1.00d
Legend
The text was updated successfully, but these errors were encountered: