LaunchDarkly Cross-Project Stale Flag Review Queue avatar

LaunchDarkly Cross-Project Stale Flag Review Queue

Pricing

$50.00 / 1,000 delivered cross-project flag reviews

Go to Apify Store
LaunchDarkly Cross-Project Stale Flag Review Queue

LaunchDarkly Cross-Project Stale Flag Review Queue

Turn reduced LaunchDarkly per-project flag lists into one importable cleanup review queue, grouped by project and maintainer team. Uses native stale signals and never archives or deletes a flag.

Pricing

$50.00 / 1,000 delivered cross-project flag reviews

Rating

0.0

(0)

Developer

Nathaniel Standridge

Nathaniel Standridge

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

12 days ago

Last modified

Features

Limited permissions

Share

Turn buyer-supplied, reduced LaunchDarkly flag-list exports into one review queue across projects. Each paid dataset row represents a temporary, nonarchived, nondeprecated flag for which LaunchDarkly supplied stale.readyForCodeRemoval or stale.readyToArchive as true. The Actor does not call LaunchDarkly or change any flag.

LaunchDarkly already provides Cleanup and lifecycle filters. Use them for an individual project. This Actor is useful when a team needs one assigned queue from several supplied project lists. It cannot establish that the source covers every project, that the export is current, or that archiving is safe. Review code references, prerequisites, evaluations, and fallback behavior with the owner before a change. See LaunchDarkly's archiving guidance.

Input

projectsJson is a JSON array of at most 20 reduced project objects. Export all pages from List feature flags for each chosen project, then retain only these fields before pasting:

[
{
"projectKey": "checkout",
"totalCount": 1,
"items": [
{
"key": "old-banner",
"temporary": true,
"archived": false,
"deprecated": false,
"maintainerTeamKey": "frontend",
"stale": {"readyForCodeRemoval": true, "readyToArchive": false}
}
]
}
]

Each items length must equal that project's supplied totalCount. This checks that the pasted summary is complete for that project response; it does not prove all account projects or flags were selected. If a source field is absent, preserve absence: do not convert an unknown stale signal to false. Do not paste API tokens, flag names/descriptions, targeting rules, user contexts, or full API responses. The limits are 1,000 flags, 256,000 UTF-8 bytes, and 50 paid findings. exportedAt is a required UTC timestamp you declare. The Actor cannot verify it. maxFindings defaults to 25; if more qualify, input is rejected without paid delivery so the queue is never silently truncated.

Run the synthetic example

The input form is prefilled with this runnable example. It contains two synthetic projects and six flags, producing three paid review findings for $0.15 at the current price. Replace the sample with your reduced exports before a production run.

{
"exportedAt": "2026-11-06T12:00:00Z",
"projectsJson": "[{\"projectKey\":\"checkout\",\"totalCount\":3,\"items\":[{\"key\":\"legacy.checkout\",\"temporary\":true,\"archived\":false,\"deprecated\":false,\"maintainerTeamKey\":\"platform\",\"stale\":{\"readyForCodeRemoval\":true,\"readyToArchive\":true}},{\"key\":\"old-banner\",\"temporary\":true,\"archived\":false,\"deprecated\":false,\"maintainerTeamKey\":\"frontend\",\"stale\":{\"readyForCodeRemoval\":true,\"readyToArchive\":false}},{\"key\":\"payment-circuit\",\"temporary\":false,\"archived\":false,\"deprecated\":false,\"maintainerTeamKey\":\"platform\",\"stale\":{\"readyForCodeRemoval\":false,\"readyToArchive\":false}}]},{\"projectKey\":\"billing\",\"totalCount\":3,\"items\":[{\"key\":\"old-invoice-flow\",\"temporary\":true,\"archived\":false,\"deprecated\":false,\"stale\":{\"readyForCodeRemoval\":true,\"readyToArchive\":true}},{\"key\":\"active-pricing\",\"temporary\":true,\"archived\":false,\"deprecated\":false,\"maintainerTeamKey\":\"billing-team\",\"stale\":{\"readyForCodeRemoval\":false,\"readyToArchive\":false}},{\"key\":\"unknown-evaluations\",\"temporary\":true,\"archived\":false,\"deprecated\":false,\"maintainerTeamKey\":\"billing-team\"}]}]",
"maxFindings": 25,
"maxRunSeconds": 120
}

The dataset contains these three findings (selected columns shown):

ProjectFlagMaintainer teamReview state
billingold-invoice-flownot supplied; assignment neededverify_before_archive
checkoutlegacy.checkoutplatformverify_before_archive
checkoutold-bannerfrontendreview_code_removal

All three rows include the source timestamp, native stale signals, stable observation ID, and review limitations. The free OUTPUT summary reports two projects, six source flags, three findings, one excluded permanent flag, one flag without stale signals, and one not-ready flag.

Output and charging

The dataset contains one row per positive native cleanup signal, with the project and flag keys, maintainer team when supplied, review state, native signal values, and explicit limitations. reviewState is a human review prompt. verify_before_archive does not mean safe to archive. Missing stale signals are counted in OUTPUT and never billed. Permanent, already archived, deprecated, and not-ready flags are uncharged. Invalid input, an empty queue, and delivery stopped before a dataset write incur no dataset-item event. The current pay-per-event price is $0.05 per delivered row. The three-row example costs $0.15; zero delivered rows incur no dataset-item charge. Set a maximum total charge before running.

OUTPUT includes source counts, planned/delivered counts, completion status, and scope warnings. The Actor freezes a source-derived RESULT_PLAN before delivery and checks the native event count against dataset rows on same-run restart. A budget below the complete row count leaves the dataset empty and OUTPUT.status=incomplete, stopReason=charge_limit. Uncertain writes stop without an automatic retry. No LaunchDarkly credentials are accepted or used.

Local validation

uv sync --frozen --all-groups
uv run --frozen python -B tools/generate_release_fixtures.py
uv run --frozen python -B tools/local_smoke.py
uv run --frozen pytest -q
docker build -t launchdarkly-stale-flag-queue .

Cloud export verification (after the coordinator's private test runs):

$uv run --frozen python -B tools/validate_cloud.py /path/to/full examples/cloud-cases.json full

The resurrection directory is checked against a sibling full directory from the same run ID. Do not treat a successful run status alone as qualification.