API improvements roadmap

Open
#1,581 0 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 4 days

Nobody has claimed this yet.

Assessment

Difficulty
5/5
Estimated time
Over a week
Newbie friendliness
15/100
Issue type
Feature
Clarity
Needs clarification
Activity status
Active
Tech stack
docker, node.js, typescript
Domain
api, backend

Research direction

Start with the roadmap tracks and dependency graph in this issue to understand how the API review is divided; the linked issues contain the individual changes and their files, tests, and acceptance criteria. This tracking issue is complete when the listed API review work is resolved and the roadmap is up to date.

Written by the indexing model from the issue text.

Description

maintenance

Tracking issue for an API review of testcontainers 12.2.0 and its modules: correctness bugs in the public API, gaps against the Java, Go and .NET implementations, and changes that would make the library nicer to use.

The issues are grouped into tracks that can be worked on in parallel. Each issue ends with a Dependencies section that uses three terms:

  • Blocked by: cannot usefully start before the other issue lands.
  • Stack on: changes the same code. Open it as a stacked pull request on top of the other one (gh stack).
  • Coordinate with: overlapping lines or a shared decision. Whoever lands second rebases.

Stacks

Chains where the order matters. Everything else is independent.

  • withEnvironment: #1519 → #1543
  • start() and builder state: #1520 first, then in parallel #1550, #1556, #1557, and #1554 → #1555
  • Reuse: #1522 → #1552 → #1553, and #1522 → #1547
  • exec: #1525 and #1531 → #1548
  • Compose flags: #1524 → #1530
  • Wait strategies: #1523, #1533 and #1534 first, then #1558 → #1559 and #1560, then #1582
  • Networks: #1535 → #1561, and #1536 → #1567
  • Configuration and diagnostics: #1569 → #1570, and #1571 → #1572
  • Entry point: #1558 and #1561 → #1562; #1528 → #1580
  • Module shape: #1520 and #1554 → #1563, after the started-container additions

Next major

Labelled major: #1521, #1558, #1561, #1562, #1563, #1582.

Labelled patch or minor but with a behaviour change to decide on: #1523, #1527, #1529, #1557, #1577.

Tracks

Foundations
  • #1518 (can start now)
  • #1580
  • #1579 (can start now)
  • #1577 (can start now)
  • #1576 (can start now)
Builder state and start()
  • #1519 (can start now)
  • #1543
  • #1520 (can start now)
  • #1550
  • #1556
  • #1557
  • #1554
  • #1555
  • #1527 (can start now)
  • #1530
  • #1529 (can start now)
  • #1531 (can start now)
Reuse
  • #1521 (can start now)
  • #1522 (can start now)
  • #1552
  • #1553
Wait strategies
  • #1523 (can start now)
  • #1533 (can start now)
  • #1534 (can start now)
  • #1558 (can start now)
  • #1559
  • #1560
  • #1582
Started containers
  • #1525 (can start now)
  • #1548
  • #1544 (can start now)
  • #1545 (can start now)
  • #1546 (can start now)
  • #1547
  • #1549 (can start now)
  • #1541 (can start now)
  • #1583 (can start now)
Errors, logging and diagnostics
  • #1532 (can start now)
  • #1571 (can start now)
  • #1572
  • #1568 (can start now)
  • #1569 (can start now)
  • #1570
Networks, volumes and groups
  • #1535 (can start now)
  • #1536 (can start now)
  • #1567
  • #1564 (can start now)
  • #1565 (can start now)
Images and Compose
  • #1537 (can start now)
  • #1551 (can start now)
  • #1524 (can start now)
  • #1540 (can start now)
  • #1573 (can start now)
Public surface (next major)
  • #1528 (can start now)
  • #1561
  • #1562
  • #1563
Modules
  • #1526 (can start now)
  • #1538 (can start now)
  • #1539 (can start now)
  • #1574 (can start now)
  • #1575 (can start now)
Docs and tooling
  • #1542 (can start now)
  • #1578 (can start now)

Dependency graph

Hard dependencies only (blocked by, stack on).

graph LR
  n63["#1582"]
  n62["#1567"]
  n56["#1580"]
  n52["#1557"]
  n51["#1554"]
  n50["#1556"]
  n49["#1552"]
  n48["#1553"]
  n47["#1570"]
  n46["#1569"]
  n45["#1555"]
  n44["#1572"]
  n43["#1571"]
  n38["#1560"]
  n37["#1543"]
  n35["#1536"]
  n33["#1550"]
  n32["#1548"]
  n31["#1547"]
  n27["#1563"]
  n26["#1559"]
  n25["#1558"]
  n22["#1535"]
  n14["#1530"]
  n12["#1531"]
  n11["#1561"]
  n10["#1562"]
  n08["#1528"]
  n07["#1525"]
  n06["#1524"]
  n05["#1520"]
  n04["#1519"]
  n02["#1522"]
  n06 --> n14
  n04 --> n37
  n02 --> n31
  n07 --> n32
  n12 --> n32
  n05 --> n33
  n02 --> n49
  n02 --> n48
  n49 --> n48
  n05 --> n51
  n51 --> n45
  n05 --> n50
  n05 --> n52
  n25 --> n26
  n25 --> n38
  n22 --> n11
  n25 --> n10
  n11 --> n10
  n05 --> n27
  n51 --> n27
  n35 --> n62
  n46 --> n47
  n43 --> n44
  n08 --> n56
  n25 --> n63
  n38 --> n63

43 of 64 issues have no hard dependency.

Dominant language
TypeScript
Stars
2.7k
Forks
290
Avg merge
4d 1h
Merged PRs (30d)
22

Getting set up

Open in Codespaces

Starts the project's dev container in your browser, under your own GitHub account.

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.

More from testcontainers/testcontainers-node

All issues in testcontainers/testcontainers-node

Similar issues

More TypeScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.