Skip to content
This repository was archived by the owner on Feb 6, 2025. It is now read-only.

Commit 31c1e6d

Browse files
authored
Merge pull request #549 from amplication/docs/technical-debt-management
Docs: Technical Debt Management
2 parents eb4ab15 + 1446dbc commit 31c1e6d

8 files changed

+121
-0
lines changed
Loading
10.3 KB
Loading
87.6 KB
Loading
Loading
Loading
Loading
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,120 @@
1+
---
2+
id: technical-debt-management
3+
title: Technical Debt Management
4+
sidebar_label: Technical Debt Management
5+
description: Comprehensive guide to managing technical debt in Amplication
6+
---
7+
8+
# Technical Debt Management
9+
10+
Amplication's Technical Debt Management system helps you maintain alignment between your services and organizational standards as they evolve. This feature provides automated alerts, easy updates, and comprehensive tracking to ensure your services stay current with the latest templates, plugins, and best practices.
11+
12+
![Technical Debt Management Tab](./assets/technical-debt-grid.png)
13+
14+
## Key Features
15+
16+
- **Automated Technical Debt Detection**: Receive alerts when services, templates, or plugins become outdated
17+
- **Centralized Management**: Track and resolve technical debt across all services from a single dashboard
18+
- **Git Sync Integration**: Automated pull request generation for updates using [Smart Git Sync](/smart-git-sync/).
19+
- **Flexible Resolution Options**: Choose when and how to address technical debt
20+
- **Notification System**: Stay informed through in-app and email notifications
21+
22+
## Accessing Technical Debt Management
23+
24+
1. Navigate to the Platform Console by clicking "Platform" in the top left corner
25+
2. Select the "Tech Debt" tab
26+
27+
## Understanding Technical Debt Alerts
28+
29+
### Alert Types
30+
31+
Amplication tracks three primary categories of technical debt:
32+
33+
1. **Template Alerts**: Notify when a service needs updating to match new template versions
34+
2. **Plugin Alerts**: Indicate when plugin updates are available or when plugins require attention
35+
3. **Amplication Code Engine Alerts**: Signal updates to Amplication's code generation engine
36+
37+
![Technical Debt Alert Types](./assets/alert-types.png)
38+
39+
### Alert Properties
40+
41+
Each alert contains essential information:
42+
- **Alert Type**: Specifies whether the alert is related to templates, plugins, or the code engine
43+
- **Affected Resource**: Identifies the specific service or template that requires attention
44+
- **Current Version in Use**: The version of the template, plugin, or code engine currently being used
45+
- **Latest Available Version**: The most recent version available for update
46+
- **Alert Creation Date**: The date when the system identified the technical debt
47+
- **Alert Status**: Current state of the alert (Active, Resolved, Ignored, or Canceled)
48+
49+
![Technical Alert Properties](./assets/alert-properties.png)
50+
51+
## Managing Technical Debt
52+
53+
### Viewing Alerts
54+
55+
The Technical Debt dashboard provides a comprehensive view of all alerts:
56+
57+
1. **Status Filter**: Filter alerts by:
58+
- Active (default view)
59+
- Resolved
60+
- Ignored
61+
- Canceled
62+
63+
2. **Type Filter**: Filter by:
64+
- Template alerts
65+
- Plugin alerts
66+
- Code Engine alerts
67+
68+
## Resolving Technical Debt
69+
70+
### Template Updates
71+
72+
1. Click "View Details" on a template alert
73+
2. Review the changes between versions in the diff view
74+
3. Click "Upgrade" to accept the changes
75+
4. Confirm the upgrade in the modal dialog
76+
77+
:::note
78+
After upgrading, changes become pending changes. Generate code to create individual PRs for the updates using the code generation workflow.
79+
:::
80+
81+
![Resolve Technical Debt on the Service-level](./assets/resolve-technical-debt.png)
82+
83+
### Plugin Updates
84+
85+
For services using "latest" version:
86+
1. Click "View Details" on the plugin alert
87+
2. The plugin will automatically update on the next code generation
88+
89+
For services using pinned versions:
90+
1. Click "View Details"
91+
2. Generate code to apply changes
92+
93+
94+
## Notification Settings
95+
96+
Customize how you receive technical debt alerts:
97+
98+
1. Click the bell icon in the upper right corner
99+
2. Scroll to "Technical Debt Alert" settings
100+
3. Configure preferences for:
101+
- In-app notifications
102+
- Email notifications
103+
104+
![Technical Debt Alert Settings](./assets/alert-settings.png)
105+
106+
## Integration with Development Workflow
107+
108+
Technical debt management integrates seamlessly with your development process:
109+
110+
1. **Alert Detection**: Amplication automatically detects when services drift from standards
111+
2. **Review Process**: Team members can review and approve updates
112+
3. **Code Generation**: Updates are applied through your normal code generation workflow
113+
4. **Git Workflow**: Changes are managed through your existing Git workflow
114+
115+
## Related Resources
116+
117+
If you need additional support, please contact Amplication support team for assistance.
118+
119+
- [Live Templates](/live-service-templates/)
120+
- [Private Plugins](/private-plugins/)

sidebars.js

+1
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ const sidebars = {
2323
"how-to/platform-console",
2424
"how-to/service-catalog",
2525
"how-to/live-service-templates",
26+
"platform-features/technical-debt-management",
2627
{
2728
type: "doc",
2829
id: "plugins/private-plugins",

0 commit comments

Comments
 (0)