Iâve been hacking on a prototype tool to support the roadmap, and want
to show it to you and get feedback. Iâve tried to reflect my own ideas
expressed earlier while incorporating other feedback from this thread,
particularly to reflect the process improvements around roadmap
planning that @aturon and @nikomatsakis want. My intent here is to
suggest a conceptual framework for thinking about how we plan and
communicate the roadmap, how we might modify our processes to generate
the right kinds of information, and even to pursue the use of the
tool.
Youâre going to need to dig deep into your imagination because itâs
real rough, but the basic shape is there. I suggest you poke around
it a bit then come back here and read about what it all means.
(Note: this may only work in Firefox ATM - it uses some unstable web APIs
)
Hereâs the public interface to the tool: https://brson.github.io/rust-z/
And you might want to look at this page as well which
shows a relatively complete set of details for a single project goal.
The rest of this post is discussion about goals, the tool,
recommendations for process improvements to support generation of
better data for the roadmap. Much of it is duplicated from the
README.
Goals of the tool
These are mostly the same as previously posted in this thread.
- Give users and contributors a picture of whatâs happening in Rust
and where itâs going.
- Illuminate current project initiatives and the RFC feature pipeline.
- Inspire users and contributors with a common vision for the future.
- Progressive detail - on first glance one should sense the scope
of the project, and the key deliverables for the coming releases
across all corners of the project. Drilling down, both users
and contributors should be able to discover detailed information
about the state of the projectâs goals.
- Link all relevant issues, RFCs, pull reuests, etc. associated with
any particular feature or initiative.
- Provide entry points for contributors.
- Foreshadow future initiatives and features.
- Demonstrate progress towards the projectâs goals.
- Visualize the finished and unfinished sub-tasks for any particular
initiative.
- Show whatâs in the next release.
- Living updates - everybody can help maintain it.
How does it work?
Fundamentally, this tool helps organize the tracking issues already
produced by the Rust development process. Tracking issues of strategic
importance are registered with the tool as goals, and they are
stated as concrete, limited deliverables. The tool automatically
derives important data about the progress of each goal and
presents it to the user in a way that is easier to understand than
attempting to discover the same information through the usual GitHub,
etc. UI.
There are three major components to this:
- A data schema defined by yaml files in
_data, maintained by
humans, and in _data/gen, generated by machines.
- A static webapp that presents that data.
- A Rust application that keeps the data up to date by scraping
sources, and guiding the user to improve the data set.
It is intended that manual curation is kept to a minimum, but
achieving that will be an ongoing matter of discovery, tool
improvement, and process improvement.
Process implications
Goals (coresponding to tracking issues) are categorized into
themes, which represent the overarching direction of the
project. These are the subjects that we emphasize most frequently in
our PR/marketing/outreach. There are relatively few of them (5-7), and
they change infrequently. They tie in to the long ânarrative arcâ of
Rust, and can be decided every 12/18/24/TBD months. Weâll need a
process for it that takes a global, long-term view of the project, and
allows for participation across the entire project.
Goals are short-term deliverables that should take only a few cycles
to complete. They can be established by teams as part of a periodic
planning process that does not need to involve the entire
project. Goals that go on the roadmap must fit into a theme that
serves the projectâs long-term ambitions. This potentially gives us a
somewhat objective measure of features that are in-scope for
consideration during any time period - and a more objective rationale
for saying ânoâ, steering our precious resources in the most
productive direction.
The quality of information we can present is only as good as the
quality of data generated by the Rust development process. In some
places - most notably RFC-driven features - that data is quite
complete already; in others weâll need to improve. But hopefully
making the changes necessary is mostly a matter of being more
consistent in our process, and the tool can be designed to help
discover places where the data is poor.
From what Iâve seen so far I think these are the places we need
to improve in order to make the right data available:
Tracking issues should be consistently tagged as such. Right now
we have B-RFC-approved and B-unstable that can serve this purpose,
but they are only used for things that go through the RFC process
or are otherwise tagged with stability attributes (i.e. things that
go through the âfeature pipelineâ). We need to similarly tag
other key tracking issues. We can get by without proper data for this,
but then the task of putting âgoalsâ into the tool is dependent
on somebody knowing a priori what they are - the tool canât help
âdiscoverâ goals from the repo.
All tracking issues should be assigned a T- team tag, and preferably
assigned to a person so we can list a âpoint of contactâ.
All tracking issues that have an associated RFC should mention the RFC
number or link in the OP. Weâre pretty good about that already.
Tracking issues for tasks with multiple steps should have them tasked
out in the OP, and we should lean toward having more subtasks because
that lets us give better progress estimates. We sometimes do this now,
but not consistently, and they are often not up to date. This is a
fair bit of maintenance, but there are things we can do to make it
easier.
Itâs highly desirable to associate E-easy, E-mentored, etc. issues
with tracking issues and their subtasks so we can surface them here
and provide strong guidance to contributors. Again the tool can potentially
help root these out (e.g. it might ask âis this new subtask E-easy?â).
The hardest thing to do is to start estimating the release in which a
goal will be completed. We have no system for this at all right now,
but one could easily imagine using milestones for it. Obviously
estimates are hard, and it will take work to keep up to date, but this
is one of the highest-impact data points we can provide for our
users and we should try.
Finally, maintaining the roadmap presented by this tool itself will
take effort. As part of the process for establishing the roadmap,
teams might be strongly encouraged to submit their plans directly to
the tool repo, or at least write up descriptions suitable for
integration into the tool. The tool must be designed in a way that
encourages contribution, and somebody must periodically refresh the
data. This is unlikely to become a completely automatable process
since the data will never be perfectly reliable.
Additional concepts
The tool is intended to provide âprogressive detailâ in a few ways.
First, it divides both themes and goals into âtopâ and âbottomâ.
The top goals are displayed by default, but the bottom goals must
be toggled on. This allows us to track important work being done
that isnât part of our primary ânarrativeâ, without overwhelming
on first glance.
Second, both concepts support âdetailsâ. These are not displayed in
e.g. the overview, or the list view of all goals, but are displayed
when drilling down to specific goals. Details can also be turned on
globally with a toggle.
The tool includes a third, less important concept - âproblemsâ. These
are areas of improvement that are on our radar, and we want to see
solutions to, but have no concrete plans for. This fills a significant
gap in our tracking and planning right now, where some important
subjects that we talk about a lot informally donât have a clear place
for tracking. Once the solution for any given problem becomes
reasonably clear, they can be converted to concrete goals. Examples of
these types of topics might be âbundling our own linkerâ,
âspecificationâ, âHKTâ.
On terminology
The concepts introduced by this tool, particularly âthemeâ and âtoolâ,
but also âproblemâ, âvision statementâ, and the name of the tool, are
placeholders (the word âgoalâ in particular is problematic since both
the major concepts here could be considered âgoalsâ- overloaded
word). I much prefer wrapping the tool in an evocative and fun
metaphor. I was originally using a war metaphor: âbattlefrontsâ and
âcampaignsâ; but while itâs powerful, itâs also too antagonistic for
an official Rust thing. Other sources of potential metaphors might be
exploration, the age of discovery, space travel, etc.
Some examples of evocative words:
- ânorth starâ
- âcampaignâ
- âquestâ
- âmissionâ
- âwaypointâ
The concepts here that need names:
- The overall tool. What is this?
- The vision statement
- Themes, the unit used to group tracking issues
- Goals, the discrete units of work we expect to deliver
- Problems, areas of interest, on-the-radar subjects, future work
- Archive, where we celebrate accomplished goals and those who made them happen
Next steps
Iâd like to work on an RFC to post in the next few weeks that outlines
the roadmap planning process (completely independent of this tool). I
suspect it will be pretty simple, mostly establishing the idea of two
cadences to the planning process: one long-term (12/18/24) month cycle
where we establish high-level goals (âthemesâ) for the whole project
one short term (quarterly) cycle, wherein the teams establish their
deliverables (âgoalsâ) in service of the long-term objectives. Also,
defining what they are expected to produce as a result of the planning
process (which we can formulate in a way that works with or without
this tool). Iâll be happy to run it by here before submitting it.
OK, thatâs a huge amount of stuff to consider. What do you think?