matrix-org / matrix-org/complement

There is no way to extract deployment-created room IDs after the fact

Open
#254 9 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Go
Stars
99
Forks
72
Avg merge
4d 1h
Merged PRs (30d)
8

Description

This is something i found while looing at `BlueprintOneToOneRoom`, and seeing where its one-on-one room has been (re)used in any tests.

Turns out, it doesnt, every test creates its own additional rooms, which makes pre-setting or otherwise prefilling a room with events feel a bit moot.

I think it would help if there's some way to extract "execution results" (IDs) from a `Deployment` object after it has been finalised, to then act upon and work with the deployed template, this would make templates a bit more useful.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reading Deployment and BlueprintOneToOneRoom, then inspect the tests that create additional rooms and any deployment finalization paths. Done means a finalized Deployment exposes the IDs created during execution so tests can retrieve and use those deployed resources afterward.

Written by the indexing model from the issue text.

Assessment

Tech stack
go
Domain
testing-qa
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.