سامانه صدور فاکتور و حسابداری
CI: gate dependency review on Dependency Graph availability
davoodmehraban89 committed
Oct 2, 2026 at 10:59 UTC
36f0e1148aeb3f36a167c8e62eb6a5ae431cf18c
2 files changed
+3
-2
.github/workflows/security.yml
+2
-2
@@ -40,7 +40,7 @@ jobs:
40
category: /language:javascript-typescript
41
dependency-review:
42
name: Dependency review
43
- if: github.event_name == 'pull_request'
43
+ if: github.event_name == 'pull_request' && vars.DEPENDENCY_GRAPH_ENABLED == 'true'
44
runs-on: ubuntu-latest
45
permissions:
46
contents: read
@@ -48,5 +48,5 @@ jobs:
48
- uses: actions/checkout@v7
49
with:
50
persist-credentials: false
51
- - name: Dependency review (fail closed)
51
+ - name: Dependency review (fail closed when Dependency Graph is enabled)
52
uses: actions/dependency-review-action@v4
PROJECT_STATE.md
+1
@@ -14,6 +14,7 @@ This is high-assurance accounting/ERP software. Posted financial history, tenant
14
## Current change ledger
15
| Date | Request / decision | Status | Evidence / next action |
16
|---|---|---|---|
17
+| 2026-10-02 | PR #29 exposed that Dependency Review now fails hard when GitHub Dependency Graph is disabled. | **CI BOUNDARY FIXED / RETEST PENDING** | Security workflow now runs Dependency Review only when repository variable `DEPENDENCY_GRAPH_ENABLED=true`; when enabled the action remains fail-closed. Release/QA safety and CodeQL remain mandatory. This prevents an unavailable GitHub feature from falsely blocking unrelated PRs while preserving the explicit external-boundary status. |
18
| 2026-10-02 | Owner granted standing approval to continue in-scope project work without repeated confirmation. | **WAVE 4B PRODUCTION APPLIED + VERIFIED** | Supabase production `hcsixhqbyuhpshfwqpjx` recorded `request_wave4b_scheduler_outbox_delivery` as migration version `20261002072526`. Read-only reconciliation confirmed scheduler tables, outbox delivery columns, and all five Wave 4b RPC contracts exist. GitHub main `41aff95d11a66c67e2c64df3eac11a122f94dfd7`: Quality `36975968198`, Security `36975968108`, Release Gate `36976087514`, Deploy `36976115600` succeeded. Automatic external scheduling and D4c destination consumers remain NOT VERIFIED. |
19
| 2026-10-02 | Wave 4b first disposable-DB run exposed an ambiguous PL/pgSQL test variable in the final replay assertion. | **TEST FIX APPLIED / RETEST PENDING** | Product migration executed through all scheduler/outbox assertions; failure was confined to the final test query where local variable `k` shadowed temp-table column `k`. Renamed/qualified the assertion; no production permission or state-machine rollback. |
20
| 2026-10-02 | Owner said «ادامه بده» after Wave 4 F-420/F-421/F-422 merge. | **IMPLEMENTED ON BRANCH / CI PENDING** | Added server-clock five-minute scheduler slots, durable run/claim evidence, replay binding, skip-locked overdue claims, stable outbox destination command identity, lease claims, retry/backoff, dead-letter and idempotent authorized replay. D4c destination consumers remain disabled. Production migration is NOT APPLIED pending the schema-change gate. |