Repository navigation
feat: parity batch 2 (review follow-ups, CFN in-progress states, OCI LB backend TLS, ...) #2524
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
agbishop
wants to merge
378
commits into
main
Choose a base branch
from
feat/parity-next2
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
378 commits
Select commit
Hold shift + click to select a range
0bd522f
feat(lambda): telemetry API lint fixes, docs
e86b2a9
feat(cloudformation): SAM HttpApi expands to an OpenAPI Body with Aut…
33c9829
feat(timestream): scheduled query scheduler, time-series functions, U…
983ac61
feat(timestream): lint cleanups, snapshot inventory golden for schedu…
0175885
feat(cognitoidp): hosted MFA pages, verified passkeys, sign-up auto s…
fa0ac00
feat(cloudformation): SAM pull/push event sources, policy templates, …
3008cde
feat(cognitoidp): lint fixes, snapshot inventory for passkey records
f8057fb
feat(cognitoidp): lint and README regeneration
68adc7b
feat(cognitoidp): drop unused nolint
128c70e
feat(neptune): in-process SPARQL 1.1 endpoint, Graph Store Protocol a…
fcbfbd9
feat(cloudformation): SAM StateMachine and Layer translator fidelity
f7fc3de
Merge branch 'parity/sam-transform' into feat/parity-next2
1230221
feat(neptune): SPARQL lint cleanup, parity notes, snapshot inventory …
487903f
feat(neptune): gofmt the SPARQL hash builtins
4ba936f
Merge branch 'parity/neptune-sparql' into feat/parity-next2
83e6a83
feat(organizations): RESOURCE_CONTROL_POLICY with RCPFullAWSAccess an…
7791eec
feat(iam): evaluate RCPs and restrict member-account root with SCPs
084a7cb
feat(iam): satisfy lint for RCP evaluation
8aa1e77
chore(cloudformation): regenerate cfn_attributes.json for new SAM res…
aa92fc3
Merge branch 'parity/iam-rcp' into feat/parity-next2
90a5169
feat(ecs): docker runtime network modes, log drivers, managed EBS vol…
833e110
test(persistence): refresh ecs snapshot inventory for additive task a…
ce64c92
fix(linklocal): relay reaches the emulator from a host-routable address
7ad9d90
ci(lint): free the hosted tool cache before full-repo lint
527c581
style(linklocal): wrap long lines
f2385cc
Merge branch 'fix/ec2-imds-live' into feat/parity-next2
44856db
feat(ecs): lint fixes for the docker runtime parity pass
794b5f2
Merge branch 'parity/ecs-docker-net' into feat/parity-next2
e0e58e0
feat(cloudformation): SAM connectors, embedded Connectors, Applicatio…
f0b0339
fix(ecs): snapshot RunTask response before launching async tasks
8a48b7c
fix(ecs): extract RunTask response snapshot
2a13848
feat(cloudformation): SAM Api ResourcePolicy, conditional implicit AP…
5f62055
feat(cloudformation): SAM PropagateTags for functions, state machines…
a5e0f26
feat(cloudformation): SAM IgnoreGlobals, durable config role, Storage…
ffb2cec
feat(cloudformation): SAM Api event RequestModel and validators, Mode…
f100427
feat(cloudformation): SAM shared usage plan attributes, intrinsic Htt…
1ff6a32
docs(cloudformation): record SAM connector, Application and ResourceP…
6b5b571
refactor(cloudformation): split SAM translator helpers for lint
f61f1a0
docs(cloudformation): regenerate README and keep provisionable types …
79e7d0c
feat(azurearm): Microsoft.Logic Consumption workflows with a WDL exec…
4eb93d5
Merge branch 'parity/sam-connectors' into feat/parity-next2
d36596f
fix(directconnect): stale creation hops no longer overwrite an in-fli…
3a8706c
test(integration): configure passkey pool before StartWebAuthnRegistr…
228b4a8
Merge branch 'fix/directconnect-bgp-clock' into feat/parity-next2
b1c140f
Merge branch 'fix/cognito-webauthn-it' into feat/parity-next2
b3dea91
fix(timestream): register the UNNEST vtab module once, not per query
e8463a5
fix(timestream): tidy concurrent UNNEST test
bd6bb83
Merge branch 'fix/timestream-unnest-race' into feat/parity-next2
0d4705f
feat(gcpeventarc): audit-log and Firestore events, retry policy, oper…
ea0b235
feat(gcpmonitoring): evaluate PromQL, log-match, ratio, forecast and …
f22787a
feat(gcpmonitoring): lint fixes for condition evaluation
acb03c8
feat(gcpmonitoring): tidy formatting and field order
eaaee77
feat(gcpeventarc): lint and snapshot-golden follow-ups for the parity…
a58781b
feat(gcpmonitoring): refresh snapshot inventory and generated README
dfa2d5d
Merge branch 'parity/gcp-eventarc' into feat/parity-next2
2a5c46d
Merge branch 'parity/gcp-monitoring' into feat/parity-next2
d8c46c1
feat(gcpcompute): MIG autohealing probes, paced rolling updates, appl…
05a80d1
feat(ui): OCI File Storage and Azure Logic Apps dashboard proxies
c48a583
feat(gcpcompute): instance setName, setMachineResources, setDiskAutoD…
0666c26
feat(gcpcompute): regional disks, instant snapshots, machine images, …
197dff4
feat(gcpcompute): instance templates from sourceInstance
f8ca3fd
feat(gcpcompute): global internal VPC peering ranges, global IPv6 add…
427b203
feat(gcpcompute): refresh snapshot golden and README
cdfefb1
feat(gcpcompute): lint fixes, decompose complex builders
4cad40b
feat(ui): OCI File Storage and Azure Logic Apps dashboard pages
fa1bd62
Merge branch 'parity/gcp-compute' into feat/parity-next2
d591521
feat(ui): satisfy lint for the File Storage and Logic Apps proxies
1c27022
fix(iam): seed AWSLambdaBasicDurableExecutionRolePolicy in managed ca…
98e4b2e
Merge branch 'feat/dash-ocifs-logicapps' into feat/parity-next2
e1618dc
feat(ociobjectstorage): checksums, multipart rules, SSE-C/KMS, replic…
d95e991
feat(ociobjectstorage): refresh snapshot inventory golden
bd98823
feat(ociobjectstorage): lint fixes, decompose commit and route parsing
5886aa1
feat(ociobjectstorage): minimum multipart part size is opt-in
b95f2c4
Merge branch 'parity/oci-objectstorage' into feat/parity-next2
5d8e6d5
feat(azurearm): Microsoft.Search searchServices, keys, name check, us…
4900f0e
feat(azuresearch): Azure AI Search data plane with indexers, vector a…
a356fde
feat(ociapigateway): locks, APIs, SDKs, usage plans, validation, cach…
7db7336
feat(ociapigateway): lint fixes, shared list/move helpers, PARITY and…
6ffd942
feat(azuresearch): lint cleanup, guard registrations, parity audit co…
979732f
feat(ociapigateway): refresh snapshot inventory, use testclient in wi…
d75683e
feat(azuresearch): fix CLI struct alignment, funlen and lint findings
12d037c
feat(azuresearch): restore lll directives on reordered CLI fields
974f144
feat(azuresearch): restore remaining lll directives in CLI
ec2fd46
feat(ocivault): async lifecycle, backup/restore, secret rotation and …
a31499e
feat(azuresearch): keep CLI struct order; take the search port from t…
bd4c369
feat(ocivault): lint fixes, wiring test delays, weak-hash allowlist a…
a003ae4
feat(azuresearch): format settings
dfe21ee
Merge branch 'parity/azure-search' into feat/parity-next2
11a0b3f
test(gcpeventarc): match only the created event in the CEL transforma…
48919d6
test(gcpeventarc): wrap long matcher line
f825199
test(gcpeventarc): gofmt alignment
6e94c52
fix(ec2): make AssociateApplicationStatusCheck tag association idempo…
472129c
Merge branch 'parity/oci-vault' into feat/parity-next2
8844737
Merge branch 'fix/eventarc-adv-flake' into feat/parity-next2
3306f22
ci(lint): scope go.mod-only lint to changed + importer packages; shar…
b2c250d
docs(azuresearch): pin sdk_module to armsearch for check-pins
221f4eb
Merge branch 'fix/ec2-appstatus-regress' into feat/parity-next2
c5fec83
Merge branch 'ci/lint-scope' into feat/parity-next2
1e1d60c
docs(azuresearch): regenerate README
0ec3016
feat(lambdaweb): scale-out fleet, JSON/system logs, AWS/Lambda/Web me…
c620a3b
feat(ocicore): DRGs, VCN CIDR operations, IPv6, block storage groups …
1eff875
feat(ocicore): topology, IP inventory and parity record
eb23943
feat(lambdaweb): lint fixes, arn builder for root principal
9227034
test(persistence): refresh snapshot inventory for ocicore
b8bc2b1
Merge branch 'parity/lambdaweb-depth' into feat/parity-next2
7d5d1ea
fix(lambda): publish platform.extension before opening the init gate
c1bc5b1
Merge branch 'parity/oci-core' into feat/parity-next2
cff22d4
Merge branch 'fix/lambda-telemetry-order' into feat/parity-next2
5c18fb5
feat(gcpcloudbuild): manifest sources, KMS secrets, queue_ttl, step r…
f3986f8
fix(gcpcloudbuild): lint, weak-hash allowlist for Hash_MD5, drop sha1…
f7d4f97
feat(ui): Azure AI Search and Lambda Web Functions dashboard pages
0003310
Merge branch 'feat/dash-search-lambdaweb' into feat/parity-next2
ced2d0e
fix(gcpcloudbuild): remaining lint findings
0ef7e8b
Merge branch 'parity/gcp-cloudbuild' into feat/parity-next2
acc9892
test(lambda): allocate runtime/URL ports from probed-free blocks, not…
e5a70bd
test(lambda): mark newEnvBackend as a test helper
e4de7dc
Merge branch 'fix/lambda-fixed-ports' into test/portalloc-repo-wide
814ed5b
Merge branch 'fix/lambda-fixed-ports' into feat/parity-next2
57d2a8f
feat(codebuild): CodeBuild exported variables as CodePipeline namespa…
8f84a6f
feat(codebuild): lint fixes for artifact name expansion and namespace…
97779fa
feat(codebuild): fix test struct alignment
3541e9f
test: allocate every test port pool from probed-free blocks and guard…
2b8b70e
Merge branch 'parity/codebuild-docker' into feat/parity-next2
415fc61
test: wrap long port-pool test lines and drop a constant span parameter
1efe498
Merge branch 'test/portalloc-repo-wide' into feat/parity-next2
5eb03de
feat(timestreamquery): BOOLEAN column typing, 1h query timeout, doc-e…
774ef71
Merge branch 'parity/timestream-query' into feat/parity-next2
7dcbeaa
fix(app): verify startup probe hits this attempt's server, not a port…
d14ea1c
test(app): wrap long lines in startup probe
43ace14
feat(gcpmonitoring): missing-data evaluation, renotify, outbox, JSONP…
e451185
feat(azurefunctions): make the Azure emulators speak to the real Func…
bb1f806
feat(azurefunctions): background triggers, admin ops, run-from-packag…
13393e2
feat(gcpmonitoring): lint and alignment fixes
457cbaf
feat(azurefunctions): lint and race fixes for background-trigger work
3f5dac0
Merge branch 'parity/azure-functions' into feat/parity-next2
f7e45ed
feat(azurefile): enforce SAS, quota, CORS; async copy; NFS links and …
6be15b6
feat(azurefile): lint fixes for enforcement pass
bb33161
Merge branch 'parity/azure-files' into feat/parity-next2
4c459fc
feat(gcpcompute): target pools, target instances, legacy health check…
b66d2e1
feat(azuregraph): soft delete, federated and certificate client asser…
ab50855
feat(gcpcompute): MIG stateful policy, per-instance configs, resize r…
8fd8816
Merge branch 'parity/azure-graph' into feat/parity-next2
488e495
feat(gcpcompute): VPN gateways, target VPN gateways, tunnels, externa…
6b38153
feat(gcpcompute): IPv6 subnets, instance IPv6, alias IP ranges, regio…
c239b7b
build(desktop): go mod tidy for azidentity
b87d2f4
feat(gcpcompute): parity notes, docs, persistence coverage for the ex…
0448d52
feat(gcpcompute): lint fixes for the expansion
6aa4027
feat(gcpcompute): finish lint cleanup for the expansion
6860cd8
feat(gcpcompute): tidy test helpers
d5c7a21
feat(ui): GCP Artifact Registry and Cloud Build dashboard pages
25e6a01
Merge branch 'feat/dash-gcp-ar-cb' into feat/parity-next2
272a712
Merge branch 'parity/gcp-compute' into feat/parity-next2
1ef5a37
feat(ui): Azure Event Grid and Event Hubs dashboard pages, drop spuri…
fdb0203
fix(ui): lint fixes for Event Grid and Event Hubs proxies
4c67117
feat(iam): RCP owners for SQS/STS, KMS exemptions, simulator SCP verdict
927dab1
Merge branch 'feat/dash-azure-msg' into feat/parity-next2
37d9068
Merge branch 'parity/iam-rcp-owners' into feat/parity-next2
18f6006
feat(athena): boolean expression results render true/false with boole…
6abb3b9
feat(athena): Avro SerDe reads and AVRO CTAS/INSERT/UNLOAD writes
68438e1
feat(athena): Iceberg DELETE, UPDATE, MERGE and OPTIMIZE with positio…
69b4b75
feat(athena): Iceberg CTAS, VACUUM and ALTER TABLE schema evolution
13d7a79
docs(athena): PARITY and README for booleans, Avro and Iceberg DML
42134ec
feat(ui): Azure SQL, Cache for Redis, Container Registry pages and Ap…
97303c7
refactor(athena): lint cleanup for Iceberg DML, Avro and boolean infe…
b59f1a3
fix(ui): lint fixes for Azure SQL, Redis, ACR and App Configuration p…
342de31
fix(ui): flatten ACR tag JSON and name Redis type field for lint
c60f6e7
Merge branch 'feat/dash-azure-data' into feat/parity-next2
5c6f3a1
Merge branch 'parity/athena' into feat/parity-next2
e772708
feat(ui): Azure Functions keys and invoke, GKE kubeconfig reveal, dro…
5166032
feat(neptune): property-graph CSV bulk loader, Gremlin mergeV/mergeE,…
5900c72
fix(ui): lint fixes for Functions keys and GKE kubeconfig proxies
059beb2
Merge branch 'feat/dash-last3' into feat/parity-next2
b2577ae
feat(neptune): lint and complexity cleanup for the property-graph loa…
404a694
fix(transcribe): don't mutate Subtitles shared with handed-out job co…
662b294
test(neptune): tolerate client write reset in oversized-frame test
8323a93
fix(codebuild): deep-copy builds handed to handlers
a9fbd72
fix(backup): replace access point metadata map instead of mutating it
d30514e
Merge branch 'fix/neptune-ws-flake' into feat/parity-next2
3505dba
fix(ssm): replace automation step slice on completion
3c3d7c7
fix(sqs): copy messages on receive instead of restamping handed-out o…
874a259
fix(ecs): deep-copy nested state in task/deployment/instance copies
0d90008
fix(mq): copy LogsSummary and Configurations in broker copies
bb26721
feat(cloudformation): SAM transform input validation matching the tra…
379bd38
style(codebuild): format build copy race test
ee09a84
style(sqs): format received message alias test
224fd78
fix(stepfunctions): set trace header under lock and hand out executio…
f495d21
build(deps): go mod tidy after neptunedata became a direct dependency
8e42934
Merge branch 'fix/copy-aliasing-audit' into feat/parity-next2
840c9ba
fix(elbv2): clone Targets and attributes in target group copies
2a651b6
feat(cloudformation): SAM PRIVATE API domains, conditional HttpApi ro…
e046e87
fix(batch): clone attempts in every Job copy handed to callers
e3d2768
test(backup): use testsnap for access point copy alias test
3a08d70
fix(ocivault): copy key rotation details handed out in key views
150a9b3
perf(sqs): copy a message on receive only when a handler already hold…
63f5ea3
feat(cloudformation): SAM response streaming, OverrideApiAuth, schema…
101c9af
style: satisfy lint in testsnap and elbv2 alias tests
008dde9
Merge branch 'fix/aliasing-followup' into feat/parity-next2
901c827
feat(cloudformation): SAM AWS::Serverless::WebSocketApi
60b973e
feat(cloudformation): SAM AWS::Serverless::GraphQLApi
8845be0
feat(cloudformation): SAM Function Architectures replace, DefinitionB…
8aba9ae
feat(connect): route contact data, control, email and manual-queue ops
6a0e2a1
feat(connect): route custom metric definitions and SearchMetrics
06836f9
feat(connect): satisfy lint for the new contact and metric ops
198667e
feat(cloudformation): SAM transform lint cleanup, decompose validator…
5dce2a6
feat(connect): split contact validation and reorder contactRec for lint
cdce2a4
docs(cloudformation): regenerate README
f3e705c
style(cloudformation): wrap SAM event key sets
0e58ca3
Merge branch 'parity/sam-rest' into feat/parity-next2
b52d86f
fix(neptune): keep the property-graph loader file cache off the share…
1c18064
feat(connect): route GetMetricDataV2 and GetContactMetrics
5b19154
fix(neptune): drop unused parameter in loader race test
9ca5527
Merge branch 'parity/connect' into feat/parity-next2
b1fdcd8
Merge branch 'fix/neptune-loader-race' into feat/parity-next2
00266ee
feat(connect): route attached files and their configuration
e6a14c3
feat(connect): route notifications, user notifications and push regis…
f03af1b
feat(connect): route CreateAuthCode and DeleteSession
1a7b043
feat(connect): route test cases and SearchTestCases
75ea7f5
feat(connect): route contact evaluations
3dedd5b
feat(connect): resolve notification recipients independent of request…
e0bcf87
feat(connect): satisfy lint for the metrics v2, attached file, notifi…
75f638e
chore(cloudformation): regenerate cfn_attributes.json for SAM resourc…
fec16d3
feat(bedrockagentcorecontrol): serve MCP on gateway URL, tool discove…
8fbc232
fix(iam): add AWSAppSyncPushToCloudWatchLogs to the managed policy ca…
a0de199
Merge branch 'parity/connect2' into feat/parity-next2
cd02f44
fix(bedrockagentcorecontrol): always verify TLS on gateway outbound r…
596bd06
Merge branch 'fix/ci-sam-fallout' into feat/parity-next2
e116ba5
style(bedrockagentcore): reorder Settings fields for alignment
1cd78ee
feat(neptune): Gremlin math, sample, coin, tree, sack, subgraph and i…
4a5bc18
Merge branch 'parity/agentcore-gateway' into feat/parity-next2
ac400c8
feat(amp): native histograms, exemplars, out-of-order window, log del…
5519b34
docs(neptune): regenerate README after Gremlin step additions
493170f
feat(amp): lint fixes for native histogram and integration work
f64f431
fix(neptune): address lint findings in the new Gremlin steps
9dfa39a
fix(neptune): guard Gremlin zero-arg steps against index panics
fb54eb4
feat(amp): refresh snapshot inventory for series exemplars
6f17fd9
Merge branch 'parity/amp' into feat/parity-next2
d5491f3
test(neptune): lint fixes for the malformed-args guard and fuzz targets
1c22f2a
Merge branch 'fix/gremlin-arg-panic' into feat/parity-next2
11e236f
fix(conn): recover panics in per-connection goroutines of custom prot…
33fefa0
feat(gcpartifactregistry): KFP, attachments, ExportArtifact, apt/yum …
bf5b222
fix(conn): avoid named returns in recover wrappers
f9e31a5
feat(gcpartifactregistry): lint fixes and snapshot inventory for sign…
acef6f1
feat(ocistreaming): enforce GetMessages rate and group limits; apigat…
6c9c038
feat(azurearm): Container Apps schedule and event job triggers, queue…
6d1aa05
Merge branch 'parity/gcp-ar-depth' into feat/parity-next2
c83a857
Merge branch 'parity/oci-next' into feat/parity-next2
1bb491c
test(persistence): refresh snapshot inventory for additive azurearm j…
88f3dff
feat(azurearm): lint fixes and regenerated docs for Container Apps tr…
0d76e9d
test(persistence): refresh snapshot inventory after field reorder
24c7d1f
Merge branch 'parity/azurearm-depth' into feat/parity-next2
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
The diff you're trying to view is too large. We only load the first 3000 changed files.
There are no files selected for viewing
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,67 @@ | ||
| name: lint-setup | ||
| description: Disk, swap, Go and golangci-lint setup shared by the lint jobs | ||
| runs: | ||
| using: composite | ||
| steps: | ||
| # Full-repo lint (go.mod/.golangci.yml changed) exhausts the default runner disk; lint needs no docker images or apt packages. | ||
| - name: Free Disk Space (Ubuntu) | ||
| uses: jlumbroso/free-disk-space@ceedf095f4ec1a097402bc6bd80831f2e1a6fde6 # main | ||
| with: | ||
| tool-cache: true | ||
| android: true | ||
| dotnet: true | ||
| haskell: true | ||
| large-packages: true | ||
| docker-images: true | ||
| swap-storage: true | ||
|
|
||
| - name: Keep Go temp files and build cache off the /tmp tmpfs | ||
| shell: bash | ||
| run: | | ||
| # /tmp is a small tmpfs on hosted runners; use /mnt when mounted, else the root disk. | ||
| if mountpoint -q /mnt; then base=/mnt; else base="$RUNNER_TEMP"; fi | ||
| sudo mkdir -p "$base/gotmp" "$base/gocache" | ||
| sudo chown -R "$(id -u):$(id -g)" "$base/gotmp" "$base/gocache" | ||
| { | ||
| echo "GOTMPDIR=$base/gotmp" | ||
| echo "TMPDIR=$base/gotmp" | ||
| echo "GOCACHE=$base/gocache" | ||
| } >> "$GITHUB_ENV" | ||
| df -h / /tmp "$base" || true | ||
|
|
||
| - name: Set up Go | ||
| uses: actions/setup-go@b7ad1dad31e06c5925ef5d2fc7ad053ef454303e # v7 | ||
| with: | ||
| go-version-file: go.mod | ||
| check-latest: true | ||
| cache: true | ||
|
|
||
| - name: Download Go modules (retry proxy stream errors) | ||
| shell: bash | ||
| run: | | ||
| for i in 1 2 3 4 5; do | ||
| go mod download && exit 0 | ||
| sleep $((i * 15)) | ||
| done | ||
| exit 1 | ||
|
|
||
| # Full-repo lint (go.mod changed) exceeds runner RAM; the runner is killed without swap. | ||
| - name: Add swap | ||
| shell: bash | ||
| run: | | ||
| sudo swapoff -a || true | ||
| sudo fallocate -l 16G /mnt/lint.swap | ||
| sudo chmod 600 /mnt/lint.swap | ||
| sudo mkswap /mnt/lint.swap | ||
| sudo swapon /mnt/lint.swap | ||
|
|
||
| - name: Read golangci-lint version | ||
| id: golangci-lint-version | ||
| shell: bash | ||
| run: | | ||
| echo "version=$(sed -n 's/^ GOLANGCI_LINT_VERSION: \(.*\)$/\1/p' Taskfile.yml)" >> "$GITHUB_OUTPUT" | ||
|
|
||
| - name: Install golangci-lint | ||
| shell: bash | ||
| run: | | ||
| curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/HEAD/install.sh | sh -s -- -b "$(go env GOPATH)/bin" "v${{ steps.golangci-lint-version.outputs.version }}" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,8 +1,14 @@ | ||
| # Lightweight test image — expects a pre-built static binary at bin/gopherstack-linux | ||
| # (from `task build-linux`; this is a separate path from `task build`'s bin/gopherstack | ||
| # so the two targets can't clobber each other — see gopherstack-gooq). | ||
| FROM scratch | ||
| COPY bin/gopherstack-linux /root/gopherstack | ||
| # Lightweight test image: expects a pre-built static binary at bin/gopherstack-linux | ||
| # (from `task build-linux`; separate from `task build`'s bin/gopherstack — see gopherstack-gooq). | ||
| # Same non-root layout as the release image. Must build with the classic (non-BuildKit) | ||
| # builder testcontainers uses: no $BUILDPLATFORM, no COPY --chmod (the binary is already 0755). | ||
| FROM alpine:3.22@sha256:2e0b81d60597f449baa56dc25d355367869d2dca4cd57e866f1e2b52af3eb55f AS state | ||
| RUN mkdir /data | ||
|
|
||
| FROM gcr.io/distroless/static:nonroot@sha256:25ac8f0c3b2334a9eb05452266bd4697864a8c8ef0ef71e5e6480d7f92868329 | ||
| COPY --from=state --chown=65532:65532 /data /data | ||
| COPY --chown=0:0 bin/gopherstack-linux /usr/local/bin/gopherstack | ||
| USER 65532:65532 | ||
| EXPOSE 8000 | ||
| EXPOSE 1883 | ||
| CMD ["/root/gopherstack"] | ||
| CMD ["/usr/local/bin/gopherstack"] |
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Disable credential persistence in checkout.
This job runs
go testand never pushes to git. The checkout step still writes the token to.git/configby default. Setpersist-credentials: false. This also clears the zizmorartipackedwarning.🔒️ Proposed fix
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 with: token: ${{ env.GH_CI_TOKEN }} + persist-credentials: falseCommittable suggestion
zizmor (1.30.1)
[warning] 869-871: credential persistence through GitHub Actions artifacts (artipacked): does not set persist-credentials: false
(artipacked)
Source: Linters/SAST tools